Search Results - VBForums

Search:

Type: Posts; User: jpbro

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds; generated 5 minute(s) ago.

  1. Re: I keep getting an error when trying to create a DHCP server.

    A quick Google search of the error message indicates that this error is usually due to a firewall or antivirus preventing binding, or perhaps another program is already bound to the IP/port? Have you...
  2. Replies
    19
    Views
    351

    Re: To show in Taskbar or not to show in Taskbar

    Did my attempt at a solution work for you?
  3. Replies
    19
    Views
    351

    Re: To show in Taskbar or not to show in Taskbar

    Datamiser - I tried your code, but the form doesn't completely disappear when minimized (it sits just above the taskbar). Not sure if jmrsrickland wants that behaviour or not, but if not then the...
  4. Replies
    34
    Views
    2,700

    Re: Where are all the big VB open-source projects?

    I think one big issue would be the use of third-party ActiveX OCX/DLLs. Many of them are not open source, but are still incredibly useful. It isn't/wasn't uncommon to be able to buy a one-time,...
  5. Replies
    23
    Views
    2,494

    Re: MJPEG Webcam Receiver

    Re: the OCX - Diletantte was referring to Picbox2Pixels.ocx. It's non-standard,and others are unlikely to have it.

    Re: StrConv - You just shouldn't be using it. You should loop through a byte...
  6. Re: [RESOLVED] Instr() vs len() & replace() which one would be faster

    Okay, I get it - I agree that the first one should be much faster since it is not manipulating the string at all, just matching and counting.
  7. Re: [RESOLVED] Instr() vs len() & replace() which one would be faster

    Just out of curiousity, what are you trying to do with the code? The two pieces of code don't seem to do the same thing. At the end of Code #1, the sNewText variable = "Mississippi river", but at the...
  8. Re: Get WinKey without Admin Rights ?

    I think you are requesting too many access rights (KEY_ALL_ACCESS), which is why you need administrator permissions.

    If you are just trying to read a value then you should be requesting the...
  9. Re: Get WinKey without Admin Rights ?

    Dupe
  10. Re: Get WinKey without Admin Rights ?

    Dupe
  11. Thread: Movement problem

    by jpbro
    Replies
    4
    Views
    312

    Re: Movement problem

    Passel is right - you should be setting the control Top and Left properties to 0 when the control has moved off the bottom-right edge of the window.

    Also, you will get a smoother looking motion of...
  12. Re: VB6 Dynamic Menu-, Popup- and Toolbar-Demo (vbRichClient-based)

    I've discovered a couple of issues with the current/latest menu implementation. I'm trying to familiarize myself with the code to see if I can fix the issues myself, but I figured I would report them...
  13. Replies
    11
    Views
    442

    Re: How do I handle ZIP files in VB6?

    Well, I'm glad we clarified things a bit, but I'm sorry I don't have an answer for your regarding a free library.

    I know that Olaf Schmidt's vbRichClient5 library has a zlib implementation that...
  14. Replies
    11
    Views
    442

    Re: How do I handle ZIP files in VB6?

    I think these two ideas are a bit at odds:



    and



    AFAIK, the Zip file format is well defined, and I don't know if there's any part of the spec for "pseudo files" (though I may be wrong...
  15. Re: VB6 Dynamic Menu-, Popup- and Toolbar-Demo (vbRichClient-based)

    Just a thought - but in some cases we might want to offer dynamic user-defined captions, and a user might want to use the pipe character (however unlikely). This would need some extra escaping code,...
  16. Replies
    15
    Views
    391

    Re: Signing a program installer

    This isn't really a VB6 question, but:

    As Dilettante mentioned, you will need a code signing certificate. For the past few years I've been purchasing mine from KSoftware (a Comodo resller), and...
  17. Replies
    33
    Views
    1,109

    Re: help:convert from c++ to vb6 code

    Looks like you are trying to write a virus ("infected", "owned")? You won't find any help with that here.
  18. Re: Combobox dropdown not showing. Shows with identical code.

    See Why does the size of a combo box include the size of the drop-down?
  19. Re: Combobox dropdown not showing. Shows with identical code.

    Changing the nHeight parameter of your CreateWindowEx call to a value large enough to include the dropdown portion of the combobox seems to fix the problem. I don't know if this should be necessary...
  20. Re: Is there a way to check the number of characters in label caption?

    You can use the Len() function on the Caption property (or any string) to get its length in characters.
  21. Replies
    14
    Views
    547

    Re: Provider cannot be found

    Do you use Kaspersky antivirus? If so, see these threads:
    ...
  22. Replies
    14
    Views
    547

    Re: Provider cannot be found

    Double post...forum going bonkers.
  23. Replies
    14
    Views
    547

    Re: Provider cannot be found

    Print your connection string to the Debug window, and you'll see that your provider looks like this:



    Microsoft.Jet.OLEDB.4.0Data Source=<YouAppPath>Password=035924794


    There is no...
  24. Re: Select Case with Null - Compiler Bug, or Bad Logic?

    So most interactions with Null (such as comparisons, e.g. If "A" = Null Then, or arithmetic, e.g. 5 + Null) result in Null. A notable exception would be string concatenation, in which case Null...
  25. Re: Select Case with Null - Compiler Bug, or Bad Logic?

    Well, I've always used ISNULL() to test for Null, I just stumbled on this when I want to do a single test for NULL or EMPTY on a Variant, but it makes sense that it fails, just wasn't what I expected...
  26. Re: Select Case with Null - Compiler Bug, or Bad Logic?

    You know, I've seen the Select Case True construct from time to time in some code examples around here, but I've never really bothered to understand its use properly (because the code in question...
  27. Re: Select Case with Null - Compiler Bug, or Bad Logic?

    Good thinking Dr! Thanks a lot for posting your solution.
  28. Select Case with Null - Compiler Bug, or Bad Logic?

    Not sure if this is a compiler bug, or just bad logic on my part. Consider the following code:



    Sub Test()
    Dim l_Test As Variant

    l_Test = Null

    Select Case l_Test
  29. Re: key is not unique in collection and some other errors

    RE: key is not unique in collection

    You were trying to set the Key parameter to 1 more than once, hence the error. Keys must be unique (that is, not repeated for multiple items - 1 key=1 item) so...
  30. Re: key is not unique in collection and some other errors

    The ListView takes four parameters: Index, Key, Text, and IconID (in that order).

    If 1 is your icon ID, and rs!FullName is your text, then you should call it like this:


    Set itm =...
  31. Re: Receiving run-time error on run, but not in debug

    Where do you set the clickPos object?
    What type is clickPos defined as?

    Since it apparently works in debug, are you sure that the waitForPageLoad function is actually waiting for the entire page...
  32. Replies
    2
    Views
    628

    Re: [vbRichClient] Interactive Dartboard Demo

    Very nice demo, thanks for posting it! I like the effect of the rising/fading score indicator.
  33. Re: Legacy App Error: "Cannot open the microsoft jet engine workgroup information fil

    Can confirm that Kaspersky is the common denominator for me too. Thanks again everyone for your help!
  34. Re: Legacy App Error: "Cannot open the microsoft jet engine workgroup information fil

    Thanks for your replies! I will be see if I can get the client to replace the file as described and see if that works.
  35. Re: Legacy App Error: "Cannot open the microsoft jet engine workgroup information fil

    I haven't been actively involved with the old code for a few years, and the new version of the software doesn't use Jet or connection strings, so my expertise is lacking here. It's also taking some...
  36. Re: Legacy App Error: "Cannot open the microsoft jet engine workgroup information fil

    Hi Dilettante, thanks for the reply, and sorry for the lack of info, I'm still trying to collect information, and figure out a pattern.

    I know one user is using Windows 7, the other site hasn't...
  37. [RESOLVED] Legacy App Error: "Cannot open the microsoft jet engine workgroup information file"

    Hi,

    I've just gotten reports from users at two separate offices that they can no longer open their Jet database created files in a legacy VB6 application today (out of the blue). The error is:
    ...
  38. Re: Play a WAVE by reading WAVE Data as STRING vs Intger [ByteArray]

    Your code gives me more questions than answers, there's a lot of magic numbers, missing declarations, and no call to play the WAV, etc...

    The first thing I'd try is getting rid of all strings,...
  39. Re: Play a WAVE by reading WAVE Data as STRING vs Intger [ByteArray]

    You could be right, but it's hard to say without seeing some code and sample WAV.

    My guess would be that you are reading a series of bytes into a string, and passing it to a method that is...
  40. Replies
    7
    Views
    337

    Re: Cut and Paste ?!

    I neglected mentioning Name..As because I thought I recalled a limitation that it couldn't move files from one drive to another (e.g. C: to D:), but it appears that I was mistaken (tried it here,...
Results 1 to 40 of 341
Page 1 of 9 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.