Get DVD Info From Physical Disk?

Jun 25, 2012

I have seen numerous dvd playing apps that when you insert the dvd into the drive is displays the movie name. Im looking to implement something like this. I want to show a desktop alert showing the movie name when it has been put into the drive so the user can add it to the collection.

I have "googled" around for this and have found nothing on reading DVD info. how to get the dvd info from a drive?

View 4 Replies


ADVERTISEMENT

Determine Physical Disk & Partition For A Drive Letter?

Oct 31, 2011

I am new to VB and playing with a program to display disk info attached to my PC. I have used WIN32_DiskDrive & WIN32_LogicalDisk to gather info regarding volumes, disks and partitions.

What I want to find how is how to relate the Device Index and Partition # back to a volume (ie with a drive letter).

View 2 Replies

Win32_CdROMDrive Class Can Give Info About CD / DVD Disk

May 8, 2010

Win32_CdROMDrive class can give info about CD/DVD Disk..?

[Code]...

View 1 Replies

How To Determine PHYSICAL Key

Feb 14, 2011

I want to hook the keyboard and make some actions (in vb.net) when a specific physical key is pressed.I have found online several excellent keyboard hook dlls, but there is a problem: the hook dlls find the keycode of the pressed keys, not what physical key is pressed.So, for example, in a USA keyboard if I press the key on the left of the Right-Shif key I see the e.keycode: 191 (OemQuestion), in a italian keyboard I see the e.keycode 189 (OemMinus).This means that if I put in My.Settings the code "189", an italian user can see that has to press the key I want, an USA user see another key to press to have the same action because on it keyboard the OemMinus key is not on the left of the Right-Shift key.now the question is: how to determine univocally the keyboard keys? What do I have to put in My.Settings that determinate a specific physical key, the same for all the keyboard languages?

View 2 Replies

Writing Info To And Getting Info From .text File Using A ListBox's Display

Jul 31, 2010

I am working on a media player, and I would like to setup a local playlist feature. I am using a single ListBox and its "Display-" and "Value-Member" properties. The display is the song's Artist and Name, and the value is the song's file path (i.e 'C:UsersUSERMusicetc.').To write the file path to the .txt file, I believe I can use the following code:[code]

View 18 Replies

Get Physical Memory On A Machine?

Jun 7, 2011

I'm trying to pull the total physical memory on a machine and have it show just like it would inside My Computer Properties.

I know I can use My.Computer.Info.TotalPhysicalMemory which will return it in bytes. This is where I'm getting stuck. I want to be able to divide it and then truncate it to where it would show like My Computer Properties would report it.

View 6 Replies

Read From Physical Disks

Mar 28, 2009

how I can Read data from Hard disk or flash card, etc., and save read data in .bin file.

View 2 Replies

Storing On Physical Memory?

Oct 26, 2009

I've created an app that calculate calories that the user ate that day. They first enter breakfast, then lunch, then dinner, but the totals all open in one page and if they close that page, they lose their totals. How can i get the totals to stay on the physical memory until the user closes the whole app?

View 2 Replies

Create Quick Info And/or Parameter Info For Own Code?

Jul 23, 2009

how to create Quick info and/or parameter info for own code?

View 6 Replies

Read Info From A Text File And Add Info To A ListBox?

Jun 22, 2011

I am making a program, obviously, and I require some assistance. I found an explanation on how to read information from a Text file and have modified it for my needs. Here is my (modded) version:

Public Function GetInfo(ByVal playlistname As String) As String
On Error Resume Next
Dim PlaylistInfo As String

[code].....

View 6 Replies

VS 2008 Add More Than 1 Info In A Database, But The Rest Of The Info Stays The Same?

Jan 7, 2010

I'm making a database app. I've finish the search, add new, and add function. What I'm trying to do is to expand the functionality of the add new item function.

View 2 Replies

VS 2010 - Fill Out A Form With Certain Info, Put The Info Into An Array?

Nov 17, 2011

I am trying to do is fill out a form with certain info, put the info into an array, and write it to a listbox using loops, arrays, and maybe a function if I need one. This is for VB2010 and here is what I have so far... I think there are ways to make it shorter but I cannot figure it out.... maybe just brain dead from all the coffee I have been drinking!

[code]...

