Hello guys, I made a program and it worked perfectly for me.
I gave it to one of my old pals, and it worked just as perfect for him.
We both have WindowsXP.
I send 2 new copies of the project to another friends, they have Windows7, it crashes.
I've tried googled it but didn't get any good answers so I'm turning to you guys, again.. If anyone have any experience with this and have a solution, please give me a reply!
This is my code:
Code:Dim ProcessProperties As New ProcessStartInfo ProcessProperties.FileName = "ventrilo/mumble/mumble.exe" ProcessProperties.WindowStyle = ProcessWindowStyle.Maximized Dim myProcess As Process = Process.Start(ProcessProperties)
This is the error report:
Code:System.ComponentModel.Win32Exception: Cannot find the file vid System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) vid System.Diagnostics.Process.Start(ProcessStartInfo startInfo) vid WindowsApplication1.Form1.PictureBox4_Click(Object sender, EventArgs e) vid System.Windows.Forms.Control.OnClick(EventArgs e) vid System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) vid System.Windows.Forms.Control.WndProc(Message& m) vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) mscorlib Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- Ventmix Sammansättningsversion: 1.2.0.0 Win32-version: 1.2.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Ventmix.exe ---------------------------------------- Microsoft.VisualBasic Sammansättningsversion: 8.0.0.0 Win32-version: 8.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Windows.Forms.resources Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll ---------------------------------------- mscorlib.resources Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- System.Xml Sammansättningsversion: 2.0.0.0 Win32-version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ----------------------------------------




Reply With Quote