VS 2010 Making Backup Up File

Oct 9, 2011

how to make a back up file using mysql xampp?

View 1 Replies


ADVERTISEMENT

Making A Backup Utility - Compress Things To The Maximum?

Mar 7, 2009

I'm making a backup utility, and I need to know how to compress files. Is there a VB built-in utility for this? Also, if possible, can you tell me how to compress things to the maximum?

View 2 Replies

VS 2010 Improve A Button So The User Can Make A Backup Of The *.mdb File?

Nov 14, 2011

I have my desktop app, bound to an access database. I want now to improve a button so the user can make a backup of the *.mdb file.So i used this

If FolderBrowserDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
If FolderBrowserDialog1.SelectedPath <> "" Then
FileCopy("BDGRACIA.mdb", FolderBrowserDialog1.SelectedPath & "/BDgracia.mdb")
End If
End If

It works fine when i try the app from within Visual Studio. But when i install it it won�t find the database because it was installed elsewhere.Is there a way to control where the DB is installed and follow that route? Does this depend on the OS the app is installed? Or did I face the problem wrong and i should do something completely different with my button?

View 3 Replies

VS 2010 Making 'settings' File?

May 11, 2010

if we say i have a program and i want it to launch another .exe So the code of them being able to choose where it's located is "openfiledialog".But can i make it save the setting somehow, so it makes a small document/text-file thingy so it can read the locations from the file ?Or is there someway that the program remembers it ? I want it to ask for a file location first, and then next time pushing the button "start" it remembers the location ?

View 4 Replies

VS 2010 ComboBox - Show A Number In The File I Am Making?

Jun 29, 2010

I am trying to convert watever is in the ComboBox to a number. So say I select "Grey" in the ComboBox I want it to show a number in the file i am making. My.Computer.FileSystem.WriteAllText(TextBox_ChooseFolder.Text & "" & TextBox_ItemID.Text & "-" & TextBox_ItemName.Text & ".sql",<ComboBox Number Here>, True)

I have tried

My.Computer.FileSystem.WriteAllText(TextBox_ChooseFolder.Text & "" & TextBox_ItemID.Text & "-" & TextBox_ItemName.Text & ".sql",If ComboBox1.Select = "Grey" Then "0" ElseIf ComboBox1.Select = "White" Then "1" ElseIf ComboBox1.Select = "Cream" Then "2" End If,True) ...I am new to Visual Studio!

View 7 Replies

VS 2010 - Array SubString (of Sorts) / Making A Class That Represents A File?

Feb 24, 2011

Im making a class that represents a file. Im making a sub that reads data from one byte array into many properties. Now i need something that returns a byte array but only the first 4. Let me demonstrate because i can't think of a logical way of explaining. "something".substring(0,3) That would return a string containing "som" i need a function like that for a byte array


[code]...

Is there an existing function for this type of thing ? i've looked but didn't see anything that I understood.

View 2 Replies

File I/O And Registry :: File Stream - Backup Program That Zips Files ?

Feb 9, 2009

I am writing a backup program that zips files. Using some sample code I have the following that creates a zip file. Problem is it does not get any subdirectories or files. Where am i going wrong?

Dim azFileNames() As String = Directory.GetFiles(SourceFolder)
Dim objCrc32 As New Crc32()
Dim zipStream As ZipOutputStream

[CODE]...

Alternativley, there is another component to the zipping dll that I could probably bypass the above altogether. It is: FZ.CreateZip(DestFile, SourceFolder, True, "", "") Where DestFile is (Output stream as system.io.stream). I'm trying to read all the files, directories, sub dir and files, etc from a specific location, let's say 'My Documents' into Destfile in which the FZ.CreateZip zips the file. FZ is FastZip which is from icsharpcode.net. They have c# examples, but that's greek to me. I'm trying to just learn VB!

View 6 Replies

VS 2010 Way To Backup Project?

Nov 21, 2011

I'm using vb2010 and i just finished doing all the GUI of my project. I usually just make a copy of my project folder and add it to archive. [project name] -[date]-[time].rar

is this an acceptable way of creating backups?

View 6 Replies

VS 2010 Backup For User Currently Logged In?

May 28, 2010

HTML

Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles start.Click
Dim folderExists As Boolean

[Code]....

above i have a specific username in the little backup script i have created. in this section of the code, if the user selects this particular chkbox then hits "start" it backs up the above loacation to a "server" H.

how do i code it to automatically pull the username and place it where "godboubs" (aka the username) is?

View 17 Replies

Check File Size And Take Backup And Re-create File?

Feb 26, 2011

Check file size and take backup and re-create file? I am using this function[code]...

View 4 Replies

Backup Code ( Copy And Paste In Vb 2010)?

Nov 29, 2011

i want to make a small application about backup so i want to make two buttons , the first one for choosing the source file and show in text box no(1) secondly, i mean a second button for place of new path for that file ( destination for backup file)

View 6 Replies

Using Program 2010 To Create A Data Backup Though Vpn?

May 24, 2012

I'm been searching for a while for a way to create a vb 2010 program that automatically checks and compare the files you have at a specific location in your hard drive and backup/update them securely though a vpn when a button is clicked.

View 1 Replies

File.Copy For Backup?

Dec 15, 2010

I am trying to do a back up of files and was needing to know how to do something like

[Code]...

View 6 Replies

VS 2010 Storing Backup History In Application Settings?

Jun 8, 2011

I'm creating a small tool for our team that performs backups of our servers. The plan is to put the tool in a central location so that anyone can use it.I'd like to store, somewhere, the date of the last backup for each server. I was wondering if I could use an application settings (with Application scope) for this? Is this bad practice? If so, what's the best practice? XML? text file? registry?

