Join 244,301 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 789 people online right now. Registration is fast and FREE... Join Now!
Hi, I'm Penny Haynes and I had to pick coding back up when my programmers abandoned my project mid-stream. I'm here because Vista is beating my brains in with registration issues, and I would like to be able to sleep at night knowing my software WILL run on ALL Vista machines (at least 32 bit)!
Well if you're working with VB6 you may have a lot of sleepless nights. How's that for an introduction, welcome to Dream.In.Code Penny, hope you enjoy your stay.
Since this is an actual programming issue and not merely an "Introduction" I'm going to go a head and move this to the Visual Basic forum. For the record, what kind of registration issues are you having?
Well if you're working with VB6 you may have a lot of sleepless nights. How's that for an introduction, welcome to Dream.In.Code Penny, hope you enjoy your stay.
Since this is an actual programming issue and not merely an "Introduction" I'm going to go a head and move this to the Visual Basic forum. For the record, what kind of registration issues are you having?
PsychoCoder, I didn't post specifics because I didn't think it was allowed. Just venting my general frustration.
Vista won't install my software the same way on different computers. 1 person installed it without incident. Several had an a16_tmrs.ocx issue, but the mfg created a fix. Now some people have a richtx32.ocx issue that pops up after the a16 is resolved. Vista didn't let my installer (.iss) put richtx32.ocx on their computer (they couldn't find it though they installed and uninstalled twice). I sent it to him, he installed it in system32 and regsvr32'd it and it worked.
I guess my main problem now is why won't it let me install richtx32.ocx in the iss?
Vista is kind of touchy at times, but with VB6 components, such as the one you're having problems with, Make sure you include in your help files that Vista users need to install the ActiveX Installer Service in Vista and then enable it in services. This isnt installed with the initial install of Vista (any flavor). They can do this in Vista's version of Add/Remove Programs in the Control Panel.
Here is a writeup on it from eWeek.Com. Also, Microsoft has stopped supporting Visual Basic 6.0 and Visual Studio 6.0 on all Vista and Windows 2008 versions as of April 8, 2008 so finding much from them will be difficult. First start with the article (and my first tip) and make sure your Vista users know to run the installer as Administrator (Right Click and select Run As Administrator).
Vista is kind of touchy at times, but with VB6 components, such as the one you're having problems with, Make sure you include in your help files that Vista users need to install the ActiveX Installer Service in Vista and then enable it in services. This isnt installed with the initial install of Vista (any flavor). They can do this in Vista's version of Add/Remove Programs in the Control Panel.
Here is a writeup on it from eWeek.Com. Also, Microsoft has stopped supporting Visual Basic 6.0 and Visual Studio 6.0 on all Vista and Windows 2008 versions as of April 8, 2008 so finding much from them will be difficult. First start with the article (and my first tip) and make sure your Vista users know to run the installer as Administrator (Right Click and select Run As Administrator).
Hope some of that helps
thank you! I will definitely devour this information, and I appreciate your quick response. This answer is definitely worth a vote!
Why thank you , I hope some of it is helpful. Another quick and dirty way to do this would be to put the command ("<path>\regsvr32 <path>\<ocx file>") in a batch file (where <path> is the path to the OCX to register and <ocx file> is the actual file). Name that file either Setup.bat or Install.bat and have your installer run that bat file.
Actually that command line will work if <path> and <ocx file> are replaced, like I said in the post. I imagine if she had 2005 she would have written this in VB.NET and not VB6