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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB and MDAC and DCOM, oh my. 1

Status
Not open for further replies.

bdzot

Programmer
May 21, 2002
5
US
I'm a novice programmer, with one course under my belt. The manager at work has let me write some programs for work, mainly display and file management/movement programs. I've had an ongoing problem with running the programs I've written. They'll run on some machines, but won't on the rest of the machines in our production area.

I inevitably run into the "Runtime error 430" problem. I've tried copying all the files for the components I use writing the program over, but that didn't help. I had our tech support guys update the MDAC, but that didn't help. I tried updating the DCOM (with thanks to mmilan), but it tells me that I have to uninstall the old DCOM before I can install the new one -- but the procedure listed on the microsoft site tells me to go to a directory that doesn't exist on any of the machines I'm trying to fix.

Another reference on the internet calls for diving headfirst into the registry, which I'm extremely hesitant to do on work computers.

I had originally intended to write standalone programs (naive, I now realize), but now I'd just like to get the programs to work, period.

Any help would be greatly appreciated.
 
"I've tried copying all the files for the components I use writing the program over"

Are you talking about ocx and dll files? In addition, you'll need to register these files. From the run command under the start button, type the following for each component, for example:
[tt]
regsvr32 mscomct32.ocx
regsvr32 msvbvm60.dll
[/tt]
What you really need to do is build an installation package. A real quick and easy way to do this is with the package and deployment wizard. It will take your .vbp project file and pretty much do the rest for you.

An installation package will take care of all of these things and make certain that all of the files you need are distributed.
 
Use the Vb set up kit or installer for installation of software on client machines.










Srinivasa Raghavan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top