Search Results - VBForums

Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 0.22 seconds; generated 29 minute(s) ago.

  1. Re: Expand a form to show all of picture

    If the image is too big you'll probably want to provide scrollbars too.
  2. Re: How can read binary text file first line? and how write to binary text first line

    I'm still stumped by "binary text file" - which is it, binary or text?
  3. Re: Expand a form to show all of picture

    Might be tough. Most users do not auto-hide the Taskbar plus you have a caption bar and Form borders.
  4. Re: Convert a LONG data type (2048 bytes) into a BYTE array

    If each carton holds 4 eggs and you have 2048 cartons, you do not have 512 eggs.
  5. Re: Expand a form to show all of picture

    There are tons of things to deal with here.

    The user may have multiple monitors. The Screen object only returns metrics for the primary monitor and these do not take Toolbars (such as the...
  6. Replies
    9
    Views
    107

    Re: Delete a file record

    There are a couple of options.

    The one normally used in VB is to track record validity some way. Usually you have to anyway, because random files are... random. You don't know which record...
  7. Thread: AppData

    by dilettante
    Replies
    7
    Views
    125

    Re: AppData

    At that point you may as well just have your installer change permissions on the install target folder.
  8. Replies
    61
    Views
    2,493

    Re: What if there was a NEW vb6

    While it can be a lot of work and pain you can hedge your bets and try to develop skills using several tools. No programming tool is best at everything, and some can take you where others cannot.
  9. Replies
    13
    Views
    216

    Re: vb6 DoEvents

    Well it starts by doing a large number of expensive things just beginning with processing the window messages queued. These other things include stuff like checking on the outbound SendKeys queue...
  10. Re: Load Images from database access into Word or Excel ???

    Sounds like an Office forum question, not a VB6 and earlier question.
  11. Thread: AppData

    by dilettante
    Replies
    7
    Views
    125

    Re: AppData

    What the file virtualization appcompat shim does happens inside the file and I/O APIs. So there isn't anything you can really do.

    All your code snippet does is use App.Path instead of the current...
  12. Replies
    6
    Views
    108

    Re: enter key instead of tab

    This issue exists because in Windows the idea was that the Enter key... would "enter" or "submit" the data, i.e. perform some application action using the current data.

    This is typically...
  13. Replies
    9
    Views
    190

    Re: VB6 CSocketplus Keep alive Help

    Um, yes there is. SO_KEEPALIVE socket option as we've discussed and demonstrated here many times.

    However programmers are strongly cautioned to avoid ever using TCP keepalives on any platform. ...
  14. Replies
    4
    Views
    109

    Re: run query via batch or shell

    There are several generalized command line Jet clients:

    JetSQLConsole

    JetSQL - SQL script interpreter for MS Jet

    We have our own we've used for many years.

    These do not involve or require...
  15. Re: [vb6.0] Pragmatically Enable/Disable notification and UAC

    Fortunately malware scanners look for this sort of thing.
  16. Replies
    4
    Views
    128

    Re: Opening an acces Database

    That works because your user is defaulting to "admin" since you didn't provide one.

    As already stated, to go any further you'll need to make use of Recordset objects with queries based on table...
  17. Re: Intermittent 'Invalid Picture' Error running VB6 progs in Windows 7 (64bit) Solut

    Your problem probably shows up in Windows 7 because of two things. One is that Windows 7 tries to automatically choose high DPI settings for users when they have a monitor over a certain resolution....
  18. Replies
    61
    Views
    2,493

    Re: What if there was a NEW vb6

    TOAD, the Oracle tool from Quest/Dell was written in Delphi.

    They say there here too: TOAD Setup and Configuration
  19. Re: Intermittent 'Invalid Picture' Error running VB6 progs in Windows 7 (64bit) Solut

    I doubt this has anything to do with Windows 7 or 64-bit at all. Instead you seem to have a system where high DPI settings are being used and your program performs some operation that fails to take...
  20. Replies
    9
    Views
    207

    Re: ADO mixed data

    IMEX isn't magic:



    And if the sampling indicates a numeric type you get a numeric type. Any cells that can't be converted to numbers are returned as Null values.
  21. Replies
    12
    Views
    244

    Re: GetSpecialfolder Help

    You can get this pretty easily from shell32.dll's ActiveX interface.

    Note that Microsoft was not careful about maintaining binary compatibility on this interface, so if you want high portability...
  22. Replies
    690
    Views
    27,662

    Re: VB6 is DEAD!

    You might look at Third Party Dev Tools Strike Back for an entrenched Microsoft patriot's slow coming to grips with change.

    He's still desperately clinging to superstitious beliefs and trying to...
  23. Replies
    690
    Views
    27,662

    Re: VB6 is DEAD!

    It is funny because over on the other side of the fence they often mock Visual Studio as a usability disaster. I think everyone just gets "invested" in their tools. They tend to resist change and...
  24. Replies
    8
    Views
    157

    Re: Save settings to .ini file

    Those API calls work fine too.

    They have a few pitfalls because they are ANSI calls and because they interact with the registry, but most people are happy with them. They also have far more...
  25. Replies
    8
    Views
    157

    Re: Save settings to .ini file

    As far as the I/O goes you can simply use Print # and Line Input # statements. Yes, you can always use INI-related API calls or roll your own INI logic but for a single item that's a bit of...
  26. Replies
    8
    Views
    157

    Re: Save settings to .ini file

    See Classic VB - Where should I store the files that my program uses/creates? before proceeding.

    But if you only need to store a simple path just write it to a text file, you don't need an INI...
  27. Replies
    4
    Views
    209

    Re: VB's &HFFFF vs C#'s 0xFFFF

    No, an "int" in C# is a Long in VB, i.e. 32 bits.
  28. Replies
    12
    Views
    343

    Re: [RESOLVED] Toolbar Question

    I thought you wanted something like a toolbar inside a PictureBox, then when an image got loaded have the toolbar background color match the "background color" of the image.

    ... or something.
    ...
  29. Replies
    12
    Views
    343

    Re: Toolbar Question

    It is very difficult to figure out what you are asking.

    Picture? What "picture?" Is this an image loaded into a Picture object, or maybe a PictureBox, or ???
  30. Re: Send Wordpad (.RTF) document to Intermec label printer

    I had the idea this was a VB5 bug fixed in VB6:

    FIX: Cannot Change Page Settings During Print Job

    Do you have VB6 SP6 installed?
  31. Re: Send Wordpad (.RTF) document to Intermec label printer

    Are you sure you can't set the number of copies on the Printer object before using its hDC with the SelPrint method?
  32. Replies
    690
    Views
    27,662

    Re: VB6 is DEAD!

    Once Windows 9 gets close to RTM we may be able to breathe a sigh of relief about that.


    Desktop PCs and the Windows desktop: Endangered species? has a more positive outlook than the title...
  33. Replies
    690
    Views
    27,662

    Re: VB6 is DEAD!

    I would not be surprised in the least if Tiobe's re-jiggered metrics show that a ton of what they had been counting as "Visual Basic" turns out to be some VB.Net they couldn't isolate out plus a lot...
  34. Re: VB6 bigger number (BigInteger)

    Under the covers Currency arithmetic is all integer so in theory it ought to be faster. But then you have to consider that (a.) multiply and divide have to be rescaled by 10000 each time, (b.) the...
  35. Replies
    4
    Views
    224

    Re: The ConcurrentDictionary (C# VB.NET)

    What's to discuss here, or is this your daily blog post?
  36. Replies
    4
    Views
    148

    Re: question about image on form

    I'd think it is the worst alternative, since it doesn't get the image into the Form at all.

    And what do you mean by embed?

    And do you want to make use of transparency, and if so how? Example:...
  37. Re: VB6 bigger number (BigInteger)

    I'd probably rework that a tiny bit to use the faster Currency type and a base 0 array.


    Private Sub Command1_Click()
    Dim C As Currency
    Dim CNew As Currency
    Dim I As Long
    Dim...
  38. Re: Send Wordpad (.RTF) document to Intermec label printer

    Try using the RTB's SelPrint method.
  39. Re: Send Wordpad (.RTF) document to Intermec label printer

    Is there a reason why you can't do this via VB6's RichTextbox control? Something unusual about the documents or the printer?
  40. Replies
    5
    Views
    104

    Re: Making an array more efficient

    The concept is similar to shuffling cards. You want a randomized order of a fixed set of unique values, i.e. each value occurring only once.
Results 1 to 40 of 491
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.