07-04-2006 07:44 AM
07-12-2006 03:31 AM
07-12-2006 03:39 AM
07-12-2006 04:30 AM
07-12-2006 04:55 AM - edited 07-12-2006 04:55 AM
Message Edité par tom_the_dude le 07-12-2006 04:56 AM
07-26-2006 04:49 AM
Hello,
with "FileDlgASCIIName" I can choose where the path will be saved. How can I declare for that just a variable?
Thomas
07-26-2006 11:40 AM
Hi Tom,
It's not clear to me from your question what you're asking. The variable "FileDlgASCIIName" is a parameter in the "FileNameGet()" command that specifies into which new ASCII file the "FileNameGet()" command will write the paths of the selected files in the dialog. This is only useful when you want to implement a file dialog that enables multiple file selection. The new ASCII file can be used as a DIAdem "List" file, or you can just read in the paths with standard VBScript File I/O functions. Below you will find an example of the latter approach. If you wanted something other than a working example of a multi-select file dialog, then please restate your question.
Regards,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
07-27-2006 02:29 AM
07-27-2006 03:29 AM
FileDlgASCIIName
empty it will work. Just have a look on the following code.Option Explicit
Call FileNameGet("ANY", "FileRead", "C:\", "Image (*.bmp),*.bmp", "", "", "Select Image File")
If UCase(DlgState) = "IDOK" Then
MsgBox "Selected File: '" & FileDlgName & "'"
End If
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
07-27-2006 04:18 AM