.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

List info of all Mobile devices & Select COM Port for a device

Posted By: Jatin Gupta     Posted Date: April 09, 2013    Points:5   Category :VB.Net
I have listed all Mobile Devices model in a listbox connected via USB with computer.

Code:-
Imports AxSerial
Imports System.Windows.Threading
Class MainWindow
Public _objComport As AxSerial.ComPort = New ComPort()

Private Sub MainWindow_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loaded
Dim dt As DispatcherTimer = New DispatcherTimer()
AddHandler dt.Tick, AddressOf dispatcherTimer_Tick
dt.Interval = New TimeSpan(0, 0, 1)
dt.Start()

Dim i As System.Int32
lst_device.Items.Clear()

For i = 0 To _objComport.GetDeviceCount() - 1
lst_device.Items.Add(_objComport.GetDeviceName(i))
Next
End Sub

Selecting any one device , IMSI & IMEI is displayed by clicking on buttons by using AT commands.

Is it possible to list IMEI & IMSI of all devices together by clicking on buttons.

Also, i want to select COM Port of selected Mobile Device for some operations.
Please guide how to select COM Port of selected Mobile Device only .

Thanks,
Jatin

Responses

No response found. Be the first to respond this post
Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend