473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ActiveX to HTML troubles.

Hello everyone, I am having trouble with my ActiveX creation.
I believe everything is coded correctly, only when the ActiveX is downloaded, after going through the security thing, it claims that the control has been disabled, and then doesn't appear at all.

I am not sure why it does this.

Here is the setup file information:
Expand|Select|Wrap|Line Numbers
  1. [version]
  2.     signature="$CHICAGO$"
  3.     AdvancedINF=2.0
  4.  
  5. [DefaultInstall]
  6. CopyFiles=install.files
  7. RegisterOCXs=RegisterFiles
  8.  
  9. [Add.Code]
  10. loadgame_et.ocx=loadgame_et.ocx
  11.  
  12. [install.files]
  13. loadgame_et.ocx=loadgame_et.ocx
  14.  
  15. [loadgame_et.ocx]
  16.     file-win32-x86=thiscab
  17.     clsid={0E33EB0C-6321-4F69-B547-84A4063995FC}
  18.     FileVersion=1,0,0,1
  19.     RegisterServer=yes
  20.     DestDir=11
  21.  
  22. [RegisterFiles]
  23. %11%\loadgame_et.ocx

And the page HTML code is:
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>Run the web game</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  5. </head>
  6.  
  7. <body bgcolor="#666699" text="#FFFFFF">
  8. <div align="center"><object classid="clsid:0E33EB0C-6321-4F69-B547-84A4063995FC"
  9.     codebase="loadgame_et.cab#version=1,0,0,1"
  10.     align="CENTER" width=700 height=524 id="T1">
  11.     <param name="Enable" value=1>
  12.     <param name="strDownload" value="Game.gam">
  13.     <param name="strRun" value="Game\Mario 101">
  14.     <param name="strGameTitle" value="Mario 101">
  15.     <param name="ClBackGround" value=0>
  16.     <param name="ClBar" value=16711680>
  17.     <param name="ClText" value=8421504>
  18.     <param name="ClBEdge" value=8388608>
  19.     <param name="strText" value="">
  20.     <param name="ScreenMode" value=0>
  21.   </object><br>
  22.   <font size="2" face="Arial, Helvetica, sans-serif" color="#333333">The web game 
  23.   is runing, please read the document if it doesn't work properly.</font></div>
  24. </body>
  25. </html>
if anyone wants to check ou the page, its
estatualgui.tripod.com/Game/run.html

right now it is for testing purposes only.


*Note- it said invalid handle once too.*
Dec 5 '07 #1
1 2276
Death Slaught
1,137 1GB
The font tag, and the align attribute, bgcolor attribute, and the text attribute, have been deprecated, you should use CSS instead.

Besides that, I don't believe the problem is in your HTML, you could try putting all your values in quotes value="1".

Are you sure the activeX control completely downloads?

Thanks, Death

PS - The address you provided doesn't exist. The problem could be do to the fact of tripod edits your code.
Dec 5 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Filip Wtterwulghe | last post by:
Hello, We have a number of VB6 ActiveX applicationmodule(s) that are loaded into a IE6 WebBrowserControl . This WebControl is imbededded into Application X . Now We want to send a message from...
7
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) ...
5
by: Turner | last post by:
Hi there, I'm not a flash programmer myself but I work with some of them. It seems whenever I browse to a page developped by these folks the browser receives it as if there were ActiveX content...
0
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all...
0
by: ann | last post by:
Hi, I am trying to add an ActiveX control on my ASP.NET web form (the language for code behind is C#). I have some client-side vbscript to handle events from the html input buttons. In the...
1
by: Frank | last post by:
Short Version of Question: Can anyone provide an example of how I should embed the ActiveX and license, and then use it in a function?
1
by: kret | last post by:
Hi, this is my first post so first of all I would like to say hello :) Now getting to my problem. In my job I have to create an ActiveX control in .NET 1.1 that can be lunched from IE....
0
by: Mr Seth T | last post by:
Hey, I have spent several weeks now trying to find out how to get an activex control i have created to work outside of my testing environment. I am developing a web app and I need it to run...
3
by: PhilTheGap | last post by:
Hello, I woulf like to hide an activeX object in a aspx page. The ActiveX is decalred statically in the HTML code, and I'e tried to set the html visible "property" to "false" in the javascript...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.