hi everyvody
i create a project in visual basic 6.0 in this project i make 2 form :- form1 & form2.in form1 i have one command box.now when i click on command box of form1 then open form2.
for this what code. give me some tips plz.its very urgent
User Profile
Collapse
-
form1 attach with form2
-
ya, i am give empty parameter but give me error login failed for user 'sa' . now what do i do.give me solution Please... -
i give every thing in these code like as server name, database name, user name but balank password field bcoz here do not give password in SQL server.now i run project then give error Login failed for user 'sa' plz check it.code is following :-
.
...Code:Private Function GetValue() as string on error goto EH dim cn as object dim rs as object dim strSQL as string GetValue
Leave a comment:
-
hi thanks
now this give me some error .Error is :- -2147467259:[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
u send me these code in this code samoe line not work properly in this line give error Syntex Error.for this i do comment linein if condition give error. plz see it.
...Code:Private Function GetValue() as string on error goto EH dim cn as object
Leave a comment:
-
connection of SQL
hi i am using Visual Basic6.0 & SQL Server.Now i want connect SQL with Visual Basic.In SQL my one Query that is "Select creditamt from all_trlbal where clcode=101". Value of this query i want put in textbox when i click on command button of Visual Basic's form.which type i do it give some tips please.
thankyou -
ya its right, from this command box i aatach my current form ....Leave a comment:
-
code fro print
in a visual basic form i give one command box.from this command i want attach my printer.plz help me -
see it
Plz check these code writen in visual basic.but in line 12 give me error.error is :-
RunTime Error '9' : Subscropt Out of Range
plz give me anyone reply soon it is very urgent for me.
1. Private Declare Function ShellExecute Lib "shell32.dl l" _
2. Alias "ShellExecu teA" (ByVal Hwnd As Long, _
3. ByVal lpOperation As String, ByVal lpFile As String, _
4. ByVal lpParameters... -
plzz remove error
Plz check error in line no. 13.here give me error that
Error :- Run Time Error : '424'
Object required
plz check it these code wriiten in visual basic6.0
plz anyone help me
1. Private Declare Function ShellExecute Lib "shell32.dl l" _
2. Alias "ShellExecu teA" (ByVal Hwnd As Long, _
3. ByVal lpOperation As String, ByVal lpFile As String,... -
Check error
these code in Visual Basic 6.0 for connect with excel sheet but here give me error plz cheak it.line no. 10 give me error
plz any one reply me
1. Dim cn As ADODB.Connectio n
2. Dim rsT As ADODB.Recordset
3. Dim intTblCnt As Integer, intTblFlds As Integer
4. Dim strTbl As String
6. Dim rsC As ADODB.Recordset
7. Dim intColCnt As Integer, intColFlds As Integer
8. Dim strCol As String... -
-
How to place value in Excel worksheet from VB
hi
i am create a form in vb & in this form add 1 coomand box & 1 text box.i am also create a excel worksheet. now i want that when i click on command box then put value of 'D11' cell of the excel sheet in textbox.give me some tips plz .its very uregent for me otherwise i lost my job.i am new joining.plz any one can help me
thank u -
plz see error
these code for connect with excel sheet but here give me error plz cheak it.in line no. 9 give me error
Dim cn As ADODB.Connectio n
Dim rsT As ADODB.Recordset
Dim intTblCnt As Integer, intTblFlds As Integer
Dim strTbl As String
Dim rsC As ADODB.Recordset
Dim intColCnt As Integer, intColFlds As Integer
Dim strCol As String
Dim t As Integer, c As Integer, f As Integer...
No activity results to display
Show More
Leave a comment: