VBP and EXE are in the same location. I also start my VBP by double clicking
on it to avoid the problem with App.Path.
DLL is in the same location and was registered with regasm.exe
DLL was developed on different machine. On that machine VB6 client works
fine with both, EXE and VBP
What's the difference?
Al
No, the .NET Framework has no notion of your VBP. When in the VB6 IDE,
you need to have your files where the executable is...which is vb6.exe.
Look for it in program files\ms visual studio\etc\etc...
I suggest writing a little BAT file that copys them in and deletes them
out of that dir so you can cleaunp when development is complete.
Otherwise that dir can get awfully messy.
Tom
> VBP and EXE are in the same location. I also start my VBP by double clicking
> on it to avoid the problem with App.Path.
[quoted text clipped - 23 lines]
> >> objXML.WorkorderID = 19
> >> objXML.PathToXML = App.Path & "\Workorder.xml"
vul - 17 Jul 2006 18:27 GMT
I met the problem with locations of MyProject.vbp (MyProject.exe) and VB.exe
awhile ago. I do not remember exactly, but I think it was the problem with
App.Path. It contained the different values when I open my MyProject.vbp by
double clicking on it and when I opened it from Visual Basic environment. In
the second case App.Path contains the path to VB.exe. Since that I always
open my VB projects by double clicking on them. I had no problem with any
file located in App.Path folder with their paths.
Now I have
I'll try to see how it will work when I'll make a copy of the file I'm
working with and place it in VB.EXE folder.
Al
> No, the .NET Framework has no notion of your VBP. When in the VB6 IDE,
> you need to have your files where the executable is...which is vb6.exe.
[quoted text clipped - 36 lines]
>> >> objXML.WorkorderID = 19
>> >> objXML.PathToXML = App.Path & "\Workorder.xml"
vul - 18 Jul 2006 13:52 GMT
Doesn't work when I place DLL in the same as VB.EXE folder
> No, the .NET Framework has no notion of your VBP. When in the VB6 IDE,
> you need to have your files where the executable is...which is vb6.exe.
[quoted text clipped - 36 lines]
>> >> objXML.WorkorderID = 19
>> >> objXML.PathToXML = App.Path & "\Workorder.xml"
Jim Carlock - 18 Jul 2006 15:23 GMT
> Doesn't work when I place DLL in the same as VB.EXE
> folder
Open the .vbp file and take a look at the paths it identifies in
there?

Signature
Jim Carlock
Post replies to the group.
TDC - 18 Jul 2006 15:34 GMT
Did you register it (using regasm) to the VB6 folder?
> Doesn't work when I place DLL in the same as VB.EXE folder
>
[quoted text clipped - 38 lines]
> >> >> objXML.WorkorderID = 19
> >> >> objXML.PathToXML = App.Path & "\Workorder.xml"