hello,
In all project when I click on project menu from that i select reference then
error occured.
Error accessing the system regisrty.
please tell me what is problem. if i take new project then also i can not add reference it gives that error.
User Profile
Collapse
-
Error Accessing the System Registry
Hi,
In visual Basic when I add reference it shows following error
Error Accessing the System Registry
Please tell me solution. -
i create module in that i create function i.e createconnectio n() and i call it in that form .function is
Public Function createconnectio n()
Set conn = New ADODB.Connectio n
conn.Open "Provider=SQLOL EDB;Data source=(local); database=produc t;user id =sa;password="
Set rs1 = New ADODB.Recordset
msql = "select * from sysobjects where xtype='U' and name='product_m aster'"
...Leave a comment:
-
-
viewrecord is procedure i.e
Private Sub viewrecord()
If rs("client_no" ) <> "" Then
Text1.Text = rs("client_no" )
Else
Text1.Text = ""
End If
If rs("name") <> "" Then
Text2.Text = rs("name")
Else
Text2.Text = ""
End If
If rs("address") <>...Leave a comment:
-
View record it gives error
Hi ,I am using Visual Basic Backend SQL
I create form in which i create Command button
NEW ,MODIFY, VIEW,SAVE,EXIT
all my programme is running but when i add new record and save and then
i press VIEW button it gives error
i.e Object VAriable or with block variable not set
my code is
Private Sub Command1_Click( ) ' Add New Record
sql = "select max(right(clien t_no,5)) as... -
In crystal report image
hello,
i doing programme Icard Entry .In which i take one field that photo which
storer image path . when i run form and enter record in photo coloumn it stores that image path .so i want that how i brought that image in crystal report
i using vb and backend SQL .Please tell me how in crystal report i show that images . -
select folder
hi i want to select folder in code so i did some code i.e
[code=vb]
Private Const BIF_RETURNONLYF SIDIRS = 1
Private Const BIF_DONTGOBELOW DOMAIN = 2
Private Const MAX_PATH = 260
Private Declare Function SHBROWSERFORFOL DER Lib "shell32" (lpbi As BrowsInfo) As Long
Private Declare Function SHGETPATHFROMID LIST Lib "shell32" (ByVal PIDLIST As Long, ByVal LPBUFFER As String)... -
first record not add
In Visual Basic i create code to add record that to auto increcment so following code
sql = "select max(job_order_n o) as job_order_no from job_order"
Set rs1 = conn.Execute(sq l)
If rs1("job_order_ no") = null Then
rs1("job_order_ no") = 1
Else
Text1.Text = rs1("job_order_ no") + 1
End If
when i run and click add button it gives... -
crystal report conn
hi , i using vb and backend access and external seagate crystal report
i create report having folling code
Public strReportPath As String
Public strRecordSelect ion As String
Dim crystal As New CRAXDRT.Applica tion
Dim Report As New CRAXDRT.Report
Private Sub Form_Load()
On Error Resume Next
strRecordSelect ion = ""
strReportPath = App.Path & "\" &... -
crystal conn
when we use external crystal report in vb then to connet folloing line comes
so when we not create DSN means we r ADODB connection
then if
database name =abc in access
Report.Database .LogOnServer "pdsodbc.dl l", abc
it can work only we can gives database name or we want to create DSn
please tell -
Thanks but how i can link external (seagate crystal report ) in vb
please tell me.Leave a comment:
-
crystal report help
hello,
i using vb 6 and i did report seagate crystal report .
i want to know how it use in vb . i did some code but it not display anything
code is
Public strReportPath As String
Public strRecordSelect ion As String
Dim crystal As New CRAXDRT.Applica tion
Dim Report As New CRAXDRT.Report
Private Sub Form_Load()
strRecordSelect ion = ""... -
crystal report in visual basic
i want to use crystal report in visual basic as i am new , i want to know i create crytal report in visual basic . we want to create designer (crystal report) in visual basic or in seagate crystal report ?
and please tell how i display report .please tell step by step -
-
thank u for code but it gives error that
Run time error 5:
Invalid proceduer call or argument
this line
If Not (Asc(CurrentCha r) >= 48 And Asc(CurrentChar ) <= 57) Then
why it isLeave a comment:
-
In visual basic i put a textbox and i want to enter in that textbox only numeric value alphabete are not allowed .please how can i do it...Leave a comment:
-
In visual basic i put a textbox and i want to enter in that textbox only numeric value alphabete are not allowed .please how can i do it...Leave a comment:
-
In visual basic i put a textbox and i want to enter in that textbox only numeric value alphabete are not allowed .please how can i do itLeave a comment:
-
in textbox only number should enter
In textbox i want to enter only number not any alphabates. please tell how i code that
No activity results to display
Show More
Leave a comment: