I wont to load a picture in run time in CR. But I am getting Error
“Loading the picture from directory not database”
Run-time error 70
Permission denied
This is my code :
MyRep.Database.SetDataSource MyRst
Her I am getting the error ---- > MyRep.picture1.SetOleLocation LoadPicture(App.Path &...
I wont to load a picture in run time in CR. But I am getting Error
“Loading the picture from directory not database”
Run-time error 70
Permission denied
This is my code :
MyRep.Database.SetDataSource MyRst
Her I am getting the error ---- > MyRep.picture1.SetOleLocation LoadPicture(App.Path &...
I believe you have to way to solve your problem
1- in your data base you can make same rolls to restrict duplicate data either on One Fields or More
then in your program you handle it with “error handler “. How … when you try to add a duplicate
data, data base well send an error to...
Hi
How can I check if there is any form’s active.
Exp.
I have main.frm and I want to check if other forms are
Working.
If yes I want to unload them.
I try this code it work :
If Myfrm.visibel = True then unload Myfrm
But there is problem that each time I run this code
VB will load the...
hi
How can i load a picture in to crystal 8.5 during run mode ?
i try this code but i get an error -
Run-time error 70
permission denied
Dim bmpHold As StdPicture
Screen.MousePointer = vbHourglass
OneM.DiscardSavedData
OneM.Database.SetDataSource rstTable
Set bmpHold = LoadPicture(App.Path...
IF YOU ARE CONNECTING AS DAO IT WILL NOT WORK
YOU SHULD CONNECT AS ADO.
GO TO REFERENCE CHOSE ADO.
MORE ...
IF YOU ARE UOSING THIS WAY
DAO..
SET RS = MyDy.OpenRrecordSet .... IT WILL NOT WORK
ELSE
ADO...
HOWTO: Open ADO Connection and Recordset Objects
GO TO...
In design time I connect my database and collect tables with SQL which I wrote it in (ADO)
SQL place, but when I try to make same modification to my SQL I couldn’t find it, even I tried to
Reset location I couldn’t do so.
Pls. could some one help me to understand what happing.
Thanks.
Dear Sir
This is the case i have some calculation that i made in VB
i wont to pass it "only one value" to crystal report V8.5 .
i have also Sum calculation in crystal i wont to ADD THE VALUE THAT I MADE IN VB TO THE SUM IN CRYSTAL REPORT.
Thanks allot for responding.
i have a text object that i am passing to it a calculated number from vb, how can i use value in that text to add it
to Sum in the crystal V8.5.
and if there are anther way to do so please Tel me.
Thanks
Hi
I wont to fill a dbgrid by code. I don’t wont to use data control.
I try this but didn’t work
rs.MoveLast
RCount = rs.RecordCount
rs.MoveFirst
For i = 0 To Rc
DBGrid1.Row = i
DBGrid1.Col = 1
Me.DBGrid1.Text = rs!myField
Next i
_____________________
Please help me
Thanks
You can do it like this way
List1.ListIndex = item data (number)
If your list item data started from 0 to 4 then
List1.ListIndex = 1
I test it and it’s worked
Hi
Hi
I am trying to use file copy command like this way:
MkDir MyDirName
FileCopy "C:\F_DataBase\InsContracts.mdb", MyDirName & "\InsContracts.mdb"
But when it tries to make FileCopy it gives this error Permission denied
What I can do to avoid it.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.