Add Support For MTP Based Devices?
Apr 3, 2007
I'm writing a media management tool and want to add support for MTP based devices.I've been reading through the SDK docs and with the help of some C# examples have managed to make a start on getting some VB code working.
I've come across a few anomolies that I hope someone can help me with!In the examples IPortableDeviceManager.GetDevice appears in C# to receive a string array. But in VB.NET it appears to only receive a string. I have a similar issue with IPortableDeviceManager.GetDeviceFriendlyName which according to the C# samples appears to receive a char array, whereas in VB.NET it is accepting a UShort.
[Code]...
View 1 Replies
ADVERTISEMENT
Dec 26, 2010
My registration form has to support multi laguages at runtime based on user selection language from combo box in windows based application using vb.net
View 2 Replies
Apr 28, 2011
I compiled some VB6 code on my Win7 x64 machine and the result .exe will not run correctly on any other machine. VB6 code is just a new template .exe file with one button, a reference to "Microsoft ActiveX Data Objects 2.6 Library" and the following code in the button press event: Dim db Set db = New ADODB.Connection It runs correctly on my machine, but no others (even other Win7 x64 machines) (Update: I found TWO other users where it runs and one of them is Jeff Atwood!, but most machines have the same problem)
[Code]...
View 2 Replies
Jan 10, 2011
i need to get all sound device on pc as input and output after that i want to create a comobox to make the user select once of sound device
View 6 Replies
Oct 28, 2010
i am trying to enumerate all IPs on my local network, but i am not having any luck. The only thing i have came up with so far is a really tedius "get my own ip and scan the subnet with pings" which surely isn't the best way? I am really only trying to get the ip of a tivo box, and i can determine it's a tivo by mac address or name. My router lists the "computer name" of the tivos as a long string of numbers with the prefix "tivo".What about broadcasting a ping packet? I could also attempt to connect with telnet to port 31339 on every one of them.
View 8 Replies
May 17, 2011
i have a question about detecting some usb devices. I use two different usb devices : Safenet HASP and Maxim iButton.Is it possible to detect that these usb devices are connected.
View 1 Replies
Dec 10, 2009
I am having trouble ejecting the USB device. It gives an error saying " The device cannot be stopped right now. Try stopping the device later" To duplicate the problem, I created a very simple application with two forms. Form 1 has a button to the Form 2.
[Code]...
View 3 Replies
Jun 27, 2010
got a good sample of using VB to get a list of Bluetooth devices? And to maybe send and receive a file.Also, I'm using VS2005. Is there any better Bluetooth resources available if I upgrade to VS2010?
View 6 Replies
Jan 24, 2012
I want to show a list of devices attach to system same like Device Manager tree.
View 3 Replies
Jan 11, 2012
All I was able to figure out is a decleration for GetRawInputDeviceList which atm isn't working for me, I tried passing lots of different values in to get something to work, i've got outputs of -1, 0, and 1 from it but I use a mouse/keyboard & also have a controller hooked up...I also am not retrieving any information on what type of device(s) that might be hooked up/detected.The deceleration types & the like may be off but I translated from C++ code.
Declare Function GetRawInputDeviceList Lib "user32.dll" (ByVal pRawInputDeviceList As IntPtr, ByRef puiNumDevices As Int32, ByVal cbSize As Int32) As Int32
View 10 Replies
Sep 28, 2011
How to create code and send sms in vb.net using bluetooth devices..
View 2 Replies
Nov 5, 2010
I want to make program I want to make a program and I need the user to choose a com device to connect to it I made a drop down box but I want to put devices in it
View 7 Replies
Nov 22, 2006
I am having problem with my FYP that my application is based on the detection of Insertion and Removal of a device. I am aware that this would happen using Win32_VolumeChangeEvent class or WMI. (Please notify me if I am wrong). Kindly solve this problem and send the code for Console Application in VB.NET. Please do not send code in any script language or C#. Also to get the device information.
View 6 Replies
Aug 18, 2009
How do I go about enabling or disabling a system device as its done in Device Manager?On the right click / Properties menu there is the option " Device Usage "
View 3 Replies
Dec 9, 2009
Been a long time since my last thread but here we go.I'm using VS.NET 2010 Prof Beta at the moment and I'm trying to list all Nic Cards and their settings into a text box. I succeeded with a script from the web (which had an error in the first place) and some adjustments to it.
It lists all hidden devices too (as to be shown in Device manager: Show hidden devices) I worked my way around it and let it jump to next if it doesn't have a IP address, but I find this a bit clumsy and want to really skip them if they are hidden and not just the way I did this now.
Plus it still does show the same NiC (different name, same MAC#) in the list because it has an IP, but in Device manager this one is hidden.[code...]
View 8 Replies
Jun 9, 2012
I am trying to get the names of the USB devices attached to a computer. I saw system.management would do what I need, but. It says its not defined and I cannot find system.management as a refrence.
I am building in VB2008. Can some one point me in the right direction?
View 11 Replies
Nov 9, 2009
Getting two game devices working with DirectInput
View 2 Replies
Aug 17, 2009
anyone out there assist me with a basic tutorial on how to begin programming of smart devices?What can I do with the Microsoft SDK?
View 1 Replies
Jul 5, 2011
I wanna to no how to send email to mobile advice?
View 5 Replies
Jan 22, 2010
I have 2 devices
An old IPAQ Pocket PC that runs Windows Mobile 4.2
A Mini-ITX PC Running XP
My IPAQ connects to my network via wireless. My Mini-ITX PC is going to have an IR-Blaster setup which is going to control all my devices. What I would like to do is create a small controller program that runs on my IPAQ and a back end program on my Mini-ITX PC, so that when a particular control is selected on my IPAQ it sends the signal to my program on the Mini-ITX PC which inturns sends the correct IR signal to the device in question.
View 2 Replies
Mar 24, 2011
Get the code of how to Send a PIN message to BlackBerry devices?
View 3 Replies
Jan 23, 2010
If I have two apps which I have written with vb 2008 for windows 6 device lets say app1 and app2. App1 is running but then needs to start app2 - then app2 needs to shut down app1 and do some updating of app1 then app2 needs to restart app1 and app2 then needs to be shutdown. I am aware of the systemdiagnostics.process classes. One thing I don't understand is how to shutdown app1 from app2 how would get that processid of app1 due to the fact that you havn't access to getproccessbyname methods.
View 3 Replies
Aug 19, 2009
We are currently polling data from devices and sharing these data using shared memory. So other applications can get the data off from the memory mapped files.
Now we are moving on to web and we are still using the same method of using asp.net to read data off the memory files.
Would like to find out if there are better methods of doing this?
View 1 Replies
Nov 8, 2010
I was trying to play a bit with bluetooth devices but i can't find that much info about it. I'd like to build some sort of program that allowed me to send messages into bluetooth enabled cellphones. The idea was to send messages with tasks/events inside the building. This software would be part of other software such as ERPs or agendas.
View 4 Replies
Sep 11, 2010
This is my code for loading list of plugged in USB devices:
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
ListBox4.Items.Clear()
For Each Drive As IO.DriveInfo In IO.DriveInfo.GetDrives
[code]....
I would like when a button (lets say buttontest) is pressed it will show all files of a CD (only MP3) into ListBox5, then when buttontest2 is pressed the files in ListBox 6 will be copied from the CD to the selected USB device?
View 1 Replies
Jun 22, 2010
I am currently porting (well really totally re-writing) a project to run on WM6 devices. I need to initiate a GPRS data connection (or any internet data connection really, shouldn't matter if its GSM or CDMA) before I can get the data I need (actually sync. a database over the cell network - Sybase via Mobilink) because right now its basically saying I have no network connection when I make the call to sync the db.
If I open Internet Explorer on the device, it initiates the data connection, and I can then go back into my program and get the data no problem. This isn't an acceptable solution however.
How can I initiate the internet data connection?
View 3 Replies
Dec 11, 2010
I have the following code:
Dim searcher As New ManagementObjectSearcher("SELECT * FROM Win32_LogicalDisk WHERE DriveType = '3'
View 1 Replies
Nov 18, 2011
I want to write a program that will log all the files that has been copied to removable device. I tried to work with FileSystemWatcher but I didn't get the result.
View 3 Replies
Jan 9, 2012
What I need is an application that can have several audio files open up, which in turn can be routed to any of the audio output devices (e.g. external audio card channels). See the attached image for an illustration.
View 1 Replies
Feb 24, 2012
I'm writing a Windows Forms application in VB.Net 2010. The application's purpose is to recreate the Device Manager in VB.Net. The idea here is to capture the information provided by Device Manager and store it in a database. In turn this information could be used as a configuration management tool.
My device tree is coming along nicely, with one minor exception. There are hidden devices that Device Manager does not display by default. Show Hidden Devices causes Device Manager to display these devices. My Device Manager displays them by default. I want to duplicate the Device Manager behavior of being able to hide and display these devices in my appilcation. I have had some success with this task in that I am able to hide the Plug and Play devices that are marked as hidden by windows by use of the "Don't Display In DM" flag. There is the small issue of the Non Plug and Play Device Class. My question is this... Is there a similar flag for Non Plug and Play devices? I have found a reference to the PNP_DEVICE_STATE and IRP_MN_QUERY_PNP_DEVICE_STATE IRP. It contains a flag
PNP_DEVICE_DONT_DISPLAY_IN_UI. My problem is that I cannot find any guidance as to the structure of this API declare and the coding needed to use it. I'm not even sure if this API will be helpful in accomplishing my task. I want to hide the Non Plug and Play devices and device class in my tree. Can someone please assist me with the locating an API that will accomplish this and the proper coding of the API in VB?
I am using Visual Studio 2010 Ultimate and Running Windows 7 Ultimate with all Service Packs and updates applied.
View 7 Replies