Using RAM Disk To Save Data Temporarily
Jun 30, 2009I need to use a virtual drive (ram disk) to save data temporarily. Which ram disk program is good to use.
View 6 RepliesI need to use a virtual drive (ram disk) to save data temporarily. Which ram disk program is good to use.
View 6 RepliesI would like to know how to save data without click on the floppy disk on binding navigator. IS there any coding which i can use under a button to do the same function as binding navigator.I just want to use button to save and delete data rather than binding navigator.the data which i am using is in datagridview and details view?
View 2 RepliesI don't know why it is not saved to the table. Here is my code.
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As _
System.EventArgs) Handles btnSave.Click
Try
[Code]....
how to temporarily save the user input to the pc he is using then save to another pc in the network later. Our LAN sometimes disconnect or there maybe power interruptions and I don't want that the input of the user disappear due to disconnection or power interruption. What is the easiest way to accomplish this?
Here's what I'm working so far. The data saves to another pc.
Imports System.Data.SqlClient
Public Class formGrammarI_Page01to04
Dim db As New EPTR_DataDataContext
[Code]....
I want to save the files as pdf,jpeg,txt,gif etc to disk from database. In database it is stored as binary data.
View 2 RepliesI am wondering how to save a textbox contents to disk?? Using the MSDN help I was able to come up with this code so far. I have a menu strip item labled "save as." when I click it the prompt to allow you to pick a location to save comes up and it will save a text file to the selected location but the .txt file is blank. How do I set this code so that it knows to save the contents of the textbox.
[code]...
am wondering how to save a textbox contents to disk?? Using the MSDNI was able to come up with this code so far. I have a menu strip item labled "save as." when I click it the prompt to allow you to pick a location to save comes up and it will save a text file to the selected location but the .txt file is blank.
Dim saveFileDialog1 As New SaveFileDialog()
saveFileDialog1.Filter = "Text|*.txt"
saveFileDialog1.Title = "Save File As"
[code].....
I created a database (.mdf) file. I added data to it after running the program in debug mode. When I closed it and opened it up again, the data I got was stored and loaded again.I closed my whole Visual Basic Express program. When I opened it up again, all the data had disappeared.
Can you tell me what I am doing wrong with the program? I can't get queries to work either. It worked when I used the NOrthwind dataset this past weekend but it is not working when I use my own or empty dataset.
How can i save an array of string to disk??
lets say we have
Dim myStringArray() As String = {"A","B","C","D",.......,"Z"}
and wanted to save it to a binary file on my disk.
later i want to be able to read it and load it into memory.
How can I transfer entries from listview to disk using System.io?
View 2 Replieshow can i save image from picturebox or from url to disk i have found a similar post but is for asp.net and i looking for vb.net and i looking a simple function.
View 2 RepliesI am working on a database for a program. I used the .mdf file, created a table, and tried to store data in it.I did not build the program yet. I am still using it on a test drive or debug mode.I added three records to the database.I closed the program for 10 minutes and went back to writing code for it.When I opened up the program again, the database only showed that I had one record.This happened before and after I wrote other code for my program.I only started having the problem today?Is it possible that there is not enough room in the database to store all the records? The variable sizes for 3 of the fields are 400, 500,500, and 1000 and the other fields are like 50 each.All together there are 7 fields. I encountered the error after i had made one of the fields a look up field.In this field, basically I loaded categories stored in an extra files into the comboBox so users can select values without having to retype it.
Can you tell me what the error is and how I can fix it or what I am doing wrong in the program?How do I set up another table and query it to pull the values I want for the comboBox field?
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] .....
I want webbrowser1 to navigate to a list of URLs that will be read in from a text file. (I left that part out of the below code and just manually entered urls as examples.) What I have found is that the webbrowser1 will navigate to the urls, but it will not stay long enough to get anything from them. In this example, not even the final page loaded ends up getting saved. Can someone tell me how to halt the attempt to save webbrowser1.documenttext until it is fully loaded?
View 5 RepliesI am using webcam and want to record video and save it on disk, the video time must be constant for such 20 or 30 sec, what i want is to change CAPTUREPARMS members which contain fLimitEnabled & wTimeLimit
'---capcaptureget function
Function capCaptureGetSetup(ByVal hWnd As Integer, ByVal s As Long, ByVal wSize As Integer)
capCaptureGetSetup = SendMessage(hWnd, WM_CAP_SET_SEQUENCE_SETUP, wSize, s)
End Function
[Code]...
I'm developing a winform application. I want to take input from user (i.e. the user provides username) and use that input as part of filename and save to file.How do I check if the username provided by the user didn't contain windows' reserved characters. And what is the list of reserved characters for windows?
View 1 RepliesI have a mySQL table(IMP_SCANS) holding the file, it's name and size for every document:
scan_1 blob
description varchar
filesize int
doc_no varchar
doc_date date
I managed to insert a file to the table. Now I need to save the file to disk.
So I have the code:
Dim conn As New MySqlConnection
Dim cmd As New MySqlCommand
Dim myData As MySqlDataReader
Dim SQL As String
Dim FileSize As UInt32
Dim fs As FileStream
[CODE]............
I all works fine up to the line: myData.GetBytes(myData.GetOrdinal("scan_1"), 0, rawData, 0, filesize) Where it says "Object reference not set to an instance of an object". I cannot figure out why I receive this error.
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?)
where do can I find the save disk icon on the toolstrip.
View 2 RepliesI have webcontrol inside windows application now i want save image inside page on my local hard disk?
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 RepliesIs there a way to optimize the process of reading data from an harddisk to reduce the time required to get the data?
View 1 RepliesI 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?
modify code to insert the data to MS SQL and save changes when click save button for the second time?
View 14 Replieshow to code for the save button in vb.net datagrid view by using insert into sql and update sql statements (it should be able to insert & update the data grid and save the changes) when the save button is clicked .
View 2 RepliesHow to save all the data displayed in DataGridview( 2 column, no primary key) and have a button and
View 7 RepliesI am working on desktop application. I had created number of dynamic textbox and label and I want to save that data on clicking the save button.
View 4 Repliesin my form i have 4 textboxes and i want all not to be empty while saving the data.I have put condition in save button,when user presses the save button to save data, to check all the textboxes not to be empty. My question is that, i want to focus to that particular textbox which is empty during saving the data.
For example: i have txt1,txt2,txt3,txt4 as textboxes in the form if txt1 is empty while saving, the focus should switch to txt1 rather user himself have to go there.
I'm trying to hide 5 to 12 buttons on a form until a screenshot is saved to the clipboard. I have it set right now so the user clicks a button(btnSavePDF) and then whichever buttons are visible are made not visible. But I haven't a clue how to restore just those buttons. I'm trying to avoid restoring them all unless they were all originally visible.
[Code]...
I wrote the code and it runs through it perfectly, the problem is that it will only save it to the database temporarily. So once I close down visual studio for the night and come back to it what's been entered is gone. It's not a published program still in debug mode but I've not run into this before. I have another program I'm working on that I'm running purely in debug mode and it works flawlessly. The code between the two is the same cause I just copied it and changed the parameters. Any ideas? I'm using an sql mdf btw.I should clarify, don't know if it matters or not, that the DB that is working is in SQL server whereas the DB I'm having trouble with is a mdf that I added into the program.
View 3 Replies