Framework Versions problem?

D

DivB

Hello,

I have a nice application compiled with the first Visual Studio.net release.

It's a converted VB6 app.

I'm also using this files:
Interop.DxVBLibA.dll
Interop.MSComDlg.dll
AxInterop.MSComDlg.dll

(My client is using 1.1 framework, and I'm using 1.0)

Thanks in advance,
Div

It works great on my PC, but when I sent it to my customer the error appears:

************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.

at Project1.BinBeat.scrToneVol_Change(Int32 newScrollValue)

at Project1.BinBeat.scrToneVol_Scroll(Object eventSender, ScrollEventArgs eventArgs)

at System.Windows.Forms.ScrollBar.OnScroll(ScrollEventArgs se)

at System.Windows.Forms.ScrollBar.WmReflectScroll(Message& m)

at System.Windows.Forms.ScrollBar.WndProc(Message& m)

at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



************** Loaded Assemblies ************** mscorlib

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll

----------------------------------------

Project1

Assembly Version: 1.0.2022.5504

Win32 Version: 1.0.2022.5504

CodeBase: file:///C:/temporary%20files/core/Project1.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll

----------------------------------------

System

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

----------------------------------------

Interop.DxVBLibA

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/temporary%20files/core/Interop.DxVBLibA.DLL

----------------------------------------

Microsoft.VisualBasic

Assembly Version: 7.0.5000.0

Win32 Version: 7.10.6001.4

CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll

----------------------------------------

System.Drawing

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll

----------------------------------------
 
K

Ken Tucker [MVP]

Hi,

You can have multiple versions of the framework on a
computer. I would install the dot net framework 1.0 on the target computer.

Ken
-------------------
"DivB" <divbyz at g mail.com> wrote in message
Hello,

I have a nice application compiled with the first Visual Studio.net release.

It's a converted VB6 app.

I'm also using this files:
Interop.DxVBLibA.dll
Interop.MSComDlg.dll
AxInterop.MSComDlg.dll

(My client is using 1.1 framework, and I'm using 1.0)

Thanks in advance,
Div

It works great on my PC, but when I sent it to my customer the error
appears:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an
object.
at Project1.BinBeat.scrToneVol_Change(Int32 newScrollValue)
at Project1.BinBeat.scrToneVol_Scroll(Object eventSender, ScrollEventArgs
eventArgs)
at System.Windows.Forms.ScrollBar.OnScroll(ScrollEventArgs se)
at System.Windows.Forms.ScrollBar.WmReflectScroll(Message& m)
at System.Windows.Forms.ScrollBar.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)

************** Loaded Assemblies ************** mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
Project1
Assembly Version: 1.0.2022.5504
Win32 Version: 1.0.2022.5504
CodeBase: file:///C:/temporary%20files/core/Project1.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
Interop.DxVBLibA
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/temporary%20files/core/Interop.DxVBLibA.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.6001.4
CodeBase:
file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top