VS 2010 Save Picture In Sql-database Or On Hard Disk?
Jan 31, 2011
I have a program for collecting data of people. Now i also have a picture of these people... what is the best thing to do? what is the fastest? the safest?
1. Converting a picture to a bytearray an then insert it into a sql -table (with al ready 5 columns).
2. making an new table on the sql database with just two columns (id-ref, picture-column)
3. or saving a file on to the hard drive? (if nescessary saving the url into the database?)
View 10 Replies
ADVERTISEMENT
Aug 12, 2010
I was thinking to make an app to save images [or download images] to local hard disk. But to keep it easy, I want this app to create a small picturebox on form to show the thumbnail of downloaded image. Lets say a 5 pictureboxes has to be added with the thumbnails to show the recent downloads. A user can save the location where he wants to save the files on hard disk. A listbox or a dropdown menu will help in categorizing the images, like image1 in friends section, image2 in family section, image3 in others, etc... When the program restarts all the latest 5 thumbnails has to be loaded in pictureboxes and the directory that was chosen. Finally, a button that shows the downloaded images into original image file size one by one or a slide show. Is it possible to make such program?
View 2 Replies
Mar 19, 2011
I made a painting on a picturebox in Visual Basic 2010. Now I wish to save that picture on my harddisk. But
pictureBox1.Image.Save("C:MyImage.jpg")
does not work.
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Drawing.Imaging
Imports System.Text
Public
Class Form
[Code] .....
View 8 Replies
Jul 15, 2009
I have webcontrol inside windows application now i want save image inside page on my local hard disk?
View 3 Replies
Jun 10, 2009
VB.net seem to place my database file into/userprofile/local settings/apps/2.0/data/random/random/appname/data/ folder.Can I define easier location for my published app. I am also worried that when upgrading this database is ignored or something bad happens?
View 1 Replies
Jun 24, 2011
I have following instance of System.Collections.Specialized.NameValueCollection:
Dim UserSelection As New System.Collections.Specialized.NameValueCollection
UserSelection.Add("D_Color1", "Black")
UserSelection.Add("D_Color2", "Green")
UserSelection.Add("D_Color3", "Purple")
I need to save this instance to hard disk and then load it back from hard disk as an instance. How do I do that?
View 2 Replies
Jul 21, 2010
How would I find the letter for the hard disk? e.g C:
Because I know some computers have different letters insetad of C.
Also, on a slightly different topic (I didnt think it was worth starting a new thread for it), I need a program to start during the start up of the computer it is on, am I right in saying I need to create a shortcut (which I think is a .lnk file?) and then put that in the startup folder. I'm doing this in code, but I was wondering what information I need in the shortcut file.
View 12 Replies
Apr 3, 2010
I work with VB 2008 I need to know a main part Serial number such hard disk or CPU in the local machine?
View 4 Replies
May 24, 2012
I try to get hard disk Manufacturer name but can't figure out I tried whit wim but what I get is Standard disk drives and not seagate or samsung etc. [code] is there a way to get the manufacturer name by another way?
View 12 Replies
Mar 3, 2007
I am Creating a software which require users to enter the serial key provided by me. Well I want the users to send me the Computer key which how can i interface into my VB.net
After that Computer key I'll be sending them the activation key.Just like many softwares available in the market which does this?
View 6 Replies
Feb 11, 2011
How do I get the hard disk physical serial number like in that example: http:[url]...
View 5 Replies
Jul 5, 2006
i want 2 know that ,is there anyway to get hard disk serial number(Hard Disk , not Hard Drives) without using WMI.
View 7 Replies
Sep 15, 2010
I am using the following code to search files in the hard drive but when it reaches system folder or System Volume Information, it gives error. How can I avoid searching the system folder?
Search Files in hard disk
Imports System.IO
Public
Class Form1
Private Sub Button1_Click(ByVal sender
As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
[Code] .....
View 6 Replies
May 5, 2011
I am going to develop a antivirus software and i want to scan the files.. so i want to get the files one by one into a Label I Already use this code to get add the files to a listbox But It did not Help For me... Because it is adding Whole Files to a List Box at Ones..
[Code]...
View 1 Replies
May 30, 2009
once a class has been persisted on an hard disk with a strem is it neccessary to load the full class to deal with one part of it or is it possible to get just the part of the class i am interested in?
View 2 Replies
Jan 30, 2009
Can somebody tell me how to call Windows Hard Disk Defragmenter in VB.Net on Button Click.
View 4 Replies
Jan 30, 2009
how to call Windows Hard Disk Defragmenter in VB.Net on Button Click.
View 1 Replies
Jan 30, 2009
how to call Windows Hard Disk Defragmenter in VB.Net on Button Click
View 1 Replies
Nov 24, 2009
Can anyone explain with program how to extract the serial number or unique ID of the hard disk. i need a clear explained program. i m using some tools but i couldn't really understand how they do it.
View 10 Replies
Jun 22, 2010
I need to know how can I make a program for specific hard disk? I have heard it that programmers use hard disk`s unique number to protect their program. So that user cant use this program there in another pc(hard disk).
View 1 Replies
Dec 12, 2010
Is there a way to optimize the process of reading data from an harddisk to reduce the time required to get the data?
View 1 Replies
Feb 16, 2011
I'm developing a system info application. I've Searched all over internet and only found code for Free Hard Disk space, but not Total hard disk space.
The code should calculate the Total space of all the drives.
View 7 Replies
Oct 3, 2010
i would like to know how locate the hard disk in a computer. For exemple I have 2 hard disk : C: and E: I would like to locate them and list them in a textbox for exemple.
View 11 Replies
Aug 27, 2010
Iam trying to copy file to floppy disk rather than to hard drive. I try to use the code that I used in VB6 but there are so many errors. I gave up. Are any simple code the would do it? New C# Programmer
View 2 Replies
Jun 22, 2010
1. i have the images of our specimen card, located in my hard disk.
2. i want the image of the speciment card to be display in a picturebox when i type in the name.
3. i already made this in Ms Access using load image via current form. can u help me do it in Visual basic 2008 express.
View 3 Replies
May 31, 2011
Using Visual Studio 2010 does anyone know the best way to retrieve the serial number of the PC's hard disk using VB2010 (not VB6).
View 2 Replies
Oct 21, 2011
Is there a way to detect the motion sensor in the hard disk with visual basic .net?I know that hard discs has an acceleration sensor to turn the hard disk off when the computer falls from a height.I have seen one example of this in a game using this sensor.I want to detect the sensor so that my security program can alarm and email me if lets say someone nocks my computer to the floor while im gone.
View 1 Replies
Jun 5, 2011
I have a program that must copy a file to 3 locations, the local hard disk, a USB drive, and a network location. I have the file (about 70mb) loaded into a byte array. My quesion is, since I'm not actively modifying the byte array, can I impliment a form of multithreading where all 3 threads read the same byte array at the same time?
View 1 Replies
Feb 4, 2009
how to write a null bytes onto unused hard disk spaces? I understand that files deleted are still existed on hard disk, I am thinking of may be if I write the null bytes to every single unused bytes so that the unused hard disk space would be become all null bytes, and unused space would no longer contain of those deleted files.
View 9 Replies
Jul 28, 2011
I am using following code to save my data to database Where does the statement to save a picture in the database fit?
[Code]...
View 1 Replies