sptech
asked on
Visual Basic 2008 64-bit application
I wrote a program in VB2008 using a Vista 64-bit system. I want to deploy my app on an xp machine 32-bit. I tried xcopy, but nothing happens. Is there something I should have done with my application to ensure it works in the 32bit world?
is the .Net Framework 3.5 correctly installed on the XP machine?
ASKER
yes the .net framework 3.5 is instaled on the xp machine. How do I choose 32bit as target?
ASKER
I looked at the advanced options and I am set to an x86 cpu. Should this not mean I am 32bit?
you mean, after the xcopy, when you double-click, nothing happens?
does the process not even show up in the task manager?
does the process not even show up in the task manager?
ASKER
Yes, I get the hour glass for about 3 seconds and then nothing. I had not checked the task manager, but I will.
yes x86 is the way to go. You should also select "Any CPU".
Could you also add some MessageBox (or other tracing statements) so that you know exactly where the application stops (use of a resource, a 3rd party, database connection, ...)
Could you also add some MessageBox (or other tracing statements) so that you know exactly where the application stops (use of a resource, a 3rd party, database connection, ...)
ASKER
Okay, I will give that a try.
ASKER
I got the application to launch. I installed VB2008 on my xp machine did a build and used xcopy. I am getting an error that does not show up when I run the application through VB2008, but does show up when I run the executable.
error-message-1.gif
error-message-1.gif
that is a coding error, usually some situation the code is not prepared to.
like, trying to get the data of a column that is not in that table/database ...
like, trying to get the data of a column that is not in that table/database ...
ASKER
I thought of that or that I was using a reserved word (in access). I looked over my columns in the DB and in the application. I have a yes/no column and in my code I have a " " in case nothing is marked for the column could that be my issue?
txtLName.Text = Recordset.Fields("Lname"). Value
txtFName.Text = Recordset.Fields("fname"). Value
txtPinNum.Text = Recordset.Fields("pin").Va lue
txtPhone.Text = "" & Recordset.Fields("phone number").Value
txtMI.Text = "" & Recordset.Fields("mname"). Value
txtEmail.Text = Recordset.Fields("email"). Value
txtDCExp.Text = Recordset.Fields("date_cer t_expires" ).Value
txtChal.Text = "" & Recordset.Fields("challeng e_phrase") .Value
txtMemo.Text = "" & Recordset.Fields("nmemo"). Value
chbWAH.Checked = "" & Recordset.Fields("work_at_ home_or_la ptop").Val ue
txtLName.Text = Recordset.Fields("Lname").
txtFName.Text = Recordset.Fields("fname").
txtPinNum.Text = Recordset.Fields("pin").Va
txtPhone.Text = "" & Recordset.Fields("phone number").Value
txtMI.Text = "" & Recordset.Fields("mname").
txtEmail.Text = Recordset.Fields("email").
txtDCExp.Text = Recordset.Fields("date_cer
txtChal.Text = "" & Recordset.Fields("challeng
txtMemo.Text = "" & Recordset.Fields("nmemo").
chbWAH.Checked = "" & Recordset.Fields("work_at_
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the 64 compilation will not work as is on a 32 bit machine