Search:

Type: Posts; User: VB-only

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3,725
    Views
    1,855,677

    Re: CommonControls (Replacement of the MS common controls)

    I decided to bite the bullet and investigate applying this facility to my long running project(21 years now).
    I installed the ComCtlsDemo project and a strange thing happens. In the IDE, when...
  2. Replies
    13
    Views
    2,978

    Re: Resize easily your forms

    Further testing shows that my picture box expands too large and covers up a label and option box below it.
    I think the only recourse at this point is to use the picture box height property to...
  3. Replies
    13
    Views
    2,978

    Re: Resize easily your forms

    Thank you. Interesting result this morning, I took the original form from the OP, and copied my frame with picture box and the graphics picture, ran it, and the resize works perfectly on my...
  4. Replies
    13
    Views
    2,978

    Re: Resize easily your forms

    Thanks for the help. I did copy the zip and ran it from that. It now works, but my picture boxes do not scale correctly.
    My screen, that has a series of graphics(graphics picture boxes on a...
  5. Re: Is there a way to time out a Msgbox?

    Actually I do have my own Msgbox. What should I do?
    And, I should have clarified a bit more. There are two conditions I want to handle.

    One is if the user hits the form close X by mistake, and...
  6. [RESOLVED] Is there a way to time out a Msgbox?

    I need a simple way to force shut down when the user clicks on the form exit instead of my coded cmdExit event, I want it to time out and force it to exit if no reply in ten seconds or so.
    I am...
  7. Replies
    13
    Views
    2,978

    Re: Resize easily your forms

    I copied the code to my form. I didn't notice a download file.
  8. Replies
    13
    Views
    2,978

    Re: Resize easily your forms

    I'm not sure. Given the code that was provided by the OP, what exactly is it looking for?
  9. Replies
    13
    Views
    2,978

    Re: Resize easily your forms

    When I tried to do this, in Form declaration, on statement:
    mclsResize As New Class_Elastic
    I get Error msg "user-defined type not defined"
  10. Re: Problems with .bmp resize in picture boxes across platforms

    No-the picture above is what goes into the picture container. It was getting lopped off significantly inside.
    So I have now manually aligned everything in form load, which is labor intensive...
  11. Re: Problems with .bmp resize in picture boxes across platforms

    Thanks for the quick response. I have my display setting to 175%, but I don't know what the DPI is.
    I'm not sure what you mean by being "dpi aware".
    Should my picture boxes have auto redraw...
  12. [RESOLVED] Problems with .bmp resize in picture boxes across platforms

    I'm not sure if I have phrased this correctly, but, my app has problems with some predefined bitmaps that fit inside pre-drawn picture boxes.
    Development is on Windows 7(laptop 1). Everything is...
  13. Re: How to use a dynamic tooltip on a line in a Rich Text Box

    Yes-I want to display in a tooltip the calculated value. This is to assist the user who can have complicated calculations, so that intermediate values can be displayed shown.
  14. How to use a dynamic tooltip on a line in a Rich Text Box

    Hello. This type of question may have asked in the past but searching doesn't give me exactly what I need. Here's the problem.
    I have a RTB that contains some user calculations and I would like to...
  15. Re: Using registry to determine Window's OS name, any downside?

    Thank you for that elegant solution. However, I don't understand what it's doing and seems to be way too overkill for my needs. If it were to break sometime in the future, I wouldn't know how to...
  16. Re: Using registry to determine Window's OS name, any downside?

    Thank you for that link. But now I'm even more confused. My app will be run on different versions oof Windows around the world. I only need to know whether the user is running W10 or not W10 in...
  17. Re: Classic VB - How can I use the mouse-wheel in VB?

    I want to comment on this post at a very late date.

    As I understand it, the mouse wheel is involved in three different processes:
    Running under the VB IDE
    Executing code under VB IDE
    ...
  18. Using registry to determine Window's OS name, any downside?

    I just verified manually that I can determine which Windows OS I'm on from the registry:

    HKEY_LOCAL_MACHINE\software\microsoft\windows nt\
    currentversion
    ProductName

    I manually verified...
  19. Re: Finally. Help after Running Winhlp32.msi on windows 10/W10

    Your right. I never did get an explanation for "what's this" Thanks.
  20. Re: Finally. Help after Running Winhlp32.msi on windows 10/W10

    Thanks but what is this help demo? There's no doc telling me what this does. I installed it and ran the vb code and nothing happens. Click on the ? just hangs.
    It's a bunch of code with no...
  21. Re: Finally. Help after Running Winhlp32.msi on windows 10/W10

    Thanks. But I want to display the context help I programmed into my app.

    If I do shell, Is there a way to switch to the shelled help when the user right clicks on help?
    A caveat; my w10 is 32...
  22. Finally. Help after Running Winhlp32.msi on windows 10/W10

    This seemed too easy, just run the winhlp32.msi and clicking on my help.chm file, I do get the help displayed, but as a separate task.

    I call this progress. But there is no link to the help file...
  23. Re: Edit conundrum on RTB. Should be simple

    The exit only removes the form from view. There can be too much 'form' clutter to deal with.

    Well, I decided to go back to using the Change event to make the red "Save" button visible when any...
  24. Re: Edit conundrum on RTB. Should be simple

    What I meant was the cmdSave updates the file, while the cmdExit closes the form. The user decides when to do both.
  25. Re: Edit conundrum on RTB. Should be simple

    There isn't a closing event. The edit stays open. Only when the Save button is visible/highlited does the data get processed.
    What about mouse down/mouse up?
  26. [RESOLVED] Edit conundrum on RTB. Should be simple

    I have a Rich Text Box and the user enters data for an engineering app. The data consists of a series of statements and commands which can subsequently be file saved if the data has changed.

    I...
  27. Re: [RESOLVED] Virus Check flags a 1/70 on sub-form executable

    I contacted the issuer of the flag and they promised to analyze why it occurred. Received a follow up note and the flag has been removed.
  28. Re: Virus Check flags a 1/70 on sub-form executable

    What's really strange is that Process Explorer calls Virus Check for all of the system processes and it also gets flagged once. No good deed goes unpunished!
  29. Re: Virus Check flags a 1/70 on sub form executable

    thanks for the help. i followed your link and ran my app.
    Got a hit from SecureAge APEX, and contacted them.
  30. [RESOLVED] Virus Check flags a 1/70 on sub-form executable

    To explain: I took one form(from my tools section) and created a stand alone project and made an executable of it that I want to distribute. Everything works the way it should in the stand alone...
  31. Re: [RESOLVED] After text colorize in RTB, it returns to black after form minimize

    More info.
    Form minimize invokes form resize, twice!. I was doing some strange stuff with the font sizes in resize and that was the crux of my problem.
    The resize event was coded twenty years...
  32. Re: After text colorize in RTB, it returns to black after form minimize

    After doing some more reading here,
    https://www.freetutes.com/learn-vb6-advanced/lesson6/p4.html
    it refers to the Autoredraw property and whether true or not during form activate. I set Autoredraw...
  33. Re: After text colorize in RTB, it returns to black after form minimize

    Ok-will try to that. Interesting in that sometimes form activate triggers and sometimes not. It doesn't seem to be predictable.
  34. [RESOLVED] After text colorize in RTB, it returns to black after form minimize

    I colorize certain text in a Rich Text Box in my form load, and also when I do a Save after user edits the data. But when the form is minimized and then a form.activate event occurs, the...
  35. Re: [RESOLVED] Sporatic err 380, Invalid Property Value, but only in compiled exe

    Good idea. I never considered that. Writing a logger can't be that hard.
  36. Re: [RESOLVED] Sporatic err 380, Invalid Property Value, but only in compiled exe

    Thanks Elroy for the RTB tip. In this case, the RTB is the input which is created by the user. The GUI is the output.
    The Fortran dll is called once, or many times(sweep). A very long running dll...
  37. Re: Sporatic err 380, Invalid Property Value, but only in compiled exe

    Thanks for the tips. As it is, thereisno way I want to go into the Fortran code and tryto issue calls back to the Gui, so I will just leave that alone.
    I recoded part of my editor and replaced the...
  38. Re: Sporatic err 380, Invalid Property Value, but only in compiled exe

    Thanks for all the suggestions. I am doing exactly what Elroy stated, ie, I have a Cancel button activated(in red), and I sporatically issue Doevents so that it can get control. The user may want...
  39. Re: Sporatic err 380, Invalid Property Value, but only in compiled exe

    Thanks. I was thinking around those same lines. I may have to do that. I mentioned Doevents becasue it could be something doesn't have the focus due to timing maybe.

    As far as Doevents, Windows...
  40. [RESOLVED] Sporatic err 380, Invalid Property Value, but only in compiled exe

    A weird thing. After compiling and distributing my new release, I discovered accidently that I woud get this err code 380 in the compiled release version in my Edit code that I enhanced to use color...
Results 1 to 40 of 124
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width