Development error on seperate OS

Hi, i installed the .net frame work on my development pc , xp pro and a win 98. I was testing my program and on 98 and xp pro i get an error just when my splash screen has finished loading, but on my development pc it works fine...howcome. I copy the bin folder accross and run the exe on the 98 and xp and it dont work... and on my development pc i do the same and that works. It's a system secuity issue. My program just haults even if i disable JIT... am i gona have to go throught and put on error resume next for the module it says causes the problem ?

Thx

[575 byte] By [thomas49th] at [2007-12-25]
# 1
What's the error?
ReneeC at 2007-9-3 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 2

Ahh i was using a Mapped network drive to do it. I have to copy to local Hd...

ON a toal different subjeft how would i go aboyut putting a progress bar in sync with my.computer.network.download

Thankyou

thomas49th at 2007-9-3 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 3

Ahh hang on a sec on the win 98 i get a different error

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.TypeInitializationException: The type initializer for MyApp.modMain' threw an exception. > System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {96749377-3391-11D2-9EE3-00C04F797396} failed due to the following error: 80040154.
at MyApp.modMain..cctor() in C:\Documents and Settings\Thomas\My Documents\Visual Studio 2005\Projects\MyApp\MyApp\modMain.vb:line 10
End of inner exception stack trace
at MyApp.modMain.gotoVal(Int32 ProgValue, ProgressBar ProgressBar)
at MyApp.frmSplash.initLoadProg() in C:\Documents and Settings\Thomas\My Documents\Visual Studio 2005\Projects\MyApp\MyApp\frmSplash.vb:line 45
at MyApp.frmSplash.tmr_Tick(Object sender, EventArgs e) in C:\Documents and Settings\Thomas\My Documents\Visual Studio 2005\Projects\MyApp\MyApp\frmSplash.vb:line 59
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/MICROSOFT.NET/FRAMEWORK/V2.0.50727/mscorlib.dll
-
MyApp
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/WINDOWS/DESKTOP/MYAPP.EXE
-
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
-
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
-
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
-
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
-
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
-
Interop.SpeechLib
Assembly Version: 5.0.0.0
Win32 Version: 5.0.0.0
CodeBase: file:///C:/WINDOWS/DESKTOP/Interop.SpeechLib.DLL
-

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

What should i do?

thomas49th at 2007-9-3 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 4
any suggestions?
thomas49th at 2007-9-3 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 5

I get sort alike error. but my log of JIT looks alot like yours... the only diffrence is
that it am trying to use an other Interop DLL file. I'm trying to use Interop.MSWinsockLib.dll

i geuss that there is a problem somewhere with the references or the file deliverd by VB express edition.(in your case Interop.SpeechLib.dll)

Because we have the same problem i am geussing we have to add a reference to allow those Interop DLL's

But it's only a geuss

NoSTaBoNN at 2007-9-3 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 6

Look at this post, it should help you.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=821005&SiteID=1

NoSTaBoNN at 2007-9-3 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...