Click here to Skip to main content
16,005,281 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: CRC Calculation Pin
MatthysDT14-Jul-08 1:35
MatthysDT14-Jul-08 1:35 
QuestionTreeView Problem - Dot Net Pin
Dot Net Jantu7-Jul-08 20:10
Dot Net Jantu7-Jul-08 20:10 
QuestionAdding Intellisense/AutoComplete/Error Marking to Application? Pin
Saul Johnson7-Jul-08 8:22
Saul Johnson7-Jul-08 8:22 
AnswerRe: Adding Intellisense/AutoComplete/Error Marking to Application? Pin
jzonthemtn7-Jul-08 10:09
jzonthemtn7-Jul-08 10:09 
GeneralRe: Adding Intellisense/AutoComplete/Error Marking to Application? Pin
Saul Johnson7-Jul-08 20:21
Saul Johnson7-Jul-08 20:21 
GeneralRe: Adding Intellisense/AutoComplete/Error Marking to Application? Pin
jzonthemtn8-Jul-08 12:02
jzonthemtn8-Jul-08 12:02 
GeneralRe: Adding Intellisense/AutoComplete/Error Marking to Application? Pin
Saul Johnson8-Jul-08 19:56
Saul Johnson8-Jul-08 19:56 
QuestionMultiple interfaces in a type definition Pin
supercat97-Jul-08 6:32
supercat97-Jul-08 6:32 
It's possible to specify that a generic class will only accept items which meet multiple qualifications. For example, the class could be specified as working with Control objects which implement the iEnumerable and iSuperMagic interfaces by declaring it as something like
Class Whatever(of {Control,iComparable,iSuperMagic})
. Is there any way to specify that method arguments and return values, class fields, etc. should likewise possess multiple qualities?

It would be possible to ignore the interface requirement in the definition and use typecasts to make the necessary calls (e.g. have a method accept an ordinary control and then use a typecast to use other interface methods or properties, e.g.
if ctype(iComparable,theObject).Comparer > 0 then
but that seems like rather a kludge, and it would also delay until run-time type checking should should in many cases be possible at compile time.

Is there some workable syntax to produce complicated types that I'm simply not seeing? I've tried many variations of the "brace" notation and can't get it to work.
AnswerRe: Multiple interfaces in a type definition Pin
Christian Graus7-Jul-08 8:20
protectorChristian Graus7-Jul-08 8:20 
GeneralRe: Multiple interfaces in a type definition Pin
supercat97-Jul-08 17:48
supercat97-Jul-08 17:48 
GeneralRe: Multiple interfaces in a type definition Pin
Daniel Grunwald7-Jul-08 23:57
Daniel Grunwald7-Jul-08 23:57 
GeneralRe: Multiple interfaces in a type definition Pin
supercat98-Jul-08 5:28
supercat98-Jul-08 5:28 
QuestionMP3 file over phone Pin
Jason_martin877-Jul-08 5:56
Jason_martin877-Jul-08 5:56 
QuestionNot able to Debug application. Pin
Binod K7-Jul-08 4:00
Binod K7-Jul-08 4:00 
AnswerRe: Not able to Debug application. Pin
Rupesh Kumar Swami7-Jul-08 4:17
Rupesh Kumar Swami7-Jul-08 4:17 
Question[Message Deleted] Pin
rohitpg7-Jul-08 2:31
rohitpg7-Jul-08 2:31 
AnswerRe: Printing Issue Pin
Rupesh Kumar Swami7-Jul-08 2:47
Rupesh Kumar Swami7-Jul-08 2:47 
GeneralRe: Printing Issue Pin
rohitpg7-Jul-08 2:55
rohitpg7-Jul-08 2:55 
GeneralRe: Printing Issue Pin
Rupesh Kumar Swami7-Jul-08 3:14
Rupesh Kumar Swami7-Jul-08 3:14 
GeneralRe: Printing Issue Pin
rohitpg7-Jul-08 3:30
rohitpg7-Jul-08 3:30 
GeneralRe: Printing Issue Pin
rohitpg7-Jul-08 4:02
rohitpg7-Jul-08 4:02 
GeneralRe: Printing Issue Pin
Duncan Edwards Jones7-Jul-08 4:52
professionalDuncan Edwards Jones7-Jul-08 4:52 
QuestionSelecting a value from downdownlist Pin
Mamphekgo Bahula7-Jul-08 1:18
Mamphekgo Bahula7-Jul-08 1:18 
AnswerRe: Selecting a value from downdownlist Pin
Guffa7-Jul-08 2:04
Guffa7-Jul-08 2:04 
QuestionCrystal report Error: Report has no tables Pin
Sipder6-Jul-08 23:52
Sipder6-Jul-08 23:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.