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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Opening the Import Multiple ASCII Dialogue Box

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
evanm Posted - 05/13/2004 : 03:36:46 AM
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.
3   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 05/13/2004 : 11:37:47 AM
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
evanm Posted - 05/13/2004 : 11:10:52 AM
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.
Mike Buess Posted - 05/13/2004 : 09:05:26 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000