View 1 Replies

C# - Print A Specific Physical Size?

May 5, 2011

I'm sure this is a common problem, but I haven't been able to find it.

I have a website and I want the user to be able to print a rectangle on their printer that is 3.5 inches x 2 inches. Exactly (within reason).

EDIT: To clarify - I'm looking to print a bunch of multicolored Text within a rectangle that needs to be a specific physical size. I also need to print specific shapes around some of the letters.

I'd looked into some of the .NET Printing stuff and found examples of measuring/drawing strings and shapes; but I didn't see anything that would let me specify a specific size.

View 1 Replies

Detect Physical/Virtual Printers?

Jul 16, 2009

way to detect Detect physical/Virtual Printers in VB.Net?

View 1 Replies

Get Physical Address Of Computer Having Windows 7?

Oct 10, 2009

how to get physical address of computer having Windows 7.

View 8 Replies

Get Physical Folder Site Is Running Under?

Jul 11, 2011

I am looking to get the folder that my website is running under. I have used many different methods within HttpContext.Current.Request but none of them were returning what I was looking for. I can easily get the value using substring but it doesn't look very clean and was wondering if there was a shorthand way of getting the folder.

[Code]...

View 1 Replies

Read/Write To Physical Memory RAM?

Mar 8, 2011

how to write to memory some data and then read it back?

If i have 1GB free of memory i would like to write 100MB to memory some data and then read it back, i searched net for some documentations but cant find nothing, only writing to other process and some stupidities!

View 3 Replies

'hook' A Physical Drive Connected To The System?

Jun 18, 2010

What I'm looking to do is 'hook' a physical drive connected to the system so I can process data coming through the API before it's written to the disk. I have a sense DeviceIOControl is where I should be, but I can't seem to find any IOCTL code that uses a callback (which is what I expect I should be using to scan/process data on its way through the API).

View 2 Replies

Asp.net - Get The Current Startup Project's Physical Location In C#?

Sep 3, 2009

I want the location of the current execution project i.e in VB.NET/C# or the current class file's path? Ok,let me elaborate i got 2 projects in one solution file,lets say A,B are projects, my startup project is B ,and im accessing a class file in A ,now i need to know virtual path of B. because i need it for accessing the resource file coz error pops up when using ExpressionBuilderContext

View 3 Replies

Communications :: Null Exception Physical Address

Apr 8, 2010

[Code]...

Anyone know why, Every time I try calling something with this PhysicalAddress it says Null Exception, and the debug always displays nothing inside the Var's, Is this a bug or something? Im using Framework 2.0 >:O

View 3 Replies

Get The Physical Location Of Root Directory Of Website?

Oct 26, 2011

How can I get the location of the physical root directory of my website in VB.Net?

I am using visual studio 2008 and vb.net

View 2 Replies

Getting Physical Path Of File In Project Directory?

Dec 15, 2011

I am using Environment.CurrentDirectory to get the current directory, i.e. "D:ChuttuProjectsLICinDebug"

But, I want to remove "inDebug"

How can I do that? Or is there any way so that I can get the directory up to "LIC"?

Actually this is my connection string:

Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|LIC.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True

But when I use this and try to insert data into the DB, the data is not inserted. When I use the connection string with a physical path it starts working:

Data Source=.SQLEXPRESS;AttachDbFilename=D:Chuttu VBProjectsLICLIC.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True

I am trying to get the physical path of the mdf file and use it in the connection string.

EDIT:

This piece of code works fine:
Private Sub save()
Dim con As New SqlClient.SqlConnection("Data Source=.SQLEXPRESS;AttachDbFilename=D:Chuttu VBProjectsLICLIC.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True")

[Code].....

View 4 Replies

Obtain Physical Path Of Specific Website

Sep 18, 2009

I have a web application (built as a product) that contains an XSL stylesheet that I'd like to use in a console application I've written in VB.Net in support of that web application. Is there a way to automatically determine the physical path to where the web application is installed? I know that the IIS Metabase holds this information, I just don't know how to access it.

What I have is the path to the web site. For example: [URL]. I'd like to look up in the IIS Metabase (on a specific server) to find the physical path
(For example: c:inetpubwwwrootmyapplicationfolder)
Is this possible from a console application running on either that server or even another server? (assume the account running the process has full admin rights).

