473,769 Members | 8,096 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do i create an assembly named "SimpleControlS amplesVB"?

hi,I have the following code which gives an error in VB.Net when i run it
that it cant find the assembly SimpleControlSa mplesVB?

any ideas how to resolve this error?
Thanks for any help! J.
Parser Error Description: An
error occurred during the parsing of a resource required to service this
request. Please review the following specific parse error details and modify
your source file appropriately. Parser Error Message: File or assembly name
SimpleControlSa mplesVB, or one of its dependencies, was not found.
Source
Error: Line 1: <%@ Register TagPrefix="Simp leControlSample s"
Namespace="Simp leControlSample s" Assembly="Simpl eControlSamples VB" %>
Line 2:
Line 3: <HTML>
simple1.aspx<%@ Register TagPrefix="Simp leControlSample s"
Namespace="Simp leControlSample s" Assembly="Simpl eControlSamples VB" %>

<html>

<body>

<form method="POST" action="Simple. aspx" runat=server>

<SimpleControlS amples:SimpleVB id="MyControl" runat=server/>

</form>

</body>

</html>

simple.vb:
Imports SystemImports System.Web
Imports System.Web.UI
Namespace SimpleControlSa mples
Public Class SimpleVB : Inherits ControlProtecte d
Overrides Sub Render(Output As HtmlTextWriter) Output.Write("< H2>Welcome to
Control Development!</H2>")
End Sub
End Class
End Namespace

Nov 19 '05 #1
1 1127
I needed to create the assembly (a DLL file) from a DOS prompt!

vbc /t:library /out:bin\SimpleC ontrolSamplesV
B.dll /r:System.Web.dl l /r:System.dll simple.vb
"John Blair" <jo********@hot mail.com> wrote in message
news:3T******** ********@newsfe 3-win.ntli.net...
hi,I have the following code which gives an error in VB.Net when i run it
that it cant find the assembly SimpleControlSa mplesVB?

any ideas how to resolve this error?
Thanks for any help! J.
Parser Error Description: An
error occurred during the parsing of a resource required to service this
request. Please review the following specific parse error details and
modify
your source file appropriately. Parser Error Message: File or assembly
name
SimpleControlSa mplesVB, or one of its dependencies, was not found.
Source
Error: Line 1: <%@ Register TagPrefix="Simp leControlSample s"
Namespace="Simp leControlSample s" Assembly="Simpl eControlSamples VB" %>
Line 2:
Line 3: <HTML>
simple1.aspx<%@ Register TagPrefix="Simp leControlSample s"
Namespace="Simp leControlSample s" Assembly="Simpl eControlSamples VB" %>

<html>

<body>

<form method="POST" action="Simple. aspx" runat=server>

<SimpleControlS amples:SimpleVB id="MyControl" runat=server/>

</form>

</body>

</html>

simple.vb:
Imports SystemImports System.Web
Imports System.Web.UI
Namespace SimpleControlSa mples
Public Class SimpleVB : Inherits ControlProtecte d
Overrides Sub Render(Output As HtmlTextWriter) Output.Write("< H2>Welcome to
Control Development!</H2>")
End Sub
End Class
End Namespace

Nov 19 '05 #2

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

Similar topics

2
6687
by: Mike Nau | last post by:
I've been trying to get a concrete answer to this for the last few days, but have come up short. I'm hoping someone here can help. Is there a way to take a set of c# modules (c# code compiled using csc with the /t:module option) and combine them into a single assembly using the assembly linker or any other tool. For example I have the following compiled c# modules: foo1.netmodule foo2.netmodule
3
2279
by: Avin Patel | last post by:
Hi, I have one weakly named(i.e. not strong named) assembly/xyz.dll. And other strong named assemblies/.dll. I have found that I can't use weakly named assembly with strong named assembly. How can I convert weekly named assembly to strong named assembly. Or other possible way. One more question: If I create assembly for C# with strong name. Can some one else, who is not using strong name, will be able to use it in his C#
3
3949
by: michael | last post by:
General: - Using C# - Using notepad to program (NOT Visual Studio). I have a code-behind file name 'example1.cs'. I want to use an Assembly given to me for a project I'm working on. I have put the assembly named 'assembly1.dll' in the /bin directory. How do I import/load etc the assembly so that I can use it in example1.cs?
1
1428
by: bdwise | last post by:
Has anyone seen a tool that will look at a VS.NET 2003 solution and create assemblyBinding and default bindingRedirect elements for a config file? I want to get away from hand-coding these for a packaged app. Thanks.
1
3539
by: TRI_CODER | last post by:
I am trying to solve the following exception. The exception occurs when my ASP.NET code behind code attemtps to access a remore site using SSL. Please note that all certificates are valid and the remote site is trusted. Also, my web site uses a custom HTTPModule implemented in a DLL named Security.dll. Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll. Description: An unhandled exception occurred during...
5
5655
by: Reddy | last post by:
Hi, I am a newbie to VB.NET. I want to create an assembly in VB.Net using Visual Studio.Net 2003, which will be used in web, mobile web as well as windows applications. There are several types of projects in VB.Net in Visual Studio.Net 2003. Which project type I need to choose? Can anyone please help.
1
936
by: John Blair | last post by:
hi,I have the following code which gives an error in VB.Net when i run it that it cant find the assembly SimpleControlSamplesVB?any ideas how to resolve this error? Thanks for any help! J.Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: File or assembly name...
5
3247
by: RickN | last post by:
I want to creat a new application domain called 'mydomain' and then load an assembly named 'myassembly.dll' into the domain. The assembly is in the folder "C:\Mydata\assembly", which is not the running program folder. I then want to load the 'MainClass" found in 'myassembly'. I'm having a little trouble loading because the assembly is not in the program folder. Any suggestions. Thanks, -- Rick
0
918
by: Brian Richards | last post by:
I just cannot create a strongly named MC++ assembly. I always get an error Error 1 fatal error LNK1256: ALINK operation failed (80090007) : Bad Version of provider. There's no help anywhere. I'm using a pfx file that works fine with all my C# assemblies. Does anyone have any clue how to fix this?
0
9579
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
9414
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10197
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
10032
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...
0
8860
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
7391
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
5293
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...
0
5432
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2810
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.