SGROTA
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Posts posted by SGROTA
-
-
first chance exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException' occurred in AxInterop.PTALKDTLib.dll
when i try to run my app i get this exception error
can anyone identify the error for me (new to .net ) old vb6 project that i upgraded to .net (not fun at all)
steve
If using .NET 4 I think issue is that the PIA (primary interop assembly) is set to embedded.
Select the contol - properties - make embedded FALSE
See this post for details
http://forums.deltatau.com/showthread.php?tid=234&highlight=.net
Also if going to effort to move to .NET then should not use ptalk and go to pcommserver
I be glad to help and provide example code
using ptalk .net demo i found that i wasnt declaring the instance and when i put that code in it works. The vb6 upgrade wizard did not bring everything in i needed.
thanks for the reply
-
first chance exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException' occurred in AxInterop.PTALKDTLib.dll
when i try to run my app i get this exception error
can anyone identify the error for me (new to .net ) old vb6 project that i upgraded to .net (not fun at all)
steve
vb.net error with ptalk
in Turbo PMAC
Posted
Thanks
Yes i agree i have mostly rewritten my code and it is working now. I am a novice at .net and I taught myself vb6 so i am no expert. I appreciate the input and if not for the push to get this machine running soon i would go back and go to pcomserver. However if it works its going at this point.
We use all our machines in house so some dy i can go back and upgrade it.
Steve