View 2 Replies

Saving Data In A DataTable To The Physical Database?

Jan 31, 2011

I've been looking at this problem for a while and can't see what I'm doing wrong. I need an extra set of eyes. The business problem that I am trying to solve is the following:I have a table that contains a list of auction items that are displayed in a datagridview. I have another table that has a list of bidders. At the end of the auction I need to update the Winners table with the bidder number and item number of the auction item. To do this, I display all of the auction items and then let the user enter the bidder number and winning bid amount in the datagridview. When finished, the user clicks on Save and the information is pulled from the datagridview and saved in the Winners table.

I have a datagridview (AuctionItemsDataGridView) that uses the auctionitems table from my database as its source. I add the BidderNo, WinningBid and BidderName columns to the datagridview when the form is loaded. There are 3 types of auction items so I prompt the user for the type of auction items to display using a combotextbox (CategoryComboBox). When an auction category is chosen, I load the auction items for that code into the datagridview. I then load the winners from the winners table into a WinnersDataTable (WinnersDT). For each item in the datagridview, I check if there is a corresponding item in the Winners Table. If there is then I populate the BidderNo and WinningBid columns of the datagridview (I also populate the BidderName). So far all of this works. The problem is when I make a change to the datagridview.If I enter a bidder number and winnng bid amount the data is not being saved to the physical database table. To save the data I perform the following:

For each item in the datagridview, check if a Bidder Number is entered. If a bidder has been entered, I check to see if there is a corresponding winners record in the WinnersDataTable for the current item. If yes, I enter the bidder number and winnng bid amount in the table. If there isn't a record, I add a new one. After looking at each item I call the Update method on the WinnersDataTable.

Public Class Winners
Dim BidderDT As DataTable
Dim WinnersDT As DataTable
Dim pageLoading As Boolean

[code]....

View 2 Replies

Application.Info Not Showing Correct Info?

Sep 6, 2011

under my project I have the following

However when I use this code.

lblABOUT3.Text = "Version : "
lblABOUT3.Text += My.Application.Info.Version.Major.ToString()
lblABOUT3.Text += "." & My.Application.Info.Version.Minor.ToString

[Code]....

View 8 Replies

Correlate Textbox Info To Listbox Info?

Mar 17, 2009

how to correlate info from a textbox based on a listbox item selection. For example the user will select an item from the listbox, enter say the length of a song in the textbox say 2:00 for song #1, select say song #2, enter the song time for that song say 3:00, click on song #1 again and have the same textbox display the length of that song and be able to do that until there are no more songs on the list.

View 5 Replies

Display Image In Crystal Report Using Physical Path

Jul 3, 2010

I am using vb.net and access. In which I have one field in which I have saved only the path of that image. Now I want to display that image in crystal report dynamic. I want to fetch the image path in crystal report and display in it.

View 2 Replies

Read Access To Physical Drive Without Admin Rights?

Feb 20, 2012

I am trying to read some data from the MBR using CreateFile, but I cannot get it to work without admin rights. The code I am using is like this:
hDevice = CreateFile("\.PhysicalDrive0", GENERIC_READ, FILE_SHARE_READ Or FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0)
Is it possible to read data from the MBR without admin rights?

View 1 Replies

Gathering Physical Memory Usage Of A Started Process Tree

Mar 21, 2012

first of all, I'm not 100% sure this is the right forum to post this, as there seems ot be tones and tones of forum branches here, so if I'm not in the right location, i'm creating an IDE for a proamming language and I need a way to monitor the physical memmory usage of a process tree. I'm not talking about the WorkngSet64 of a process, but the WorkingSet64 of the process and any child process started by it.

[Code]...

View 7 Replies

Resize A Form , Its Controls According To User's Screen Settings And Physical Monitor Size?

Nov 19, 2010

I am creating an application for a company and this CD will be distributed to hundreds of people. Many users will have different computer screen size and different screen settings such as their resolution set to 1024 x 728 and their monitor size 17" inches.

I noticed when I loaded the application on a different computer with different settings the application was to big for the screen and did not work. I notice that lot of other programs from microsoft resize their controls and text but never knew how they did it. How can I resize the form and control according to the user's setting.

View 6 Replies







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