I would like to be able to include the folders "Bible" and it's subfolders into the install folder of the host machine. How do I do that? Also, how do I determine the install folders? I would like them to be: C:Program FilesGarman Softwareetc
I need to include an excel file in the installation project of an application. I've added it to the install project under application folder. I need to read that file into a dataset during runtime. The file needs to be included on install so that the customer can change the file as needed.
I would like to install a readme.txt file in the same All Programs folder as my application using ClickOnce deployment. The Build Action property is set to "Content" and the Copy to Output Directory is set to "Copy always" for this file. In the Application Files dialog box, Publish Status=Include for the file. After running setup.exe, the app is installed properly in the Start/All Programs/MBCI folder, but the readme.txt file is not there. Is the file installed somewhere else?
I have a VB.NET Windows Form application which uses DAO, no plans to upgrade it to ADO.NET. Created a Deployment Project to generate the installation.
Tried to install on a clean Windows XP SP1 computer: it worked right away (it installed .NET Framework first, rebooted and resumed my application setup).
Then... as it always happens, the CD goes to the user and... error! After checking everything, I discovered the user didn't have DAO360.DLL registered in his machine.
Is there anyway I can check/fix it during installation? DAO360.DLL is already in the Detected Dependencies of my deployment project, but it was not registered in user's computer. Like in my own installation test (clean Windows XP SP1 computer), registering this DLL may not be necessary. In other cases (like in this user's computer) might be needed.
How can I make sure DAO 3.6 is working in user's computer?
I tried to have Microsoft Data Access Components as prerequisite, but it doesn't appear on the list.
PS: This is an application that should run on computer with .NET Framekwork 2.0 - this was my only requisite... then I was surprised by this DAO problem but I don't think I should listen it as a prerequisite (might be too technical for the user).
My program I wrote is using Outlook 12.0 lib for Outlook 2007. I have referenced this in the project. This exe will only be installed on computers that has Outlook 2007 on it. So with this being the case, do I need to bother including any of the lib files? Or just my exe?I have this in my form:
So I assume the Interop is all part of the object lib? I know this sounds crazy but I tried coding it using late-binding with many examples but just had too many problems. So I'm going to make three different exe's for versions 2003, 2007 and 2010.
I could not figure out the key to installing folders/subfolders/.rtf files during deployment/installation. The key here is to 'add' folders and subfolders to the project in solution explorer, then adding existing item (.text (.rtf files in my case) files) then selecting the .rtf file in solution explorer.go to its properties and under 'Build Action' select 'Content' (very Important!). Then under 'Copy to Output' select 'Copy if newer'!Then in code to access these files you use the following code:
I have a project that i have created in Visual Studio express and SQL server express. i want to create an install file so that i can send to others to install. Currently it is requiring the user to install SQL server Express and 3.5 .net framework.what steps can i take to stop the user having to install these 2 so that it is a simple install for them.
at I do not know the number of or the names of the folders, they can be different in different cases, I only have the root path.how I can display folder contents in VB.net and the code worked but couldn't figure out how to create the arrays and display only folders within folders starting with "ad_".
System.IO.DirectoryInfo and System.IO.FileInfo to be used for getting the folders.A literal control can be used to create javascript arrays in ASP.NET. These js arrays can then be used on the client side.
Anyways, i have coded a video downloaded and i want to include a converter as a separate exe file. But obviously people may have different file directories so a simple piece of code i have used won't work. This is what i have: Also where would i place the exe file?
I do one project in visual basic 2010.In visual basic 6 project can be make Package and deployment (setup file or install file) file using Package and deployment wizard.But in visual basic 2010 express edition does not have Package and deployment wizard.how to make Package and deployment (setup file or install file) file in visual basic 2010 project?
I am trying to use the filetbl function to include a letterhead.rtf file into a letter.rtf file.Unfortunately, the Microsoft (and other) docs on the 'net are less than intuitive in regard to filetabl and I can find no examples anywhere on the use of this function
im using vb.net 2008 not vs, i try to include a cs file but there a no include in project explorer, so i use add existing item.but this cs file should generate a component in toolbar, but it wont, is there any other way to load it to my vb.net project?
code in *.cs file using System; using System.Text; using System.Drawing; using System.Drawing.Text; using System.Drawing.Drawing2D;
I have a call to the mediaPlayer in my project (to play a wav file). While publishing the project, vb.net does not include this wav file to the applications file and while intalling this wav file is missing. Hence I need to copy it manually. How can I make vb.net include this wav file in the installation?
I need to Include a .js in my webusercontrol,I don't know if I am doing it right.
I've been looking and found some things but not agood solid example that I can use as a test against what I havein my app.
What I actually need is code to put in my app to test against,I don't have anything to make sure that my path is right, if Ihad code and .js file that I code put in the same directory I am usingthat would be best.
I have an application that uses some external files. When a button is clicked, it opens 2 excel files and writes to one text file. When I publish this, it does not include those files. How can I make it include those files in the final solution. I have added them into my solution explorer under different folder names but they are not there.
G'day all, I need to read a text string from a file, then convert it to an enumeration, based on a list of enumerations that is contained in a .h file located elsewhere. The .h file consists of about 300 lines that look like: [Code] This results in 2 problems, can I include the .h file in my VB program, and if so, how? And then, once I read in the string, how to make the program convert it to the corresponding enumeration for output?
I have made a program that uses the MySQL Connector DLL file.Now if I wan't to give my program to my friend, how do I include the dll file?Shall I move it to the same folder as the program exe? In that case, shall I change the reference to the dll in the EXE folder?
It appears that when IO.Directory.GetFiles tries to read a folder that it doesn't have access to it throws an exception & stops reading. Is there any way to have skip those folders & continue reading the rest of the folders?
how I can include a file in a setup.exe package and have it copy/add that file into a specific folder/directory when the install is run?
I have a Crystal Report that is in the application's "Release" folder in the development environment. I need to have this .rpt file copied to a folder on the user's C: drive when the Setup.exe is run.
I have written a small VB.NET simulation program that uses an XML file to configure the simulation. I want to include this file in the project build so that when the application is installed, there will be a default XML file in the required directory.
When I do the Project Publish (within VB 2010 Express), there is no option for including any extra data files in the process.
Is it possible to do this with VB 2010 Express ... or should I try some other project builder/installer.
i need to register the control in client machine at installation time.i craeted a bat file which has the following code regsvr32 s mscomm32.ocx.how to include bat file in setup project. and how to make it to run first when installation starts
I have a simple app that reads from a very large text file, and returns a value if a string is found. I can instruct users where to download the file, and where to put it, but it would be nice if I could embed the file with the publish, so that the program knew where to look by default.Getting users to download a seprate file is painful. This file has 1.4 milion lines of text. I really need it to look for the file in a predictable place and be able to run against that by default for most users. I can have experienced users browse for a new file, but most people aren't into that much thought.
I am new to .NET. How i can use include files for my menus? I am used to do with php is I make one php file with menu and I include it in all PHP files so that it can be changed in all pages when I would change it basic file. I dont know what is the concept of it in .NET?
I use the code below to fill the list box and it works great. But i need it to only look in the \Software and \Software\FolderName Foldername could be any folder in the Software folder i need it to get all the .exe from software folder and only one more folder deep no more.
I need help with file enumeration. I'm trying to create a program that can list files, folders and sub folders locations in a log file for diagnostic purposes. After it searches it can open notepad and display the results. The problem I'm having is that I'm a beginner and not familiar with file enumeration.