Search:

Type: Posts; User: newguy

Search: Search took 0.04 seconds.

  1. I put a project in the VB6 codebank that shows...

    I put a project in the VB6 codebank that shows how What's This? Help will recognize a disabled control.
  2. Replies
    0
    Views
    3,109

    VB6 - Windows Help Workshop

    This project shows how to use What's This? Help with a standard .hlp file in a VB6 project.

    No API is included, but can be expanded to do so, and there are instructions included on how to compile...
  3. Replies
    12
    Views
    1,526

    There are a couple of workarounds you can check...

    There are a couple of workarounds you can check out.
    1. What's This? Help will still respond to a disabled control.
    2. Text message popup built into the code for when the control is disabled.
  4. Thread: Image Help

    by newguy
    Replies
    4
    Views
    470

    Hi DervelC, One of the best things about...

    Hi DervelC,

    One of the best things about programming is that you never have to re-write something already written.

    That's because there are tutorials and samples of code for VB all over the...
  5. Thread: Image Help

    by newguy
    Replies
    4
    Views
    470

    In a multi-dimensional array, you could assign a...

    In a multi-dimensional array, you could assign a number and an image name. Each click of the next and back buttons increases or decreases the number value for a corresponding image.
  6. Replies
    4
    Views
    670

    You could set each path/picture you load to a...

    You could set each path/picture you load to a variable first, such as MyPicture, then use Dir(MyPicture) when you want to know which one is loaded.
  7. Replies
    1
    Views
    431

    Help..! Help..! Help Me..!

    It's uncanny how Help topics around here are overlooked. That's understandable. They are an inconvenience that most everyone would rather try to avoid, even though they can also be a very necessary...
  8. Replies
    3
    Views
    766

    DateDiff should handle this one... ...

    DateDiff should handle this one...



    ElapsedTime = DateDiff("s", Now(), StartTime)



    Divide by 60 for minutes, etc....
  9. Replies
    4
    Views
    447

    Options

    In one app I gave the option to print to MsWord when it was available, rather than directly to the printer.

    When no MsWord, the data was sent to the printer.
    If no printer, the process was...
  10. Replies
    3
    Views
    598

    If (m_DetailID = l_DetailID) Then Set...

    If (m_DetailID = l_DetailID) Then Set lvDetails.SelectedItem = lvDetails(Index).Listitems(i)
  11. Replies
    1
    Views
    473

    More Info...

    After clearing all Internet content, my icon returned, but four others did not return. This may not be a programming problem at all, but the question still stands since not all of the icons were...
  12. Replies
    1
    Views
    473

    Systray Icon lost…

    A lock-up while attempting to copy a webpage caused the icon for a VB program to disappear from the Systray while backing out of the current task.
    The program continued to run correctly, but...
  13. Replies
    9
    Views
    1,184

    Oh... Are you saying that's not the way to do...

    Oh... Are you saying that's not the way to do it..?

    LOL.. Glad ya got it..! :cool:
  14. Replies
    9
    Views
    1,184

    This might be easier to direct to your text...

    This might be easier to direct to your text boxes...





    Private Sub Command1_Click()
    Dim SearchStr As String, TmpStr As String, Col1Str As String, Col2Str As String
    Dim Cnt As Long
    ...
  15. Replies
    9
    Views
    1,184

    WELL.. (Who always says that..?)

    Might be spacing in the string, or problem in naming...

    Can't think of another way... :confused: :rolleyes:
  16. Replies
    9
    Views
    1,184

    OK. This should work a little better using a...

    OK. This should work a little better using a Command Button:





    Private Sub Command1_Click()
    Dim SearchStr As String
    Dim Col1Str As String
    Dim Col2Str As String
  17. Replies
    9
    Views
    1,184

    Private Sub LV1_Click() For Cnt = 1 To...

    Private Sub LV1_Click()
    For Cnt = 1 To LV1.ListItems.Count
    Col1Str = LV1.listitems(Cnt)
    If (Col1Str = SearchStr) Then Col2Str = LV1.ListItems.Item(Cnt).SubItems(1)
    Next...
  18. I figured it would be answered by the time I got...

    I figured it would be answered by the time I got back, but here's a third method using the click event.




    Private Sub LV1_Click()
    For Cnt = 1 To LV1.ListItems.Count - 1
    VarName =...
  19. Oops..! Thinking Listbox and put the wrong code...

    Oops..! Thinking Listbox and put the wrong code...
  20. Replies
    0
    Views
    5,190

    HTMLHelp - Sample1

    This one is the basic HTML Helpfile, activated by clicking on Help in the Form1 Main Menu. Use the Table of Contents to switch pages. The Index is not really necessary in this type of helpfile, but...
  21. Thread: Htmlhelp

    by newguy
    Replies
    2
    Views
    388

    I'll put one in the CodeBank. I would think...

    I'll put one in the CodeBank.

    I would think that the thread should be allowed to remain open for the many possible examples in providing help with an application.
  22. Thread: help file

    by newguy
    Replies
    21
    Views
    1,005

    Same program. It's included with the various...

    Same program.

    It's included with the various programming CDs. First appeared with Visual Studio 6.0 and may have been given some revisions by now.

    The standard Help Workshop was also included...
  23. Thread: help file

    by newguy
    Replies
    21
    Views
    1,005

    Sorry, I missed all these posts. Actually, I...

    Sorry, I missed all these posts.

    Actually, I meant the old Windows Help compiler that surfaced shortly after Windows did.

    Using it can consume more time to learn and successfully accomplish...
  24. Thread: help file

    by newguy
    Replies
    21
    Views
    1,005

    Are you trying to avoid using HTML Help? It's not...

    Are you trying to avoid using HTML Help? It's not all that difficult.

    I use the regular ol' Windows compiler, but, it takes a while to become accustomed to using it. Once learned, ya got it... :)
  25. Replies
    14
    Views
    995

    Input and Output can be a string...

    Dim IDate as string
    Dim ODate as String

    IDate = Now()
    ODate = Format(CDate(IDate), "mm/dd/yy")



    Either CDate or DateValue will both give the date in the format you want.
  26. Thread: Basic Question

    by newguy
    Replies
    7
    Views
    531

    Very easy...

    Start a new program and add a module.
    Delete the Form1.
    Enter this code into the module, and run it.



    Sub Main()
    Dim RetVal
    RetVal = Shell("C:\WINDOWS\CALC.EXE", 1)
    End Sub
  27. Replies
    5
    Views
    923

    If the text is typed out prior to saving it, you...

    If the text is typed out prior to saving it, you can use:
    "RichTextBox1 SaveFile FileSpecs, rtftext"
    This bypasses all the "Open File" stuff.

    If not, the text will need some "vbcrlf _" 's to...
Results 1 to 27 of 27



Click Here to Expand Forum to Full Width