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

Finding problem in accessing assemble written in c# from vb.net

Hi,

I've a class in c# which is having 2 methods, both having same name
but with different case. Both the methods do not have any input
parameters.Now, how can i access these methods in vb.net since vb.net
is not case sensitive.

Thanks.
swarup

Nov 9 '06 #1
3 1045
Swarup,

Than your programs are not CLS compliant if those methods are public, only
CLS compliant programs can be used in all dotNet languages. If they are
private it is of course not any problem.

Cor

"swarup" <sa*************@yahoo.co.inschreef in bericht
news:11**********************@m73g2000cwd.googlegr oups.com...
Hi,

I've a class in c# which is having 2 methods, both having same name
but with different case. Both the methods do not have any input
parameters.Now, how can i access these methods in vb.net since vb.net
is not case sensitive.

Thanks.
swarup

Nov 9 '06 #2
swarup wrote:
I've a class in c# which is having 2 methods, both having same name
but with different case. Both the methods do not have any input
What do the methods do? Why would you do this in the first place?
parameters.Now, how can i access these methods in vb.net since vb.net
is not case sensitive.
If the two methods are in different namespaces, then you can use the
fully qualified namespace to access each function.

Nov 9 '06 #3

Step 1: Smack the programmer in the head. If that happens to be
you....smack yourself twice.
Step 2: Fix the C# class:
Step 3: Now access it from VB

Why would you have 2 methods differing only by case?!?

Bill


"swarup" <sa*************@yahoo.co.inwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
Hi,

I've a class in c# which is having 2 methods, both having same name
but with different case. Both the methods do not have any input
parameters.Now, how can i access these methods in vb.net since vb.net
is not case sensitive.

Thanks.
swarup

Nov 10 '06 #4

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

Similar topics

2
by: alphatan['a:lfa:ta2n] | last post by:
ASSUME: 1.There's no symbol table of my program. 2.gdb, is my only choice. 3.disassembly code of my program(snatch): 0x08048340 <main+24>: push $0x804840d 0x08048345 <main+29>: call ...
6
by: Jack Addington | last post by:
I've got a bit of a problem acceessing a class that I am using as a 'global' placeholder of numerous static variables I'm using across the application. Basically I need a place to store a reference...
1
by: David T. | last post by:
Is there such a thing as a static constructor of an assembly? In other words is there code that is called when the assembly is loaded? There must be. Is there a way to customize this code? Is...
1
by: Mike Walters | last post by:
Reading the current Namespace.Class, Assemble at runtime I am trying to get the Assemble, Namespace and Class name of a form at runtime. I have several assembles and namespaces in my app, I...
3
by: trent dudei | last post by:
Hello, Here is my scenario: I have a Distances class that contains a GetDistanceFromCities method. This method makes a call to an external 3rd party non-.net asembly (miles32.dll). Everything...
21
by: Hallvard B Furuseth | last post by:
Is the code below valid? Generally a value must be accessed through the same type it was stored as, but there is an exception for data stored through a character type. I'm not sure if that...
3
by: starffly | last post by:
I overloaded operator+ in a class, and I want to invoke this operator in inline assemble like this: _asm call operator+ but it cannot be complied OK. compiler says there are some illegalI...
1
by: me | last post by:
Hi, Im having a few issues with finding exactly which program may be accessing a certain file. Lets say I need to replace a DLL with a newer version, but I need to make sure its not being...
4
by: John Kotuby | last post by:
Hi all, I am using a Repeater in conjunction with a SQLDatasource and SQL Server. One of the controls in the repeater is a HyperlLink as follows: <asp:HyperLink...
1
by: Tom | last post by:
This may be more theory than code, I am currently using a 3rd party TCP client socket tool to read in data from a connection. The tool supports and End of Line(EOL) character. The problem is...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
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...
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.