Deploying Issues...

Illusion

Centurion
Joined
Aug 7, 2003
Messages
105
Location
Uk
Hi,

I am trying to deploy a program to a Windows 98 user and all I am getting is:

************** Exception Text **************
System.ComponentModel.Win32Exception: This function is only valid in Win32 mode
at System.Windows.Forms.SystemInformation.get_UserDomainName()
at UDSystems.UDSystems.FindNetUserName()
at UDSystems.UDSystems.UDSystems_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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)

I have installed the .NET framework on their computer. It works fine on my computer and fine on another Windows XP system.
Its properly something simple, but I dont know what is it ..
I am not sure how to package it in the setup project, everywhere says use the setup wizard which I dont have ... I only have VB.net so maybe thats the reason..
If anyone could tell me how to package it, that might even fix the problem.

Thanks
Illusion.
 
Back
Top