Monitory Drive Activity In Program 2008?

Jan 6, 2010

I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.

View 3 Replies


ADVERTISEMENT

Monitor Drive Activity In 2008?

Jan 6, 2010

I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.

View 4 Replies

Monitor Drive Activity In Vb 2008?

Jan 6, 2010

I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.

View 1 Replies

VS 2008 - How To Monitor Drive Activity

Jan 6, 2010

I'm looking for a way to monitor drive activity using Visual Basic 2008. I want to create a small utility to simulate an LED in the system tray for drive read/write activity. I've found several such utilities that do this, but they all lack one thing or another, or they are over bloated with stuff I don't want or need, etc. I want to write my own so it will be like I want it. To get started, I need to know how to monitor drive activity.

View 3 Replies

VB Program - Getting A Error From My Antyvirus That My File Has Been Doing Suspicuous Activity

Oct 20, 2010

Well im getting a error from my antyvirus that my file has been doing suspicuous activity and i dont know how to correct it.

For refrence i have Norton 360 antivirus... 2010

View 8 Replies

Winforms - Making A Form Halt Other Program Activity Like A Messagebox

Feb 29, 2012

I want to create a custom form (in visual basic .NET) that will stop other process responsiveness until the form is acknowledged. It would be a nice bonus if I can add a beep when trying to access the main program UI while this form is displayed as well (like how a messagebox does).

[Code]...

View 1 Replies

VS 2008 - Auto-start Program From Flash Drive?

Sep 12, 2009

I have a USB flash drive I want to be able to plug into another computer and automatically start the program as soon as it is plugged in and started up, is there a way to do this?

View 8 Replies

VS 2008 - Program That Creates And Installs A Registry Key Which Changes Default Drive Icons?

Jan 16, 2011

Basically the problem i have is i have made a program that creates and installs a registry key which changes default drive icons etc.

But registry key directories need double backward slashes in the directories, e.g.

What i recieve;
C:exampleicon.ico

What i need;
C:\example\icon.ico


I was thinking sending the directory i recieve to another textbox and replacing '' with '\'. Is this possible?

View 3 Replies

VS 2008 Logging Connections / Activity

Dec 22, 2010

I'm wondering if its possible to log who is connecting remotely to my local hard drive and also log what they do if possible?A lot of people access my hard drive and im curious to what they do while there.

View 1 Replies

VS 2008 Cdrom Drive - Program Where There Is A Start Buttom And A Stop Buttom

Sep 18, 2009

I want to make a littel program where there is a start buttom and a stop buttom. now when you press the start buttom the cd drive goes out and in and out and in and so on! and when you press the stop button the cd drive goes in and stays in "maby close the program to!

Now i have already made a program whre you can open and close the cd drive by pressing buttom 1 "open" and button 2 "close" but you have to keep pressing the button! can any one help me i will be realy glad!

Here i my code!

CODE:

View 7 Replies

Programmatically Eject And Retract CD Drive In Program Or C#?

Sep 19, 2009

Is there any way to do so? I know its possible to programmatically eject/retract the cd drive SOMEHOW, cause Roxio does that when it prompts me to insert a disk.

Either c# or vb.net is preferable, but c and c++ are okay too as a last resort.

I am nearly positive there is some way to do this, I just don't know the methods to call.

View 2 Replies

Read Serial Number Of A USB Drive Using Program?

Jul 21, 2009

Is it possible to read the serial number of a USB drive using VB.

View 3 Replies

Release An External Drive After It's Been Accessed By My Program?

May 23, 2011

The VB.Net program in question creates several files, adds them into a zip file (using DotNetZip), and saves the zip file into a given directory (which the user chooses). This comes out just fine. But when I use it to save directly to my USB flash drive, I can't eject the drive without shutting down the program first.I've tried disposing the zip object (from the DotNetZip library), doesn't work. I also tried setting FileIO.FileSystem.CurrentDirectory to somewhere else on the machine, still no.

View 1 Replies

VS 2010 - UnauthorizedAccessException - When The Program Tries To Access The D Drive

Jan 11, 2012

