The Origin Forum
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
 Opening the Import Multiple ASCII Dialogue Box
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

evanm

Canada
Posts

Posted - 05/13/2004 :  03:36:46 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,
I am having a little trouble opening the Import Multiple Ascii dialogue box. In the "getting user input" section of the help files for Origin C there is a function listed called getfilename. I tried calling it with no arguments and the open origin project file box popped up. What I really want is the multiple ascii box. Basically what I am trying to do is automate the process of importing ascii files into a worksheet by running an origin c program (that also does many other things). Does anyone know how I can do this?
Even if there was a way to somehow list all of the files in a directory, then I could go about opening them. I want to open all of the files in a directory, but I do not know what their names are before hand.
Any suggestions?
Thank you, Evan.

Mike Buess

USA
3037 Posts

Posted - 05/13/2004 :  09:05:26 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Evan,

If you're using Origin 7.5 look for GetMultiOpenBox() in the programming guide...
Global Functions->User Interface Controls->GetMultiOpenBox

In Origin 7.0 you can use LabTalk's Fdlog.MultiOpen as described in a previous topic.

Mike Buess
Origin WebRing Member
Go to Top of Page

evanm

Canada
Posts

Posted - 05/13/2004 :  11:10:52 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I am using Origin 7, but actually I found a solution!! I can open it by using the LabTalk object fdlog inside of my Origin C code. This object has "member functions" that allow you to control the open dialogue box in many ways. As far as I know your suggestion cannot work in version 7, so too bad I only have the older version.
Thanks though, Evan.
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 05/13/2004 :  11:37:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Evan,

The last post in the topic cited above describes how to use the fdlog object in Origin C (7.0).

Mike Buess
Origin WebRing Member
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000