Search Results - VBForums

Search:

Type: Posts; User: Arnoutdv

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: Progress bar

    by Arnoutdv
    Replies
    1
    Views
    70

    Re: Progress bar

    It's part of the Microsoft Windows Common Controls, add this component to your project
  2. Re: How to test an uninitialized dynamic array without using On Error Sentence

    Quite an interesting module here:
    http://web.mit.edu/sde/interface/arcgis/DANIELWorks/modSDSSafeArray.bas



    ' modSDSSafeArray
    '
    ' Utility functions for SafeArrays. Visual Basic arrays are
    '...
  3. Replies
    11
    Views
    274

    Re: 2 Bytes Reading Problem

    If you want to read/write 2 bytes then use an integer, it's still the same value.
    VB uses signed integers, so it can be a negative decimal number representation. The actual bytes are still the same.
  4. Re: How to test an uninitialized dynamic array without using On Error Sentence

    The API is quite simple:


    Option Explicit

    Private Declare Function SafeArrayGetDim Lib "oleaut32" (ByRef saArray() As Any) As Long

    Private Sub Form_Load()
    Dim testarray() As String
  5. Re: How to test an uninitialized dynamic array without using On Error Sentence

    3 threads from the past:
    http://www.vbforums.com/showthread.php?736285-VB6-Returning-Detecting-Empty-Arrays&highlight=isdimmed...
  6. Replies
    11
    Views
    274

    Re: 2 Bytes Reading Problem

    If want an hexadecimal value to be long you have to append a &


    num3 = &H9C7F&
  7. Re: How to test an uninitialized dynamic array without using On Error Sentence

    There is recent thread discussing this topic.
    But why insisting on not having error trapping?
  8. Replies
    5
    Views
    231

    Re: VB6 & Issues in Windows 7 64 bit

    Did you add the MSHFlexGrid to this project?
  9. Re: How to access Module items in a DLL.

    The UDTs should be declared in the DLL main class.
  10. Re: how to get how much data consumed by winsock

    Combine the advice given in post #2 with the declarations in post #7
  11. Re: how to get how much data consumed by winsock

    I a module:


    Public recieveddata As Currency
    Public sentdata As Currency
  12. Re: Question about the speed. See code.

    This makes the code slow:


    str = str & strB(i) & vbCrLf

    Every time the string needs to be reallocated to add 2 parts of data.
    More efficient would be the calculate the total size of the...
  13. Thread: A mouse event

    by Arnoutdv
    Replies
    8
    Views
    327

    Re: A mouse event

    I still need more of your code to see how you put the data from the Clipboard in the Grid.
    I always wrote copy/paste routines for the vsFlexGrid myself and never had these problems.

    You have to...
  14. Thread: A mouse event

    by Arnoutdv
    Replies
    8
    Views
    327

    Re: A mouse event

    You can also set the correct ClipSeparators
    No need to mess with the ClipBoard contents
  15. Thread: A mouse event

    by Arnoutdv
    Replies
    8
    Views
    327

    Re: A mouse event

    The vsFlexGrid control (version 8) does not have a built in menu for copy and pasting.

    What properties have you set for the vsFlexGrid control?
    What events have you used for dealing with the...
  16. Re: VB Errors: Type Mismatch Or Expected List Separators

    The variables (objects) should not be within the quotes:


    If IsProcessRunning(Form1.Text1 & "-" & Form1.Text2) Then
  17. Re: Is there a keyboard shortcut to add "comment block"?

    In MZTools "options" go to Tab "Shortcuts", select a button, assign a shortcut, click "Add"

    I use:
    "CTRL-1" for "Comment Block"
    "CTRL-2" for "Uncomment Block"
    "CTRL-3" for "Add Line Numbers" ...
  18. Re: Is there a keyboard shortcut to add "comment block"?

    I use the MZTools addin for this kind of functionallity
    http://mztools.com/v3/download.aspx
  19. Replies
    12
    Views
    312

    Re: Convert Int to Single with Decimal Place

    Aha,

    http://www.h-schmidt.net/FloatConverter/IEEE754.html

    Maybe these routines can be of any use to you:...
  20. Replies
    12
    Views
    312

    Re: Convert Int to Single with Decimal Place

    How do you convert your values to Hex?


    Dim l As Long, s As Single

    l = 1234
    s = 1234#
    Debug.Print Hex$(l), Hex$(s), Hex$(Val("1234.0"))

    Output:
  21. Replies
    23
    Views
    526

    Re: Compatibility issue

    No, it's about the Visual Basic 6 service packs
  22. Replies
    6
    Views
    208

    View Post

    This is an international forum, where only English is used.
  23. Re: How to check Tomorrow's appointments

    But I think your WHERE clause is incorrect.
    You want all appointments where the date is "tomorrow".
    I assume the StartDateTime is a field which contains both Date and Time.
    You need to strip the...
  24. Re: How to check Tomorrow's appointments

    This will give you the date for tomorrow:


    dteCheck = Date() + 1
  25. Replies
    4
    Views
    171

    Re: column or header in listbox

    Or the MSFlexGrid
  26. Re: [RESOLVED] VB6 Two Decimal Places and Comma Formatting

    FormatCurrency does rounding too, jemmer doesn't want rounded results.
  27. Replies
    8
    Views
    228

    Re: windows install unique id

    I don't have a 64 bit machine to test, but try this:


    Option Explicit

    ' Cryptography
    Private Const READ_CONTROL As Long = &H20000
    Private Const STANDARD_RIGHTS_READ As Long = (READ_CONTROL)...
  28. Replies
    8
    Views
    228

    Re: windows install unique id

    I'm using Windows 7 (32bits, that is)
  29. Replies
    2
    Views
    114

    Re: getting registry value

    It's always "Windows NT", as from Windows 2000 and up, they are all Windows NT version.
  30. Replies
    8
    Views
    228

    Re: windows install unique id

    Are you referring to this ID: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid


    Dim WScript As Object
    Set WScript = CreateObject("WScript.Shell")

    Debug.Print...
  31. Re: VB6 Two Decimal Places and Comma Formatting

    You can also trick the round function used in the Format method:
    Debug.Print Format(myValue - 0.005,"0.00")
  32. Thread: dicom

    by Arnoutdv
    Replies
    5
    Views
    267

    Re: dicom

    I would suggest to contact the supplier.
  33. Replies
    3
    Views
    191

    Re: MDI Child form misbehavior

    It looks like you have multiple instances of the child form.
  34. Replies
    3
    Views
    137

    Re: TreeView - Wierd Behavior or by Design?

    Which TreeView do you use (Microsoft Windows Common Control 5/6)?
  35. Replies
    17
    Views
    327

    Re: editing 2 tables at once

    Based on the screenshot I assume TS is using MS-Access, I'm not sure whether MS-Access supports stored procedures.
  36. Replies
    1
    Views
    110

    Re: msHglexgrid copy to clipboard

    This works for me:


    Option Explicit

    Private Sub Form_Load()
    Dim lRow As Long, lCol As Long

    With MSHFlexGrid1
    .Rows = 20
  37. Replies
    3
    Views
    1,750

    Re: How to create an icon that VB6 accepts

    It was a free product for a while.
    Have a look here for a link to the last free version:
    http://www.321download.com/LastFreeware/page40.html#IcoFX
  38. Re: how to write text file to remote computer

    @DM, sharing is a kind of client/server model, another possibility could be using FTP (FTP server on remote, FTP client on local), etc etc :)
  39. Re: how to write text file to remote computer

    You can not just write something on a different computer without a kind of client/server model
  40. Re: Need help : Get Autonumber after adding record

    http://dev.mysql.com/doc/connector-odbc/en/connector-odbc-usagenotes-functionality-last-insert-id.html
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.