Link to home
Start Free TrialLog in
Avatar of eg252
eg252

asked on

can't create activex object

when i use terminal services to start my database I get err429, but when i log in to a desktop and run the code it works fine. here's the code:
Dim WithEvents SW As SHDocVw.ShellWindows
Dim IE As SHDocVw.InternetExplorer
Private Sub Form_Load()
   
    Set SW = New ShellWindows

End Sub

 
Avatar of bsncs02
bsncs02

?? You usually get the Can't create Active X ERROR when you are missing a dll needed to creare the control.
Avatar of eg252

ASKER

well, do it yourself. create a form. put that code on it. put it on a terminal server. log in to the terminal server. it runs fine.. then log in with the "start this program" option. it doesn't work
eg252 ,
   Are you using early or late binding for your ActiveX control?
Avatar of eg252

ASKER

IT DOESN'T MAKE A DIFFERENCE. I ALREADY ASKED MICROSOFT, AND THEY ANSWERED THAT IT IS BY DESIGN, THAT WHEN YOU LOG IN TO TS USING THE PROGRAM, YOU DO NOT HAVE PERMISSION TO RUN THE INTERNET CONTROLS.
Then you don't havea question just a GRIPE.
Avatar of eg252

ASKER

NO. I LEFT THE QUESTION HERE AND GOT NO ANSWER. I WAS FORCED TO CALL MICROSOFT SUPPORT. THEY ANSWERED ME THAT THIS BUG IS "BY DESIGN" - AND THAT MY QUESTION REMAINS UNANSWERED.
well. Good luck.
Avatar of eg252

ASKER

refund . this question has no answer
ASKER CERTIFIED SOLUTION
Avatar of PAQ_Man
PAQ_Man
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial