Search Results - VBForums

Search:

Type: Posts; User: gibra

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: Runtime Error 1004 Sorting in Excel from VB6

    Sort require a Range object, in this line:

    oSheet.Sort.SetRange Range(Temp) ' This is the instruction that causes the 1004 error
    Range object could not be created implicitly.

    Try
    ...
  2. Re: trying to check if a printer name is found i get a error variable not define

    Missing reference?

    Error in vb when using IWshRuntimeLibrary.WshNetwork-VBForums
    http://www.vbforums.com/showthread.php?249255-Error-in-vb-when-using-IWshRuntimeLibrary-WshNetwork
  3. Replies
    11
    Views
    243

    Re: Running a form depending on login

    LOGIN form is better than InputBox

    http://nuke.vbcorner.net/Portals/0/immagini/ProjectLogin/ProjectLogin4_01.png

    source code here:...
  4. Replies
    6
    Views
    276

    Re: Innerjoin on sql

    What's your problem about INNER JOIN ?
  5. Replies
    5
    Views
    236

    Re: mscal.ocx displays with tiny font

    Yuo can use the MonthView, wich is exactly equal the MsCal.ocx

    Simply, from Project -> Components... add the:
    Microsoft Windows Common Controls 2-6.0 (SP6)
    MSCOMCT2.OCX
  6. Replies
    4
    Views
    157

    Re: Question about Multipage

    From Project menu ADD new Form, choose the already Options window template
    This form will help you to understand how TabStrip work. ;)

    :wave:
  7. Re: Error:Query must have atleast one destination field

    And the query is ????????
  8. Replies
    4
    Views
    220

    Re: TabStrip Selection Problem

    You should use Click event (not MouseDown event)

    To understand better how to use TabStrip:

    - create a new project
    - menu Project -> add Form
    - choose Options window

    this create a sample...
  9. Re: Connecting to Oracle Database via Visual Basic 6

    http://www.connectionstrings.com/oracle/
  10. Re: Quickest way to extract a filename and parent folder name from a path string?

    One methods:



    Dim sPath As String
    Dim sFileName As String
    Dim sExtension As String
    Dim sFolder As String

    sPath = "D:\Common\Tools\vb\Unsupprt\MCIWinDx\mciwindx.doc"
  11. Replies
    17
    Views
    459

    Re: Need help taking a screenshot

    In Command1_Click() event, after :


    Picture1.AutoRedraw = True

    add:



    Picture1.Width = Screen.Width
  12. Re: Can I copy all properties from one control to another in s single statement?

    In Design Mode you can use MZTools 3.0 (free) or CodeSMART 2013 (not free) add-in.
    Both have the appropriate commands:

    - Copy control with code
    - Paste control with code

    all events are...
  13. Re: [RESOLVED] Changing file (Open with) programmatically

    My code is working good but is the Windows 8.x system that work differently:


    This appear on my Windows 8.1 (Italian language)
    ...
  14. Re: Changing file (Open with) programmatically

    To show the OpenWith system dialog:



    Shell "Rundll32.exe shell32.dll, OpenAs_RunDLL " & sPath, vbNormalFocus


    where sPath contains the complete path of the file you want change
  15. Replies
    2
    Views
    323

    Re: Export Report in PDF from VB 6.0

    What is ReportViewer?
  16. Re: VB4 controls have moved from all but first SSTab control. How do I move then back

    Are you sure to use SSTab control?
    Looks more like the behavior of the TabStrip control...
  17. Re: SQL query to link tables with same structures using vb6 and ADODB connection?

    You may use UNION :



    SELECT field1, field2, ...
    FROM TA

    UNION

    SELECT field1, field2, ...
  18. Replies
    14
    Views
    632

    Re: VB6 Project Not Loading.

    The registration of an ActiveX component 'must' increment a counter (in Registry) that keeps precisely NUMBER applications that use it.
    Then, when you uninstall an application from the system, the...
  19. Replies
    3
    Views
    325

    Re: Mask a TextBox in KeyPress Event

    I suggest to use a Microsoft Masked Edit control (MSMASK32.OCX).
  20. Replies
    14
    Views
    632

    Re: VB6 Project Not Loading.

    I think you made some trouble, compromising the integrity of the components in your system.
    What you did not do it, you should not do. Never .
    Maybe it's better that rerun setup VB6 and choose the...
  21. Re: How To open MDF LDF SQL files AND Convert Them To Access Table

    Maybe you should post this question in Database forum...
  22. Replies
    22
    Views
    600

    Re: Creating pdfs from Word 2010 using vb6

    Then you can use a PDF Printer (like PDF Creator, Adobe PDF, ...)

    1. Set the PDF Printer As Default printer
    2. use ShellExecute using the 'print' verb for lpOperation parameter
    3. ReSet the...
  23. Replies
    6
    Views
    270

    Re: VB6: Error 13 - Type Mismatch

    I tried this:



    Const gFbaSalesRankTier2 = 10000
    Const strSalesRank As String = "17472"

    If CLng(strSalesRank) <= CLng(gFbaSalesRankTier2) Then
    'bFBAQtyExceeded =...
  24. Re: Make .exe error "you don't have permission to save in this location ...

    And the location is ?
  25. Replies
    27
    Views
    716

    Re: Call Query in Access from VB6

    Query or Function?
  26. Re: using CDate dosnt work proper why?

    Use DateAdd() and DateDiff() functions to calculate dates.
    If you use Access database see here:

    MS Access: DateAdd Function
    http://www.techonthenet.com/access/functions/date/dateadd.php
    MS...
  27. Replies
    20
    Views
    2,041

    Re: To disable minimize and close button in VB6

    Yes.


    Sorry for you: I'm not problem, YOUR project has problem:


    Reference=*\G{F3781BA0-FAAA-11D1-8B3E-DCAA556D18B8}#1.0#0#..\..\..\..\VB Etc\VB, Database, & HTML...
  28. Replies
    20
    Views
    2,041

    Re: To disable minimize and close button in VB6

    DLL is missing.
  29. Replies
    25
    Views
    1,121

    Re: VB6: More Textbox Validation

    You can also use the Microsoft Masked Edit Control, that is made for this:

    Using the MaskedEdit Control
    http://msdn.microsoft.com/en-us/library/aa733654(v=vs.60).aspx
  30. Replies
    6
    Views
    447

    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.
  31. Thread: vb6 error

    by gibra
    Replies
    3
    Views
    214

    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...
  32. 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,
    ...
  33. Replies
    6
    Views
    1,842

    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...
  34. Re: VB6.0 exe in Windows7 Environment

    Have you Windows 7 SP1 ?
  35. Replies
    33
    Views
    867

    Re: ListView autoarrange fails

    My code in post #13 is work.
  36. Replies
    5
    Views
    343

    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
    ...
  37. Replies
    33
    Views
    867

    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.
    ...
  38. Replies
    7
    Views
    396

    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.
  39. Replies
    8
    Views
    447

    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.
  40. Replies
    8
    Views
    447

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