I recently reformatted my computer and now that I try running a program I made beforehand, I always get an UnauthorizedAccessException when the program tries to access the D drive. How do I make it authorized? I tried changing the security settings for the D drive but that wasn't really much help.

View 1 Replies

Detecting Flash Drive Mounting And Running A Program?

Aug 15, 2009

I am using VB from Visual Studio.net 2008. I need to understand how to build a VBScript or Application that will detect when a flash drive is inserted into a Windows XP SP2 system. Once the drive is detected, the VBScript/App must then automatically search for any available .ppt file (power point) located in the root directory of that flash drive. If the .ppt file is found, pptview.exe will launched opening the file in question.

This script will be located in the startup folder and will run until a flash drive is entered and then it should pause until the flash drive is removed and then start searching again. This is for a kiosk to be used at trade shows for a company I am working with. The company wants this to be simple and automated and only requiring that the user setup the kiosk, which has no keyboard or mouse, plug in a flash drive with a .ppt file on it. The system will then automatically load the slideshow and play until the system is shut down or the flash drive is removed.

I am pursuing this option because an autorun.inf file on the flash drive only adds another line item to the autoplay dialog. Although it may be possible to write a small script that will select that item, there is no guarantee that the user will have that autorun.inf installed on the flash drive in question.

Also it may be better to copy the .ppt file into a temp directory on the kiosk machine, so that in the event that the flash drive needs to be removed there is not data transfer taking place, minimizing the possibility of data corruption.

Most of the file handling I may be able to handle on my own, but it is the detection of the flash drive insertion and removal that is a problem. I am looking for some clarity on this point first. I may ask other questions later, but for now that is the biggest hurdle I have to cross. [URL]..

View 20 Replies

Make A Program Where It Copies Files To A Certain External Drive?

Jan 8, 2011

i am trying to make a program where it copies files to a certain external drive, but i cant figure out how to make it to where you enter your drive letter for the external drive and it copies it.

View 6 Replies

Get Serial Number Hard Drive And Mother Bord In Program?

Aug 25, 2011

How do to get serial number hard drive and mother bord in vb.net?

View 17 Replies

Program Files Folder - No Drive Letter The Form Opens?

Sep 21, 2009

I currently have a program that I made which opens other apps packaged with an installer. I have set the installer to install everything to the Program Files folder. However, not all computers have a C: hard drive. I have a way in which they can enter their drive letter in one form then in the next form it remembers the drive and will take them to the program. The problem is my program stores the drive letter in an xml file. On the startup of the program it looks in the xml file to find the drive letter, if there is no drive letter the form opens then lets the user set his drive letter. The xml file is stored in the folder "Math Wizard" in the Program Files folder. But if not all computers have C:Program Files I need a shortcut to the program files folder. I have been trying to use %ProgramFiles% (%Program Files% + "Math Wizardconfig.xml") but vb is saying that the % is an invalid character. Here's my code:

[code]...

View 2 Replies

Write A Program That Deletes Temp Files From Entire C Drive?

Jan 21, 2010

