I am ready to deploy my vb.net project to my client computer.In my development computer I have crystal report 9, sql server express and .net frame work 3.5 installed.My Client computer hasn't got anything installed there.I am trying to making msi installer so that it will be easy for my client to install.I created the new solutions -> setup type project, added the project on it and build it.it successfully created the msi installer but it doesn't installs the sql server express and crystal report.How do i make the installer with crystal report and sql server and also with db
I've uploaded in SkyDrive my project to give a better picture of my problem:Cascading Combobox works just once in _SelectionChangeCommitted, and, DataGridView do not follow 3rd Combobox filter?
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
I have a project that uses web references to make SOAP calls to several web services. When I'm working locally, the services are hosted on my local machine, so the URL of each web service is something like [URL]. When I deploy the project to a server, the URL needs to change to the production URL. Currently I am accomplishing this with a prebuild event that does a find-and-replace on each URL and overwrites it with the deployment URL before deploying. Surely there is a better way.
When I reference the com-enabled .net dll in a VB6.0 project, how do I make an installer so the com-enabled .net dll will be registered on target machines? It seems I cannot use regsvr32.exe itself to register it so I have doubts that using the P&D wizard will not be able to properly register it.
how to get my compiled program onto another computer. I'm using Visual Studio 2010 Professional.
I've read and tried ClickOnce deployment and Setup Installer, but I'm not getting it right.
With ClickOnce, I manage to install the program and it has the menu item and icon in the Start menu, but when I try and run it, it tells me that it can't find the text file. I put the file in the bin Debug and Release folders, selected 'Build' then 'Publish' and still no go.
I tried the other option of creating an Installer (using [URL] as my guide), but I get the same error - the txt file can't be found.
I've done this several times, but just can't seem to get it to work. Other resources online, like YouTube, just cover a project that doesn't include a text file or database file etc.
When a user click the .msi, i want a folder called "Your Files", which comes with two small images by default, to be created in C:UsersYourNameDocuments. In short, MyDocuments.
What i did is put the following code in program.cs:
The problem is, this folder will be created every time the user runs the application which is not a good solution, also in this case there is no place to load the two images so it can be loaded while the folder is created. I want the folder to be created once preferably while installing the application, so even when i uninstall the folder "Your Files" and its sub files be deleted automatically along with the program files. I tried to do it via Setup Project, but i couldn't.
i have a project and i used NSIS to create a Setup file. I am able to install it to my system but some parts of the program do not work (and they work when i run my project in VB). For example i have a Back Up option that creates a back up but this does not work when i run the application via the installation file. Probably it has something to do with the directories?
If System.IO.Directory.Exists(CurDirectory + "Backup Folder") = False Then System.IO.Directory.CreateDirectory(CurDirectory + "Backup Folder") End If
how can i make it work from the installation file? Do i need to copy something somewhere?
I'm trying to build a setup program using the built-in Visual Studio Installer. I'm using VS 2010 and working on VB.NET.For the most basic kind of program, I have an EXE file which works on a XML file (the XML file is treated like a database). So on a Windows 7 platform with UAC enabled, the best deployment is to install the EXE file in the Program Files folder, and the XML file in the application data folder, for security purposes of Windows. (Windows, now, does not allow creating/writing files inside the Program Files folder unless your application is running with administrative privileges).
So I have added VS Installer to my current project and have opened its File System Editor. So to create the above layout, I've added Primary Output to the Application Folder. Then I've added its shortcut to the User Desktop.Now I need to place my XML file to the application data folder. VS Installer gives the option of User's Application Data Folder, which is the %appdata% folder in the environment table. I need to access the All Users' Application Data Folder.
1) How do I access the All Users' Application Data Folder over here?
2) I tried using the User's Application Data Folder. It doesn't work. It doesn't create any folder in the %appdata% (e.g. C:UsersFarazAppDataRoaming). I tried to play around with various properties, like AlwaysCreate which is supposed to create a folder obligatorily. It doesn't create anything.
Is there any literature which guides a user through the steps of deploying a vb project created with VS 2010 Professional and incorporating SQL 2008RE Database?
I have a VB project which incorporates 2 databases - 1 Access Db and 1 SQL Db. The project compiles and runs beautifully. However, after adding the databases in the project as existing items and deploying, the project opens/runs, but when I try to login the application I keep getting an error message telling me that the path to the .mdb (Access) database is not a valid path. I don't have a clue what else to do.
I should start a project where several clients are included. There is a wcf web service controler that after a call from an specific client about a certain question it will retrive data from a server in London and then it will pass it back to the corresponding client in a different country e.g.
Clients and service are far away. the only way of transportation is through HTTP and intenet connection. Service should be able to callback also so i guess it will be dualHttpBinding.
I am currently debugging throught a lengthy piece of code that behaves differently if the batch loaded is created from one way or another. I have tried going through it and it seems each step is the same, so my question is, Is there a tool that will record each line of code that is hit while debugging? so instead of writing everything down and risk missing something i could just run the program use beyond compare to compare the results of both runs.
i have set the loan_id column to increment in steps of 1, but when i add a column in visual studio 2008 express it auto increments in minus steps -1 -2 -3. it increments in positive numbers?
I have just downloaded VB Express 2008 with the intention of teaching myself how to use it from scratch. Previous programming experience limited to Lotus / Quattro Pro old style macros. Preference would be to work through a good hard copy DIY manual starting from the basics.
i am creating a ticket ordering system, there is 5 - 10 step for public user to choose what they want. These steps is dynamic, can some one advice me what is the best way to store data during steps, so that i can have a back button to return to previous step or retrieve data from step when compiler at last?
I would like to know what are the basic steps involved in setting up your application to able to read data from another application. Then take that data and modify it and send it back to the application. The data being read will have over 100 fields.... what is the most efficent way to store them? Put them in a class object?
I am relatively new to the world of programming and I was wondering if anybody could help me with a small project. I am trying to create two programs in VB.Net that each do one of the following individual actions:Find the average grade given several user-inputted scores on assignments. The program should also provide the following feedback according to the final score (i.e. A, B, C, D, F).Run two separate threads printing numbers (or words) in ascending and descending orders. (The numbers (or words) should be given by the user.)I have a basic understanding of VB.Net, but I am having trouble when it comes to creating even remotely complex programs. I have a few ideas on how I may go about these, such as using an arraylist for the first question that takes user input to find the grades, and then uses a series of If-Then-Else statements to display the letter grade, and possibly using steps simply with dual threading that would result in numerical order being printed in ascending order and descending order.
I have code that runs a deal.deal is a series of conditional steps [e.g., pay Fee1 from Account2 if (Variable5 > 500, Variable5 / 2, 0)].
These conditional steps are stored as strings in an access database.The conditional part can be extremely complex.
What is the best way to get my code to understand the conditional part?Do have to write some huge parser?
Is there a function that can do this for me(something similar to application.evaluation function in VBA)?Or do I need to approach this in an entirely different way?
list the steps to fill a combobox using a bindingsource. I dragged a bindingsource onto a form, created a datatable and datatableadapter(correct term?), added a query. I tried but I am missing something, my combobox displays System.Data.
I'm interested in a description of the step-by-step process for creating a custom control and making it available in the toolbox with vb2008. Just for an example, suppose one wanted to have an array of 9 buttons in a 3x3 pattern already labeled 1-9 as a control usable from the toolbox just as a single button or label etc. is, so that one could drag it from the toolbox to the form or a groupbox.
I want to write a human resource programme that can accept employee records and compute for their salaries and overtime and also print out the needed salary slips and reports.
With a 1-many relation. Ok, I have constructed the schema, and now I want to make the appropriate forms in which a user would scroll for a customer and then by pressing a button, a new form would appear showing all the orders that he has made.
I am interested in the way of building two forms that would have a one to many relation. That is basically what I would like to know. Also, Do you have any good book to suggest in order to create a real world app, in VB2008, Emphasizing in data-binding and connecting controls with underlying DB, one to many forms, searching etc.
This is weird. I have a class that inherits from IEnumrable whose Count property is reporting 0 (zero) elements but the For Each loop steps into the loop body and tries to use the variable where it should just be moving on. My code:
On Error Resume Next Dim d As Foo For Each d In fooCollection ' use d and throws an exception Next d
Weirder still, every time d is accessed i get an exception thrown in the output window:
A first chance exception of type 'System.NullReferenceException'
but i'm not stopping on the exception (not in a try/catch block).Is "On Error Resume Next" causing this weirdness?
Weirdness found:Per Rowland's and JohnH's comments i checked the Foo class:The GetEnumerator method inside of Foo didn't actually return anything! It had an empty body. That coupled with the On Error Resume Next before the loop caused the havoc! Wow this was ugly.
If we have a htmlanchor element. Is there an elegant way to know whether the link is no follow or do follow after taking into account that tag and context of the links.
Earlier I was working on a project, and I added a StatusToolStrip and the the ToolStrip I added a label and a progress bar. The label will say the current sub or function that is in progress and the progress bar will show how far along it is through the sub or function. I have tried this myself but I cannot figure it out as I rarely use progress bars.
An example of a code that I would like the progress bar to show would be like this: Private Sub StopServer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StopServer.Click 'Checks to give server notice If My.Settings.warningmessages = True Then Dim cmd As String = My.Settings.warningmessagetext(2) [Code] .....
So while the sub is running the label would say "Stopping Server" and the progress bar would show how far along the sub is.