Search:

Type: Posts; User: Skittles

Search: Search took 0.02 seconds.

  1. Re: Adjust Textbox size to Cursor(carat) Position[SOLVED]

    I'm thinking the 75 is for the border of the textbox. Since I'm also adjusting the Form, I had to add 300, to also include the scroll bar
  2. Re: Adjust Textbox size to Cursor(carat) Position

    Even though the Character width is 90 twips,
    This works...
    frmFileViewer.Width = (105.4 * RecLen) + 300
  3. Re: Adjust Textbox size to Cursor(carat) Position

    So I'm using a picturebox, AutoSize=True with...

    For i = 1 To 624: readResult = readResult & Chr(88): Next: Picture1.Print readResult
    It's not resizing to fit the text.
    What else am I supposed...
  4. Adjust Textbox size to Cursor(carat) Position[SOLVED]

    I'm loading files in Binary format and displaying it in a modified Asciii format so each byte is only one character wide.
    The "records" of my files are either 596, 610 or 624 bytes long.
    When I...
  5. Replies
    2
    Views
    303

    Re: sendkeys... again

    Thanks, I'll give it a shot when I have the time
  6. Replies
    2
    Views
    303

    sendkeys... again

    Hi all,
    I'm back with yet another sendkeys issue and FYI, I still haven't found a solution for my last one.

    Paint.net uses Space+Arrows to pan the canvas.

    Is it possible to treat the Spacebar...
  7. Re: [RESOLVED]Using a Varable to reference various Controls

    I agree, you're right, but it's working for me. Ever since VB.NET came out I've lost the desire to re-learn all the changes. Maybe someday I'll catch up.
  8. Re: [RESOLVED]Using a Varable to reference various Controls

    And this is why I'm stuck in VB6 and not .NET... It just gets too confusing. I need to find a course I can take.
  9. Re: [RESOLVED]Using a Varable to reference various Controls

    {double post}
  10. Re: [RESOLVED]Using a Varable to reference various Controls

    I think I understand what you're saying. When I click on a control to move it, the Click subroutine creates a private objTempControl variable for it's code. Then assigns the clicked control to the...
  11. Re: Using a Varable to reference various Controls

    Thanks again, your awesome. Now, I can resolve this.
  12. Re: [RESOLVED]Using a Varable to reference various Controls

    Another question... how do I then remove or clear the reference in ObjSelectedControl when I have nothing selected?
  13. Re: Using a Varable to reference various Controls

    Thank you!!! My first error was putting the variable declaration in the Module and my second was not using the "SET" keyword.
  14. [RESOLVED]Using a Varable to reference various Controls

    There are other threads covering this, but I'm just not getting it.

    Short Story: I would like to be able to use a variable "SelectedControl" to reference different types of controls so I can move...
  15. Re: Need to refresh the forms scrollbar (SOLVED)

    Thanks for the feedback. It's not a big enough problem that justifies redesigning the ui. DEXMERX confirmed my suspicion. Maybe I'll fix this if I do a revamp.

    Thanks Guys!!!
  16. Re: Need to refresh the forms scrollbar

    Thanks for responding.

    Since they are automatic scrollbars of the form, I don't know how to invoke an event. They are not scrollbars I added.

    I know that after moving the image, if I just click...
  17. Replies
    6
    Views
    721

    Re: Shape blink when changed

    Yep... I've been having the same problem for 20years. I've never found a way to fix it. Sorry.
  18. Need to refresh the forms scrollbar (SOLVED)

    I have an application that loads images. The frmMain form is set with frmMain.Scrollbars=True. If the image is too tall, wide or both, the forms automatic scrollbars work just fine.

    But I have a...
  19. Re: VB5 and VB6 Blurring algorithm-NEW & IMPROVED

    Thanks for your time... I got it working.
    I need to start waiting a day instead of a couple hours, before asking for help. That way I don't waste peoples time.

    My problem was a combination of...
  20. Re: VB5 and VB6 Blurring algorithm-NEW & IMPROVED

    I'm tinkering with your code to blur images

    The image I was to blur is in a picturebox. I made a few changes to accommodate this, for example...
    From

    BitBlt me.hdc, PicPos.Left, PicPos.Top,...
  21. Re: Program is looking in wrong place for .OCX file

    I've been using vb4 since forever. I did get VB.net but there was such a huge difference between the GUIs I couldn't figure anything out and none of my VB4 programs worked.:cry: So I gave up.

    Why...
  22. Re: Program is looking in wrong place for .OCX file

    I searched the Registry for all enteries containing richtx32.ocx and they all reference my SIR-ADM directory.


    HKEY_CLASSES_ROOT\CLSID\{3B7C8860-D78F-101B-B9B5-04021C009402}\InprocServer32...
  23. [RESOLVED] Program is looking in wrong place for .OCX file

    I'm programming in VB4.

    It's always been my understanding that when my programs need to read the OCX file, it will look in the directory it's running in and then the System32 directory.

    Here's...
  24. Replies
    5
    Views
    705

    Re: Checking for Program Updates

    If I change the contents of my version file to <title>0.05.006</title>

    I can then get the title of the page using

    WebBrowser1.Document.Title
  25. Replies
    5
    Views
    705

    Re: Checking for Program Updates

    The Internet Transfer Control is not available. :(
  26. Replies
    5
    Views
    705

    Re: Checking for Program Updates

    I wasn't paying attention to where I was posting... sorry and thanks.
  27. Replies
    5
    Views
    705

    [RESOLVED] Checking for Program Updates

    I'm working in VB4 creating a "Attendance Manager Database"

    I have a menu option titled "Check for Updates"

    I have the "Internet Controls" enabled and "WebBrowser1" ready to go.

    I have a...
  28. Re: How to detect screen dpi settings in VB4

    I'm getting a Bad DLL calling convention error #49

    I tried both DeleteDC lret and DeleteDC lret&. Get the same error. The ScaleX function works just as well and I don't need to make a function...
  29. Re: How to detect screen dpi settings in VB4

    Your suggestion works good... I changed it for my needs to...


    dpi = Me.ScaleX(1, vbInches, vbPixels)
    If dpi <> 95 Then
    ttl = "SCREEN SETTINGS CONFLICT"
    Pmpt = "Your screen settings...
  30. Re: How to detect screen dpi settings in VB4

    Thanks for the suggestions...

    MagicInk... Your code worked. All I had to change was to make the function public and remove the DeleteDC lret.

    Thanks so much!
  31. [RESOLVED] How to detect screen dpi settings in VB4

    I work with a bunch of older gentlemen who have their text DPI set higher than 96dpi. My software creates errors when resizing.

    How can I code my software to detect the screen dpi settings?

    I'm...
Results 1 to 31 of 31



Click Here to Expand Forum to Full Width