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.
- 4/25/2012
- Aishwaraya
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
- 8/20/2011
- sagarkinare1234
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?
- 8/11/2011
- MK Malensek
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
- 3/11/2011
- Zaheer4444
- 5/12/2011
- Irfan Fazli
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?
- 9/10/2010
- Wildman2233
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 ..
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
- 8/24/2010
- Kimhak Chhuon
- 8/24/2010
- Kimhak Chhuon
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
- 8/24/2010
- Kimhak Chhuon
- 8/24/2010
- Kimhak Chhuon
Visual Basic Programmers Guide
http://msdn.microsoft.com/en-us/library/aa716285(VS.60).aspx
Visual Basic Language Reference
http://msdn.microsoft.com/en-us/library/aa338033(VS.60).aspx
- 8/31/2008
- LFS
- 8/3/2009
- vitormpgomes