Search Results - VBForums

Search:

Type: Posts; User: gibra

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    140

    Re: path/file access error

    Since no one knows what objects are using, it would take a magician to guess...
    You should give further details.
  2. Replies
    33
    Views
    482

    Re: many controls in the screen How how do I fit

    Hard to recommend without knowing exactly the business logic, because it is not just a matter of place controls, but position them using a relevance logic.

    For example, I would add another SSTab...
  3. Replies
    10
    Views
    237

    Re: [RESOLVED] Query not returning any record

    underscore (_) is used with ADO, while with DAO need to use (?).
    See here:
    INFO: Issues Migrating from DAO/Jet to ADO/Jethttps://support.microsoft.com/en-us/kb/225048
  4. Replies
    10
    Views
    237

    Re: Query not returning any record

    I forgot to specify that the asterisk (*) is used with DAO, while with ADO using the percent sign (%).
  5. Replies
    10
    Views
    237

    Re: Query not returning any record

    When you use LIKE you must also specify one or more asterisks (*) i.e.:

    to search for Contains:

    LIKE '*" & Trim$(txtSearch.Text) & "*'"

    to search for Start with:

    LIKE '" &...
  6. Replies
    54
    Views
    14,043

    Re: vb6 and Windows 10

    Done!

    Visual Studio 6.0 Installer Wizard v4.1 2015 ha been released:

    http://nuke.vbcorner.net/Portals/0/download/Tools/VS6Installer/VS6Installer4.gif
  7. Replies
    8
    Views
    274

    Re: Shell32 object between Windows versions

    Ehm...
    you must use As Object, otherwise you make a Variant type.


    Public Application As Object
  8. Re: Windows 10 - Runtime Error '429' - ActiveX Component Can't Create Object

    To ensure that the code work on ANY Office version, you need to use Late-binding.
    Replace this:


    Dim oOApp As Outlook.Application
    Dim oOMail As Outlook.MailItem

    with this:
  9. Replies
    6
    Views
    391

    Re: Import access table to SQL

    It's normal. You can't use this statement from two different database type.

    You can open two ADODB.recordset, one for each table in each database, then copy records from first recordset to...
  10. Replies
    8
    Views
    310

    Re: InIDE compilation argument?

    Ok, then you have to set values on Conditional Compilation Arguments field on Make tab in Project Properties window:
    ...
  11. Replies
    8
    Views
    310

    Re: InIDE compilation argument?

    in a BAS module:



    Public gbIsIDE As Boolean
    Public Function IsIDE() As Boolean
    On Error GoTo Out
    Debug.Print 1 / 0
    Out:
    IsIDE = Err
  12. Replies
    54
    Views
    14,043

    Re: vb6 and Windows 10

    Yes and No. :bigyello:

    Yes: for previous build of Windows 10 (will accept a zero byte MSJAVA.DLL)
    No: for latest build of Windows 10 (and perhaps also in the final build, but I have not tested...
  13. Replies
    5
    Views
    223

    Re: How to add command button in MDI form ?

    About skin, see if this help you:

    Skins para formularios Leandro Ascierto
    http://leandroascierto.com/blog/category/skins-para-formularios/
    ...
  14. Replies
    8
    Views
    194

    Re: connect to sql server 2008 r2 in windows8.1

    You should use a UDL file to make work your connection.

    Creating and Configuring Universal Data Link (.udl) Files
    https://msdn.microsoft.com/en-us/library/e38h511e(v=vs.71).aspx
  15. Replies
    11
    Views
    180

    Re: Update Query Problems

    So also in VB6 you are using DAO?
  16. Replies
    11
    Views
    180

    Re: Update Query Problems

    You should try a SELECT statement with WHERE to see before which records will be affected.




    Dim sql as string
    sql = "SELECT field_list
    sql = sql & " FROM 2000_IUL_R
    sql = sql & " WHERE...
  17. Replies
    2
    Views
    174

    Re: Select record problem

    Use CODE tags (see # button) to public your code.

    This should work:



    dim sql As String
    sql = "SELECT * FROM STUDENT "
    sql = sql & " WHERE BANK='" & combobox.text & "'"
    sql = sql & " AND...
  18. Replies
    4
    Views
    142

    Re: Delete Selected ListView Items

    Show your code.
  19. Replies
    6
    Views
    273

    Re: Multi-level Grouping in VB^

    What reporting tool you use?
  20. Re: Need Code For Downloading with Progress Bar?!

    A good way is to use the IE download dialog:

    http://vbnet.mvps.org/images/gfx/internet/dofiledownloadcustom2.gif

    See here
    DoFileDownload: Customize the IE Download Dialog...
  21. Replies
    6
    Views
    561

    Re: combine jpg side by side

    You can try to use PaintPicture method to copy the second picture into first. Read help about numerous parameters.
  22. Replies
    5
    Views
    223

    Re: VB6 and Crystal Report 8 in window 7

    You included the libraries of CR in the setup of your application?
    You should do a test on a virtual machine with Windows 7 to understand what may be the problem.

    :wave:
  23. Replies
    15
    Views
    416

    Re: Reading TEXT FILE

    I confirm.
    Read my post #12.
  24. Replies
    15
    Views
    416

    Re: Reading TEXT FILE

    Open the file as Binary, instead as Input:


    Open App.Path & "\namn.dat" For Binary As #fnum
  25. Replies
    15
    Views
    416

    Re: Reading TEXT FILE

    Public your text file.
  26. Replies
    14
    Views
    547

    Re: Open File via Windows Explorer

    Then make this thread as RESOLVED. Thank.
  27. Replies
    14
    Views
    547

    Re: Open File via Windows Explorer

    Command-Line Switches for Windows Explorer
    https://support.microsoft.com/en-us/kb/130510

    :wave:
  28. Replies
    1
    Views
    131

    Re: textbox in MsFlexGrid

    Format your code, please.
  29. Re: trying to get the total of subitems(4) missing something

    Try this:



    Dim curSum As Currency
    curSum = 0
    For i = 1 to LsVw.Listitems.Count
    curSum = curSum + CCur(LsVw.ListItems(I).SubItems(4))
    Nex i
    lblTotal.Caption = FormatCurrency(curSum)
  30. Thread: wanted: PSC CDs

    by gibra
    Replies
    31
    Views
    1,276

    Re: wanted: PSC CDs

    I use this:

    HTTrack Website Copier - Free Software Offline Browser (GNU GPL)
    https://www.httrack.com/
  31. Re: How to detect if a file is in Use

    What kind of file you're referring?

    Document (txt, doc, xls, and so on)?
    Or executable file?
  32. Replies
    4
    Views
    227

    Re: BeginTrans / RollbackTrans

    I use this structure coding:



    Public Function SaveData(<parameters>) As Boolean
    On Error GoTo ERR_HANDLER

    Dim bOnTransaction As Boolean
    CN.BeginTrans
    bOnTransaction = True
  33. Replies
    5
    Views
    230

    Re: Form2 on top of Form1

    From Form1



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


    Remember that, in this case:
  34. Replies
    16
    Views
    402

    Re: How to make Application overwrite itself ??

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

    by gibra
    Replies
    31
    Views
    1,276

    Re: wanted: PSC CDs

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

    by gibra
    Replies
    31
    Views
    1,276

    Re: wanted: PSC CDs

    What to do with Visual Basic 6.0?
  37. 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.
  38. Replies
    3
    Views
    212

    Re: Finding files in Subfiolders

    If NumFiles = 0 then
    '// message not found
    End If
  39. Replies
    3
    Views
    212

    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...
  40. Replies
    23
    Views
    836

    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"
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width