Re: ActiveX create problem in Vista



Yes, it's really sounds like Vista security issue.

We are now working on enhancing of our registration program to solve these
problems.

Thanks!


"Jan Hyde (VB MVP)" wrote:

Igor <Igor@xxxxxxxxxxxxxxxxxxxxxxxxx>'s wild thoughts were
released on Thu, 2 Aug 2007 03:22:02 -0700 bearing the
following fruit:

No, we used our service program that registers each of ActiveX. It seems
there is a problem.
I read each post in this conversation and understand that there is some kind
of relation between setup program name and registration of ActiveX.

We made simple test, created batch file called "install.bat" with
registration of some our ActiveX components and executed it.
The result was successful and we now able to access to these components.

Then it does sound like you've fallen foul of the change in
the way security works in Vista and your program would
probably have worked fine if it were run with elevated
privileges.


Thanks!


"Jan Hyde (VB MVP)" wrote:

Igor <Igor@xxxxxxxxxxxxxxxxxxxxxxxxx>'s wild thoughts were
released on Wed, 1 Aug 2007 22:48:00 -0700 bearing the
following fruit:

Hi !
The problem is simple!

We have program that contains some EXEs and DLLs. Each DLL compiled as
ActiveX. Whole program developed on Visual Basic 6 with SP6.
Of cause, we have some third party controls from Infragistics.

That's all ! We have no problem on all operation systems except Vista.
Installation and registration passed successfully. Of cause, user that
installed and registered has administrator right. In addition, hi is domain
administrator.

Well the user having admin rights is irrelevant what is
important is that the setup is run with admin rights.

Did the setup program have a 'shield' icon on it when placed
on the vista machine?

j


But when we try to execute, we get the error.

Thanks!


"Jan Hyde (VB MVP)" wrote:

Igor <Igor@xxxxxxxxxxxxxxxxxxxxxxxxx>'s wild thoughts were
released on Tue, 31 Jul 2007 06:30:00 -0700 bearing the
following fruit:

You mean that we have to execute our program under right of administrator?
We did, it does not make any difference.

No, but the IDE ain't gonna work well without admin.

Registration of ActiveX successfully, but we cannot create objects.
The user, who runs the program not just local machine administrator, but
also network and domain administrator.

Can't say what you problem is but I can say we also have
lots of ActiveX exes and we've not has any problems with
them on Vista.

J

any other ideas?

thanks!


"Ralph" wrote:


"Igor" <Igor@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:80512DA9-0C33-45A4-AA7F-F1FD5D2516DE@xxxxxxxxxxxxxxxx
Hi!
We have problem in ActiveX object creation in Windows Vista.

We have program, developed in Visual Basic 6. It works properly on each
version of Microsoft Windows. The program contains one EXE and some DLLs,
compiled as ActiveX classes.
We built also small test and also got the same error: ActiveX cannot
create
object.

What we have to define in Windows Vista to allow creation of ActiveX
objects. Of cause, registration of each ActiveX DLL passed successfully.

Thanks!
Igor.

You must run VB6 as an Administrator.

No restrictions.

-ralph






--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde


--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde


--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde

.



Relevant Pages

  • Re: ActiveX create problem in Vista
    ... of relation between setup program name and registration of ActiveX. ... "Jan Hyde " wrote: ... We have no problem on all operation systems except Vista. ... installed and registered has administrator right. ...
    (microsoft.public.vb.general.discussion)
  • Re: ActiveX create problem in Vista
    ... We have program that contains some EXEs and DLLs. ... ActiveX. ... We have no problem on all operation systems except Vista. ... installed and registered has administrator right. ...
    (microsoft.public.vb.general.discussion)
  • Re: ActiveX create problem in Vista
    ... we used our service program that registers each of ActiveX. ... We have program that contains some EXEs and DLLs. ... We have no problem on all operation systems except Vista. ... installed and registered has administrator right. ...
    (microsoft.public.vb.general.discussion)
  • Re: ActiveX create problem in Vista
    ... the mini component setup file is less hassle and it's nice and neat. ... Inno scripts can be written in such a way where you start the install and it ... run it on Vista over the network and everything installs correctly. ... |> We have problem in ActiveX object creation in Windows Vista. ...
    (microsoft.public.vb.general.discussion)
  • Re: ActiveX create problem in Vista
    ... We have problem in ActiveX object creation in Windows Vista. ... What we have to define in Windows Vista to allow creation of ActiveX ... Now when I install on Vista, ...
    (microsoft.public.vb.general.discussion)