Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ALSayegh
  • Order by date
  1. ALSayegh

    Can some one help please.. VB. And CR.8.5

    thanks for help i try it but i get error Argument not optional.
  2. ALSayegh

    Can some one help please.. VB. And CR.8.5

    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 &...
  3. ALSayegh

    Working with CR. 8.5 and VB.6 I need help please

    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 &...
  4. ALSayegh

    ADO Recordset Addnew on Duplicate record

    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...
  5. ALSayegh

    How can I check if there is any form’s active.

    I am grateful for your help I get new information how to use ActiveForm property But ActiveForm Work only with MDIForm
  6. ALSayegh

    How can I check if there is any form’s active.

    Thanks Mr. CCLINT But I want to now first if the form is Active
  7. ALSayegh

    How can I check if there is any form’s active.

    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...
  8. ALSayegh

    load picture

    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...
  9. ALSayegh

    Connecting to access database (ADO)

    THANKS FOR YOUR HELP I WILL TRY IT...
  10. ALSayegh

    Connecting a DataBase to VB

    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...
  11. ALSayegh

    Connecting to access database (ADO)

    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.
  12. ALSayegh

    Text Object

    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.
  13. ALSayegh

    Text Object

    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
  14. ALSayegh

    Fill Dbgrid

    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
  15. ALSayegh

    Filling dbgrid

    Hi I wont to fill a dbgrid manually How can i do that. I now I can use data control with dbgrid but I wont it manually. Thanks for helping
  16. ALSayegh

    Get time/date from server (NT)

    Hi How can I get time/date from server? Server time/date --> Client
  17. ALSayegh

    Listbox item

    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
  18. ALSayegh

    How can I count how many "Saturday" between tow dates?

    I tried second solution and it worked very nice Thanks guys
  19. ALSayegh

    How can I count how many "Saturday" between tow dates?

    Hi How can I count how many "Saturday" between two dates? I tried to use DateDiff but it doesn't work write
  20. ALSayegh

    I get Error “Permission denied” error number 70

    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

Part and Inventory Search

Back
Top