Click here to Skip to main content
15,921,028 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Winhttp and p12 certificate Pin
Richard MacCutchan24-Jul-17 21:15
mveRichard MacCutchan24-Jul-17 21:15 
GeneralRe: Winhttp and p12 certificate Pin
Crazy Joe Devola24-Jul-17 21:28
Crazy Joe Devola24-Jul-17 21:28 
SuggestionRe: Winhttp and p12 certificate Pin
Richard Deeming25-Jul-17 0:55
mveRichard Deeming25-Jul-17 0:55 
GeneralRe: Winhttp and p12 certificate Pin
Crazy Joe Devola25-Jul-17 11:44
Crazy Joe Devola25-Jul-17 11:44 
GeneralRe: Winhttp and p12 certificate Pin
Dave Kreskowiak25-Jul-17 13:17
mveDave Kreskowiak25-Jul-17 13:17 
AnswerRe: Winhttp and p12 certificate Pin
Crazy Joe Devola26-Jul-17 10:51
Crazy Joe Devola26-Jul-17 10:51 
Questionhelp me Pin
ago248621-Jul-17 9:52
ago248621-Jul-17 9:52 
AnswerRe: help me Pin
Afzaal Ahmad Zeeshan21-Jul-17 11:36
professionalAfzaal Ahmad Zeeshan21-Jul-17 11:36 
GeneralRe: help me Pin
ago248622-Jul-17 1:36
ago248622-Jul-17 1:36 
GeneralRe: help me Pin
Richard MacCutchan22-Jul-17 2:44
mveRichard MacCutchan22-Jul-17 2:44 
GeneralRe: help me Pin
Eddy Vluggen23-Jul-17 2:58
professionalEddy Vluggen23-Jul-17 2:58 
GeneralRe: Pin
ago248623-Jul-17 4:31
ago248623-Jul-17 4:31 
GeneralRe: Pin
Eddy Vluggen23-Jul-17 8:16
professionalEddy Vluggen23-Jul-17 8:16 
QuestionConverting C# to VB.net but code gives null reference Pin
Shane James21-Jul-17 0:56
Shane James21-Jul-17 0:56 
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 
Perhaps little background will help as I can't post an image of the form. I have an RFID reader which connects to the computer via a usb. The sample app from the supplier (the c# Code). Just provides a list of available devices in a combobox after clicking the refresh button. This all works in my VB code as well and after clicking the button it shows a list of (COM1 and COM5 on my laptop) in the combobox. After selecting the correct COM from the dropdown (COM5 in my case). You then click the connect button and it is at this point that my VB code falls over, but the C# code works fine. The form is very simple, I have compared the designer code and nothing different there either. I'm just very confused as to why the VB code gives the null exception but the C# code doesn't. Yet the code is almost identical.

The writelog is just a list box which provides a log of all the steps taken and events which are initiated by the reader.

Hope this helps

Regards
Shane
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 
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 

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.