Darren asked 2018-03-29 13:32:46 UTC
Hi there,
I'm brand-new to wisej, so excuse any silly questions!
I've built a simple web app. and want to access system port names. Here's the VB.NET desktop code:
Sub GetSerialPortNames()
** ' Show all available COM ports.**
** For Each sp As String In My.Computer.Ports.SerialPortNames**
** ListBox1.Items.Add(sp)**
** Next**
End Sub
However, the web app doesn't recognise .Ports, so how else do I achieve this?
Thanks
Regards,
Darren
Darren asked 2018-03-29 13:32:46 UTC
Hi there,
I'm brand-new to wisej, so excuse any silly questions!
I've built a simple web app. and want to access system port names. Here's the VB.NET desktop code:
Sub GetSerialPortNames()
** ' Show all available COM ports.**
** For Each sp As String In My.Computer.Ports.SerialPortNames**
** ListBox1.Items.Add(sp)**
** Next**
End Sub
However, the web app doesn't recognise .Ports, so how else do I achieve this?
Thanks
Regards,
Darren