Storage Fpr SSL Files?

Dec 30, 2010

I am using a MySQL Server on the net and a Windows Forms client program, which connects to this server.

I want to use SSL and have prepared everything, that this can be used. My primary question now is as follows:Where / how to store the files for the SSL certificate as best way? As embedded resource? as external file? As part of the My.Settings environment?

View 3 Replies


ADVERTISEMENT

Write Files From USB Storage In .net Application?

Nov 20, 2008

I am looking for some API or OCX or any other method to copy the existing file from Hard disk to the USB storage device.for that i would have to perform the following checks :

1> Check for the plugged in USB devices.

2> Find out for the available space(2GB) on each.

3> Prompting a message to user on which drive he would like to write that movie file.(As At a time i want to give only 1 disk write only.

4> after selecting the Drive, and pressing OK, i just want to copy the selected file from HDD to that Device.

Now For achieving this , i just need a reference of any Available API or OCX or any other method available in VB.net?

View 2 Replies

Read Files From An USB Mass Storage Device?

Sep 9, 2009

how to read files from an USB mass storage device. I have found plenty of posts regarding drive letter detecting and reading the files. It's OK, but what about a device, where no drive letter is assigned - e.g. my mobile phone is visible under "My Computer" as "Mobile Device". The same situation it with my MP3 player. It's visible under "My Computer" as "Sansa device". Please, could anybody help me? I need to enumerate USB devices, identify, which ones have a file system and finally, I need to read/write a file to the file system.

View 2 Replies

Where Are Files In Isolated Storage Stored On Pc's Harddisk

Sep 12, 2010

I have a little problem with finding a file I stored in an isolated storage on my pc harddisk.The application stores a Hashtable ( Called example ) in an isolated storage like this:[code]

View 1 Replies

File I/O And Registry :: Copying Files From Storage Drives?

Jun 18, 2009

im looking for code to copy the files from the floppy drive to a removable drive on the computer.For example:

Copy A:contents to Z:contents

View 3 Replies

USB Mass Storage Devices - Moving / Syncing Files

Aug 18, 2010

I have a system that detects USB mass storage devices. I have a "list of items" listbox (ListBox3) and a list of USB's (Listbox4) When Button4 is pressed it will transfer all files in listbox3 onto the mass storage device selected in listbox4

View 29 Replies

Data Storage Methods (access/sql Etc) Require The End User To Download Extra Files?

Mar 3, 2012

I'm just getting started with Visual Studio (2005), and my aim is to write a fairly simple application in Visual Basic that will need to store some data to disk.What I really want is to be able to send the application to the end users (xp, vista, win7) and have them just be able to use it without having down download all kinds of extras. For example I'm guessing that if I use an SQL database in my application they will need to download SQl server express or some other sql downloadable?

If so is there a similar downloadable for MS Access?I'm just in the 'seeing how things work' stage at the moment and I don't want to waste time going down the SQL track just to find it won't actually work unless my users all download SQL to their machines (which they won't want to do).

View 4 Replies

File I/O And Registry - File Storage - Where The Best Place To Keep Files For A Program

Jun 2, 2009

Looking for an idea of where the best place to keep files for a program. I use them frequently and they interact with the program directly. I want to place them in a place where they won't be easy to find if someone is just cruising thru the directories. Any ideas?

View 7 Replies

How To Storage Some Information

Apr 8, 2010

I need some input how to storage some information.The information I wish to store is a list (1-300) that contains the following:

-Raw material (string)
-An array of Value (double or long)
-An array of Date (string preferably)

My first approach to this was looking at the structure statement but I couldnt figure how to use the array within the structure statement.

View 2 Replies

IDE :: Not Enough Storage Space Is Available?

Nov 30, 2006

Almost every one hour, when I run the project

View 12 Replies

Use Memory As Storage Instead Of HDD?

Mar 31, 2012

I have been trying to do this for about a month now (hard to get answer quick because of school), but i need to decrypt a file into memory. I know you have to "write all bytes to memory" but i have two problems with that, 1. I have never touched on that itself and don't know how to write the bytes of an executable to memory, 2. I still wouldn't know how to decrypt it in memory. Right now my code is:

ElseIf entype = "rc4" Then
If File.Exists(thepath & exerandname) Then
Kill(thepath & exerandname)

[code]....

it checks if the file exist then deletes it, then it opens the file and decrypts (_4reversecr.enc) the file(Cutter(1)) with the key (key)?

View 5 Replies

.net - VB In Program Information Storage?

Oct 7, 2011

I'm making an installer that needs to have information stored inside the exe itself.I cannot use my.settings because it is stored outside the application and if it is changed and the exe is moved to another computer it will reset to default.

And I cannot use resources since I cannot add/edit resources after the application is build.

Is there any way I can store and change info even if the application is moved to another location?

View 1 Replies

Add An Array To A Storage Collection?

Feb 15, 2012

I currently have the following bits of

[code]...

I want to add an array to the class `StopwatchStorage` but can't figure out how without some ambiguous warning or error popping up. The Array will contain TimeSpan type elements (essentually an array of Stopwatch.Elapsed values)

How do I declare and add a dynamically sized array to the class. I know that I will have to use the UBound function each time I want to add a new array.

View 3 Replies

Creating Isolated Storage?

Jan 12, 2011

I was reading an article about isolated storage and thought of doing the following.Encrypt files.Add them to Zip.Unzip the file,decrypt the content and copy all the files and folders into an isolated storage and then load a specific file into a web browser and launch lets say an HTML page I got stuck on the Isolated Storage thingy

here is a part of my code

'So far i unzipped the content of the Zip file
'Setup file streams to handle input and output.
fsInput = New System.IO.FileStream(strInputFile, FileMode.Open, _

[code]....

Encrypt files.Add them to Zip.Unzip the file,decrypt the content and copy all the files and folders into an isolated storage and then load a specific file into a web browser and launch lets say an HTML page)

View 1 Replies

Solution For Structured Storage In Wpf?

May 30, 2009

what is the best solution to save data in structured storage?

i need this for a wpf application

View 4 Replies

.net - Parallel.ForEach Local Storage?

Aug 3, 2010

I recently changed a For Each loop to a Parallel.ForEach loop. I'm concerned about an object being declared outside the loop but assigned while iterating in the loop. Here is the simplified code.

Dim results As ModelResults
Dim noResultsModel As New List(Of ModelResults)
Dim lock As New Object
Parallel.ForEach(_modelEngines,
Sub(model)

[Code]...

Is there a potential race condition with the results object? Would anything be different if I moved the declaration of results into the for loop?

View 1 Replies

Accessing MP3 Player / USB Storage Device?

May 14, 2009

I'm trying to access a USB Storage device, however the device although appearing in the commputer / Drives section, is not allocated a Drive letter, thus when I itterate through the attached drives link text it does not appear, I've taken the "Location" from a file on the drive (properties) and it comes up as COMPUTER/Q1/Datacasts but this doesn't work when I pass it to the FileInfo Object (network drive cannot be found) And I'm at a bit of a loss at which way to procced

View 1 Replies

Add A Document Storage Module To AR Software

Jul 7, 2009

I am attempting to add a document storage module to our AR software. I will be prompting the user to attach a doc/image to thier account. I will then put a copy of this file into our folder so that we can reference it without having to rely on them keeping the file in its original place. This system is not using a database but instead its using multiple flat files.

I am looking for guidance on how to handle these files once they have attached them to our system. How should I store these attached files? I was thinking I could copy the file over to a sub directory then renaming it to a auto-generated number so that we do not have duplicates. The bad thing about this, is the contents of the folder can get rather large.

View 2 Replies

C# - Access Images From External Storage In ASP.NET?

Jan 21, 2010

I have an ASP.NET site in a web server and the images are stored in NAS (some kind of lacie external storage), I tried UNC and other things but no success.how can I access images from external storage in ASP.NET

Update: The images are reachable from the server but when I try to access in ASP.NET throws me error.

View 2 Replies

Contents Of Mass Storage Device?

Aug 19, 2010

I have a listbox (ListBox5) and what i want to happen is when, and only when, a USB mass storage device is inserted a list of the files will appear on the listbox - and then when your press the button marked "Remove File" it will delete the selected file off the USB

View 5 Replies

Deployment :: .NET App Updates And Isolated Storage?

Jul 2, 2009

The Windows Application we are coding uses an XML to store connection settings etc. The application also needs to update automatically online. The problem is that the config file is replaced when the application is updated and the user has to set up the application again (definetly not ideal!).I placed the XML file into isolated storage, no problems doing that. But still when the application is updated the isolated files get replaced/removed and the user has to reset their settings..

View 1 Replies

How To Acquire A Server / Online Storage

Apr 30, 2010

I have an idea of making a chat program with someone over the internet. So my understanding of what i have to do is create a server that holds a text file that can be manipulated by both parties. Then create a program to read the file and change it. So my question is am i on the right path? Also, How do i acquire a server/online storage?

View 5 Replies

How To Create Dynamic Storage Of Data

Jan 26, 2012

I'm a junior VB programmer and looking for some advice on this subject. I'm trying to create a chunk of code that will create dynamic storage for variables for use later by dynamic custom controls.

For example:
An INI file might have an entry in it that looks something this:
....
[var1] <-- this becomes the Storage name
description=My Variable
type=System.Int32 <-- this could be any valid VB type
last_val=456 <-- Other code would save the last value
....

And I want to access the data using a standard "property set" like so after it's created:
var1_reference.value = 55
I've tried using a generic class which works ok as long as I declare the variables at design time from within the design environment. But when I try to create them from the INI file it gets messy.

Here's the simple generic class i've constructed to test this:
Public Class GenericVar(Of T)
'
' Generic Symbol Class for data storage
'
Private VarName As String
Private VarType As Type
[Code] .....

Also, as each object is created (and they could be different types) I store a reference in an array to make it easier to keep track of, but I'm having a hard time getting access to the objects and their properties, and certainly cant seem to assign an event handler to it once its in an arraylist because the design time code doesn't know what "Type" it is in the arraylist of objects.

View 2 Replies

Isolated Storage For Log File On XP And Windows 7

Sep 10, 2010

I'm restricted to .Net 3.5 so I can't use isolatedstorage.getfilenames() as in .NET 4. What I have below isn't working yet. I do get to the messageBox included in the code below but I can't find the file "IST_Log.txt" anywhere on Windows XP where I ran the program. I saw the messagebox appear 3 times meaning AppendLog was being called. What do I need to do to write this file on either XP or Windows 7?

Public Sub appendLog(ByVal message As [String])
' Get the isolated store for this assembly
Dim isf As IsolatedStorageFile = IsolatedStorageFile.GetUserStoreForAssembly()
Dim format As String = "MM/dd/yyyy HH:mm:ss.fff"
Dim isfs1 As IsolatedStorageFileStream
[Code] .....

View 5 Replies

Moving A File To A Storage Device?

Aug 1, 2010

Is it possible in VB.NET to get the directory of a file copied/moved to a removable storage device?

For example, I have msword document on my desktop and move it to my storage device. A dialog box will appear or anything that will show the directory of the document.

The idea is whenever you move a file into the specific device, it will automatically processed. I will be using this to compress a file automatically when it is moved or copied to the storage device.

View 2 Replies

Program Data Storage Location?

Dec 2, 2011

Where should I store my programs user data so no one will have trouble accessing it?

View 2 Replies

Sending BMP Logo To Printer For Storage

Feb 28, 2009

I would like to ask a question about sending a BMP logo to a printer for storage. As I used to send a txt file to the printer, I just read through the file and store the contents of the file in an string. After sending the string to the COM port connecting the printer with "ComPort.Write(msg)", the txt file can be successfully printed. When dealing with the printing image problem, I tried to read the image with a binary reader and store into a binary array. Then I write the binary array to the COM port connecting the printer, with "ComPort.Write(bitArray, 0, bitArray.Length)". I am still quite new for VB.

View 2 Replies

Username And Password Storage Location

Apr 18, 2011

I am writing a program in vb.net that requires a user to log in before he can use the application. The main user is created when the program is installed, similar to how windows works when it is installed.

The main user can add additional users to the program. I already know that I should store the passwords encrypted. My question is, where should I store the usernames and passwords? The registry, Isolated storage or .config file. I don't want any user to be able to modify/delete that file as the other user would obviously not be able to log in. Also, this file should be accessible for any user that logs into the computer.The computer is not guaranteed to be connected to the internet, so it must be stored locally.

View 2 Replies

Vista (and Windows 7?) Data Storage

Oct 19, 2009

I have and application written that works great on XP. It is VB.Net 2008, using .net 3.5. I install and Access database to the program file directory. In Vista, I get an error that is permissions related as even admins don't have default write permissions to the Program Files directory and access creates a .ldb file when in use. To solve this, I have had the users give themselves permission to the folder.

Is that the best solution? If not, where should data be stored in Vista and in Windows 7? Also, I have an update feature of my software that will download updates to the program files folder. Is this out, too?

View 20 Replies

VS 2005 - FileStream Storage Across Forms

Apr 17, 2009

I have a button on form 1. When the button is clicked, form 2 pops up. Form 2 also has a button.

Code for form 1:
Imports System.IO
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim textfile As New FileStream("textfile1.txt", FileMode.Create, FileAccess.ReadWrite)
Dim txtfilewriter As New StreamWriter(textfile)
[Code] .....

Now, as you see, on the form 1 load event, the streamwriter writes "Physics" to the text file. When the button on form 2 is clicked, the streamwriter writes "English" to the same file. As an end result, I expected BOTH "Physics" and "English" to be in the text file but the final result is only "English" in the text file. What do I have to do so that the textfile continuously stores these lines?

View 1 Replies







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