473,811 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Add Windows Control Library Project into Asp.Net Web Project ?

Hi everyone,
I developed a Windows Control Library Project and build an assembly named
graph.dll.
I add this project into an ASP.NET Web Project using "Add existing project"
and then add a new aspx page named "Graph.aspx " and into html of this aspx
page write this code block :
<body>
<object id="UserControl 1" classid="Graph. dll#Graph.UserC ontrol1" width="940"
height="540">
</object>
</body>
i compile the project and run this page, Graph.aspx
but i cannot view the user control in IE.
i dont know what is the problem?
can anybody help me about this problem?
Aug 19 '05 #1
3 6836
I believe you need to include the virtue directory in "classid" attribute in
order for the client browser to download the control, unless the control has
been installed in GAC of client computer. That is:

<object id="UserControl 1"
classid="http://servername/yourappdirector y/Graph.dll#Graph .UserControl1". ..
..

"Engin H." <En****@discuss ions.microsoft. com> wrote in message
news:89******** *************** ***********@mic rosoft.com...
Hi everyone,
I developed a Windows Control Library Project and build an assembly named
graph.dll.
I add this project into an ASP.NET Web Project using "Add existing project" and then add a new aspx page named "Graph.aspx " and into html of this aspx
page write this code block :
<body>
<object id="UserControl 1" classid="Graph. dll#Graph.UserC ontrol1" width="940" height="540">
</object>
</body>
i compile the project and run this page, Graph.aspx
but i cannot view the user control in IE.
i dont know what is the problem?
can anybody help me about this problem?

Aug 19 '05 #2
thanks norman
i apply and it solves my problem
:)

"Norman Yuan" wrote:
I believe you need to include the virtue directory in "classid" attribute in
order for the client browser to download the control, unless the control has
been installed in GAC of client computer. That is:

<object id="UserControl 1"
classid="http://servername/yourappdirector y/Graph.dll#Graph .UserControl1". ..
..

"Engin H." <En****@discuss ions.microsoft. com> wrote in message
news:89******** *************** ***********@mic rosoft.com...
Hi everyone,
I developed a Windows Control Library Project and build an assembly named
graph.dll.
I add this project into an ASP.NET Web Project using "Add existing

project"
and then add a new aspx page named "Graph.aspx " and into html of this aspx
page write this code block :
<body>
<object id="UserControl 1" classid="Graph. dll#Graph.UserC ontrol1"

width="940"
height="540">
</object>
</body>
i compile the project and run this page, Graph.aspx
but i cannot view the user control in IE.
i dont know what is the problem?
can anybody help me about this problem?


Aug 19 '05 #3
i have another question about my project.
i need to pass parameters to Windows Control Library from aspx page that i
put my user control within <object> tag.
how can i do this?
i need help
thanks

"Engin H." wrote:
thanks norman
i apply and it solves my problem
:)

"Norman Yuan" wrote:
I believe you need to include the virtue directory in "classid" attribute in
order for the client browser to download the control, unless the control has
been installed in GAC of client computer. That is:

<object id="UserControl 1"
classid="http://servername/yourappdirector y/Graph.dll#Graph .UserControl1". ..
..

"Engin H." <En****@discuss ions.microsoft. com> wrote in message
news:89******** *************** ***********@mic rosoft.com...
Hi everyone,
I developed a Windows Control Library Project and build an assembly named
graph.dll.
I add this project into an ASP.NET Web Project using "Add existing

project"
and then add a new aspx page named "Graph.aspx " and into html of this aspx
page write this code block :
<body>
<object id="UserControl 1" classid="Graph. dll#Graph.UserC ontrol1"

width="940"
height="540">
</object>
</body>
i compile the project and run this page, Graph.aspx
but i cannot view the user control in IE.
i dont know what is the problem?
can anybody help me about this problem?


Aug 20 '05 #4

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

Similar topics

0
2046
by: Brett Gerhardi | last post by:
Hi all, I'm having a nightmare with Windows Installer projects and souce control. My situation is that I have a few related windows application / dlls, some generic shared library files and a windows installer to install it. I have all of these in the same solution to enable easy debugging and maximum flexibility. I want my source control to be something like this (from the /$ root) MyBigApplication - vb.net main windows application
4
6725
by: rajendra | last post by:
how to extend existing windows forms control like if i want to add new add method to combo box ,how to go abt. it? can anyone help me abt. this
13
3945
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that .NET creates i get the following error message: "An unhandled exception of type 'System.IO.FileNotFoundException' occurred in VisioTimeline.exe
3
348
by: Engin H. | last post by:
Hi everyone, I developed a Windows Control Library Project and build an assembly named graph.dll. I add this project into an ASP.NET Web Project using "Add existing project" and then add a new aspx page named "Graph.aspx" and into html of this aspx page write this code block : <body> <object id="UserControl1" classid="Graph.dll#Graph.UserControl1" width="940" height="540"> </object>
7
4400
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do ActiveX controls that are to be used by a pda need to be written in the ..net compact framework, or am i missing something else here? i have a HP iPaq 2490 with Windows Mobile Premium installed While i'm at it; does a activex control allow you to...
0
1273
by: tony | last post by:
Hello! I have one solution file that consist of three project. One project that build the exe file. One project that build a class library dll One project that build a windows control dll In the windows control c-tor is there a call to a method in the class libarary. So in the project referense settings for the windows control I have a
2
1861
by: Iwan Budihalim | last post by:
Dear All, I try to create Windows Control Library and embedded it to my web project. after successfull creating the windows control library and put the control to my web all the control show normally. after that moment, i tried to modify my windows control library , change the version number and rebuild the control. and the control doesnt show to my web project. it seems only work once, how to implement the modified windows control library...
2
2009
by: Marek Pavlu | last post by:
Hi, I need develope control library, but can not find any examples on te internet or msdn. I can only generate project from template in VS2005, but in attempt to run after compilation, it do not open the dll library as in the VB.NET :(. Is there any need for some configurations of project in C++/CLI?
3
1222
by: Richard Carpenter | last post by:
I have added a Windows Forms Control Library project to my solution and created a form control (let's call it libForm) in this new project which inherits from System.Windows.Forms.Form. I set the Text property of this form to the name of the application ("MyApp"). When the control library is built and a reference added to the main project, I am able to inherit from libForm in my main project, but the Text property on these new forms remains...
0
9724
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10644
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10379
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10394
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10127
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9201
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7665
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5552
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3863
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.