Search:

Type: Posts; User: jggtz

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    54
    Views
    705

    Re: Visual Basic 1 code?

    Just for information --> http://en.wikipedia.org/wiki/QuickBASIC
  2. Replies
    2
    Views
    301

    Re: Request for sample

    You can download a lot of samples here --> http://wiki.sdn.sap.com/wiki/display/BOBJ/Report+Designer+Component+SDK+COM+Samples
  3. Replies
    1
    Views
    58

    Re: need help about round off

    Where?
    Crystal, Access or Data Report?
  4. Replies
    6
    Views
    104

    Re: Listview items/rows to access db

    IMO it would be better to use For-Next loop


    Dim X As Integer
    For X = 1 To ListView1.ListItems.Count
    rs.AddNew
    rs!Assettag =...
  5. Replies
    2
    Views
    63

    Re: Search un-used number

    You could use a FOR-NEXT loop
    and inside the loop lookup for the record for that number
    Following your example:


    FOR X = 1 TO 10
    Search your recordset with X
    If the search fails then...
  6. Replies
    54
    Views
    705

    Re: Visual Basic 1 code?

    In QBasic we could declare a sub
    What if we name it 'Connect' and write the code that Doogle posted? and simply called it
  7. Replies
    54
    Views
    705

    Re: Visual Basic 1 code?

    I didn't see the whole code but...
    'Connect' could be a Declared Sub... we could do it in QBasic
    and about

    X1=(320-I)+RND|I| X2+RND|I+319
    IMO some of the multiline character | must be / or :...
  8. Replies
    54
    Views
    705

    Re: Visual Basic 1 code?

    QBasic
    ... and the lines that begin with '|||||<< .... are comments
  9. Replies
    6
    Views
    145

    Re: VB6 & Windows 7 Soap Issues??

    To download the toolkit see post #2
  10. Replies
    32
    Views
    407

    Re: Question in IF STATEMENT

    It will be very uneasy that the form loads at 3:00:00 exactly
    You need to develop another aproach
    ... or use another event...
  11. Re: portable tool to migrate sql server database to access database

    http://downfocus.com/translate/translate+sql+query+to+access/
  12. Re: how do display the last customers entry

    It would be easy if you have a timestamp field
  13. Re: SQL Searches with multiple criteria

    adoAppointments.RecordSource = "SELECT Appointments, Time FROM Appointments WHERE ID = '" & adoPatientRecords.Recordset!ID & "' AND Appointments = #" & Date & "#"


    Also I would use a formated date
  14. Thread: recordset.find

    by jggtz
    Replies
    2
    Views
    124

    Re: recordset.find

    FIND method only allow one criteria

    You could execute a SELECT_FROM_WHERE query with 2 criterias over the connection
    or
    FILTER the recordset with the 2 criterias
    or
    FILTER on one criteria and...
  15. Thread: MSSQL Backup

    by jggtz
    Replies
    3
    Views
    190

    Re: MSSQL Backup

    Try:


    ' ********************************************************************************
    ' @file BackRest.bas
    ' @description Backup & Restore with long file names (with spaces)
    '...
  16. Replies
    2
    Views
    128

    Re: listview remove items

    Form1.ListView1.ListItems.Clear
  17. Replies
    1
    Views
    143

    Re: Invalid Data Element Key

    If you post the code it will be better
  18. Replies
    4
    Views
    196

    Re: 1 big problem about reading another app!

    http://forums.devshed.com/visual-basic-programming-52/how-to-get-the-url-visited-in-explorer-in-vb-175506.html
  19. Replies
    15
    Views
    431

    Re: Error code 3035 question.

    We can create mdb format with Access 2007 and still use VB6 & DAO
    The problem here, IMHO, is to use it in Windows 64 bit
  20. Replies
    15
    Views
    431

    Re: Error code 3035 question.

    Check next links, maybe they can help you
    http://www.justanswer.com/computer-programming/34fhk-hi-i-keep-gettiong-runtime-3035-error-access.html...
  21. Replies
    15
    Views
    431

    Re: Error code 3035 question.

    ...and the Access database version is?
    ...and the Windows version is?
  22. Re: Database Planning problem with Hospital Management System

    https://www.google.com/#biw=800&bih=457&sclient=psy-ab&q=hospital%20management%20system%20vb6%20source%20code&oq=&gs_l=&pbx=1&bav=on.2,or.r_qf.&bvm=bv.45512109,d.cGE&fp=edfffc22b68baee5&pf=p&pdl=300
  23. Replies
    7
    Views
    849

    Re: How to find Matrix Inverse in VB6?

    Have You tried the attached project in post #4 ?
  24. Replies
    7
    Views
    216

    Re: VB Expert pls help ME T_T

    Received... and already learned how to report a post...
  25. Replies
    7
    Views
    216

    Re: VB Expert pls help ME T_T

    You should post in VB.Net forum
  26. Re: subscript out of range run time error '9' vb6 crystal report

    Try loading the rpt first
    and after that set the datasource
  27. Replies
    5
    Views
    329

    Re: [RESOLVED] Create Tables

    In my case I use dbo as schema, try : MyDatabase.dbo.VType
  28. Replies
    5
    Views
    329

    Re: Create Tables

    Try


    sql = "Create table MyDatabase.VType(" & _
    "[vtype] [nvarchar](20)" & _
    "Primary Key([VType]))"
    conFind.Execute (sql)
  29. Re: Why Int DataType field is holding the string value without any error

    There's an internal data type conversion from String to Integer
    Try inserting the string value but with letters or special characters and see the result
  30. Replies
    4
    Views
    216

    Re: Barcode Issue?

    As DM says
    Let's say that the value is 1234 or 001234

    1.-
    Store the value in a string variable, let's say MyStr
    Convert to numeric
    Dim X As Integer
    X = CInt(MyStr)
    Then convert to desired...
  31. Re: VB6/CR9: Getting "Unknown query engine error"

    See code in post #6
    Maybe the part where I set the LogonInfo could be useful to You
    http://www.vbforums.com/showthread.php?717457-Pass-Date-Parameters-from-VB6-to-CR-XI
  32. Replies
    3
    Views
    334

    Re: Use of SetTableLocation for CR9

    See code in post #6
    Maybe the part where I set the LogonInfo could be useful to You
    http://www.vbforums.com/showthread.php?717457-Pass-Date-Parameters-from-VB6-to-CR-XI
  33. Re: Pass Date Parameters from VB6 to CR XI

    Anyway, I forgot to show how to pass parameters to rpt from vb6 app
    The rpt read data from a sql server (it doesn't matter) but could be from any db

    References:
    Crystal Reports Viewer Control...
  34. Re: Pass Date Parameters from VB6 to CR XI

    That's why it's better not to use parameters in rpts that are called by an application
    We ask for the dates in our own vb6 forms and just construct the RecordSelectionFormula and pass to the rpt...
  35. Replies
    5
    Views
    253

    Re: Linked Sub report

    Another way is SubReport on Demand but the user need to click on the subreport to show it and not on any field
  36. Replies
    5
    Views
    253

    Re: Linked Sub report

    I can show a new report not a subreport
    You need to intercept the Clicked event in the CRViewer
    Use CRVEventInfo & CRVField objects
    Ask if the clicked field is Order Number then open a new viewer...
  37. Re: VB6 .AddNew Record Problem involving Listbox Itemdata

    1.- I would use a Dynamic cursor instead : adOpenDynamic

    2.- Try moving the add method inside the loop


    'not a valid code...just to show the explanation
    For
    recordset.AddNew
    ...
  38. Re: VB6 DTPicker disable particular dates

    One way...
    -Keep the no-allowed dates in a table/list/vector/array
    -when user selects any date, first thing to do is to check against that table/list/vector/array
    -display a msgbox if is not a...
  39. Thread: Computer Name

    by jggtz
    Replies
    2
    Views
    180

    Re: Computer Name

    Also...
    You could use vb6 Environ function


    'displays Computer name
    MsgBox Environ("ComputerName")
  40. Replies
    6
    Views
    376

    Re: Sorting Amount By Currency

    menu / Report / Record Sort Expert
    select Currency field from Available Fields and move to Sort Fields using > button
    set Sort Selection
    click OK and try
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4