473,657 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# coding that will automatically scan a flash drive as it's inserted

2 New Member
Can someone help me out on how to let a C Sharp program automatically scan a flash drive or CD as soon as it's entered in your PC? I have created a basic ATM program and what I intend to do basically is let the flash drive or CD act as a credit card. So roughly when my flash drive is inserted the coding should scan the flash and I should be able to access my account and if my friends flash is inserted it should access my friends account.
May 10 '10 #1
2 2764
tlhintoq
3,525 Recognized Expert Specialist
Original Poster: I don't know how to use a search engine. Could someone do it for me?
http://www.lmgtfy.com/?q=C%23+flashd...UTF-8&oe=UTF-8
May 10 '10 #2
Curtis Rutland
3,256 Recognized Expert Specialist
There's nothing built in for this in .NET, so you're going to have to override WndProc and look for the proper messages. There's a codeproject page that deals with this in the search that tlhintoq posted.
May 12 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

20
3685
by: Thomas Heller | last post by:
I'm currently working on a new version of py2exe, which will require Python 2.3 and later, because it uses the zipimport mechanism. Since py2exe is a distutils extension, and since C compilers are commonly available on most platforms except Windows, it would be fairly easy to let py2exe generate a C source file installing this import hook, and let distutils' C compiler build an executable file from this. Would this be useful, or would...
2
7559
by: mgarriss | last post by:
Given this table: CREATE TABLE test ( id SERIAL, example TEXT ); An implicit sequence is created as show in this message: NOTICE: CREATE TABLE will create implicit sequence 'test_id_seq' for SERIAL column 'test.id' How do I retrieve the last 'id' that was inserted? I have a process
21
3202
by: Boris Popov | last post by:
Hello pgsql-general, I'm trying to implement a table with rows that are automatically deleted when the session that inserted them disconnects, sort of like our own alternative to pg_stat_activity. Is it possible and what approach should I be trying to achieve such a thing? Thanks! --
20
1910
by: mohd hisham | last post by:
Write a C program to construct a queue of integers and to perform the following operations on it: a. insert b. delete c. display The program should print appropriate messages for stack overflow and stack empty. i hope u guys can help me,for me it is difficult question.
8
8492
by: Chad | last post by:
To anyone who is smarter than I am when it comes to WMI: Here is what I am trying to do: 1) Detect a USB pen drive when it is inserted 2) Retrieve the drive letter of the pen drive 3) Check for a specific folder on the pen drive I keep receiving an error message that reads: An unhandled exception of type 'System.ExecutionEngineException'
2
8524
by: Joe Cool | last post by:
I know this is probably not the proper newsgroup to ask this question, but I do not know which one is. And most of you guys here know a lot about windows programming so I am taking a chance some one here may be able to answer this simple question. If I burn a CD/DVD and include a file in the root of the burned disk called Autorun.inf and the contents of it is: open=C:\Program Files\myProgram.EXE
1
2393
by: skeem | last post by:
I am having issues viewing flash that has been inserted via javascript in Internet Explorer. I had to uninstall my flash about a week ago. I've since reinstalled flash and reinstalled flash player for all my browsers. All flash shows where it hasn't been inserted via javascript (ie. youtube.com) but javascript flash is not showing at all in IE. Firefox is working fine. Any help in resolving this issue for IE would be greatly appreciated. here...
0
2056
by: Daffydd | last post by:
Hi all, This one's driving me up a wall! We have a small office network, Windows SBS 2003, nothing fancy - recently upgraded from an old Compaq running Novell. Back in the day we used the "F" and "G" drive letters for our main network drives. This worked wonderfully until we started using flash drives recently - replacing floppies for portable data movement. Seems that, even tho we have 2 mapped drives as "F" and "G" Windows (XP and...
1
1193
by: =?Utf-8?B?d2hjYW1wYmVsbDI=?= | last post by:
when I open MY Computer or widows explorer, my drive d: cdr is not shown. It shows up in device manager as enabled and operating. If a disk is put in, the drive will spin up and read, but no info is displayed. If a disk such as windows setup is inserted in the drive, it will boot the system and and properly show up on the display. How do I get windows to recognize the drive. I have downloaded a new driver from microsoft and installed it...
1
3619
by: seleam | last post by:
I fliped the Flash Drive Removable Media Bit and i cant undo that,, I did that with a lexar program inorder to make 2 partitions for my kingstone 64 gb flash memo.but it dint work tho. and then it started actin crazy ,things being copied by 3 mb/sec ,and do not appear when inserted in another comp. Sorry i donno where to post this question hopin some 1 might help thankful I remain.
0
8402
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8508
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8608
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6172
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5633
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4164
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2733
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.