Search Results - VBForums

Search:

Type: Posts; User: jmsrickland

Page 1 of 13 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    11
    Views
    181

    Re: How to Shell a program with switches?

    I didn't know the rules stated you had to shell xcopy itself otherwise it doesn't count:D
  2. Replies
    11
    Views
    181

    Re: How to Shell a program with switches?

    Kind of like in post #2, right:)
  3. Replies
    11
    Views
    181

    Re: How to Shell a program with switches?

    Not if you shell it like I did
  4. Replies
    11
    Views
    181

    Re: How to Shell a program with switches?

    /e/y/k/c

    I don't know what these mean but they prevent xcopy from working. If you remove the /e then xcopy will work. It appears that only if xcopy is going to prompt you will it show it's window...
  5. Replies
    8
    Views
    143

    Re: Label move with mouse

    Yes, just dont check for If Button = 1 Then
  6. Question about FtpFindFirstFile/InternetFindNextFile

    Public Sub EnumFiles(hConnection As Long)
    Dim pData As WIN32_FIND_DATA, hFind As Long, lRet As Long

    'create a buffer
    pData.cFileName = String(MAX_PATH, 0)

    'find the...
  7. Replies
    8
    Views
    143

    Re: Label move with mouse

    Definitely better, LaVolpe, thanks. I didn't know that
  8. Replies
    8
    Views
    143

    Re: Label move with mouse

    Option Explicit

    Dim nX As Single
    Dim nY As Single

    Private Sub Label1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    nX = X / Screen.TwipsPerPixelX
    nY = Y /...
  9. Re: Help: Display selected fields inListview

    Make your ListView have columns same as Listbox Items

    When you click on Listbox Item(s) copy them to the same column name in the ListView
  10. Re: Unused Variables, Routines, Etc. Suggestion for finding

    .BAS module use Private or Public
    .FRM module use Private but not Public
    Sub/Function use Dim but do not Dim Const
  11. Re: How to run a .BAT file and Show Application

    Thanks, Navion
  12. Replies
    11
    Views
    181

    Re: How to Shell a program with switches?

    If that doesn't work you can do this:



    Private Sub Command1_Click()
    Open App.Path & "\temp.bat" For Output As #1
    Print #1, "xcopy.exe /?" '<------------or whatever arguments you want
    ...
  13. [RESOLVED] How to run a .BAT file and Show Application

    What do I put in a .bat file to show the dos app window?

    When I run the .bat file the dos app starts up but it immediately goes away. I want to halt this so I can see the results
  14. Replies
    11
    Views
    181

    Re: How to Shell a program with switches?

    Have you tried:



    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
    (ByVal hwnd As Long, _
    ByVal lpOperation As String, _
    ByVal lpFile As String, _
    ByVal...
  15. Replies
    6
    Views
    144

    Re: Winsock.SecretKnock

    Simple encryptions could be Base64, XOR, ROT39, or use Crypto. There are as many ways to encrypt as there are stars in the sky. You can even come up with your own unique method. One can be just as...
  16. Re: many controls in the screen How how do I fit

    Agree. I think OP's Form is far too cluttered. The minute I saw it I had a slight heart attack. Sure wouldn't want to be a user of this one
  17. Replies
    6
    Views
    144

    Re: Winsock.SecretKnock

    Encrypted passwords

    Also, if you have a website put a file there that contains an encrypted port number. Clients first connect to website to get the port number, decodes it and connects to server...
  18. Re: Scrolling Picturebox with Controls

    Never mind, question already answered in another thread
  19. Re: many controls in the screen How how do I fit

    You're right. I copied this code from a thread here some time back so I don't why the original author put in a height in the following line

    Picture1.Move 0, 0, Form1.ScaleWidth - 370,...
  20. [RESOLVED] Scrolling Picturebox with Controls

    When using picturebox how do you keep the VScroll1 and the Picture1 in correct alignment with each other when user changes the height of the Form?



    Private Sub Form_Resize()
    Picture1.Move 0,...
  21. Re: many controls in the screen How how do I fit

    When using picturebox how do you keep the VScroll1.Value and the Picture1.Top in correct alignment with each other when user changes the height of the Form?



    Private Sub Form_Resize()
    ...
  22. Re: [RESOLVED] ExtFloodFill doesn't fill line

    umm, a color blind fox:confused:
  23. Re: ExtFloodFill doesn't fill line

    OK, that's better, thanks, LaVolpe.

    BTW It's vbBlack, not vbBlue - maybe a typo
  24. Replies
    4
    Views
    266

    Re: Simple 3-Way Splitter

    Fill textbox with many lines and you will see it stays at bottom so you can always see last line entered.

    I used this because when I was getting responses from a server (the project I stripped...
  25. Re: Line Selecting and Changing Color In PictureBox

    This will allow you to click on line to change it's color. Only works if lines are solid, not dotted nor dashed otherwise you will need another solution
  26. Re: ExtFloodFill doesn't fill line

    Form and Picturebox in Pixels. Yes, code is in mouse down and x and y are where user clicks on the line


    The line is drawn in black and I want it red using function

    I read these statements...
  27. Replies
    4
    Views
    266

    Re: Simple 3-Way Splitter

    I described it in the Form. If you want to use it OK, if not OK, but it keeps the scrollbar at the bottom of the textbox. This has nothing to do with the splitter code it was just there from the...
  28. Re: Line Selecting and Changing Color In PictureBox

    Question

    Do you want to draw the line in red or draw it in black then change it to red later if you click on it
  29. [RESOLVED] ExtFloodFill doesn't fill line

    In a picturebox I draw a black horizontal line of width 4

    I want to change it's color to red so I use this:

    ExtFloodFill Picture1.hdc, CLng(x), CLng(y), vbRed, FLOODFILLSURFACE

    Where X and Y...
  30. Re: Line Selecting and Changing Color In PictureBox

    I already told you it can be done. See my post 2
  31. Re: Line Selecting and Changing Color In PictureBox

    Depends. If your lines are horizontally or vertically straight and do not cross over another line of the same color then you could just mouse down on a pixel that is part of the line and do a flood...
  32. Re: Additional properties and methods in RichTextBox?

    RTB doesn't support transparent or animated smilies

    Here's one that is a lot simpler than yours but it is only for smilies. You can add as many smilies as you want just give each one a different...
  33. Replies
    4
    Views
    266

    Simple 3-Way Splitter

    This is a very simple 3-way splitter project. It uses the Form instead of Pictureboxes as the splitter bars.

    Any thoughts about improving it are welcomed
  34. Re: [RESOLVED] Prevent two users from opening same vb6 project

    Of course it can be done. Happy now:)
  35. Replies
    5
    Views
    204

    Re: Pixel finding

    I wasn't trying to solve your problem just give you some kind of a starting point. I wasn't sure exactly what you wanted from your first post but now that I know I'll have to leave this up to someone...
  36. Replies
    5
    Views
    204

    Re: Pixel finding

    Finding the black pixels is fairly simple by just scanning the picture from a given corner using a For X =....Next loop for the X direction and another For Y = ....Next loop within the For X...
  37. Replies
    11
    Views
    261

    Re: Hi, I'm new and want to ask a question

    MASM will make DOS applications but then you are really in a different world of programming.
  38. Replies
    11
    Views
    261

    Re: Hi, I'm new and want to ask a question

    OK, never mind. It works now. I wasn't running it from command prompt - I tried using a .BAT file and it fired up but immediately disappeared
  39. Replies
    11
    Views
    261

    Re: Hi, I'm new and want to ask a question

    Bonnie,

    I can't get any of those examples to do anything and I did what you suggested
  40. Re: Perform double click on html element, vb6

    Nice, dil, but what if HTML has no code like



    <DIV ID=someDIV ondblclick="alert('I have been double-clicked!')"
    >The DIV text
    </DIV>


    OP stated:
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width