User Profile
Collapse
-
How can i play a .wav held inside an OLE object?
How can i play a .wav held inside an OLE object? -
Quickly i figured out that i can embed files within OLEs. I am just wondering whether i can play a .wav (which is help in an OLE) -
How do you embed a .wav file?
I have currently got a program that when a button is pressed, a sound is played, however if there is no file, then a beep is played, is there any way to embed an audio file, so i don't have to worry about loose files. I am using VB6.
DGee -
Well it depends whether you know what,where and how long the string is that you want to extract. If you do then i would use Mid(), ie the string "John Smith" = 10 characters. So (Where ever extracted to) = Mid((string or "John Smith"), (1 as "John" starts at position 1), (4 as the length of John = 4). So ... = Mid(string,1,4) .
Alternativly if you had a load of strings and you needed to get the...Leave a comment:
-
How to print a text file in Visual Basic
Hi, this is my first post, so be nice on me!
I currently have a program that will input and save into a text file. It stores information on the operations of the program, such as inputs, errors and major proccesses. I have literally torn the web into pieces looking for code to print the text document. I've tried opening it and printing or printing the file and i get the same result each time, that is that the text from the document...
No activity results to display
Show More
Leave a comment: