Search:

Type: Posts; User: Skittles

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: How can i make vb upload a file to my web server?

    EDIT: I added the filename to the end of the RemotePath string. It did upload the file, but I still got state 11 = Error communicating. And, the file is empty

    I know I'm way late, but here I am......
  2. VS 2022 Re: [RESOLVED] Use TreeView at a specific Directory

    Thanks and marked
  3. VS 2022 Re: Use TreeView at a specific Directory

    Thank you. This saves me a lot of frustration and a good place to start learning.
  4. VS 2022 [RESOLVED] Use TreeView at a specific Directory

    I'm just now crossing over from VB6 to VB.net.

    I've found all kinds of code to populate TreeView with the drives and subfolders.

    I would like to start populating the TreeView at the User's...
  5. Replies
    6
    Views
    1,200

    Re: Unable to Remove Directory [SOLVED]

    SOLUTION:
    After two days of brain numbing troubleshooting, I figured it out.

    There's a limitation of SHELL with Admin.

    Running a program with Admin and then Shelling with Admin works.

    I was...
  6. Replies
    6
    Views
    1,200

    Re: Unable to Remove Directory

    Because this is being used on other peoples computers.

    I think the problem is I have one program making the folders and another program (in a different folder) trying to delete a folder without...
  7. Replies
    6
    Views
    1,200

    Re: Unable to Remove Directory

    I don't have a DoEvents command between the file removal and the folder removal... let me try that.
    EDIT: Nope, that's not it.
  8. Replies
    6
    Views
    1,200

    Re: Unable to Remove Directory

    No files or folders.
    I remove all files from it. Then execute a Sleep 1000 before the RMDIR.
    My only guess is the program that makes folder is the only one that can delete them?
    Does VB6 have...
  9. Replies
    6
    Views
    1,200

    Unable to Remove Directory [SOLVED]

    I'm so confused.

    My install program (running as Admin) can make a directory inside the Program Files (x86) directory.

    The software I put inside (running as Admin) works fine.

    Then while...
  10. [SOLVED] Can't delete a Folder with it's contents with the Shell command

    Nevermind, Placing CMD.exe at the beginning of the command worked.

    I have an "Installer" program inside my "C:\Users\My User Name\Downloads\LFM" folder, along with the related files.

    The...
  11. Determine Start Point x,y for an Arc (Circle method)[SOLVED]

    [SOLVED] Had the scaling wrong, duh!
    181713
    I'm using the LINE and CIRCLE methods to draw the attachment.

    I need the green line to start drawing from the upper-right side of the arc. As shown,...
  12. 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
  13. Re: Adjust Textbox size to Cursor(carat) Position

    Even though the Character width is 90 twips,
    This works...
    frmFileViewer.Width = (105.4 * RecLen) + 300
  14. 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...
  15. 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...
  16. Replies
    2
    Views
    921

    Re: sendkeys... again

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

    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...
  18. 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.
  19. 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.
  20. Re: [RESOLVED]Using a Varable to reference various Controls

    {double post}
  21. 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...
  22. Re: Using a Varable to reference various Controls

    Thanks again, your awesome. Now, I can resolve this.
  23. 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?
  24. 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.
  25. [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...
  26. 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!!!
  27. 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...
  28. Replies
    6
    Views
    1,033

    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.
  29. 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...
  30. 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...
  31. 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,...
  32. 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...
  33. 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...
  34. [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...
  35. Replies
    5
    Views
    1,346

    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
  36. Replies
    5
    Views
    1,346

    Re: Checking for Program Updates

    The Internet Transfer Control is not available. :(
  37. Replies
    5
    Views
    1,346

    Re: Checking for Program Updates

    I wasn't paying attention to where I was posting... sorry and thanks.
  38. Replies
    5
    Views
    1,346

    [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...
  39. 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...
  40. 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...
Results 1 to 40 of 42
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width