CompuServe Thread

VB Control Help

4 messages in this thread
#76567From: Andrew McClaryJan 15, 1994 9:52 PM
I am trying to make a distributable demo that will play .flc flies and am trying to use the Animation VB Custom control. The problem is setting the animation file name on boot up. It seems the control always wants the drive and directory. The problem comes if the user wants to install the demo on a different drive. If they do this they always get an "Invalid File Format" when the program starts. Is there a way around this? I have used AVI files in the past, but I don't need synced audio and prefer the quality of the .flc files. Thanks in advance. Andrew
#77011From: Joseph MicelJan 18, 1994 7:45 AM
Well . . . You could set up an installation routine. When the user installs the program and launches it for the first time, the program looks for an *.INI file with it's name. If it's not there, it prompts the user for information then writes that info to an *.INI file that the program uses in places where that is needed. You would need to use the API calls WritePrivateProfileString & ReadPrivateProfileString. I don't have my code here at home, but if want, I could send you an example of how it would look.
#77536From: Andrew McClaryJan 20, 1994 12:19 AM
Joseph, Thanks for the help. I will give it a try. I was hoping that there would be an easier way of directing the control to the directory the EXE was executed from. Have you ever gotten the full screen mode to work? It doesn't seem to want to work in either of my machines. (ATI ULTRA and Diamond Stealth) Andrew
#77940From: Joseph MicelJan 21, 1994 8:06 AM
Actually, this isn't Joe. We share the log on. I'm Grant. Joe does tech support for the networ, I do support for multi-media, presentation graphics and desktop publishing. I haven't actually tried to get the full screen mode to work or I haven't heard of any problems. I'll check around and get back to you. Later, Grant Fritchey