Group:  Microsoft Access ยป microsoft.public.access.activexcontrol
Thread: Ocx files misssing

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Ocx files misssing
"Aura" <u22828[ at ]uwe> 09.06.2006 04:07:18
I have developed a MDE but when i save it in workstations then there are
missing references of comdlg32.ocx and mscomct2.ocx. i want to write a code
so that it check in clients system32 and if file doesnt exits it should copy
from server's system32 to clients. then register it with

Wd = WinDir
If FileExist(Wd & "\system32\comdlg321.ocx") = False Then
dest = wd & "\system32\comdlg32.ocx"
FileCopy "\\server\system32\comdlg32.ocx", dest
RetVal = Shell("regsvr32 comdlg32.ocx")
End If

for this the system32 drive has to share on server. now when i run this code
from client machine it asks servers userid and password. when it supplies it
copy the file. i want to avoid this userid n password.
please anyone can help me .
Re: Ocx files misssing
"Alex Dybenko" <alexdyb[ at ]PLEASE.cemi.NO.rssi.SPAM.ru> 09.06.2006 08:57:16
Hi,
perhaps user, which running your application, does not have enough rights?

anyway - this is not a right approach. All ocx file you have to install on
user's PC during your application deployment/setup

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

"Aura" <u22828[ at ]uwe> wrote in message news:617f4691f8514[ at ]uwe...
[Quoted Text]
>I have developed a MDE but when i save it in workstations then there are
> missing references of comdlg32.ocx and mscomct2.ocx. i want to write a
> code
> so that it check in clients system32 and if file doesnt exits it should
> copy
> from server's system32 to clients. then register it with
>
> Wd = WinDir
> If FileExist(Wd & "\system32\comdlg321.ocx") = False Then
> dest = wd & "\system32\comdlg32.ocx"
> FileCopy "\\server\system32\comdlg32.ocx", dest
> RetVal = Shell("regsvr32 comdlg32.ocx")
> End If
>
> for this the system32 drive has to share on server. now when i run this
> code
> from client machine it asks servers userid and password. when it supplies
> it
> copy the file. i want to avoid this userid n password.
> please anyone can help me .

Re: Ocx files misssing
"aura via AccessMonster.com" <u22828[ at ]uwe> 16.06.2006 02:55:20
thanx Alex but i m using ms Access so how can i make a deployment wizard to
include ocx files.

Alex Dybenko wrote:
[Quoted Text]
>Hi,
>perhaps user, which running your application, does not have enough rights?
>
>anyway - this is not a right approach. All ocx file you have to install on
>user's PC during your application deployment/setup
>
>>I have developed a MDE but when i save it in workstations then there are
>> missing references of comdlg32.ocx and mscomct2.ocx. i want to write a
>[quoted text clipped - 16 lines]
>> copy the file. i want to avoid this userid n password.
>> please anyone can help me .

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-activexcontrol/200606/1
Re: Ocx files misssing
"Alex Dybenko" <alexdyb[ at ]PLEASE.cemi.NO.rssi.SPAM.ru> 16.06.2006 10:12:00
Hi,
deployment wizard is a part of VSTO, but if you don't need to install access
runtime - then it is no necessary to use it. You can either copy all
required OCX file to workstations local drive and register there using
regsvr32.exe
or use some free installer to build a setup package, which install your MDE
and all OCX.

here some links:
http://alexdyb.blogspot.com/2006/06/one-more-free-installation-system.html
http://alexdyb.blogspot.com/2006/04/one-more-free-installer.html

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

"aura via AccessMonster.com" <u22828[ at ]uwe> wrote in message
news:61d6a81b9c320[ at ]uwe...
[Quoted Text]
> thanx Alex but i m using ms Access so how can i make a deployment wizard
> to
> include ocx files.
>
> Alex Dybenko wrote:
>>Hi,
>>perhaps user, which running your application, does not have enough rights?
>>
>>anyway - this is not a right approach. All ocx file you have to install on
>>user's PC during your application deployment/setup
>>
>>>I have developed a MDE but when i save it in workstations then there are
>>> missing references of comdlg32.ocx and mscomct2.ocx. i want to write a
>>[quoted text clipped - 16 lines]
>>> copy the file. i want to avoid this userid n password.
>>> please anyone can help me .
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-activexcontrol/200606/1

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net