473,387 Members | 1,495 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,387 software developers and data experts.

Contols and the <object> tag

Hey all,

from the microsoft web site it is possible to place a control inside
the object tag. They give a demo project from which to demonstrate
this. The only problem is when i create my own project the control
appears blank. Nothing is there.

Anyone have a similar problem or know what to do?

Cheers,
Clive
Nov 18 '05 #1
4 1248
An <object> tag will hold a client side control. Can you tell us more about
the kind of control you are trying to use? ActiveX? WinForms?

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Sailor Foley" <ne******@yahoo.co.uk> wrote in message
news:c4**************************@posting.google.c om...
Hey all,

from the microsoft web site it is possible to place a control inside
the object tag. They give a demo project from which to demonstrate
this. The only problem is when i create my own project the control
appears blank. Nothing is there.

Anyone have a similar problem or know what to do?

Cheers,
Clive

Nov 18 '05 #2
sorry,
i have developed a .net windows forms control and am trying to run it
inside the object tag as per an article entitled "Return of the rich
client" on msdn.microsoft.com. What comes up is a square with a red
'x' in the corner as if it were a ActiveX control that wasn't there.

Any ideas??

"Chris Jackson" <chrisjATmvpsDOTorgNOSPAM> wrote in message news:<O5**************@TK2MSFTNGP12.phx.gbl>...
An <object> tag will hold a client side control. Can you tell us more about
the kind of control you are trying to use? ActiveX? WinForms?

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Sailor Foley" <ne******@yahoo.co.uk> wrote in message
news:c4**************************@posting.google.c om...
Hey all,

from the microsoft web site it is possible to place a control inside
the object tag. They give a demo project from which to demonstrate
this. The only problem is when i create my own project the control
appears blank. Nothing is there.

Anyone have a similar problem or know what to do?

Cheers,
Clive

Nov 18 '05 #3
What value do you have for your clsid in the object tag? Does this point to
the right dll and the right fully qualified namespace of the user control
you are trying to implement? Does your client have the .NET framework
installed? Also note that you can include html inside of your object tag to
display something if your control fails to load, such as if the client
doesn't have the framework installed.

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Sailor Foley" <ne******@yahoo.co.uk> wrote in message
news:c4*************************@posting.google.co m...
sorry,
i have developed a .net windows forms control and am trying to run it
inside the object tag as per an article entitled "Return of the rich
client" on msdn.microsoft.com. What comes up is a square with a red
'x' in the corner as if it were a ActiveX control that wasn't there.

Any ideas??

"Chris Jackson" <chrisjATmvpsDOTorgNOSPAM> wrote in message
news:<O5**************@TK2MSFTNGP12.phx.gbl>...
An <object> tag will hold a client side control. Can you tell us more
about
the kind of control you are trying to use? ActiveX? WinForms?

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Sailor Foley" <ne******@yahoo.co.uk> wrote in message
news:c4**************************@posting.google.c om...
> Hey all,
>
> from the microsoft web site it is possible to place a control inside
> the object tag. They give a demo project from which to demonstrate
> this. The only problem is when i create my own project the control
> appears blank. Nothing is there.
>
> Anyone have a similar problem or know what to do?
>
> Cheers,
> Clive

Nov 18 '05 #4
in the classid i have
http://localhost/folder/filename.exe...ce.controlname

From the microsoft web site and the example of theirs i can run here on
my local machine referencing an exe works just like referencing a dll. I
know putting the control inside a dll is easier but i'm using classes
that can't be referenced to inside a dll(e.g. System.Drawing) hence the
use of and exe.

is there any way to maybe debug as to why the control doesn't load?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
6
by: Christopher Benson-Manica | last post by:
(I posted this as a reply to my thread about iframes, but I think it may get mostly ignored there.) http://ataru.gomen.org/files/test.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
4
by: KC | last post by:
Could some one explain to me the casting rules for sending generic lists, ex. List<Person>, to a function that accepts List<object>? I cannot get the following easy-cheesy app to work. I get the...
1
by: easy.lin | last post by:
.... <object id="10">door</object> .... I try to write this in clipse XSD editor <element name="object" type="string"> <attribute name="id" type="int"></attribute> </element> but get wrong...
4
by: colson | last post by:
Hi, If I have a class A, and a List<List<object>> containing instances of A. How do I explicitly cast List<List<object>> as List<List<A>>?
4
by: msnews.microsoft.com | last post by:
hello every one i am using media player in internet explorer but i cannot access it directly in code behind, so do you know a way to access it? <object id="video123"...
9
by: Stephan Steiner | last post by:
Hi I seem to have a bit of trouble understanding one bit of how generics work: In C#, every class automatically derives from object, and inherits a bunch of properties (i.e. ToString()). Thus,...
4
by: Alan Silver | last post by:
Hello, I have an <objecttag that is used to display a Flash file. I would like the whole Flash file to be a link. The obvious thought would be to do this... <a...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.