Darren DICK
d.dick at uws.edu.au
Wed Oct 22 08:42:50 CDT 2003
Hi Paul Yep, but I want as little room for error as possible. This would mean shipping a batch file, keeping an eye on another file etc etc blah blah What will be actually run on the push of a button is actually much more complex than what I have typed here. I will be dimming various things based on values typed into a form then I am passing the values to the Dimmed ref I only sent the basics to the list in the line Shell("C:\Winnt\System32\regsvr.exe",1) "C:\Winnt\system32\comctl32.ocx" Many thanks Darren ----- Original Message ----- From: <paul.hartland at fsmail.net> To: "Access Developers discussion and problem solving" <accessd at databaseadvisors.com> Sent: Wednesday, October 22, 2003 11:29 PM Subject: Re: [AccessD] A2K: Regsvr32 assistance please > > Couldn't you write a batch file to register the ocx and then shell out to the batch file ? > Paul > > > > Message date : Oct 22 2003, 02:23 PM > >From : Darren DICK > To : AccessD List > Copy to : > Subject : [AccessD] A2K: Regsvr32 assistance please > Hello all > I just want to set a quick and dirty bit of code to register an ocx > I know about shell and how to get it to work. > I also know about regsvr and how to get it to work > > Problem is RegSvr accepts command line parameters and I can't get it > and shell to work together on the same line > I need to get something like the following to work (pseudo code)... > > Shell("C:\Winnt\System32\regsvr.exe",1) "C:\Winnt\system32\comctl32.ocx" > > any takers?? > > Many thanks > > Darren > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com