dcsimg

Search:

Type: Posts; User: DEXWERX

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    16
    Views
    761

    Re: Opposite Of "Like" Keyword

    So something like If Not Mid() Like
  2. Re: [RESOLVED] Store object to database fields: XML or JSON?

    It's too bad the IDE messes with bracketed string literal casing too. a future VB7 would do well to just leave bracket and ! casing alone.
  3. Replies
    3
    Views
    304

    Re: C# Try/Catch/Finally = VBA On Error GoTo

    try
    {
    Cn.Open();
    }
    catch
    {
    MessageBox.Show("Invalid Username/Password.");
    }
  4. Re: [RESOLVED] Store object to database fields: XML or JSON?

    @wqweto do the line numbers correlate to the actual line numbers in the file? 'cause that would be slick.

    Also would oJson!path!to!array work with a default property?
  5. Re: Trying to Figure Out How to Communicate with a C DLL

    yes but he's showing a WINAPI/STDCALL calling convention on the C function... although he's got it spelled with an odd case, maybe typo?
  6. Re: Trying to Figure Out How to Communicate with a C DLL

    Trick already caught the wrong types being used. But you should also be aware of VB's automatic
    Unicode<-->ANSI conversions when using string parameters.
  7. Re: how to reference a UDT variable instead of creating a new copy?

    @Trick That's my go-to method. Haven't you illustrated modifying a ref parameter's address (on the stack) in previous threads?
    (just make sure the assume no-aliasing opt is off)
  8. Re: Trying to Figure Out How to Communicate with a C DLL

    You might want to start by posting some C code and the VB code that is calling it. As already pointed out - the most obvious issues are calling convention, and the VB declaration.
  9. Replies
    2
    Views
    331

    Re: multiple screen information

    https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-enumdisplaymonitors
    https://docs.microsoft.com/en-us/windows/desktop/api/Winuser/nf-winuser-getmonitorinfoa
  10. Re: How to check for DPI scaling %?

    https://docs.microsoft.com/en-us/windows/desktop/hidpi/declaring-managed-apps-dpi-aware
  11. Replies
    10
    Views
    966

    Re: [VB6/VBA] Collection keys

    originally the best practice was to install 32bit office in enterprise environments mostly due to compatibility with all the existing plugins and ODBC drivers. Someday that may change - when all...
  12. Re: Logitech Professional Presenter R400 use in VB6?

    https://support.jaybirdsport.com/s/article/HID-and-keyboard-codes-for-Logitech-R400-R700-and-R800-presenters
  13. Replies
    10
    Views
    966

    Re: [VB6/VBA] Collection keys

    Not to complicate things, but patched versions of 32bit office are LAA.
  14. Re: Get object by mouse position on click

    Once you've got the hWnd, couldn't you just iterate all your child controls, looking for you hWnd?
  15. Re: CommonControls (Replacement of the MS common controls)

    ah the old crash at shutdown of a manifested comctl app. you need to load shell32.dll prior to comctl32.dll.

    are you using non-VBCCR controls on the form?
  16. Re: Application is running but main window never appears. Ideas please

    Ah windows 7. Does he have microsoft office installed? It's possible not.
  17. Re: Search All Columns in an SQL database quickly?

    standard practice is to let the server do the heavy lifting using SQL.
  18. Re: Application is running but main window never appears. Ideas please

    The O/S might be good to know. Also any debugging logs would help.
    What bitness is the form's icon. What are the dependencies.
  19. Re: Please help me, my project was slowly.

    you can start by minimizing all the conversions to/from unicode / byte arrays. Try and do all your operations in a single domain.
  20. Replies
    22
    Views
    1,017

    Re: Comparing Bitmaps

    nope you're right. a fast crc32 should be quicker than say an MD5.
  21. Replies
    22
    Views
    1,017

    Re: Comparing Bitmaps

    that's what hashes are for :)

    NOTE: of course a hash is only faster if you pre-compute the hash for the existing file.
  22. Re: Orion Belt- a VB add in that formatted code nicely - LOST

    I've used MZ Tools for that in the past. Older versions were free for VBA/VB6. (try the wayback machine)
  23. Replies
    30
    Views
    1,071

    Re: GDI+ Antialiasing questions, my code

    Given that D2D is an API that is COM based, it's actually easier to use in VB6 than in C++. (The resource management part is automatically handled) No need to wrap a flat API, like they did with GDI+...
  24. Replies
    46
    Views
    4,298

    Re: Problem in my Application

    How to open a Large recordset and respond to user events, without hanging the form ---> FOLLOW THIS LINK...
  25. Replies
    5
    Views
    420

    Re: How do I divide very large numbers?

    https://cosxoverx.livejournal.com/47220.html
  26. Replies
    46
    Views
    4,298

    Re: Problem in my Application

    10 lashes!
  27. Replies
    46
    Views
    4,298

    Re: Problem in my Application

    No need to complicate things by jumping to VB.NET -- ADO has async functionality built in.

    https://support.microsoft.com/en-us/help/190988/how-to-open-ado-recordsets-asynchronously-using-withevents
  28. Replies
    5
    Views
    644

    Re: to add rows in array two dimensions

    Triggering an access violation with VB6's array syntax, is the definition of broken.
    Your "feels" however are still welcome.


    Yup - SAFEARRAYs have always marshalled correctly when packed in a...
  29. Replies
    35
    Views
    1,966

    Re: StdPicture GdiAlphaBlend

    Who doesn't like new features that degrade gracefully on older OSes :)
  30. Replies
    5
    Views
    644

    Re: to add rows in array two dimensions

    Returning Arrays from functions was new to VB6. Beware though - MS kind of hacked it in, and wasn't fully tested before it made it to release - so it can be quite buggy in edge cases. Of course MS...
  31. Replies
    12
    Views
    477

    Re: VB6 32bits accessing Office 64bits

    That's dumb... Even Microsoft doesn't recommend that.
    Last I checked the default install media was 32bit, and you had to jump through hoops to get 64bit installs, but it's been a few years since I...
  32. Re: Cannot add a file to the VB 6 Project Showing errror

    Did you check if the "Project file is read only" ?


    Also welcome to the forums. Questions on VB6 go in the VB6 forum. --> http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier
    ...
  33. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    Last I checked, Google was still making progress with Fuchsia, and it's on top of it's own non-linux kernel (Zircon).

    https://fuchsia.googlesource.com/zircon <-- last commit 11 hours ago.
    ...
  34. Re: MySQL, first time using it and it sux

    zing! (of course I can't really criticize MSSQL as an avid VB6 user, where you have to do all sorts of goofy things that are better supported in other languages)
  35. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    now that's clever.
  36. Re: MySQL, first time using it and it sux

    yeah... I came from Oracle too, and thought MySQL was great. MSSQL however... well I use it everyday and I still hate it.

    CHAR_LENGTH also works fine for me.

    165027
  37. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    Definitely check out wine, it's a great project. - they are also working on android support as well.
  38. Re: No troll. What are the (legitimate) reasons people are still using VB6 ?

    has anyone (@baka?) attempted a D3D10/11/Direct2D App on Wine(linux) in VB6 yet?
    I actually am a huge fan of D2D in VB6 now, and the latest MS Office also uses DXGI/Direct2D as well.
  39. Re: CommonControls (Replacement of the MS common controls)

    From what I understand this has been an existing bug with even the original ImageList. (One of several backwards incompatible bugs)
    A run-time check/warning depending on OS however would be nice.
  40. Re: How to skip under a condition in For statement?

    speaking of hiding a GoTo in an Exit:


    Dim I As Long
    For I = 0 To 10: Do

    If I < 5 Then Exit Do

    Debug.Print I
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width