|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Insert ActiveX into HTMLHi, Everyone!
I have developed an activeX control in VB6 and compiled it to ocx. Using Frontpage, I have inserted the control into my web page. I tried loading the page on my computer, and it correctly showed the activeX which I have developed. The activeX did not load on the other computers (other than mine). How do I get around this obstacle? <simon***@yahoo.com> wrote in message
news:1128826695.422791.292850@f14g2000cwb.googlegroups.com... Depends on how it is failing to load and what computers.> Hi, Everyone! > > I have developed an activeX control in VB6 and compiled it to ocx. > Using Frontpage, I have inserted the control into my web page. I tried > loading the page on my computer, and it correctly showed the activeX > which I have developed. The activeX did not load on the other computers > (other than mine). > > How do I get around this obstacle? > Most PCs have security prohibitions against allowing un-signed ActiveX components to be loaded. (I certainly do.) It will likely only work with IE and a Windows platform only, so what browser, O/S, are they using? In message <pr2dnYU2A70lg9TeRVn***@arkansas.net>, Ralph
<nt_consultin***@yahoo.com> writes Show quoteHide quote > The main thing you must do in order to make this work properly on other ><simon***@yahoo.com> wrote in message >news:1128826695.422791.292850@f14g2000cwb.googlegroups.com... >> Hi, Everyone! >> >> I have developed an activeX control in VB6 and compiled it to ocx. >> Using Frontpage, I have inserted the control into my web page. I tried >> loading the page on my computer, and it correctly showed the activeX >> which I have developed. The activeX did not load on the other computers >> (other than mine). >> >> How do I get around this obstacle? >> > >Depends on how it is failing to load and what computers. >Most PCs have security prohibitions against allowing un-signed ActiveX >components to be loaded. (I certainly do.) It will likely only work with IE >and a Windows platform only, so what browser, O/S, are they using? > PC's is to implement the iObjectSafty interface and the return values to "Safe For Scripting" and "Safe To Initializse". If you have built the control correctly there should be no need to install VB6 as someone else suggested. You MUST however make sure your little install package for the control includes any dependancies required by it. Failing to do so is the common cause for failure. -- Andrew D. Newbould E-Mail: newsgroups@NOSPAMzadsoft.com ZAD Software Systems Web : www.zadsoft.com > Hi, Everyone! I had exactly the same problem a few years ago. What I found was that> > I have developed an activeX control in VB6 and compiled it to ocx. > Using Frontpage, I have inserted the control into my web page. I tried > loading the page on my computer, and it correctly showed the activeX > which I have developed. The activeX did not load on the other computers > (other than mine). > > How do I get around this obstacle? installing a copy of VB6 (the full IDE) on a test machine (I deleted it straight after the test - honest) solved the problem. Looking further into it, it seems that the problem was a data access component (it may have been RDO) was not installing from the codebase to the client PCs and was shafting the whole control. To see if you have a similar problem, it might be worth creating a new ActiveX control using only the standard (i.e. default) VB components (say, a text box and a button) and seeing how that loads on other machines. If that is the problem, I'm afraid I never got to the very bottom of a fix as I just gave up and rewrote the application in .ASP with ADO. It was worth the learning process too - especially these days very few people will allow ActiveX controls into their browsers. Cheers, Tony.
Visual Basic 6.0 Working Model
Call Sub! Fill a FlexGrid control Editing an already open word document with VB6 Convert hex string to a byte How should one form call another? Point me in the right direction - Mouse utility... Simulation! Which Form Has Invoked The Sub! vbaccelerator - compile ListView for Unicode? |
|||||||||||||||||||||||