Click here to Skip to main content
15,893,487 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Converting C# to VB.net but code gives null reference Pin
Richard MacCutchan21-Jul-17 1:15
mveRichard MacCutchan21-Jul-17 1:15 
AnswerRe: Converting C# to VB.net but code gives null reference Pin
Ralf Meier21-Jul-17 2:33
mveRalf Meier21-Jul-17 2:33 
GeneralRe: Converting C# to VB.net but code gives null reference Pin
Shane James21-Jul-17 3:03
Shane James21-Jul-17 3:03 
GeneralRe: Converting C# to VB.net but code gives null reference Pin
Ralf Meier21-Jul-17 3:16
mveRalf Meier21-Jul-17 3:16 
GeneralRe: Converting C# to VB.net but code gives null reference Pin
Shane James21-Jul-17 4:30
Shane James21-Jul-17 4:30 
GeneralRe: Converting C# to VB.net but code gives null reference Pin
Ralf Meier21-Jul-17 8:44
mveRalf Meier21-Jul-17 8:44 
GeneralRe: Converting C# to VB.net but code gives null reference Pin
Shane James21-Jul-17 21:00
Shane James21-Jul-17 21:00 
GeneralRe: Converting C# to VB.net but code gives null reference Pin
Shane James21-Jul-17 21:02
Shane James21-Jul-17 21:02 
If I put the reader = New Reader() in the connect sub, the error goes away, but nothing works like it should. it doesnt pick up the events or anything

Private Sub connect()
    reader = New Reader()
    Dim readerDeviceInfo As ReaderDeviceInfo = CType((cbbSportIdentDevices.SelectedItem), ReaderDeviceInfo)
    reader.InputDevice = readerDeviceInfo
    reader.OutputDevice = New ReaderDeviceInfo(ReaderDeviceType.None)
    reader.OpenInputDevice()
    reader.OpenOutputDevice()

End Sub

GeneralRe: Converting C# to VB.net but code gives null reference Pin
Ralf Meier22-Jul-17 10:25
mveRalf Meier22-Jul-17 10:25 
GeneralRe: Converting C# to VB.net but code gives null reference Pin
Pawel Wzietek1-Aug-17 2:33
Pawel Wzietek1-Aug-17 2:33 
GeneralRe: Converting C# to VB.net but code gives null reference Pin
Eddy Vluggen3-Aug-17 0:06
professionalEddy Vluggen3-Aug-17 0:06 
QuestionAccess VBA - Return Object From Function Pin
Kevin Marois20-Jul-17 20:13
professionalKevin Marois20-Jul-17 20:13 
SuggestionRe: Access VBA - Return Object From Function Pin
Richard MacCutchan20-Jul-17 20:37
mveRichard MacCutchan20-Jul-17 20:37 
GeneralRe: Access VBA - Return Object From Function Pin
Kevin Marois21-Jul-17 5:10
professionalKevin Marois21-Jul-17 5:10 
GeneralRe: Access VBA - Return Object From Function Pin
Richard MacCutchan21-Jul-17 6:11
mveRichard MacCutchan21-Jul-17 6:11 
GeneralRe: Access VBA - Return Object From Function Pin
Kevin Marois21-Jul-17 6:14
professionalKevin Marois21-Jul-17 6:14 
GeneralRe: Access VBA - Return Object From Function Pin
Richard MacCutchan21-Jul-17 6:34
mveRichard MacCutchan21-Jul-17 6:34 
GeneralRe: Access VBA - Return Object From Function Pin
Dave Kreskowiak21-Jul-17 7:02
mveDave Kreskowiak21-Jul-17 7:02 
GeneralRe: Access VBA - Return Object From Function Pin
Kevin Marois21-Jul-17 7:29
professionalKevin Marois21-Jul-17 7:29 
GeneralRe: Access VBA - Return Object From Function Pin
Dave Kreskowiak21-Jul-17 8:04
mveDave Kreskowiak21-Jul-17 8:04 
JokeRe: Access VBA - Return Object From Function Pin
Mycroft Holmes21-Jul-17 14:06
professionalMycroft Holmes21-Jul-17 14:06 
QuestionPrintQueue error Pin
Otekpo Emmanuel19-Jul-17 8:19
Otekpo Emmanuel19-Jul-17 8:19 
AnswerRe: PrintQueue error Pin
Richard Deeming19-Jul-17 9:06
mveRichard Deeming19-Jul-17 9:06 
GeneralRe: PrintQueue error Pin
Otekpo Emmanuel19-Jul-17 10:35
Otekpo Emmanuel19-Jul-17 10:35 
GeneralRe: PrintQueue error Pin
Richard Deeming19-Jul-17 11:14
mveRichard Deeming19-Jul-17 11:14 

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.