|
-
Dec 12th, 2008, 05:50 AM
#6
Thread Starter
Addicted Member
Re: VB6: Unable to open file. Check file name and permissions
how do i release the object can u pls explain.
I need to open file as soon as it is created......
what i am doing is that........\
On click event of the button, a new file is created and the name of the file is same as the textbox.text on the form. "WORKING FINE"
Now to open the file i use the shell command..
Shell "C:\Program Files\Common Files\Microsoft Shared\MSPaper\MSPVIEW.EXE " & "c:\test.tif", vbMaximizedFocus
Here is the problem i get error message. "Unable to open file. Check filename and permission:.
If i reload the form and then use shell command agian its working fine.
Any suggestions.
thanx again
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|