18 out of 35 rated this helpful - Rate this topic

Help for Visual Basic 6.0 Users

As a veteran developer, you have spent a lot of time and effort learning Visual Basic 6.0. At first glance, it may appear that Visual Basic 2008 is radically different and that you will need to relearn everything. However, while many things have changed, the overall experience of developing in Visual Basic 6.0 is essentially the same. Your knowledge of Visual Basic 6.0 will quickly help you become productive using Visual Basic 2008.

You will need to learn about a number of changes to Visual Basic 6.0 and set aside some old habits. Some language rules, tasks such as debugging and deployment, and even terminology have changed — often in subtle ways. Ultimately, the changes make Visual Basic 2008 easier and more powerful.

The following topics will help you identify the changes in Visual Basic 2008.

Integrated Development Environment for Visual Basic 6.0 Users

Changes in development environment.

Project Management for Visual Basic 6.0 Users

Changes in project system.

Web Programming for Visual Basic 6.0 Users

Changes in Web-related development.

WebClasses for Visual Basic 6.0 Users

Changes in WebClass projects (also known as IIS Application projects).

Data Access for Visual Basic 6.0 Users

Changes in data access and data tools.

Component Authoring for Visual Basic 6.0 Users

Changes in component authoring.

User Controls for Visual Basic 6.0 Users

Changes in UserControl projects (also known as ActiveX Control projects). Provides a link to information about the PropertyBag object.

Windows Forms for Visual Basic 6.0 Users

Changes in forms.

Debugging for Visual Basic 6.0 Users

Changes in debugging.

Setup and Deployment for Visual Basic 6.0 Users

Changes in Setup and deployment.

Localization and Globalization for Visual Basic 6.0 Users

Changes in localization.

Windows API Programming for Visual Basic 6.0 Users

Changes in accessing the Windows API.

Registry Access for Visual Basic 6.0 Users

Changes in setting and retrieving registry settings.

Constant Equivalents for Visual Basic 6.0 Users

Changes in constants that have changed in Visual Basic 2008.

Object Libraries and Namespaces for Visual Basic 6.0 Users

Differences and similarities between Visual Basic 6.0 object libraries and namespaces in Visual Basic 2008.

Run Time Libraries for Visual Basic 6.0 Users

Differences between Visual Basic 6.0 run-time files and the .NET Framework common language runtime.

Language Changes for Visual Basic 6.0 Users

Changes in Visual Basic language.

Windows Forms Controls for Visual Basic 6.0 Users

Changes in controls.

Upgrading from Visual Basic 6.0

Converting applications to Visual Basic 2008.

What's New in Visual Basic

New features for Visual Basic 2008.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Compatibility issues of VB6 with Vista
I want to install VB6 on my computer and I have Windows Vista installed as my OS. But every time I start the installation process I get a message saying "VB6 has a known compatibility issue with Vista". Are there any options to repair this problem? $0$0 $0
code in vb6 to print barcode using usb, to printer tlp2844
code

1. text file name barcode.txt in which i kept label design code

Q200,019
q831
rN
S4
D7
ZT
JB
OD
R16,0
N
A786,164,2,1,2,2,N,"RAZVI fashion"
B785,138,2,1A,1,3,53,N,"CODE1CODE0001"
A785,84,2,1,1,2,N,"CODE1CODE5COD"
A574,84,2,1,1,2,N,"MATERIALS "
A785,47,2,1,1,2,N,"Rate:"
A741,54,2,1,2,3,N,"2219.00*"
A565,55,2,1,2,3,N,"
A387,165,2,1,2,2,N,"RAZVI fashion"
B386,139,2,1A,1,3,53,N,"CODE1CO0001"
A386,84,2,1,1,2,N,"CODE1CODE5D001"
A174,86,2,1,1,2,N,"MATERIALS "
A385,49,2,1,1,2,N,"Rate:"
A340,54,2,1,2,3,N,"2219.00*"
A165,55,2,1,2,3,N,"
P1

for two labels 50x25 size

