Deployment Of A .NET Application / Backing Up?

Jun 5, 2009

All it is is that when playing World of Warcraft people are having to clear their cache for the game to operate all the time, if they don't do this then the game bugs out in some places - so I thought of this as a way to get better at VB .NET by making a small application that asks for the directory of their WoW folder, searches through their cache folders and deletes the ones that they are also asked how they'd like to delete.I don't plan on actually releasing this in any way, I just want to make it to further my VB .NET skills and hopefully get a little better.

Anyway, it doesn't make sense much, sorry about that, but all I want to ask is if this program will work on any other computer or will I have to find a way to deploy it?Also, one thing that I thought I should put in this program is a backup function just in case something goes wrong. I just thought of moving the cache files that are being deleted somewhere else but this will move the files and folders one-by-one, is there any way I can make a certain type of file that only this program can read, where the files being backed up are placed in?

View 2 Replies


ADVERTISEMENT

Backing Up A File?

May 31, 2011

I have a program that when I run it, it creates two files. One file is deleted every time it runs and the other is deleted only if I specify for it to be deleted. If I do not specify for it to be deleted and I run the same execution, the program complains. I want to be able to make a backup copy of the existing file and have that backup copy set to a file number increments every time it is backed up.

This is the command line that is sent to the program: relap5(program) -i input_file.i -o Output_file.o(this one is deleted every time) -r restart_file.r(this is the file that I want backed up.Here is a image of the gui that I created that does the above run for me.

View 12 Replies

Backing Up Database?

Jul 12, 2010

Im doing a project in which i need to take backup for the database each and every month while doing this the previous backup is replaced i dont want to replace it. every time i create backup it should remain there im using access as database?

View 3 Replies

Backing Up SQL Database?

Nov 27, 2009

I am trying to backup an SQL database but can't get rid of the error:"The process cannot access the file 'C:Original.MDF' because it is being used by another process" Once I open a form, using VB2008 from Visual Studio 2008, closing the form and/or connections to the database seem to have no affect.

FileCopy("C:ORIGINAL.MDF, BACKUP.MDF") ' Works prior to opening a form that uses the SQL database
frmTest.Show ' The form uses the ORIGINAL.MDF database
frmTest.Close() ' Has no effect

[code]....

View 3 Replies

Application And SQL DB Deployment

Dec 4, 2011

I have decided to try and engage creating my first app with a database. I have run through all the VB Express 2010 default tutorials and feel confident to move up one notch.My application on has two users and we do not have a server, just a file sharing setup which works okay if youre using MS Access DB. I have also constructed the app with a Service based DB attached to the project (VB Express 2010)I have spent a week trying to research this on Google but cannot find any specific answers to my questions.So, how do I setup the app prior to publishing so that I can install the app on both desktops and have SQL server installed on only one of the desktops with the DB residing on that?

View 5 Replies

Deployment Of .net Application?

Jun 22, 2010

i have developed a small application of vb forms in which i have use a service based sql server databas(.mdf)i want to make its msi installer last time i have made it and after installation application giving error for connecting?

View 1 Replies

Deployment :: Starting One Application From Within Another?

Feb 17, 2010

Basically I've written two Apps (A and B) and all I want to do is put a link on the menu of App A which when clicked will fire-up App B.

Normally what I'd do is something along the lines of...

Shell("C:PathAppName.exe")

However, both of my apps are installed on the target machines via a Setup-Kit generated by the Publish Wizard in VB.NET. As far as I know, after you've run the Setup you don't get an EXE file for the actual application - you just get an 'Application Reference' on the Start Menu and/or Desktop.

My problem is that I don't really understand what the Application Reference is and how my application is actually deployed onto the target machine after setup has finished...

Given that I don't seem to have an EXE file after running Setup, I need another way of telling App A to fire App B, because I'm guessing I can't use my Shell command anymore?

View 2 Replies

Deployment Of .net Sql Server Application?

Jul 20, 2009

I am tyring to deploy vb.net application on a network environment ( windows xp and vista machines ) with sql server database. The application itself needs to access database as do all machines. I cannot install sql server due to cost and technical limitations at installation. Is there a way I can connect vb.net application on all machiens directly to some physical file like MDB ( access ) file but with sql server database ( I think something like Mdb was used to server data earlier)

View 1 Replies

Use A Savefiledialog For Backing Up Sql Database In VB 2010?

Jun 2, 2009

I have written a piece of code for my backup. It looks something like this:

Dim con As SqlConnection
Dim cmd As SqlCommand
con = New SqlConnection("Data

[code].....

View 5 Replies

2008 Express Application Deployment

Nov 15, 2010

I have an application in Visual Basic 2008 express that I want to deploy. It has MS Access DB tables and some queries. How can I put this together in the deployment?

View 1 Replies

Application Deployment Via VB 2008 Express?

Mar 12, 2009

I've developed a small application using VB 2008 express and I am trying to deploy it for the first time.I have done this using the options with VB 2008 express and installed onto another PC. I find it has installed using what is termed a user instance which I understand comes with some limitations.I want the option for the application and data base to be multi user in the future. I want to be able to connect to it from Business intelligence for reporting purposes (there is no report viewer control in VB2008 express) and ideally I would like to be able to back it up using SSMS.Does anyone know what the options for deployement are and how to deploy using a "traditional" instance rather than a "user" instance?

View 1 Replies

Deployment :: Add 'Application Block' Something To References

Nov 24, 2009

So I created an application with vb.net, I added Messenger type Api in preferences, compiled my program and everything was fine. However I can't run the program from other directories. It says that the .dll is missing. I'm trying to include the .dll to the program somehow - no success, how that should be done? Friend tried to help me and said I should add "Application block" something to the references. I can't find that though.

View 6 Replies

Deployment :: Application Works Properly On PC But Not Others

Mar 8, 2010

I have an application developed in VS2008 VB.net. It is a numberpad with buttons for 0 - 9.When published and installed on my local PC, everything works as expected. I open a browser window, and am able to click a number-button and have the corrosponding number sent to the active window location. When installed on other PC's, the numbers sent to the active window location are repeated many many times. If you click the "3" button, then anywhere from 10 to 50 "3"s are sent to the screen.All PC's have Windows XP Professional, Version 2002, Service Pack 3.The only differences I can detect are the many many .NET frameworks installed on my computer and not on others.[code]

View 1 Replies

Deployment :: Error When Installing Application

Jun 14, 2012

I am not an expert in using vb.net, but I am trying to make my vb.net project accessible to others. I've done it before (about 5 years ago) with another program. This program is basically the same just for a different product line for us. I have all the files on a server. I published everything to a directory on the server...the directory is in the same spot as the other directory. I checked all of my project properties and have now made sure they are the same as my other project. The publishing works fine. But, when I try to run the setup.exe or the .application file, I an error message that pulls up a log file. I've looked all over and found similar log files, but no solution that seemed to work. Here is what the log file is telling me. Any help would be great. I am thinking it is something simple...remember I am not an expert. And, I know I got the other one to work a few years ago when I moved it from visual basic 6.0 to vb.net. I am using Visual Basic 2008 Express Edition to work with my project.

[Code]...

View 2 Replies

Deployment Of Windows Form Application?

May 5, 2010

i am deploying an application visual studio 2008 vb.net.i have seen hints and comments indicating i can have application check to see if newer versions exist and if so automatically update the application.

View 4 Replies

Translate My.Application.Deployment.ActivationUri To C#

Feb 21, 2010

How do I translate My.Application.Deployment.ActivationUri into C#?

View 2 Replies

VS 2010 Dll Reference And Application Deployment?

Feb 20, 2012

I am successfully using a dll reference in VB.NET project. When I export the application to another PC by using a deployment setup, the application does not start at all. I have included the dll file inside the deployment setup so that this file is copied in the application folder. If I remove the dll file from the deployment setup, the application starts normally.I was wondering how I should set the properties of the reference in the .Net project. I am attaching a view of the references dialog where the used reference is highlighted.

View 4 Replies

Backing Up Database From Remote Server To Local

Mar 25, 2010

I am making a VB.NET application that can download/backup the database that is currently on a remote server. I have Remote Server IP,Username,Password and Database name. I am also able to connect to it. But I don't know what to do after connecting to it. I don't know what all files are need to be backed up. (I think database and log file both must be backed up, I am not sure).

View 1 Replies

Backing Up/restoring A User's Mapped Drives?

Feb 29, 2012

I need to create an application that will restore a user's mapped drives from a database. To do this, I need to create a script that will automatically back up the user's mapped drives on logon.

What would be the best way to go about doing this?

View 2 Replies

ClickOnce Deployment After Resetting Application Files

Apr 12, 2009

I use VS 2008 Standard. If I do a QuickOnce deployment after resetting Application Files in the Publish Tab I get a bunch of messages saying that various files are not in the GAC. To solve this I change the Publish Status from Prerequisite (Auto) to Include and set Download Group to Required. Then when I install the application I get the splash screen and then the message that the application has stopped working. There was a workaround posted to delete /bin/obj/.cache etc, but I have no /bin/obj/ folder.

View 1 Replies

ClickOnce Deployment Error And Application Identity

Mar 26, 2009

All,I seem to have stumbled upon a ClickOnce error that stops me from auto-updating. When I Deploy my program using ClickOnce it publishes to the specified location and installs just fine. I can run my program no problem if I activate it from the start menu. However, I have code that registers the program as the default to open a specific file type. Naturally, I want my user to be able to double click on the file type of my choice and have my program open like normal. All-in-All this works.

The problem arises because I need my program to check for updates before loading my program, much like it does when I open the program from the start menu (I set the auto-update check within the ClickOnce options). However, this check does NOT run when the user double-clicks a file type to run my program, it merely skips this step and opens the program. So first I tried to find a way to run the Update manually through code, what I cam up with was this: [Code]

View 5 Replies

Deployment :: Application Icon Not Displaying On Desktop

Nov 24, 2011

I've created my first Visual Studio (2010) app. It's a simple, single form, single exe app. I set the application icon in Project Properties and built the app. When I view the exe file in Windows Explorer the small icon displays but when I copy the exe file to my Windows 7 desktop I get the default exe icon instead of the icon I've specified. If I copy the ico file to the desktop the picture displays and when I create a shortcut to the exe file and specify my ico as the icon it also displays.

View 1 Replies

Setup And Deployment Project That Installs My Application ?

Jan 21, 2009

I have a setup and deployment project that installs my application. During installation, I create a hierarchy of folders under the C: drive.

However, when I use add/remove programs to uninstall my application, I do NOT want this hierarchy of folders to be removed. How is this possible?

Also, when creating the folders, I set "AlwaysCreate" to True. If one of the folders already exists, will it be replaced with my new empty folder? If so, how can I prevent this.

View 8 Replies

Unable To Get Namespace System.Deployment.Application

Aug 19, 2010

I am trying to get this: System.Deployment.Application.ApplicationDeployment.CurrentDeployment.IsFirstRun.But the application namespace is not there. I just see System.Deployment.Internal. The object browser, however, shows me all the properties and methods of that namespace, but my app can't see it.?

View 1 Replies

Use ClickOnce Deployment On My Application To Get The Update Feature?

Dec 21, 2009

I use ClickOnce Deployment on my application to get the update feature.But i really do not like the deployment and the setup Is their a way I can use the Visual Studio setup feature to make a msi package for my application but still have the update feature?

View 4 Replies

VS 2010 Express Database Application Deployment?

Sep 28, 2011

I've developed a database application in VB.Net Express 2010 and am having difficulty deploying it. The only deployment method available to me using the Express version is OneClick deployment. I can't figure out how to include the Access database file in the package.

View 2 Replies

Vs2010 Eula.rtf Is Not Displayed During Application Deployment?

Jul 15, 2010

I've created a setup and deployment project for my vb.net application using the Visual Studio 2010 wizard. I also added the eula.rtf file to the setup project and set it to install to the user's application folder. I then added a license agreement UI dialog in the setup project and pointed the licenseFile to eula.rtf. However, when testing the resulting setup.msi, the UI License Agreement dialog appears but no text is displayed inside the box where the eula should appear. I tried re-naming the eula and tried to change the encoding of the file but without success. Am I missing something? What should I do to make it work?

View 1 Replies

Skipping Or Backing Up Records In Database Within ExecuteReader Routine?

May 23, 2010

is it possible to skip forward or backup to the previous record in a database within a Do Loop of an ExecuteReader routine? For example, with the following code:

DMDatabase01.Open()
DMCommand01 = New OleDbCommand("Select * From DB01Table01 Order By DB01F01, DB01F02", DMDatabase01)
DMReader01 = DMCommand01.ExecuteReader()
Do While DMReader01.Read = True

[Code]...

I have the need as part of a larger data comparison program to not always read the next sequential record - at some points I want to go back to the previous record, or skip forward to the next record, but stay within the Do Loop.

View 6 Replies

Application Setup And Deployment - Create A Software Package

Jun 12, 2009

I completed an application in vb.net and i'm using sql server 2005 as database engine.Now I want to create a software package for this application.But the problem is that how can I include the database within this package,I'm also using a crystal report viewer.ie, How can I install this application to a system that doesn't have sql server?.

View 1 Replies

Clickonce Nightmare System.Deployment.Application.DeploymentDownloadException?

Jun 9, 2009

anyone know how to fix this? this is what i get when i try to run setup.exe

PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053

[code].....

View 3 Replies







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