Search Results - VBForums

Search:

Type: Posts; User: gibra

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    43

    Re: Form2 on top of Form1

    From Form1



    Private Sub Command1_Click()
    Form2.Show , Me
    End Sub


    Remember that, in this case:
  2. Re: How to make Application overwrite itself ??

    You should use a launcher.exe which:
    1 - update your application.exe
    2 - launch application.exe
  3. Thread: wanted: PSC CDs

    by gibra
    Replies
    22
    Views
    686

    Re: wanted: PSC CDs

    The should be post on VB.NET forum, not here.
  4. Thread: wanted: PSC CDs

    by gibra
    Replies
    22
    Views
    686

    Re: wanted: PSC CDs

    What to do with Visual Basic 6.0?
  5. Re: VB6 Application and SQL Express 2012 connection: Provider cannot be found

    SQL Server connection strings - ConnectionStrings.com
    http://www.connectionstrings.com/sql-server/

    there are many sample for Express version.
  6. Replies
    3
    Views
    151

    Re: Finding files in Subfiolders

    If NumFiles = 0 then
    '// message not found
    End If
  7. Replies
    3
    Views
    151

    Re: Finding files in Subfiolders

    In your code, you 'force' the user to remember the complete filename and path.

    A good practice suggest to use a CommondDialog component with ShowOpen method that allows the user to search and...
  8. Replies
    23
    Views
    666

    Re: Run VB6 program on Win 7/8 and later

    "C:\users\...\destkop\archive (23-06-2015 11:32:00).bck"

    isn't a valid filename.

    should use something like this:

    "C:\users\...\destkop\archive (23-06-2015 11_32_00).bck"
  9. Replies
    23
    Views
    666

    Re: Run VB6 program on Win 7/8 and later

    It is a very old and well-known issue.
    The topic has been discussed many times on the forum.
    Search ...

    P.S.
    You have seen how the error handling is important, and that is not an error of the...
  10. Replies
    23
    Views
    666

    Re: Run VB6 program on Win 7/8 and later

    Sure? I dont think. ...
  11. Replies
    4
    Views
    177

    Re: SQL Copy with different id only

    Then Whats is your problem?
  12. Replies
    23
    Views
    666

    Re: Run VB6 program on Win 7/8 and later

    I did not understand if you do not use error handling only in this form, or if you do not use it ever.
    Maybe can be useful insert it into form, maybe it could give you some help.
    Who knows ...
  13. Replies
    35
    Views
    502

    Re: Saving MSHFLEXGRID data to table

    First you have to set the correct parameter of MyRecSetF48 recordset.



    MyRecSetF48.CursorLocation = adUseClient
    MyRecSetF48.CursorType =adOpenDynamic
    MyRecSetF48.LockType = adLockPessimistic...
  14. Replies
    35
    Views
    502

    Re: Saving MSHFLEXGRID data to table

    In your code, you wrote:


    '/ prev code
    cmd.CommandType = adCmdText
    Set MyRecSetF48 = cmd.Execute
    '/ other code
  15. Replies
    8
    Views
    227

    Re: what is this run-time error ?

    Probably the query is wrong.
  16. Replies
    35
    Views
    502

    Re: Saving MSHFLEXGRID data to table

    Yes, I agree.

    This is because I've ask the TYPE of DIM <name> AS ...
  17. Replies
    35
    Views
    502

    Re: Saving MSHFLEXGRID data to table

    x1Id = FlexReport.TextMatrix(fRow, 0)

    What Type is x1Id ?

    Dim x1Id As .... ???
  18. Replies
    23
    Views
    666

    Re: Run VB6 program on Win 7/8 and later

    In the form you have added error handling?
  19. Re: MsFlexgid Error When referencing crosstab querry

    Why you close MyCon if is open?
    Doesn't close MyCon, it should still open.

    In Private Sub CrossTab_Click() event you should use MyRecset, instead of MyCon.
  20. Replies
    31
    Views
    817

    Re: need to sum

    WOW!!! You are the best about copy & paste:p
  21. Replies
    5
    Views
    204

    Re: Need Data Widgets Program for Windows 7

    It seems that the ssdw3b32.ocx component suffers from many problems, at least reading this forum:
    Data Widgets Forum
    https://www.componentsource.com/product/data-widgets/forum

    but there are some...
  22. Replies
    7
    Views
    341

    Re: I can't loop through the images one by one

    In your code I don't see any LoadPicture() statement. :confused:
    So I wonder what it means for you:
  23. Re: Choosing a file and write the location of the file in a text file in VB6

    You should
    - open the file
    - get the current line
    - append the new into line
  24. Re: Choosing a file and write the location of the file in a text file in VB6

    I have shown you the code structure.
    You do not see the statement Debug.Print?
    New to this statement?


    You do not expect me to write all the complete code ?
  25. Replies
    7
    Views
    374

    Re: Auto Select Item in Common Dialog Control

    Set the FileName property of CommonDialog before to open it.
  26. Re: Choosing a file and write the location of the file in a text file in VB6

    I think the code should be like this:



    Private Sub cmdNext_Click()
    Dim i As Long

    For i = 0 To List1.ListCount - 1
    If GetAttr(List1.List(i)) = vbDirectory Then
    ...
  27. Replies
    31
    Views
    817

    Re: need to sum

    OK.

    Then remember to mark the topic as RESOLVED (on Thread Tools link)

    :wave:
  28. Replies
    31
    Views
    817

    Re: need to sum

    Try this:




    SELECT SUM(CountByGroup) AS SumOfGroups FROM
    (

    select count(*) AS CountByGroup from #ZZ_MIDSALES
    where WGROUP_strDescription ='TICKET BOX'
  29. Replies
    1
    Views
    87

    Re: Creating tables in MS Access

    You can use ADOX (Ado Extensions) :
    - Download ADO 2.8 SDK for a complete guide.
    Download Microsoft Data Access Components (MDAC) 2.8 Software Development Kit from Official Microsoft Download...
  30. Re: Choosing a file and write the location of the file in a text file in VB6

    To choose a directory you can do with this:



    ' BROWSEFORFOLDER: a simple way with no extra capabilities.


    Dim sMyDir As String
    Const ssfPERSONAL = 5
    On Error Resume Next
  31. Re: Copy one table to another table then insert data based on a given condition

    See here:

    SQL: INSERT Statement
    http://www.techonthenet.com/sql/insert.php
  32. Replies
    9
    Views
    260

    Re: ADO reference

    You need do download and install the appropriate ACE driver (for each computer).

    Since the improvements are mainly for MS Access environment, and have no influence on the use 'outside' of the...
  33. Replies
    10
    Views
    430

    Re: ieframe to open a pdf in vb6

    Read better the initial post.

    He don't get error 438, get a blank page.
    Is't different.

    In addition, the ShellExecute API function can be used even if not using Adobe Acrobat, but with any...
  34. Replies
    10
    Views
    430

    Re: ieframe to open a pdf in vb6

    The problem you are referring to is completely different, has nothing to do with this discussion.
  35. Re: Formatting seconds into HH:MM:SS using SQL string syntax question.

    Your query contains a lot of errors.
    SQL engine doesn't support:
    - double quote (only single quote),
    - & char (use +, instead)

    So your Duration should be like this:

    ......
  36. Replies
    10
    Views
    430

    Re: ieframe to open a pdf in vb6

    I suppose it...
  37. Replies
    10
    Views
    430

    Re: ieframe to open a pdf in vb6

    We don't know as you are coded your project.

    You can download my source code here:
    PDF in VBForm with no OCX/DLL (late binding) both VB6/VB.NET...
  38. Replies
    3
    Views
    213

    Re: vb6 + vs2103 issue

    Try :
    1. Uninstall vb6/vs6
    2. Remove all vb6/vs6 folders in Program Files
    3. Remove all Registry entry related to vb6/vs6
    4. Restart pc
    5. Re-install vb6/vs6

    You can also use my tool VS6...
  39. Replies
    8
    Views
    476

    Re: Install VB6 in Win 8.1 ,Is possible ?

    @7edm
    of course isn't a problem of my web site, otherwise they would not have 36,953 downloads.
    I use KIS 2015 (Kaspersky) with no problem.
    Try to disable your antivirus, first.
  40. Replies
    8
    Views
    476

    Re: Install VB6 in Win 8.1 ,Is possible ?

    Windows 8.x and Windows 10 too.
    You can try my tool (need original CD's, of course):


    http://nuke.vbcorner.net/Portals/0/download/Tools/VS6Installer/VS6Installer4.gif
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width