Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 0.29 seconds.

  1. Thread: Odl

    by dilettante
    Replies
    4
    Views
    192

    Re: Odl

    Great find! I was looking for that on the web but didn't locate it.
  2. Replies
    2
    Views
    62

    Re: MSDN's Forums

    As far as I can tell those forums work like this:


    You start at the VB 6 Resource Center.
    It directs you to those forums.
    You get there, post something. Everyone yells at you "These forums...
  3. Replies
    6
    Views
    1,157

    Re: VB6 - Thumbnail view based on WIA 2.0

    I suspect this would add so much overhead that it would be far slower.
  4. Re: How do I code VB6 with multi-versions of MS Access (2010, 2000, 97, ...)

    DAO comes in different versions for different versions of Jet MDBs.

    Using ADO/ADOX along with Jet OLEDB Providers gives you more flexibility. The Jet 4.0 Provider should work with any MDB in Jet...
  5. Replies
    0
    Views
    37

    VB6 - Print StdPicture Objects

    I'm sure this has been covered lots of times already, but here's another take.

    The basic idea is to use the Printer object's PaintPicture method to crop and scale a StdPicture as you print it. ...
  6. Replies
    17
    Views
    168

    Re: ImageCombo like combobox Dropdownlist?

    Not really. See the "drop button" in those screenshots, which are only showing examples in "dropped" state?
  7. Replies
    17
    Views
    168

    Re: ImageCombo like combobox Dropdownlist?

    That's because "MS Win Common Controls 6.0" (MSCOMCTL.OCX) does not use comctl32.dll but contains its own implementation, thus a manifest can't make a difference.
  8. Re: Access a subdirectory in an ftp://

    Glad to hear you are getting some results.


    How VB Programs Are Written

    Where to begin?

    You need to realize that Windows programs' user interface threads are what are called State Machines....
  9. Replies
    8
    Views
    3,434

    Re: VB6 - WIA Scanning Demo

    As written it tries to create an unused file name by testing for one that already is in use:


    Private Sub cmdSaveCard_Click()
    Dim FileTry As Long
    Dim FileName As String

    ...
  10. Thread: Odl

    by dilettante
    Replies
    4
    Views
    192

    Re: Odl

    I found this too, but it is pretty brief:

    Basics of an IDL file

    This is older but a little longer:

    Understanding Interface Definition Language: A Developer's Survival Guide

    This is nearly...
  11. Replies
    9
    Views
    828

    Re: Tapatalk, etc?

    Well either way I guess we're still left, hand in hand, waiting while other forum sites have moved ahead.
  12. Replies
    17
    Views
    168

    Re: ImageCombo like combobox Dropdownlist?

    So the short answer to the question posed is no.

    The longer answer is you can use an alternative instead.
  13. Replies
    17
    Views
    168

    Re: ImageCombo like combobox Dropdownlist?

    No.

    The ImageCombo only has one style as far as I can tell.

    Each ComboItem within it supports an Indentation property as well. The idea is to have a hierarchical combo-style control, sort of...
  14. Replies
    3
    Views
    115

    Re: Notepad Application

    Which things are you missing? Which things do you need?
  15. Replies
    9
    Views
    828

    Re: Tapatalk, etc?

    Er, Tapatalk has supported this for a long time, if not from the beginning.
  16. Replies
    8
    Views
    3,434

    Re: VB6 - WIA Scanning Demo

    The problem is that you need to know what size the image has to be for your printer. The image size will be in pixels, and your printer might print at different "pixels per inch" (dots per inch),...
  17. Replies
    35
    Views
    592

    Re: [RESOLVED] App Crashes Only If Shelled

    As far as I know the ByRef/ByVal concept as such is a VB thing. While there is clearly some way to "decorate" arguments in ODL/IDL to report this (since we see it for COM typelibs) the VB6 compiler...
  18. Replies
    28
    Views
    348

    Re: BCD To Decimal

    Let's say the data arrives in BCD format. Odd, but let's assume that. Conversion is extra work but this isn't a big deal unless we're making bad assumptions, but since we have several attempts to...
  19. Replies
    28
    Views
    348

    Re: BCD To Decimal

    Goofy questions like:

    ... don't help to understand what's being asked for either.

    What "form" does he think 331 is in? Sure looks like decimal to me.
  20. Re: Access a subdirectory in an ftp://

    As far as I can tell Web Folders are not supported "out of the box" after Windows XP. Installing Office 2000 or later may add the feature, but it may still be broken in Windows 7 (there was a fix...
  21. Re: Access a subdirectory in an ftp://

    Thanks. That condition should have been trapped. It is now (attachment above reposted with correction).

    However it doesn't explain why you can't connect. Maybe you didn't provide a correct...
  22. Replies
    28
    Views
    348

    Re: BCD To Decimal

    We don't have an easy bit-shift in VB6 that respects the sign bit, so we have to work around that a little.

    Maybe this does what you need:


    Function DecodeBCD(ByVal LongBCD As Long) As Long
    ...
  23. Replies
    2
    Views
    84

    Re: Code for Pingable or Not

    A search of the CodeBank here should turn up several examples.

    My own attempts can be seen in Clean Ping in VB6 Code, version 3 there being a little cleaner than version 2 posted there first.
  24. Replies
    8
    Views
    3,434

    Re: VB6 - WIA Scanning Demo

    It is hard to say exactly how you want to incorporate those actions. The biggest issue would be designing the user interface. Choose scaling size via Slider? Set cropping margins via some sort of...
  25. Replies
    35
    Views
    592

    Re: [RESOLVED] App Crashes Only If Shelled

    Can you post the Declare you are using for it?

    You can also have one typelib covering multiple DLLs as far as I know by including multiple "modules" in the ODL/IDL source. Most people won't do...
  26. Re: Access a subdirectory in an ftp://

    What you have there is not a mapped drive, but an Explorer "Network Place" or "Web Folder" which is a horse of an entirely different color.

    FTP is notorious for being an insecure, stateful, meant...
  27. Replies
    35
    Views
    592

    Re: [RESOLVED] App Crashes Only If Shelled

    Maybe. Maybe not. It's a well known issue though and I've seen it myself with API callbacks that run on their own threads time after time.

    This isn't just about RtlMoveMemory() calls, it is...
  28. Replies
    35
    Views
    592

    Re: [RESOLVED] App Crashes Only If Shelled

    Well you can't say you didn't try hard.

    Maybe the problem is related to those cautions about the only calls that are safe from within a waveInProc callback?
  29. Replies
    28
    Views
    348

    Re: BCD To Decimal

    Er, I think you mean convert between BCD and binary. VB6 never actually works in decimal at all. Even the Decimal Variant subtype is a binary format.

    Can you show samples of the BCD you have...
  30. Replies
    23
    Views
    318

    Re: API get pixel

    Got it.

    Sure was a pain figuring out where to dig it out from though. The info isn't where they say it is in that quote above.

    Even so, it requires Shell 5.00 or later so it probably won't...
  31. Replies
    23
    Views
    318

    Re: API get pixel

    Regarding my post #18 above:

    Note that results might vary from version to version of Windows. Sometimes the extended properties have different "friendly names" and then you'd want to fetch them...
  32. Replies
    23
    Views
    318

    Re: API get pixel

    There is another approach: ask Windows Explorer (a.k.a. Shell32).

    This can be quick or a littler slower depending on whether it already has the info cached from a previous viewing. But at worst...
  33. Re: [RESOLVED] Oscilloscope (sound wave graph) how do I create one

    Here's another "scope" that is just plotting a noisy sine wave generated via Timer ticks.

    It uses the trick of sliding and swapping two "panel" PictureBox controls within a "viewport" PictureBox...
  34. Replies
    35
    Views
    592

    Re: [RESOLVED] App Crashes Only If Shelled

    Yeah, but that site is very old and very stale. Worst part is I'd probably have to request my "lost password" to even update it now!

    Keeping a web site up to date is a lot of work. It is hard...
  35. Replies
    5
    Views
    453

    Re: Package installer with SQL Server?

    This really isn't a smart idea. You risk your installer colliding with existing SQL Server software and instances just for starters. Even SQL Server Compact can be a problem in this regard though...
  36. Re: DLL Compatibility Checker for Windows 7

    What is a "custom software's DLL?" Are you talking about a custom DLL you wrote? If not, what makes a DLL "belong to" some "custom software?"

    Setting that aside...

    No, there is no magical set...
  37. Thread: Hello all

    by dilettante
    Replies
    7
    Views
    126

    Re: Hello all

    First thing to be conscious of is the difference between actual VB and the .Net knockoff.
  38. Replies
    35
    Views
    592

    Re: [RESOLVED] App Crashes Only If Shelled

    Yes, that ancient MIDL compiler should still work - though it isn't guaranteed to on a post-XP version of Windows (none of VC 6.0 is supported post-XP).

    Glad to hear it helps. Good luck.
  39. Replies
    2
    Views
    233

    Re: VB6 - BmpGen Helper Class for WIA 2.0

    For the curious I created an Excel Workbook that uses BmpGen.
  40. Re: Problem when implement "SpecialFolderLocation"

    I agree with Bonnie West's alternative, which is far less trouble and has far less to go wrong.


    Your code has a lot of problems as written. Memory leaks, sloppy use of Variant-typed functions,...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4