View Single Post
  #5  
Old 07-23-2010, 05:44 AM
nige777 nige777 is offline
Member
 
Join Date: Nov 2007
Location: UK
Posts: 78
Question

Sorry for bumping this thread but when I attempt to use the code in this example I get this error:
Code:
Traceback (most recent call last):
** Load Time: 0.01 seconds
  File "<string>", line 11, in ?
  File "Vizard2.py", line 3, in ?
    inFileDlg = win32ui.CreateFileDialog(1, '', 'foo.txt')
TypeError: None is not a valid string in this context
I have used the exact code in the given example but still no joy

I really need to be able to navigate to and open various files and this seemed the ideal way to do it except I can't get it to work!! I'd be really grateful for any ideas regarding this,

Cheers
Reply With Quote