473,320 Members | 1,840 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,320 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 1201
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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.