I am trying to write a program that deletes temp files from my entire c drive. windows 7 will not allow any file manipulation. access denied . everything works fine in windows xp. what needs to be changed in my code to allow anyone to install this program on their computer and run it without errors like this. I need to change my code to correct this not windows 7, as other people will be installing this on their systems and they can't be setting their c drives. every answer i've found online is either to change c drive to have no security or set the code to demand uac to run as administrator(which doesn't work )

View 7 Replies

WMI To Get Drive Letter Association With Physical Drive Path Misses CDROMs?

Feb 19, 2012

I'm running the following WMI script to get the associations between drive letters and physical drives on the system, but for some reason it omits CDROMs/DVD-ROMs. Can someone tell me how to get those as well?

Code:
ComputerName = "."
Set wmiServices = GetObject _
("winmgmts:{impersonationLevel=Impersonate}!//" & ComputerName)
Set wmiDiskDrives = wmiServices.ExecQuery _
("SELECT DeviceID FROM Win32_DiskDrive")

[Code3]...

View 12 Replies

Program That Calculate And Display Money Made By Drive-in Movie Theater?

Jan 15, 2011

how to start my programming for my visual basic 2008 drive in movie theater personal project. This project I decided to work on will calculate and display the money made by a drive-in movie theater. I just want to make sure I started it right. This is what I started with:

Module Module1
Sub Main()
Dim TypeOfNight As Char

[Code].....

Aw yeah, another thing I wanted to ask is how would I do the input, output, and If statements?

View 2 Replies

Finding Physical Drive Number Using Drive Letter?

Jun 16, 2009

I have a program that allows the user to enter a drive letter into a text box. The program then takes the letter and find the physical drive number (i.e. deviceharddisk3..). It then stripes out everything and leaves me with the number 3.

In VB6 I used mDrive.bas from vbAccelerator.com and it worked perfectly. I have been all over the internet and back and cannot find a solution written in VB.NET.

View 14 Replies

Make A Tool That Will Assign USB Pen Drive A Drive Letter?

Oct 13, 2009

I want to make a tool that will assign a USB pen drive a drive letter, I am using WMI to acknowledge the device being plugged in, I can pull the deviceID, name, etc now I just need to work out how to assign the device to a drive and I just cant figure it out

View 4 Replies

Determine When App Has Had Any Activity?

Nov 11, 2011

Does anyone know of a way to detect recent activity in a VB.net windows forms application?

We have a retail store where users share floor computers, the application will be on each machine and require a log in before use. I am trying to find a way to automatically close the application if it has been idle for lets say 10 minutes.

I guess I could do something similar with the current windows log on session - set a gp that logs the user out after 10 minutes of inactivity - but if there is an easy, non memory intensive way to do it in vb.net i would rather use that method

View 4 Replies

Reading And Writing Files On External Hard Drive, Code To Ensure SQL Or Data Read/write Execution In Case Of Periodic Drive Reconnect?

Dec 18, 2010

The drive is connected via USB and the problem I'm having is that, periodically, while my code is executing, the usb drive seems to disconnect and reconnect. (Nothing to do with the program, but the drive itself).I want to find a way to prevent these temporary drive reconnects from interrupting my code. IE, i want to insure that whatever read or write that is requested is actually executed even in the case of a temporary drive interruption.

View 1 Replies

Determine If A Drive Is Local Or A Network Drive?

Dec 10, 2008

Does anyone know if there is a way to determine if a drive is local or a network drive?

View 1 Replies

Getting Physical Drive Number From Drive Letter?

Jun 17, 2009

I am trying to get the physical drive (device) number from the drive letter. If the user inputs the drive letter C the program will find the associated physical device number. For example if I input C then the result needs to be \Device\HardDrive1\... Some call it NT Device Name; I think. I have the code for VB6 from vbAccelerator, which works perfectly, but it does not work in VB.NET. My question is there a simple way of pulling the drive info that contains the drive letter and the physical device number. I have searched the internet and found nothing for VB.NET. I would post code but I have nothing for .NET.

View 1 Replies

How Can Read Data From USB Flash Drive Or Pen Drive

Sep 29, 2011

USB flash drive or pen drive in vb.net...

View 14 Replies

Physical Drive Number From Drive Letter

Jun 16, 2009

I have a program I am converting from VB6 to VB.NET and I am stuck at the very last piece of code. I need to determine what physical device number is associated with the drive letter.

The program takes the drive letter from a text box and goes and finds the device number (i.e. deviceharddrive3...) and strips out everything leaving me with the devicer number; in this case the number 3. I have searched the internet to and fro and found nothing in VB.NET.

My program in VB6 uses a .bas module from vbaccelerator.com called mDrive.bas and works great. I can't figure out how to convert it over to VB.NET.

View 6 Replies

Display NIC Activity In A Form?

Jul 22, 2009

I'm in the process of creating a tool that allows users to download stuff from a LAN server. The progress of the download is now being shown as a progress bar that performs a step each time a file is downloaded.

But if the file is a large file (Let's say a 2 GB file) it'll take a while before the progressbar performs a step and the user might think the tool froze up and close it. Now i'm wondering if there's a way to show the activity on the NICs installed. Something like when you open up task manager and go to the "Networking" tab. Showing it as a graph would be awesome or just a percentage is good aswell I have NO idea where I should start looking..

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved