Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Files etc.

Status
Not open for further replies.

bobhope

Programmer
Joined
Nov 18, 2000
Messages
3
Location
GB
I am trying to create a program which, using a combo box, will display physics formulae and equations in a picture box but I can't seem to get it to work. The equation have to be typed up in something like Microsoft Word because they need special characters. I have only started using Visual Basic on my A level course so please keep it as simple as possible. I have no idea how to do this. Everytime I try to add a file it is added as a Module, is this how you do it. Is there a way to do this so that I can distribute the program?
 
You could make screen shots of the formulae and load them into an image control??

Place an "Image" control on your form - named Image1 and then you can load different pictures into the control by using:

Set Image1.Picture = LoadPicture("path_and_name_of_screen_shot")

And then to clear the image (if you do not want to show any screen shot), you would use:

Set Image1.Picture = LoadPicture("")

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top