User Profile
Collapse
-
pls help...I really need your help with these scripters.. -
-
What do you mean by dynamically??
This is my code. Is there something wrong. This code has no error. I just want to remove the the "Enter parameter Values" dialog box. Im using Crystal Report 8.5. Please help me sir.
.DiscardSavedDa ta = True
.ReportFileName = App.Path & "\REPORTS\rptAL LINV.rpt"
.DataFiles(0) = App.Path & "\DB-BNB.mdb"
.WindowTitle = "Branch List"...Leave a comment:
-
Crystal Report 8.5 Parameter Problem
Hi guys,
Is there a way to prevent "Enter Parameter Values" message box to pop during VB6 program runtime?I have created a program in VB6 that uses a Crystal report control. When I put a .parameter syntax, a dialog box always appear that says "Enter Parameter Values" before the report.
Pls, I know you can help me with this. Thank you so much!! -
Hehe.. i already solve my problem :
[code=vb]
otbl.Columns("i ntTotalQty").Pr operties("Defau lt") = 0
otbl.Columns("i ntPullOut").Pro perties("Defaul t") = 0
otbl.Columns("i ntTotalAmt").Pr operties("Defau lt") = 0
[/code]
Thanks for giving a little idea sir.. :)...Leave a comment:
-
Okay.. I have solved my problem.. i just put set otbl = new ADOX.Catalog and it works! Now my problem is, how to set its Default Value=0?? Any suggestions sir?Leave a comment:
-
I already put the code but it says ''Type is invalid" and points to ocat.Tables.App end otbl...
I think I have put otbl.Type=?????
What kind of type is that? And what does otbl.ParentCata log means?...Leave a comment:
-
Try to study this...
Public Declare Function Inp Lib "inpout32.d ll" _
Alias "Inp32" (ByVal PortAddress As Integer) As Integer
Public Declare Sub Out Lib "inpout32.d ll" _
Alias "Out32" (ByVal PortAddress As Integer, ByVal Value As Integer)
Public Declare Function Inp32 Lib "DllPort.dl l" (ByVal PortAddress As Integer) As Integer
...Leave a comment:
-
Create Access table using VB6 code
Hello guys,
im having trouble with this line of code. I'm trying to create a table in access using this piece of code but it says 'Object is no longer valid.' and it points to ocat.Tables.App end otbl. How can I solve this error guys?
Heres the code:
Dim otbl As New ADOX.Table
Dim ocat As New ADOX.Catalog
otbl.Name = "Table1"
otbl.Columns.Ap pend "strItemCod e",... -
try this:
Public Sub UnloadAll()
Dim oFrm As Form
For Each oFrm In Forms
Unload oFrm
Next
Set oFrm = nothing
End Sub
put this line of code in your queryunload of Form1:
Call UnloadAll...Leave a comment:
-
Ahmm, guys i forgot to tell, the procedure is actually successful but my problem is, what does the "Subscript out of range" error means? and how can i get id of it.
Thanks againLeave a comment:
-
i have a problem with this
Public Sub ImportToFile(sr cRS As String, srcFile As String)
Const adOpenStatic = 3
Const adLockOptimisti c = 3
Const ForReading = 1
Con_Open
Dim rsImport As ADODB.Recordset
Dim objFSO
Dim objFile
Dim strFile As String
Dim strArrFile() As String
Set rsImport = New ADODB.Recordset
'rsImport.Curso rLocation = adUseClient...Leave a comment:
-
-
Import CSV text file to MS Access DB
Hello,
Can anyone here has a code for importing CSV text file to Access table??
thanks in advance..
Sorry Debasis Das for disturbing... -
-
oPEN htmL FILE USING Visual Basic 6
Hello,
Can anyone here tell me how to open a html file using VB6???
Thanks in advance.. -
Hi Sir,
I forgot to tell you that I am starting to learn Crystal Report.. What do you mean by dynamically?? Thanks!!Leave a comment:
-
Crystal Report 8.5 and Visual Basic 6 Problem(Again)
Hi,
Can you pls help with my problem: everytime i run my project and view my report in cr, a window always pop up saying "Enter parameter value"...I am getting annoyed with this pop up window..
is this because of my parameters?how can i prevent it not to pop? i have leave the prompting text setting of all my parameters blank.
[code=vb]
With Main.rptCN
.DiscardSavedDa ta... -
BlueTooth and Visual Basic 6.0 via MSCOMM
Hello Scripters,
I have a project that needs to connect with a bluetooth device. My bluetooth is connected to my USB Port..Is it possible to use MSCOMM control to access my bluetooth?.
Actually, I am currently using an ActiveX named BlueTooth FrameWork which I downloaded a few days ago. The ActiveX works fine but I need to use MSCOMM for it is a requirement for my project. Another thing is when I run my project, an... -
No activity results to display
Show More
Leave a comment: