Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time Error '91': object variable not set

Status
Not open for further replies.

jacsme

Programmer
Dec 5, 2006
2
PH
I got a problem in CD writing using VB. I gives me this error. "Run-time Error '91': object variable not set. Using this code. " myapp = oApp.NameSpace(&H11).ParseName(MyCDRW).InvokeVerbEx("Write &these files To CD")
Any one has an Idea on this. Or are there any reference object that i miss to include. any information is highly appreciated. Thanks in advanced...


Jacsme
 
myapp = oApp.NameSpace
Set myapp = oApp.NameSpace...

Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.
 
Er ... no. Set versus a lack of Set isn't the issue here

I'd check very carefully that MyCDRW contains what you think it does. In particular check that it finishes with a backslash
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top