DIAdem

cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

DIalog box size for PathNameGet command

Hello again.
My data files -and the folders that contains them- usually have very long names because of the identification coding of my measurements. This makes a little impractical the actual size of the dialog box that appears when the command PathNameGet is called, because only appears a little part of these names.
My question is:
Is there an instruction that helps me to change the size for this window, and, by the way, an instruction to change its default position?
Thanks in advance.
0 Kudos
Message 1 of 4
(4,020 Views)
Hey,
 
Although there is no way to determine the size of Dialog Box where you can specify the file you wish to select, there is another window that you can use.  If you use the Windows API's Common Dialog you might find that there is more space for the file name.  You can call the Common Dialog by using the following commands:
 
Set ObjFSO = CreateObject("UserAccounts.CommonDialog")
InitFSO = ObjFSO.ShowOpen
 
 
Regards,
 
Santiago D
0 Kudos
Message 2 of 4
(3,995 Views)
It works very good! Thank you, Santiago.
0 Kudos
Message 3 of 4
(3,990 Views)
Seems to be a nice way unfortunatley only for those who have Windows XP.
0 Kudos
Message 4 of 4
(3,982 Views)