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
 Help with GETN

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
couturier Posted - 07/26/2016 : 03:45:15 AM
Origin Ver. and Service Release (Select Help-->About Origin): 2016
Operating System:7

Hi,

Could anyone help me with a few issues ?

I have files with different format (ascii, csv, xls).
Depending on which device they come from, I already have many different filters, importing them correctly and launching the appropriate scripts.


Now, I'd like to build a GETN dialog with the following features:
- select one or more files
--> how to filter the file types ?
with: tn.SetAttribute(STR_COMBO_ATTRIB, "...Files:[ASCII (*.txt)] *.txt|[Contrex (*.ctm)] *.ctm|[Excel (*.xls)] *.xls");
I can have a list to select a specific file type how to allow all of them at once ?

- pre-load the 50 first lines, so depending on the headers I will found, hide/show various controls.
I know how to import into a wks but is it possible to import the data into some kind of loose wks so nothing appears in the workspace ?
As for searching for headers and hiding/showing controls, I think I can handle it.


Thanks a lot
1   L A T E S T    R E P L I E S    (Newest First)
couturier Posted - 07/26/2016 : 08:15:56 AM
quote:
- pre-load the 50 first lines, so depending on the headers I will found, hide/show various controls.
I know how to import into a wks but is it possible to import the data into some kind of loose wks so nothing appears in the workspace ?
As for searching for headers and hiding/showing controls, I think I can handle it.


OK, I could find how to do this

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