|
lyhyp wrote:
HELP WORKSHOP
Yup. If I'm not mistaken, this also allows you to create context-sensitive help per function. Pretty useful.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
Also, you can get the HTML Help Workshop from mimcrosoft.com to make a .chm. It's free, just search for it.
Jeremy L. Falcon<nobr>
Homepage : Sonork = 100.16311
"But everybody darlin' sometimes bites the hand that feeds."
"Remember in this game we call life that no one said it's fair."
"Just because you're winnin' don't mean you're the lucky ones."
Song: Breakdown - Album: Use Your Illusion II - Artist: Guns N' Roses
|
|
|
|
|
How could i use escape sequences in VB to write strings like this: 'a1 "b1" c1' - where ' is a substitute for " ?
rechi
|
|
|
|
|
Heya,
" is escaped by "" (ie double 'em).
/WW
|
|
|
|
|
In VB you could use two double quotes back-to-back...
"a1 ""b1"" c1"
...or use the actual ASCII/ANSI char itself...
"a1 " & Chr(34) & "b1" & Chr(34) & " c1"
I prefer the first method.
Jeremy L. Falcon<nobr>
Homepage : Sonork = 100.16311
"But everybody darlin' sometimes bites the hand that feeds."
"Remember in this game we call life that no one said it's fair."
"Just because you're winnin' don't mean you're the lucky ones."
Song: Breakdown - Album: Use Your Illusion II - Artist: Guns N' Roses
|
|
|
|
|
I have a form and I want to make it so only one instance of that form is opened. I can do this with a counter variable in my form class so when it is loaded it incremenets and if they go to file->exit it decriments. But if thye hit the X button in the upper right, the form is closed and my counter vraiable stays at one. I need a way to make it so however they close it my counter is updated accordingly.
|
|
|
|
|
I would suggest that you use the Singleton pattern instead of tracking counters.
|
|
|
|
|
A singleton pattern is?
-- Remember your are but a lowly hair on my s*r*t*m
|
|
|
|
|
the following is similar to how the vb6 upgrade wizard does it. it's not a true singleton pattern, because it allows for more than one to be created over the lifetime of the app, but is close enough in that it never allows more than one at a time.
add this code to your form, substituting "Form1" for the type of your form.
Private Shared m_SingleInstance As Form1
Private Shared m_InitializingSingleInstance As Boolean
Public Shared Property SingleInstance() As Form1
Get
If m_SingleInstance Is Nothing OrElse m_SingleInstance.IsDisposed Then
m_InitializingSingleInstance = True
m_SingleInstance = New Form1()
m_InitializingSingleInstance = False
End If
SingleInstance= m_SingleInstance
End Get
End Property
now when you want to create or reference your one form, use Form1.SingleInstance instead of creating or showing it manually.
|
|
|
|
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/singletondespatt.asp
There are a couple of others there too: factory and .. er.. I forgot.
Alice thought that running very fast for a long time would get you to somewhere else. " A very slow kind of country!" said the queen. "Now, here , you see, it takes all the running you can do, to keep in the same place".
|
|
|
|
|
Just curious - why did you change your nick to jkgh?
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"Half the reason people switch away from VB is to find out what actually goes on.. and then like me they find out that they weren't quite as good as they thought - they've been nannied." - Alex, 13 June 2002
Please review the Legal Disclaimer in my bio.
|
|
|
|
|
How could I do this? I have maybe 16 different pictures that could be displayed in a picture box depending on certain things, and this picture can change at runtime.
|
|
|
|
|
The picture in the picture box needs to change at runtime.
|
|
|
|
|
' set the image
Picture1.Picture = LoadPicture("C:\Path\To\pic.bmp")
' clear the image
Picture1.Picture = LoadPicture() You could also use an image list as well.
Jeremy L. Falcon<nobr>
Homepage : Sonork = 100.16311
"But everybody darlin' sometimes bites the hand that feeds."
"Remember in this game we call life that no one said it's fair."
"Just because you're winnin' don't mean you're the lucky ones."
Song: Breakdown - Album: Use Your Illusion II - Artist: Guns N' Roses
|
|
|
|
|
hi,
I am trying to implement an array of images that will perform one function when clicked, and another when dropped onto another control.
Drag and drop works fine, but the problem is I am losing the use of Image_Click/MouseDown/MouseUp and so I can't get the code together.
I apologise in advance if this is a trivial query, but it is really beginning to annoy me!!!!
Charlie.
|
|
|
|
|
Hi,
I have a Visual Basic 6 application with an executable that is about 800KB. The application uses various active x dlls. No other application uses these dlls.
What will the advantages/disadvantages be of adding the active x dlls into the project and compiling it as one? It sure would make maintenance much easier.
|
|
|
|
|
i want to know how can i sense pressing of telephone buttons and send appropriate response to that ?
thankx
rita
I need help relating TAPI
|
|
|
|
|
I would like to know how i can play a wave file through TAPI. My requirement is to hook up to a telephone number through a Modem and when the connection is successful, the application should play a wave file.
I have succeded in connecting to a Telephone line using TAPI
Can some one help please.
Harihara Subramanian
|
|
|
|
|
It's always a confusing problem to me:when i finish a application and want to distribute it,i must create a setup and make a package for it.But how can i know which components(like DLLs,.OCX,.tlb and so on) i need and which information i shall write into registry...
In fact,i wrote a program in VB,then i use the tool "Package and Deployment" to create a package.But when i tried to setup it to test,it failed,noting me that the file "$(selfRegistryEx) " not found in my Temp folder.I dont know where's wrong
Everyday will be holiday because of you
|
|
|
|
|
The package and deployment wizard is a good tool, and its always detected all COM dependencies for me.
You might want to try the Visual Studio Installer. It uses the newer Windows installer .msi format. (Requires InterDev)
Note however I think that there's a problem with using vsi1.1 for VStudio 6 and having Visual Studio.NET installed on the same machine. But in that case I beleive you can use VS.NET deployment project to package your VB6 project.
|
|
|
|
|
Although they cost money, installshield makes some pretty good products. You should check them out @ installshield.com. But like I said, they'll cost ya.
|
|
|
|
|
What about VC programs? Are these tools available to applications written in all environment(or in any language)?
Everyday will be holiday because of you
|
|
|
|
|
I have massive spreadsheets of data to wade through and am hoping to automate the process.
I would like to make a chart of the data (x-axis is time stamp) and then have a script/macro so that I can go through plot and pick off data points by clicking on the plot. The script would read off the time-stamp and value of the closest point to my mouse click and paste it into another Sheet. I currently have to hold the mouse over the data point until the value pops up in a Tool-tip and then manually enter the value, or copy it from the original massive list.
Thanks for any ideas or suggestions!
Eric
|
|
|
|
|
found something that might have answered my question, though I'd still like to hear your ideas...
http://www.geocities.com/jonpeltier/Excel/Charts/index.html#PointInfo
|
|
|
|
|
has anyone here been able to get this control from Carlos H. Perez:
http://www.codeproject.com/cs/miscctrl/OutlookBar.asp
...to work in VB.NET?
I have been trying to convert the sample application over and am running into a few headaches that I can't seem to solve.
|
|
|
|