Click here to Skip to main content
15,891,184 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Visual Basic needs more credit Pin
Dr.Walt Fair, PE10-Jun-14 4:53
professionalDr.Walt Fair, PE10-Jun-14 4:53 
GeneralRe: Visual Basic needs more credit Pin
Pete O'Hanlon10-Jun-14 4:55
mvePete O'Hanlon10-Jun-14 4:55 
GeneralRe: Visual Basic needs more credit Pin
Colborne_Greg10-Jun-14 4:58
Colborne_Greg10-Jun-14 4:58 
GeneralRe: Visual Basic needs more credit Pin
PIEBALDconsult10-Jun-14 5:03
mvePIEBALDconsult10-Jun-14 5:03 
GeneralRe: Visual Basic needs more credit Pin
Colborne_Greg10-Jun-14 5:03
Colborne_Greg10-Jun-14 5:03 
GeneralRe: Visual Basic needs more credit Pin
Jörgen Andersson10-Jun-14 6:28
professionalJörgen Andersson10-Jun-14 6:28 
GeneralRe: Visual Basic needs more credit Pin
Jörgen Andersson10-Jun-14 19:26
professionalJörgen Andersson10-Jun-14 19:26 
GeneralRe: Visual Basic needs more credit Pin
PIEBALDconsult11-Jun-14 6:10
mvePIEBALDconsult11-Jun-14 6:10 
Consider these two C# statements:

public delegate bool IsItSafe() ;
public event IsItSafe Probe ;


they compile just fine and actually work as they should, but the VB.net equivalent:

Delegate Function IsItSafe() as Boolean
Event Probe As IsItSafe


yields:

C:\Projects\Template.vb(26) : error BC31084: Events cannot be declared with a delegate type that has a return type.

    Event Probe As IsItSafe
          ~~~~~            


Not that it's something that is common, but I do use a few events that return bool values in an unusual project of mine.
You'll never get very far if all you do is follow instructions.

GeneralRe: Visual Basic needs more credit Pin
Jörgen Andersson11-Jun-14 9:41
professionalJörgen Andersson11-Jun-14 9:41 
GeneralRe: Visual Basic needs more credit Pin
richard_k11-Jun-14 8:08
richard_k11-Jun-14 8:08 
GeneralRe: Visual Basic needs more credit Pin
Colborne_Greg11-Jun-14 8:30
Colborne_Greg11-Jun-14 8:30 
GeneralRe: Visual Basic needs more credit Pin
richard_k11-Jun-14 14:43
richard_k11-Jun-14 14:43 
GeneralRe: Visual Basic needs more credit Pin
Colborne_Greg11-Jun-14 15:06
Colborne_Greg11-Jun-14 15:06 
GeneralRe: Visual Basic needs more credit Pin
Kenneth Haugland10-Jun-14 5:00
mvaKenneth Haugland10-Jun-14 5:00 
GeneralRe: Visual Basic needs more credit Pin
Colborne_Greg10-Jun-14 5:11
Colborne_Greg10-Jun-14 5:11 
GeneralRe: Visual Basic needs more credit Pin
Duncan Edwards Jones10-Jun-14 5:29
professionalDuncan Edwards Jones10-Jun-14 5:29 
GeneralRe: Visual Basic needs more credit Pin
Kenneth Haugland10-Jun-14 5:46
mvaKenneth Haugland10-Jun-14 5:46 
GeneralRe: Visual Basic needs more credit Pin
richard_k11-Jun-14 14:45
richard_k11-Jun-14 14:45 
GeneralRe: Visual Basic needs more credit Pin
JMK-NI10-Jun-14 4:55
professionalJMK-NI10-Jun-14 4:55 
GeneralRe: Visual Basic needs more credit Pin
Colborne_Greg10-Jun-14 4:57
Colborne_Greg10-Jun-14 4:57 
GeneralRe: Visual Basic needs more credit Pin
Pualee10-Jun-14 5:03
Pualee10-Jun-14 5:03 
GeneralRe: Visual Basic needs more credit Pin
Colborne_Greg10-Jun-14 5:05
Colborne_Greg10-Jun-14 5:05 
GeneralRe: Visual Basic needs more credit Pin
Mycroft Holmes10-Jun-14 14:49
professionalMycroft Holmes10-Jun-14 14:49 
GeneralRe: Visual Basic needs more credit Pin
Colborne_Greg10-Jun-14 15:27
Colborne_Greg10-Jun-14 15:27 
GeneralRe: Visual Basic needs more credit Pin
richard_k11-Jun-14 14:54
richard_k11-Jun-14 14:54 

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.