|
by: misc |
last post by:
Does anyone know how to access the Volume Serial Number of a drive
using .NET? It is easily done in VB6 using the FilingSystemObject. I
appreciate any insight into the matter.
|
by: Jeff Gaines |
last post by:
I am using the 'ManagementObject' to get the volume name of each drive
on my PC. It works but it is a bottleneck.
Is there an quicker way to get this information? I am using C# but am
happy yo make API calls.
I have tried the API call 'GetVolumeInformation' which returns the
drive letter rather than the volume name and also another function
(name forgotten) which returned a string that looked like it might be
the volume 'unique'...
|
by: Dmitry Klymenko |
last post by:
Do exists a way to detect a volume label of a disk?
I've found the way to do this using WMI (System.Management) or winapi function. The second solution is principal non-portable in future, the first one require service WMI to work on client (for sure it's not a guarantee to be allways running). I do not want to include in my application logic, that will attempt to start that service before determining logical drive volume label.
If no way to...
|
by: Eddie |
last post by:
Hi,
Anyone know how to get a Drive's Volume Label using vb.net?
Thanks in advance.
Eddie
|
by: ML |
last post by:
What is the best/easiest means to return the serial/volume number of the
drive containing the OS using VB.NET?
I'm looking to get this information as a unique ID for
activation/registration of a custom application so as to tie the software to
a single PC. I need something that will work with 98, ME, 2000, XP, and
newer.
Or if anyone has other suggestiosn on best means to generate an ID to tie to
a single PC for licensing I'd...
|
|
by: Rich Milburn [MVP] |
last post by:
Ok I am not a programmer, I copied some code and very painfully got it
working in VB6. I can adjust the volume with waveOutSetVolume on winmm.dll.
But I could not seem to be able to figure out how to adjust the master
volume. I thought maybe if I upgraded this into VS2005 VB.Net then it might
be a little easier. But now I am getting PInvokeStackImbalance messages on
this, and it doesn't even run. We're talking a very little program... A...
|
by: Steve Marshall |
last post by:
Hi all,
I have an application that can use many different compact-flash cards as
storage for different jobs the client is working on. I have added a
function to erase all files from a flash card, and that works fine.
But I would also like to be able to make the Volume Label on each flash card
the job name its files belong to. I can't work out how to either write the
Volume Label to the cards, or to remove it when I erase them. I...
|
by: herc |
last post by:
My objective is to get the "label" information for the different
volumes that are mounted. I want to display the same information as
Windows Explorer. I wrote this test code with gets me the drive
letter, but the label is always blank. Any thoughts?
DriveInfo drives = DriveInfo.GetDrives();
foreach (DriveInfo di in drives)
{
Console.WriteLine("----------------------");
|
by: Rodent |
last post by:
I have an IIS 6.0, 2003 Server running with PHP installed.
I have an access database with a DSN ODBC connection configured.
When this ODBC is configured to access the database locally - great,
works fine.
When configured to access a remote copy of this database I get the
following :
"....Warning: odbc_connect() : SQL error:
|
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...
|
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...
|
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|