Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VS 2005 Setup project - vsdrfCOMSelfReg ocx file error

300 views
Skip to first unread message

Rohini

unread,
Jun 1, 2009, 3:13:42 AM6/1/09
to
Hi,

I have created the VS 2005 setup project, which includes the
NTGraph.ocx file.
For this file the Register property set to "vsdrfCOMSelfReg".

When install this setup, it regiters the NTGraph.ocx file succesfully,
but when I run my application, application crashes while using this
varaible only.

In Some systems it works fine, some systems it crashes.
I am installing on Windows XP, SP3 system.

When register the OCX file, if it is registered in HKEY_CLASSES_ROOT,
then application works fine.

In Which ever machine, it is not working, the ocx file is registered
in some other location , not in HKEY_CLASSES_ROOT.

If somebody faced this kind of issue, please respond.

Thanks in advance.

M. Shoaib Surya

unread,
Jun 1, 2009, 9:22:24 AM6/1/09
to
Are you using a non-Administrator account to install your application on the
systems where it doesn't work fine? That might be the reason is it not
working there.

Other than that, using "vsdrfCOM" for the Register property is considered a
better choice for a variety of reasons and it usually has the same
end-result as "vsdrfCOMSelfReg" in most cases. It might even help you in
your problem of installating with a less privileged user if that actually
happens to be your issue.

You can read more about "vsdrfCOMSelfReg" and "vsdrfCOM" at:
http://www.simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/

Regards,
Shoaib.

"Rohini" <changt...@gmail.com> wrote in message
news:9dfbd195-9125-473e...@h28g2000yqd.googlegroups.com...

Rohini

unread,
Jun 2, 2009, 2:12:26 AM6/2/09
to
On Jun 1, 6:22 pm, "M. Shoaib Surya" <shoaibsu...@hotmail.com> wrote:
> Are you using a non-Administrator account to install your application on the
> systems where it doesn't work fine? That might be the reason is it not
> working there.
>
> Other than that, using "vsdrfCOM" for the Register property is considered a
> better choice for a variety of reasons and it usually has the same
> end-result as "vsdrfCOMSelfReg" in most cases. It might even help you in
> your problem of installating with a less privileged user if that actually
> happens to be your issue.
>
> You can read more about "vsdrfCOMSelfReg" and "vsdrfCOM" at:http://www.simple-talk.com/dotnet/visual-studio/getting-started-with-...
>
> Regards,
> Shoaib.
>
> "Rohini" <changtikav...@gmail.com> wrote in message

>
> news:9dfbd195-9125-473e...@h28g2000yqd.googlegroups.com...
>
>
>
> > Hi,
>
> > I have created the VS 2005 setup project, which includes the
> > NTGraph.ocx file.
> > For this file the Register property set to "vsdrfCOMSelfReg".
>
> > When install this setup, it regiters the NTGraph.ocx file succesfully,
> > but when I run my application, application crashes while using this
> > varaible only.
>
> > In Some systems it works fine, some systems it crashes.
> > I am installing on Windows XP, SP3 system.
>
> > When register the OCX file, if it is registered in HKEY_CLASSES_ROOT,
> > then application works fine.
>
> > In Which ever machine, it is not working, the ocx file is registered
> > in some other location , not in HKEY_CLASSES_ROOT.
>
> > If somebody faced this kind of issue, please respond.
>
> > Thanks in advance.- Hide quoted text -
>
> - Show quoted text -

Thanks Shoaib,

I have tried this option also, it is not working.
Even i have triend registering the NTgraph.ocx by using regsvr32 on
that system, then also it is not working.
Even I have tried on Admin - login, then also it is not working...

Is there any solution that I can try it out.
Thanks & Regards,

M. Shoaib Surya

unread,
Jun 4, 2009, 10:54:15 AM6/4/09
to
Rohini,
If it is failing to register using regsvr32 as well, then try checking the
dependencies of NTgraph.ocx on that system (using Depends utility). It might
be the case that NTgraph.ocx depends on some other DLLs and the systems
where it works fine have all these dependencies resolved somehow, while
others do not.

Regards,
Shoaib.

"Rohini" <changt...@gmail.com> wrote in message

news:c701eda0-9ecf-4e90...@r33g2000yqn.googlegroups.com...

0 new messages