and this sent to printer to lpt1 port which works good
but when i try to send this text file using usb port to printer the out put prints the above code instead of barcode

any one please solve this

*** i want help to print barcode to tlp2844 zebra printer when i use usb cable instead of LPT by sending barcode.txt file
or
any other solution

thank you
VB 6 runtime error Class does not support automation
I created a simple VB 6 executable that runs fine on my computer (Windows 7), but when I deploy it to another Windows 7 PC or a Windows 2003 server, I get the error "Runtime Error 430:  Class does not support Automation or does not support expected interface". The codePrivate Sub cmdStart_Click()

Dim rstLogin As ADODB.Recordset

  MsgBox ("Before first recordset")
  Set rstLogin = New ADODB.Recordset
  MsgBox ("After first recordset")
   
End Sub The line that generates the error is " Set rstLogin = New ADODB.Recordset".   I had a coworker compile it from his Windows 7 pc and run it on other machiens and it works fine.  So I believe it's an issue with my pc config.    Does anyone have any ideas?
combine vb with excel
I want to get cell value of first column of first sheet1 from excel file into a variable in Visual basic $0and after changing that value again insert it in first column of next sheet2 $0 $0and when i open excel file i get that value changed.$0

Zaheer, place a button on a form, and name it cmdTest.
Then paste this code, run and click on the button.

Private Sub cmdTest_Click()
Dim AppXls As Excel.Application
Dim ObjWb As Excel.Workbook
Dim ObjWs As Excel.Worksheet
Dim sCellAddr As String
Dim sCellValue As String
Set AppXls = CreateObject("Excel.Application")
Set ObjWb = AppXls.Workbooks.Open("C:\mce03.xls")  ' Open existing EXCEL file
Set ObjWs = ObjWb.Worksheets(1)                    ' Activate 1st sheet
sCellValue = ObjWs.Range("A1").Value               ' Read the value of A1
sCellValue = "{" & sCellValue & sCellValue & "}"   ' Change the content in VB (can be anything u want to do)
Set ObjWs = ObjWb.Worksheets(2)                    ' Activate 2nd sheet
ObjWs.Range("A1").Value = sCellValue               ' Change the contents of A1 to changed value
ObjWb.SaveAs ("C:\mce03a.xls")                     ' Save the file. Save in existing file use "ObjWb.Save" method
ObjWb.Close (False)
Set ObjWs = Nothing
Set ObjWb = Nothing
AppXls.Quit
Set AppXls = Nothing
End Sub
Active X Component Printing
Hi All,

I have an Active X component drawing a spec sheet in Word so users can print it and that works just fine, but now I am trying to install it on a new computer that does not have Word. I want to install Word Viewer and use that instead but it's not working. I keep getting an error that it cannot draw the Active X. Any ideas?
Read PASW Statistics (SPSS ver. 18.0) type libraries from vb6
Hi to everyone,

i really face a problem to read the type libraries of spss 18.0 from vb6. I am developing a program that needs to read that type libraries. At spss vers. 14.0 this is simple matter but the spss update to vers. 18.0 (PASW Statistcs) makes a lot of troubles. Does anyone have a clew for that ?

My email : smisirog@gmail.com

Thanks in advance ..
Play left channel only in both speaker

Hi,

Visual basic 6 (vb6)

I need help:

I'm now developing a karaoke player by using directshow i can adjust the left right balance but in some vcd it should use the channel to seperate it i try and read many many article but still cannot solve the problem can anyone give me some advise

or code or project vb zip file.

Thanks alot

My address e-mail: channy_leng@yahoo.com

Setting Audio Channel

Hi,

I want to play Audio Or Video With Button Click? in visual basic 6 (vb code).

I need your help. (code or project zip file attach)

How to play A video file with Dat extention can be played in a movie player with sound of the singer.

i want to use this to remove vocal while playing karaoke movie (DAT files) ...

hank forward,

from Kimhak,

My address e-mail: chhnkmhk@yahoo.com


Visual Basic 6 Product Documentation
  • 8/31/2008
  • LFS
Advertisement