473,396 Members | 2,109 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,396 software developers and data experts.

GetType() of a type in another project

Hi all
I'm currently using Type.GetType() method to get the type of the string input parameter. But the entire parameter is in another namespace and other project like this:

Type.GetType("OtherNamespace.enmuType1")

but this method always return null.
Can anybody help me by this method?
Nov 21 '10 #1
1 3331
Christian Binder
218 Expert 100+
You could try using Type t = typeof(OtherNamespace.enmuType19;.
So it will be checked during compile-time if that type exist.
Nov 22 '10 #2

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

Similar topics

1
by: David Gagné | last post by:
Hello, My C# solution is composed of 2 projects, a class library project and a Windows application project. The window in one project calls the DLL in the other. That's ok. Now, to better test...
1
by: Sandeep Chikkerur | last post by:
Hi, How do I call a function from one project to a function in another project? e.g. In VC++ environment, if u've two different projects , say proj1 & proj2 /****************************...
4
by: moondaddy | last post by:
I have a vb.net asp 1.1 project where when I step through the code behind of a page, a new codebehind with the same name appears in the IDE and executes. so now I have 2 classes open in the IDE...
3
by: Tee | last post by:
Hi Does anyone know how to run another project that inside the same solution ? The project that going to be run is a windows application project. If I don't want to run the EXE, do I have any...
3
by: blue_nirvana | last post by:
How do you access a form or code from another project in the same solution? I have a solution that has several projects and I want to be able to load a form or call code from say Project2 from...
1
by: Peter Stojkovic | last post by:
What is the correct way to move BITMAPS and drawings inside a windows-forms from one project to another project. The problem is the following row: Dim resources As...
10
by: Vik | last post by:
From a Web page, I need to open another page created in another project and pass some object (a database connetion) to that page. Looks like the second project has its own Application and Session...
2
by: ad | last post by:
I have two project in a solution, they belong two different namespace. How can I get the embedded resource of another project?
2
by: Kevin | last post by:
Hi! It's possible load the code behind from another project in C# 1.1 ? I want to compile my website in one dll per page, like does Asp.Net 2.0 Thanks
0
by: Ramesh2006 | last post by:
Hi, The following error occurred when i programmatically compile another project from my present project. The Error: error CS0234:The type or namespace name 'Windows' does not exist in the...
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: 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...
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...
0
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...
0
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,...

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.