View 6 Replies

Find SQL Version From Backup File?

May 18, 2010

What would be the best solution to find the version of SQL a backup was taken from?

I'm trying to find the first string to confirm its 2005, 8.00 for sql 2000 etc..I was trying to search using a file stream, but having problems searching for a string or group of bytes.

View 1 Replies

Batch File - How To Backup Mysql Database

Feb 19, 2010

Is it possible through the use of a batch file, I'm trying this code:

mysqldump --host=localhost --user=root --password=nitoryolai -R hospital >E:wampetcdb-backuphosp.sql

Then vb.net will execute the batch file through s.d.p.s("b.bat")But it doesn't work, it only creates an empty .sql file.

View 1 Replies

Restore Backup File Created On Server To Another One

Oct 12, 2009

I am using SQL server express 2005 as an backend. I created a backup file programmatically. If I use same server , then it restore the data successfully. however if we try to restore on different server, then it fails. and throw following message:
"The Backup set Holds a backup of a database other than the existing 'DatabaseName' database. RESTORE DATABASE is terminating abnormally."
On both server, Sql server instance name and database name is same. How can I resolve this error?

View 1 Replies

Backup MSSQL Database Using Save File Dialog?

Jul 14, 2011

How can i backup my mssql database using the save file dialog?

View 5 Replies

How To Load A .bak File Of Database Backup In Sql Server 2005 Using .net 2008 Windows Application

Mar 12, 2009

how to load a .bak file of database backup in sql server 2005 using vb.net 2008 windows application?

View 5 Replies

Making A File That The User Doesn't Have Access To And Changing The Location Of The Configuration File?

Jun 25, 2011

on my program i have an activation in it and in order to activate the program you need to enter a code that is stored in the settings. so i was looking through my computer and i found the programs config file. and so I opened it and i found all of the codes for the activation. I need to find out how to make the file so the user doesn't have access to it and then how to move it to a more hidden place in the C: drive.

View 3 Replies

Making A Game In Which The File Stream Gets A Certain File(lets Say A.txt)?

May 29, 2011

i am making a game in which the file stream gets a certain file(lets say a.txt) and it reads it, if it has certain values stored in the file it returns boolean(this is a function), then a sub procedure writes to the file using a streamwriter and a filestream using the same file. I am having problems, sometimes visual basic says that another process is using the file, this is before i closed the filestreams and the streamwriter or streamreader, then it gives me errors when i close the files, it tells me that it can't access a file that is already closed, i thought the filestream gets the file and lets the streamreader or streamwriter read or write to the filefound out the problem?

View 2 Replies

VS 2010 Making A Countdown?

Mar 20, 2011

So this is my code.

vb.net Private Sub Up_img()
Control.CheckForIllegalCrossThreadCalls = False
Try
Dim connection As New MySqlConnection("server=localhost;UID=root;PWD=;database=DB;")
Dim img_upload As String

[Code]...

How the logic is confusing. I was thinking of making a Variable that stores the time NOW and once the uploads 1 file, another variable will take the time and subtract it from the old time and times it by the number of files left. Or as you can see I have a little % calculation there and I could use that to calculate the amount of time left.Will that be consistent? Or are there other ways to achieve the result

View 3 Replies

VS 2010 Making A Downloader Like IDM?

Nov 29, 2011

I'm just wondering about making a downloader like IDM, we all know how it works right?well, just wondering it how did they implement like"Chopping / Splitting " files to download - They do have each a starting point.then merges the files?

View 5 Replies

VS 2010 Making A Map Editor?

Aug 9, 2011

I'm making a map editor but I have a few problems.I dont know how to make it that when you click the 'picMap' it will draw the tile-image on the x and y you clicked.

View 5 Replies

Making A Simple HEX Editor With VB 2010?

Mar 3, 2011

I'm making a simple HEX Editor with VB 2010. As a result I am trying to automatically leave a DataGridView cell after entering two characters and move onto the next cell

View 1 Replies

VS 2010 : Making A Window Within A Form?

Jan 14, 2012

make a window with a window. hit coded button/ and or image coded for a button. make visible. you can drag it around and make it work like you were using a window.

Update: the form 1 would have a image button that opens a form thats form would act like a window. like the ones you use when you open up a folder on your desktop. but it would minmize into the form 1 as an image button caching its info so you can pop it back up.

View 3 Replies

VS 2010 ITextSharp For Making PDFs?

Aug 16, 2011

I have a PDF billing template that I need to put in the various information for customers and then send them the PDF's. I was looking into coding this with VB and saw iTextSharp mentioned a few times.

When I googled it I only found something on SourceForge and it was written in C#, where do you go for something in VB.net?

View 3 Replies

VS 2010 Making A Character Move?

Oct 22, 2011

This is actually not really a question about vb, but about how to make a code.I'm making a RPG game and I want to make my character have "normal" movement. The problem is actually when I just hold down one of my movement keys (a, s, d, w) my character will jump out of the screen because it's going to fast. here is my movement sub:

Private Sub frmMain_KeyDown(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
'MOVEMENT'

[code].....

View 2 Replies

VS 2010 Making The Program Luanch ?

May 11, 2010

is there anyway u can make a ".exe" luanch without really knowing where the "user" u send it to have it installed. Well im talking about "World Of Wacraft" a game u install just like any other game.I wont this to luanch but i the users wich use this have the file/folder placed different places.Is there anyway to find this if it have been installed ?Ive been looking around but only found codes wich dident really work

View 6 Replies

VS 2010 Where To Get Started Making A Game

May 23, 2010

Where should i start? any tutorials out there? I only know the basics of VB and how to works.

View 5 Replies







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