Hello,
I have 2 classes inside a Namespace: "Calendar" and "Event".
MyNamespace
| --------- Calendar
|-------------Event
VS is not accepting the "Event" as a name to the class.
Is there a way to make VS Studio accept this so I can use something
like:
Dim e As New MyNamespace.Calendar.Event
Thanks,
Miguel 3 1174
Hi,
Event is reserved word in VB.NET. Couldn't you name it something like
CalendarEvent?
--
Teemu Keiski
AspInsider, ASP.NET MVP http://blogs.aspadvice.com/joteke http://teemukeiski.net
"shapper" <md*****@gmail.comwrote in message
news:11*********************@w3g2000hsg.googlegrou ps.com...
Hello,
I have 2 classes inside a Namespace: "Calendar" and "Event".
MyNamespace
| --------- Calendar
|-------------Event
VS is not accepting the "Event" as a name to the class.
Is there a way to make VS Studio accept this so I can use something
like:
Dim e As New MyNamespace.Calendar.Event
Thanks,
Miguel
On Sep 10, 6:29 pm, "Teemu Keiski" <jot...@aspalliance.comwrote:
Hi,
Event is reserved word in VB.NET. Couldn't you name it something like
CalendarEvent?
--
Teemu Keiski
AspInsider, ASP.NET MVPhttp://blogs.aspadvice.com/jotekehttp://teemukeiski.net
"shapper" <mdmo...@gmail.comwrote in message
news:11*********************@w3g2000hsg.googlegrou ps.com...
Hello,
I have 2 classes inside a Namespace: "Calendar" and "Event".
MyNamespace
| --------- Calendar
|-------------Event
VS is not accepting the "Event" as a name to the class.
Is there a way to make VS Studio accept this so I can use something
like:
Dim e As New MyNamespace.Calendar.Event
Thanks,
Miguel
Yes, I can use CalendarEvent ... but I would prefer event so I was
just wondering if this would be possible.
Thanks,
Miguel
Well, it is if you place the name inside Brackets
Public Class [Event]
but that ain't beautiful either
--
Teemu Keiski
AspInsider, ASP.NET MVP http://blogs.aspadvice.com/joteke http://teemukeiski.net
"shapper" <md*****@gmail.comwrote in message
news:11**********************@y42g2000hsy.googlegr oups.com...
On Sep 10, 6:29 pm, "Teemu Keiski" <jot...@aspalliance.comwrote:
>Hi,
Event is reserved word in VB.NET. Couldn't you name it something like CalendarEvent?
-- Teemu Keiski AspInsider, ASP.NET MVPhttp://blogs.aspadvice.com/jotekehttp://teemukeiski.net
"shapper" <mdmo...@gmail.comwrote in message
news:11*********************@w3g2000hsg.googlegro ups.com...
Hello,
I have 2 classes inside a Namespace: "Calendar" and "Event".
MyNamespace
| --------- Calendar
|-------------Event
VS is not accepting the "Event" as a name to the class.
Is there a way to make VS Studio accept this so I can use something
like:
Dim e As New MyNamespace.Calendar.Event
Thanks,
Miguel
Yes, I can use CalendarEvent ... but I would prefer event so I was
just wondering if this would be possible.
Thanks,
Miguel This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Andy Read |
last post by:
Hello all,
I have the requirement to produce source code that produces an object
hierarchy.
Example:
Root
|
Folder 1
|
by: Christopher W. Douglas |
last post by:
I am writing a VB.NET application in Visual Studio 2003. I have written a
method that handles several events, such as closing a form and changing the
visible status of a form. I have some code...
|
by: Mark |
last post by:
Hi,
I'm looking for some ideas on how to build a very simple Event processing
framework in my C++ app. Here is a quick background ...
I'm building a multithreaded app in C++ (on Linux) that...
|
by: VK |
last post by:
My original idea of two trains, however pictural it was, appeared to be
wrong. The truth seems to be even more chaotic.
IE implements its standard down-up model: any mouse event goes from the...
|
by: Charles Law |
last post by:
Mr "yEaH rIgHt" posted the following link about a week ago in answer to my
question about removing event handlers.
> http://www.vbinfozine.com/t_bindevt.shtml
Following on from that post, the...
|
by: Jack Russell |
last post by:
My unstanding of all VB up to and including vb6 is that an event could
not "interrupt" itself.
For instance if you had a timer event containing a msgbox then you would
only get one message.
...
|
by: JohnR |
last post by:
In it's simplest form, assume that I have created a usercontrol,
WSToolBarButton that contains a button. I would like to eventually create
copies of WSToolBarButton dynamically at run time based...
|
by: jeff |
last post by:
New VB user...developer...
Situation...simplified...
- I want to wrap a pre and post event around a system generated where the
pre-event will always execute before the system event and the...
|
by: Daniela Roman |
last post by:
Hello,
I try to fire an event under a button click event and maybe anybody can give
a clue please.
I have let's say a WEB grid with PageIndexChanged event:
private void...
|
by: jaysonnward |
last post by:
Hello All:
I've recently been recreating some 'dropdown menus' for a website I
manage. I'm writing all my event handlers into my .js file. I've got
the coding to work in Firefox, but the...
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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: 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,...
|
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...
|
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...
|
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,...
| |