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

bin and resource directory

questions:

If you have com objects that were created in something like C++, VB, etc.
Would it be true that if you added them to your project in VS.NET that you
wouldn't need to manually register them on the web server, i.e. regsvr32?

And if so is just placing them in the bin suffice? Or do you need to add
them as a reference? What should be a reference? I.e. Outside of your project
items (i.e. I add controls as a reference, etc.)

thanx.
Nov 19 '05 #1
2 1122
Hi Chris,

AFAIK, all COM components associated with the application must be installed
in the Windows registry. However, you use the type library at design time to
help generate the interop portions in .NET.
http://msdn.microsoft.com/library/de...pplication.asp
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
questions:

If you have com objects that were created in something like C++, VB, etc.
Would it be true that if you added them to your project in VS.NET that you
wouldn't need to manually register them on the web server, i.e. regsvr32?

And if so is just placing them in the bin suffice? Or do you need to add
them as a reference? What should be a reference? I.e. Outside of your
project
items (i.e. I add controls as a reference, etc.)

thanx.


Nov 19 '05 #2
Thank you for your response. Let me see if I can add some insight to my
confusion:

Before in ASP.net I would create a com+ object in VB complie it (Apartment
threaded) and register it using regsvr32 on the server, then I would be
available to my app.

In ASP.NET, I create a VB code form and compile it manually (vbc) and then
add it to my project as a reference and it works great. No reference in any
pages except New Namespace and class reference. i.e.:
Dim qc2005s As New qc2005s.clsqc2005

I also use 3rd party components so I add them as references and then on the
page they are used write something like:
<%@ Register TagPrefix="ew" Assembly="eWorld.UI, Version=1.9.0.0,
Culture=neutral, PublicKeyToken=24d65337282035f2" Namespace="eWorld.UI" %>

I read the article on the link you provided. Is it says that for the Com
objects in this new project that since they are C++ that they need to be
registered on the server using regsvr32?

Thank you for being patient.
"Ken Cox [Microsoft MVP]" wrote:
Hi Chris,

AFAIK, all COM components associated with the application must be installed
in the Windows registry. However, you use the type library at design time to
help generate the interop portions in .NET.
http://msdn.microsoft.com/library/de...pplication.asp
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
questions:

If you have com objects that were created in something like C++, VB, etc.
Would it be true that if you added them to your project in VS.NET that you
wouldn't need to manually register them on the web server, i.e. regsvr32?

And if so is just placing them in the bin suffice? Or do you need to add
them as a reference? What should be a reference? I.e. Outside of your
project
items (i.e. I add controls as a reference, etc.)

thanx.


Nov 19 '05 #3

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

Similar topics

2
by: Alexander Wehrli | last post by:
Hi, I embedded some configuration XML-File into my assembly. Everything goes fine if I want to read these Properties. But if I want to change a property, the runtime says me that this stream is...
0
by: Patrick | last post by:
Hi all, I have a very strange problem with my resource files. I have build an applicatie which uses resource files, but for some reason only the default language works as it should. I use the...
1
by: Graham | last post by:
H I have two resource files: strings.resx and strings.fr.res Both files have the build action property set to Embedded Resource When I build my project, the dll is placed under the bin/debug...
2
by: Steve M | last post by:
I am having a really strange problem. I have a site setup in a virtual directory that fails with the error below. It works on other web servers that are network load balanced with this server. I...
3
by: Jules | last post by:
i'm working with translators that just want to translate "web pages" and not deal with resource files. i'd like to have a file structure that looks sort of like this: / <- root directory where...
8
by: Andreas Zita | last post by:
Hi Im creating my first 2.0 site and I cant find the Build Action property? I want to embedd an image-file in my site-assembly but I don't know how? In 1.1 I could set Build Action to Embedded...
1
by: vecozo | last post by:
Centralized resource files Hi, We are considering to migrate our custom asp.net localization procedure, to one that stored .Text properties of controls in a SQL database, towards the usage of...
2
by: Daniel | last post by:
I am just investigating on .resx and .resource files using asp.net. I am attempting to develop a webpage in Dreamweaver on an asp.net webserver. As i read around the net, using a .resource file...
3
by: andho | last post by:
I need to mock a resource like a directory in one of my unit tests. The method is checking if the directory exists and i don't want to create a directory just for testing purposes so is there anyway...
8
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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:
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.