Does Windows provide some sort of evented API so I can run some code whenever a drive (say a usb stick) is attached?
Like ReadDirectoryChangesW is for events on the filesystem?
I read some time ago about the possibility to use media stream from a USB or rs232 device with the tag such as a webcam with HTML5?.
Is there a web browser that supports this right now?. (nighty builds of chrome, webkit...)
Thanks.
How can I programmatically get the Internet IP address?
1) If the computer is directly connected to the Internet using a USB modem.
2) If the computer is connected to the internet via another computer or a modem/router.
I there a way to do both?
P.S. This link gives exactly the Internet IP, but how can I use it in my program?
Is there any emulator that allows to treat all non-PS/2 mouse activities as if I had one? I.e. if I have a usb mouse but it could be reached by interacting with PS/2 port.
I recently acquired a Metrologic Barcode scanner (USB port), as everyone already knows it works as a keyboard emulator out of the box.
Now my question, how do I configure the scanner and my application, so that my app can process the barcode data directly. That is, I don't want the user to focus on a "Text field" and then process the data when the KeyPress event fires.
Hi,
how get USB flash(key) manufacturer name with C#?
for example WD, Hama, Kingston...
Now i with: "disk["Manufacturer"]", get: "Standard disk driver"
string drive = "h";
ManagementObject disk = new ManagementObject("Win32_LogicalDisk.DeviceID=\"" + drive + ":\"");
disk.Get();
Console.WriteLine(disk["VolumeSerialNumber"].ToString());
Console.WriteLine(disk["VolumeName"].ToString());
Console.WriteLine(disk["Manufacturer"].ToString());
So I have a device:pnp like
@device:pnp:\\?\usb#vid_1871&pid_01f0&mi_00#6&d57670c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
It's a web Camera Is it possible to connect FFMPEG to it and save data into some format or do anething like that?
is it possible for me to intercept the text messages that get sent to my cellphone if i connect to my cellphone via bluetooth or USB or some other connection to my computer?
i want to create a database with all of my received text messages and be able to control my cell phone through my computer by using it to send text messages
i have a regular motorola flip phone
Hi guys,
I m using Xcode version 3.1.4 for developing my i-phone application.Now I want to port & debug my application on my i-phone device.
So when the i-phone is in debugging mode, the i-phone uses its USB lines to communicate with the debugger?Is the RX,TX lines of the i-phone free during my debugging activity?
I'd like to write small scripts which feature incremental search (find-as-you-type) on the command line.
Use case: I have my mobile phone connected via USB, Using gammu --sendsms TEXT I can write text messages. I have the phonebook as CSV, and want to search-as-i-type on that.
What's the easiest/best way to do it? It might be in bash/zsh/Perl/Python or any other scripting language.
I have laptop with an external e-sata/USB combo port. I have an internal Seagate SATA drive removed from another laptop. I want to recover the data in this disc. Is it possible to connec t this hardisk through the e-SATA port? If so, what cable would I need to connect in?
I want to write a component that uses 2 webcams (1 integrated in my laptop , the other is a USB webcam)
What do I need to know (or have) to build a component to deal with the cameras (capture , record , movement recognition , and other image and video processing) ? and how ?
(with C++ or Delphi)
I just need to know the concepts and main techniques , any good resources or source codes would be great :)
Thank you .
I’m doing an application that listens to the android.intent.action.SCREEN_OFF in a Service (if that matter) and then it is supposed to wait a few seconds and launch an action, I’ve tried a timer schedule method, thread and handler postDelay method but all of them seems to fail, they are never executed on a device, it seems like it’s being freezed/killed after phone is locked. It works on emulator and on device attached to USB, but never with device working on battery only, which actually is a main scenario.
Do you know any solutions to this?
What are good diff tools that are self contained (small in size and in as little files as possible), and can be used from an USB with no extra fuss ? Not looking for command line ones.
So far I found diffuse ... any more like it ?
Platform: Windows xp
Vim: Gvim 72 on a stick
Is there a way to run vim from an usb stick, but with your own font you have somewhere in its directory, but which is not installed on a machine (i.e. it is not present in c:\windows\fonts) you're running it on?
All creative ideas welcomed.
the requirement is to disable all the ports of the pc when my program run on particular machine how is it possible need guides???
sorry i think my question was confusing by all ports mean PS 2 USB parallel ports etc.
simply no one can interact with pc from any path but with ether net card it should be enabled.
I have laptop with an external e-sata/USB combo port. I have an internal Seagate SATA drive removed from another laptop. I want to recover the data in this disc. Is it possible to connec t this hardisk through the e-SATA port? If so, what cable would I need to connect in?
Hi,
I would like to create a program wich communicates between pc and an android mobile connected to USB via tcp/ip. Is this possible? How can I get the IP-address to a connected mobile from PC or the other way around?
Any help appreciated
in java, you can use File.listRoots() to get all drives in the system. I'm looking to get only the external drives, i.e. USB drives, external hard disks, optical drives, floppy etc'.
is there any way to do it in java? if not, native c++ code would be good as well. in that case, i need both windows and linux code
thanks
Dear all,
I am using win32 api with C++.
I would like to know how I can get the volume GUID using a "device path".
My device looks like this:
\\?\usb#vid_04f2&pid_0111#5&39fe81e&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Thanks.
Is there any emulator that allows to treat all non-PS/2 mouse activities as if i had one? I.e. if i have an usb mouse but it could be reached by interacting with PS/2 port.
I'd like to write small scripts which feature incremental search (find-as-you-type) on the command line.
Use case: I have my mobile phone connected via USB, Using gammu --sendsms TEXT I can write text messages. I have the phonebook as CSV, and want to search-as-i-type on that.
What's the easiest/best way to do it? It might be in bash/zsh/perl/python or any other scripting language.
Thanks!
I have recently moved to a 64-bit Windows Server 2008 R2. I setup my Scheduled Tasks to run under one user (TaskUser) specifically created for the scheduler and most run just fine. However some of them do not run under TaskUser but will for my own credentials.
Here is the Event Log entry I found, which from my research points me to believe that it doesn't have permissions, but it does. It also has the option "Run with highest privileges" checked on. I have seen this particular checkbox work wonders on some tasks, but I have a number of them that it's not helping for.
The error is ERROR_ELEVATION_REQUIRED but the user is a member of the administrators group and has folder/file permission and is set to "Run with highest privileges"
Log Name: Microsoft-Windows-UAC/Operational
Source: Microsoft-Windows-UAC
Date: 4/27/2010 2:21:44 PM
Event ID: 1
Task Category: (1)
Level: Error
Keywords:
User: LIVE\TaskUser
Computer: www2
Description:
The process failed to handle ERROR_ELEVATION_REQUIRED during the creation of a child process.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-UAC" Guid="{E7558269-3FA5-46ED-9F4D-3C6E282DDE55}" />
<EventID>1</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>1</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2010-04-27T21:21:44.407053800Z" />
<EventRecordID>19</EventRecordID>
<Correlation />
<Execution ProcessID="2460" ThreadID="5960" />
<Channel>Microsoft-Windows-UAC/Operational</Channel>
<Computer>www2</Computer>
<Security UserID="S-1-5-21-4017510424-2083581016-1307463562-1640" />
</System>
<EventData></EventData>
</Event>
The errors shown in the Task Scheduler History tab display these results and states
This operation requires an interactive window station. (0x800705B3)
EventID 103
Task Scheduler failed to launch action
"F:\App\Path\ConsoleApp.exe" in instance "{1a6d3450-b85a-40c0-b3db-72b98c1aa395}" of task "\taskFolder\taskName".
Additional Data: Error Value: 2147943859.
EventID 203
Task Scheduler failed to start instance "{1a6d3450-b85a-40c0-b3db-72b98c1aa395}" of "\taskFolder\taskName" task for user "LIVE\TaskUser" .
Additional Data: Error Value: 2147943859.