我正在开发一个基于谷歌的WiFi p2p API的应用程序,我想获得我使用的设备(不是同级)的名称,但唯一的方法我发现检索名称是在我的情况下,通过使用这样的改变: if (WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION.equals(action)) {
// this device details has changed(nam
我有一些代码列出了所有活动的打印机(但在msgboxes而不是列表中)。我没有这个功能的问题。这是下面的代码: If Printers.Count > 0 Then
strMsg = "Printers installed: " & Printers.Count & vbCrLf & vbCrLf
For Each prtLoop In Application.Printers