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?
sptechAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
sptechConnect With a Mentor Author Commented:
I found the issue, someone converted my DB back into an access 97 vice access 2000.  I also had a reserve word (access) in my application "memo".  My application is up and running!!!
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you have to chose the 32bit as target when compiling.
the 64 compilation will not work as is on a 32 bit machine
0
 
Éric MoreauSenior .Net ConsultantCommented:
is the .Net Framework 3.5 correctly installed on the XP machine?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
sptechAuthor Commented:
yes the .net framework 3.5 is instaled on the xp machine.  How do I choose 32bit as target?
0
 
sptechAuthor Commented:
I looked at the advanced options and I am set to an x86 cpu.  Should this not mean I am 32bit?
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you mean, after the xcopy, when you double-click, nothing happens?
does the process not even show up in the task manager?
0
 
sptechAuthor Commented:
Yes, I get the hour glass for about 3 seconds and then nothing.  I had not checked the task manager, but I will.
0
 
Éric MoreauSenior .Net ConsultantCommented:
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, ...)
0
 
sptechAuthor Commented:
Okay, I will give that a try.
0
 
sptechAuthor Commented:
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
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
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 ...
0
 
sptechAuthor Commented:
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").Value
        txtPhone.Text = "" & Recordset.Fields("phone number").Value
        txtMI.Text = "" & Recordset.Fields("mname").Value
        txtEmail.Text = Recordset.Fields("email").Value
        txtDCExp.Text = Recordset.Fields("date_cert_expires").Value
        txtChal.Text = "" & Recordset.Fields("challenge_phrase").Value
        txtMemo.Text = "" & Recordset.Fields("nmemo").Value
        chbWAH.Checked = "" & Recordset.Fields("work_at_home_or_laptop").Value
0
All Courses

From novice to tech pro — start learning today.