Search Results - VBForums

Search:

Type: Posts; User: gibra

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    309

    Re: Access no longer working in S7 XP mode

    However, in VB6 (and any other language) don't need MSAccess to open a MDB database.

    Show the code you use to open database.
  2. Thread: vb6 error

    by gibra
    Replies
    3
    Views
    181

    Re: vb6 error

    Hi, yuor code:

    If "SELECT * FROM CLIENT WHERE CLIENT_NAME = ('" & txt_Client.Text & "')" Then
    is wrong because SELECT statement is used to open a recordset, or to execute a query i.e.



    Dim...
  3. Re: how to make autocomplete text box search In DB

    More simple:


    rs.Filter = "FullName LIKE '%" & txtDesc.Text & "%'

    But you should think to use a external form to show the results of filter.
    Because a filter may return more records,
    ...
  4. Replies
    6
    Views
    1,624

    Re: third party datagrid

    TDBGrid expose PrintInfo object fully customizable: window preview, with menu, margins, title, and so on... (all 'translatable' ).

    See this help:

    PrintInfo Object, PrintInfos Collection...
  5. Re: VB6.0 exe in Windows7 Environment

    Have you Windows 7 SP1 ?
  6. Replies
    33
    Views
    692

    Re: ListView autoarrange fails

    My code in post #13 is work.
  7. Replies
    5
    Views
    271

    Re: Statusbar font size

    Simply change the font attribute (size, bold, ...) in Properties, or from code:



    Private Sub Form_Load()
    With StatusBar1
    .Font.Size = 14
    .Font.Underline = True
    ...
  8. Replies
    33
    Views
    692

    Re: ListView autoarrange fails

    Try this (I renamed commandbuttons):



    Private Sub cmdPopulate_Click()
    Dim I As Long

    '(Re)populate ListView1 with a new set of items with new images and text.
    ...
  9. Replies
    7
    Views
    353

    Re: Problem comparing two strings

    Of course, your code is wrong.
    I think that the issue is that the string contains a CR+LF sequence, which their codes are 13+10, so MID() may search in wrong position.
  10. Replies
    8
    Views
    388

    Re: Volatile IDE configuration

    No, isn't a issue of MZTools.
    Mz-Tools (add-in) make the toolbar (and menu items) 'on fly' while IDE is started, so any changes you made can't be applied to it.
  11. Replies
    8
    Views
    388

    Re: Volatile IDE configuration

    Maybe because you're try to add buttons to the MZ-Tools toolbar.
    Isuggest to create your own bar customed and add them there.
  12. Replies
    28
    Views
    645

    Re: Can't Unload / End properly

    What do you say? :eek:

    Forms.Count and Forms(0).Name is correct, because Forms is a collection of Form.


    VB - Forms Collection in Visual Basic 6 (VB6)...
  13. Replies
    28
    Views
    645

    Re: Can't Unload / End properly

    On Immediate window you can use ?Forms.Count to discover how many forms still loaded, and ?Forms(0).Name to get specific unloaded form.
  14. Replies
    5
    Views
    300

    Re: How to resize Child form ?

    First of all, comment the Resize events on all child forms :


    Private Sub Form_Resize()
    'Me.WindowState = 2
    End Sub



    After this, add this routine in Module1.bas:
  15. Replies
    5
    Views
    300

    Re: How to resize Child form ?

    Picture still not visible, and other problems, too.
  16. Replies
    13
    Views
    477

    Re: Will VB6 run on windows 7 ?

    What are you writing?
    See to inform you before writing nonsense.
  17. Replies
    13
    Views
    477

    Re: Will VB6 run on windows 7 ?

    Dear moderatorJoacim Anderssonyou are totally in error.
    MY VS6Installer ISN'T PIRATED SOFTWARE.

    Before writing crap at least have the decency and education to first check what you write.

    By a...
  18. Replies
    2
    Views
    143

    Re: how to add grid data using stored proc

    What is your problem, really:

    1. create a stored procedure?
    2. use a stored procedure in VB6?
    3. add data to table?
    4. show data to datagrid control?

    be more specific.
  19. Re: how to disable a user to change date if it is not the same month

    Use a TextBox to change the DAY only.

    The use of DatePicker is a 'not sense' if the user can't change anything other the day.

    Normally, the DatePicker become usefull when the user must have the...
  20. Replies
    1
    Views
    113

    Re: Help : Datagrid bind combobox

    Natively DataGrid doesn't support this.

    But you can build it:

    VB 6.0 ComboBox in DataGrid
    http://www.nullskull.com/a/832/vb-60-combobox-in-datagrid.aspx
  21. Re: how to disable a user to change date if it is not the same month

    Instead of DataPicker, use a TextBox where user can change only the number of day.
    On DataValidation event check if the number is correct, related to the month.
  22. Replies
    4
    Views
    213

    Re: Opening an acces Database

    Don't use Password keyword, use:

    Jet OLEDB:Database Password

    Access 2007 connection strings - ConnectionStrings.com
    http://www.connectionstrings.com/ace-oledb-12-0/with-database-password/
    ...
  23. Replies
    12
    Views
    589

    Re: GetSpecialfolder Help

    What mean?
  24. Replies
    12
    Views
    589

    Re: GetSpecialfolder Help

    This is VB.NET code, not for VB6.0.
    When you copy code from somewhere, ensure to copy correct code.
  25. Re: Hello I am looking at this ActiveX Control to be placed on the Internet...

    Missing:

    Object={CBEE0419-C217-402A-84B1-38B72B6E3AC1}#1.1#0; Custom Dialog.ocx
    Object={025B3BBD-D86A-45AB-A696-A643B0405343}#1.0#0; ScrollBars.ocx
  26. Re: Hello I am looking at this ActiveX Control to be placed on the Internet...

    Some OCX are missing in you zip file.
  27. Re: Windows 7 - Visual Basic, IDE, File Menu, Save As, Not Giving Correct Name

    This behavior depends on the settings of the Resource Explorer.
    By default, the option which hide extension is set.

    In any Resource Explorer windows:
    - Open the Tools menu (press ALT key if...
  28. Re: how to implement application of user account

    You can create a Permissions table, related to Users table, which contains the authoritation flags by user.

    When the user connect to program, hide/show menus and submenus in accord to related flag.
  29. Replies
    15
    Views
    503

    Re: Access 2013 connection string

    I have Windows 7 64bit + Office 2013 with same problem:

    First I try install Microsoft Access Database Engine 2010 64bit version: doesn't work (of course: VB6 can't access to 64bit component).
    ...
  30. Replies
    15
    Views
    503

    Re: Access 2013 connection string

    HOW TO: FIX ERROR - "the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine"...
  31. Re: Need Help In Select Case Between Two Date Condition

    You must not compare String data type with Date data type.
    You have to convert to same data type. Try using:



    Dim x As Date

    ....

    x = Cdate(Text1.Text)
  32. Re: Problem using Icons in vb6..any help?

    Post your ico file...
  33. Re: Open All .xls Files in Directory & SubDirectory

    Dim FileSpec As String
    FileSpec = "XLS"

    For Each File in Folder.Files
    ' ADD THIS
    If UCase(FileSystem.GetExtensionName(File.Path)) = FileSpec Then
    ' do something
    End If
  34. Replies
    2
    Views
    300

    Re: ADO Recordset.Filter

    If you want to set both filters, then try this:



    Dim sFilter As String
    sFilter = "(Cod_code='01') "
    sFilter = sFilter & " AND (Doc_date>=#01/04/2013# AND Doc_date<=#31/03/2014#)"...
  35. Re: cannot running exe aplication in client from source that has been compile in othe

    What happens to any inexperienced person, to make it all work in the world. Including those who develop programs.:D


    This means that all those who use InnoSetup do not understand anything.

    OK,...
  36. Re: cannot running exe aplication in client from source that has been compile in othe

    Still continue with the same old story?
    You are really in love with the PDW, despite all the enormous limitations and flaws that it has?
    Ok, then it's good for you.

    But, You can not every...
  37. Re: cannot running exe aplication in client from source that has been compile in othe

    Instead, it is exactly the opposite.
  38. Re: cannot running exe aplication in client from source that has been compile in othe

    Ahi Ahi Ahi...
    This is bad, very bad.

    As wrote DataMiser, you don't need to deploy ADO libreries (nothing) because ADO 2.8 already installed from Windows XP and later versions.

    P.S. However I...
  39. Re: cannot running exe aplication in client from source that has been compile in othe

    Download this patch:

    An ADO-based application that is compiled in Windows 7 SP1 or in Windows Server 2008 R2 SP1 does not run in earlier versions of Windows
    http://support.microsoft.com/kb/2640696
  40. Thread: [RESOLVED] Email

    by gibra
    Replies
    3
    Views
    304

    Re: Email

    Yes, you can using CDO or MAPI
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.