English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Can a visual basic 6.0 run an application I made from a visual basic 2005 Express Edition?

Please Help. Very Urgent.

Thank you.

2007-02-24 20:49:38 · 3 answers · asked by bear 3 in Computers & Internet Programming & Design

3 answers

Well sort of and it depends. If you are cutting and pasting source code from VB2005 into VB6 somethings will work in VB6 and somethings won't.

If you are doing some really simple things in class like looping and arrays or making a simple form with a button and textbox you will be able to get it to run.

Dim X, Y as Integer

For X = 1 to 10
Y = Y + X
textbox1.text = Y
Next X

You will run into problems which highlight the differences between the two versions. Database access, Control Arrays, methods of repainting forms.

Somethings like repainting a form would be as simple as changing the name of the method

vb2005 form1.invalidate becomes vb6 form1.repaint

Other things like option button usage would require you to add VB6 code and create a control array .


There really should be no real reson not to use VB2005 .( Unless someone gave you an old Win98 laptop with VB6 installed on it)

2007-02-25 01:13:30 · answer #1 · answered by MarkG 7 · 0 0

To the best of my knowledge, there is nothing called VB 2005 express edition. However, there is the SQL Server 2005 Express edition. If that's the case, yes, you can access data stored in SQL server 2005 from a VB 6.0 application.

If you built an application using VS 2005 , then no, you cannot open except from VS 2005.

Hope this helps

2007-02-25 08:59:21 · answer #2 · answered by Smutty 6 · 0 0

No, you can't load a VB 2005 project in VB 6.0, and you can't run an application build with VB 2005, using VB 6.0's run-time files

2007-02-25 04:58:30 · answer #3 · answered by Deep Thought 5 · 0 0

fedest.com, questions and answers