File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
Username:
Password:
Save Password
Forgot your Password?
|
Admin Options
All Forums
Origin Forum for Programming
Forum for Origin C
Dialog
New Topic
Reply to Topic
Printer Friendly
Author
Topic
01amk
Germany
7 Posts
Posted - 01/21/2013 : 07:46:03 AM
Dear Origin (version 8.6) professionals. I need urgent help. I want to program a dialog box. It will ask for a file when the window is open.
Thanks in advance
greg
USA
1378 Posts
Posted - 01/21/2013 : 3:41:45 PM
// Origin C
void PromptForFile()
{
string strFile = GetOpenBox("*.*"); // or "*.txt", etc
if(strFile.IsEmpty())
return;// user cancel
printf("%s\n", strFile);
}
// LabTalk
dlgfile gr:=*.*;
ty fname$;
01amk
Germany
7 Posts
Posted - 01/22/2013 : 02:27:16 AM
Thank you for the answer. I still have a question. I have data now 5 for date and time of, now I want to merge them as a file in origin. So I have to open a workbook. Excuse me for my bad english.
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Viewer Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000