Search:
Type: Posts; User: newguy
Search:
Search took 0.04 seconds.
-
I put a project in the VB6 codebank that shows how What's This? Help will recognize a disabled control.
-
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...
-
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.
-
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...
-
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.
-
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.
-
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...
-
DateDiff should handle this one...
ElapsedTime = DateDiff("s", Now(), StartTime)
Divide by 60 for minutes, etc....
-
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...
-
If (m_DetailID = l_DetailID) Then Set lvDetails.SelectedItem = lvDetails(Index).Listitems(i)
-
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...
-
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...
-
Oh... Are you saying that's not the way to do it..?
LOL.. Glad ya got it..! :cool:
-
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
...
-
Might be spacing in the string, or problem in naming...
Can't think of another way... :confused: :rolleyes:
-
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
-
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...
-
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 =...
-
Oops..! Thinking Listbox and put the wrong code...
-
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...
-
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.
-
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...
-
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...
-
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... :)
-
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.
-
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
-
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...
|
Click Here to Expand Forum to Full Width
|