Search Results - VBForums

Search:

Type: Posts; User: jmsrickland

Page 1 of 13 1 2 3 4

Search: Search took 0.16 seconds.

  1. Re: How to read file that just create in same project

    You open #2 as output then you close #2 then you open #3 as input and you say error file already open

    No. Wont happen in the way you are showing us. #3 has not been opened in your code so you...
  2. Re: trying to add a icon when drag AND Icon When Drop

    Then you better post your entire project because this code works for me and everyone else who has used it
  3. Re: trying to add a icon when drag AND Icon When Drop

    This code will allow you to drag/drop and change the order of the items



    Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
    (ByVal hwnd As Long, ByVal wMsg As Long, ByVal...
  4. Re: trying to add a icon when drag AND Icon When Drop

    Do you have the drag mode set to manual on the listbox and are you actually getting the icon you want to drag
  5. Re: trying to add a icon when drag AND Icon When Drop

    Then remove Text1 and List2 objects and remove their code -



    Private Sub Form_Load()
    List1.AddItem "A"
    List1.AddItem "B"
    List1.AddItem "C"
    List1.ListIndex = 0
    List1.DragIcon =...
  6. Re: trying to add a icon when drag AND Icon When Drop

    Change all List2 to List1
  7. Re: trying to add a icon when drag AND Icon When Drop

    Here is sample - modify it as you need to



    Private Sub Form_Load()
    List1.AddItem "A"
    List1.AddItem "B"
    List1.AddItem "C"
    List1.ListIndex = 0
    List1.DragIcon = LoadPicture("C:\Program...
  8. Re: trying to add a icon when drag AND Icon When Drop

    Where do you want to drag from and where do you want to drag/drop to. In other words, the source and the target
  9. Re: How to install the LaVolpe AlphaImgControl functionality?

    http://www.vbforums.com/showthread.php?630193-vb6-Alpha-Image-Control-v2-Final-Update-(15-Jan-2012)

    http://www.vbforums.com/showthread.php?598771-VB6-GDI-Usage-amp-Samples
  10. Re: should i really move to an installer??

    I always liked Install Shield. I especially liked that it allowed me to write my own custom install program and make it as fancy as I pleased. Don't know if the others did that
  11. Re: Location Of Text File Value Sometimes Changes

    Why don't you just grab the 3rd decimal , providing that doesn't change, then you will have the value you need wheather it's .n, n.n, n.nn, or nn.nn
  12. Re: Error in webautomation using vb6 in windows 10

    I don't know what the error is because you didn't tell us but since when do you navigate to

    "http https://mytestingsite/login.html ", 8

    It should be one or the other, not both
  13. Re: Location Of Text File Value Sometimes Changes

    If nothing else changes then search for the 2nd decimal point. Now you know that you have two numbers followed by a space followed by the value you want to get



    +-- 1st...
  14. Re: How to Make Each Line of a Listbox a Different Colour?

    I understood your request. The code was not written especially for you and common sense tells you that you only need to use one of the Listboxes. However, I don't think you read my signature since if...
  15. Re: DragDrop file and display its name only?

    Nitpicking
  16. Re: DragDrop file and display its name only?

    If you already know how to display path and name then why don't you just strip off the name using Mid and InStrRev to the first "\"



    '
    '
    Dim txt As String

    Dim fname As Variant
  17. Replies
    5
    Views
    178

    Re: what does this code mean?

    https://msdn.microsoft.com/en-us/library/windows/desktop/ms644944(v=vs.85).aspx

    In your case pbExecute
  18. Re: Force KeyUp (even when not up) with API

    You can remove the Text1.SetFocus. I don't see the reason for the textbox in the first place
  19. Re: How to Show Modal Form And Code Running In The Background Form

    How to Show Modal Form And Code Running In The Background Form

    You can't

    Once you load modal form:

    frmb.Show vbModal, Me


    You will not enter here until you close the modal form
  20. Re: How to change space between two lines in a textbox

    Use two or more vbCrLf's instead of one

    Single spacing (normal)

    This is line 1 & vbCrLf
    This is line 2 & vbCrLf

    Double spacing

    This is line 1 & vbCrLf & vbCrLf
  21. Re: How to Make Each Line of a Listbox a Different Colour?

    Put List1 and List2 on a Form and make their Style = Checkbox


    Form Code



    Private Sub Form_Load()
    Dim I As Integer
  22. Replies
    16
    Views
    508

    Re: [Help] Listview Problem

    No .rar file; use .zip instead
  23. Replies
    16
    Views
    508

    Re: [Help] Listview Problem

    You say you have a function called AppPath and I suggested that perhaps the error is coming from somewhere else and you said that you have included all code and yet you do not post your function...
  24. Replies
    4
    Views
    273

    Re: pixel color withing webbrowser

    OP would need the handle of the window no matter what API is used
  25. Replies
    16
    Views
    508

    Re: [Help] Listview Problem

    I already said that
  26. Replies
    16
    Views
    508

    Re: [Help] Listview Problem

    Then it could be the Codejock ListView that is causing the error. Check it's properties and see what it has and doesn't have especially the .Text property

    Also post which line is getting the error...
  27. Replies
    16
    Views
    508

    Re: [Help] Listview Problem

    You has a problem here:

    strEncrypt(sData(i), txtAESPW.Text)

    No such function



    I ran your code. No such error, With block Var not Set or similar. In fact, other than what I pointed out...
  28. Replies
    16
    Views
    508

    Re: [Help] Listview Problem

    You have

    Dim sData() As String
    Dim sExtension() As String
    Dim i As Integer

    twice in your code. Only Dim one time.
  29. Replies
    10
    Views
    415

    Re: Keep an inputbox in focus

    Do While InputBox("Enter the number 2", "Enter Data") <> "2"
    MsgBox "Wrong value"
    Loop


    or in your case


    Do While InputBox("Enter your Pin", "Enter Pin") = ""
    MsgBox "You must enter...
  30. Replies
    21
    Views
    599

    Re: Browse Data in VB 6.0 while Debugging?

    Misleading question.

    OP wants to "browse" (which means to look at) his data (which means values) but doesn't want to look at his data values in the variables:confused:
  31. Re: The result is False. Now whhat to do make it a positive True, but then not to dis

    Sorry, dude, I can't make heads or tails out anything you are saying (it's mumbo jumbo to me).
  32. Re: Splitting each Letters of words in textBox

    First time into loop I is 1 and I - 1 is 0 and you cannot have a 0 position
  33. Replies
    8
    Views
    342

    Re: Change (modify) PDF file

    They are not 100% text - only a small portion is text and the rest is graphics. I saved as text file and the text file only contains what you can see as text on the pdf document. The lines,...
  34. Replies
    8
    Views
    342

    Re: Change (modify) PDF file

    They are guitar tabs from TabPro.com that I downloaded from their site. When I click on Print it opens up a dialog box asking where to save the pdf files. I would think the tabs are probably images...
  35. Replies
    8
    Views
    342

    Change (modify) PDF file

    I downloaded several PDF files that contain musical scores and on some of them the notes are incorrect. How can I correct these notes and re-write the corrected PDF file
  36. Replies
    4
    Views
    211

    Re: MkDir Question

    Same thing with MsgBox, for example, and other built-in functions. If you have a function called MsgBox then your function will supersede the VB MsgBox function but only in the module it is declared...
  37. Replies
    8
    Views
    425

    Virtual Printer??

    Maybe a dumb question but is there such a thing as a virtual printer?

    I don't have a physical printer but I would like some way to still use the Print button on applications and have the printed...
  38. Replies
    6
    Views
    275

    Re: Add Values of listbox

    When are you going to learn that text boxes and list boxes are for text, not numeric expressions. You can't add text to text and expect to get a valid answer
  39. Re: Key combo to end program across multiple sequential forms

    Just use whatever key-combinations you like and unload all Forms. Since you state that no single Form is displayed for the entire duration then you will need to put this in each Form. Unload the Form...
  40. Re: Clikc ok button on dialog box opening in webbrowser

    I don't see any OK button so exactly what do you want to do. I know you said you want to automate clicking ok button of the dialog box but I don't know what you mean as the HTML you posted doesn't...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.