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

intellisense

Hi,
I have a class called "myclass", with a property "Deal"
I want to show my prgrammers (while they are using the object to myclass)
available "Deals" which are available in XML file
as intellisense

ex. objmyclass.Deal. <All values from xml>

I tried but nothing worked... If anybody has a solution please reply...

Rahul
Mar 21 '07 #1
4 1203
Rahul,
If your property of enumerated type, it will intellisense possible values,
for example

Public Enum Deals
Deal1
Deal2
End Enum

Public Property Deal() As Deals
....
End Property

HTH

"Rahul" wrote:
Hi,
I have a class called "myclass", with a property "Deal"
I want to show my prgrammers (while they are using the object to myclass)
available "Deals" which are available in XML file
as intellisense

ex. objmyclass.Deal. <All values from xml>

I tried but nothing worked... If anybody has a solution please reply...

Rahul
Mar 21 '07 #2
but i want it at design time ... when the programmer is writing a code ..
I didn't really get it ...

Rahul

"Sergey Poberezovskiy" <Se*****************@discussions.microsoft.comwrot e
in message news:C6**********************************@microsof t.com...
Rahul,
If your property of enumerated type, it will intellisense possible values,
for example

Public Enum Deals
Deal1
Deal2
End Enum

Public Property Deal() As Deals
...
End Property

HTH

"Rahul" wrote:
>Hi,
I have a class called "myclass", with a property "Deal"
I want to show my prgrammers (while they are using the object to myclass)
available "Deals" which are available in XML file
as intellisense

ex. objmyclass.Deal. <All values from xml>

I tried but nothing worked... If anybody has a solution please reply...

Rahul

Mar 21 '07 #3
Rahul,

Not sure what you mean - VB will intellisense enumerations - if you want to
expand on the requirements, please provide more details.

Sergey

"Rahul" wrote:
but i want it at design time ... when the programmer is writing a code ..
I didn't really get it ...

Rahul

"Sergey Poberezovskiy" <Se*****************@discussions.microsoft.comwrot e
in message news:C6**********************************@microsof t.com...
Rahul,
If your property of enumerated type, it will intellisense possible values,
for example

Public Enum Deals
Deal1
Deal2
End Enum

Public Property Deal() As Deals
...
End Property

HTH

"Rahul" wrote:
Hi,
I have a class called "myclass", with a property "Deal"
I want to show my prgrammers (while they are using the object to myclass)
available "Deals" which are available in XML file
as intellisense

ex. objmyclass.Deal. <All values from xml>

I tried but nothing worked... If anybody has a solution please reply...

Rahul


Mar 21 '07 #4
I want it dynamically to happen ... say I add a new value later, that should
also get reflected,

Rahul

"Sergey Poberezovskiy" <Se*****************@discussions.microsoft.comwrot e
in message news:C6**********************************@microsof t.com...
Rahul,
If your property of enumerated type, it will intellisense possible values,
for example

Public Enum Deals
Deal1
Deal2
End Enum

Public Property Deal() As Deals
...
End Property

HTH

"Rahul" wrote:
>Hi,
I have a class called "myclass", with a property "Deal"
I want to show my prgrammers (while they are using the object to myclass)
available "Deals" which are available in XML file
as intellisense

ex. objmyclass.Deal. <All values from xml>

I tried but nothing worked... If anybody has a solution please reply...

Rahul

Mar 26 '07 #5

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

Similar topics

8
by: andrew.queisser | last post by:
Yesterday I typed in some C++ code that called a function with two ints. Intellisense (auto-complete) helpfully told me that the first formal parameter was called "frontLight" and the second...
6
by: Stefan Kronberg | last post by:
I'm working on a solution containing about 20 projects. Some of the projects contain class definitions that are used in other of the projects. Most of the time intellisense is working ok, i.e. if I...
1
by: Christopher W. Douglas | last post by:
I'm working in VB.Net, using Visual Studio 2003. I have a project, let's call it Foo, that contains common methods, forms, and objects I use in other projects. It compiles as Foo.dll, which I...
0
by: Jim | last post by:
I had a strange problem the other day when using Intellisense, and wondering if anyone has any experience with or advice on this... Just to give some quick background, I have a multi-tier...
1
by: Yaron | last post by:
Hi, I have a custom ListView-type control that I designed a few months ago. The control is completely stable and functional. However, often, the Visual Studio .NET IDE's Intellisense will lose and...
9
by: Ulf Lindback | last post by:
Hi! We have an application surveillance product with a number of API's for different languages; one of them is a C API. Now I wonder how we can supply intellisense to our Visual Studio.Net...
3
by: AJ | last post by:
I am using Microsoft Visual C++ .NET in Visual Studio 2003. Why there is no intellisense in MC++? Any workarounds?
12
by: Peteroid | last post by:
I was creating my application just fine for the last 3 weeks or so. Then, starting this morning, IntelliSense seems to be having problems. It goes into a locked 'Updating IntelliSense..." mode....
5
by: wal | last post by:
Hello, I'm using __declspec(property) to access get/set methods as properties (like in C# and VB.NET). Now, the problem is that both the property name and the get/set methods show in the...
3
by: Travis | last post by:
Hi, I was a user of Visual C# for a while and have gotten used to the Intellisense for that program. I went to try Visual Basic, and the intellisense is so much different. I'll try to make an...
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?
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
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,...
0
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...

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.