VS 2008 - Best Way To Setup Variables
Jan 4, 2011
I have a class that does four things: unzips and zips files, downloads and uploads files. It needs to complete all four actions for 9 different command line apps. Which means, unfortunately, that there needs to be 4 different strings for each time. All in all, I need to create 36 strings which are different command line arguments. I need to figure out the best way to accomplish this. Should I just create all 36 strings in the class? Or should I use a constructor? Or... properties? Maybe a structure?
View 1 Replies
ADVERTISEMENT
Jun 8, 2011
I am using VS 2008 VB and setup my application software in Win XP without any issue. But after installed in Win 7, it doesn't work well (it show one file not found, but I saw the file in the right folder). Could it be the incompatibility of VS 2008 and Win 7? If I upgrade to VS 2010, will the issue be fixed?
View 10 Replies
Dec 11, 2011
Last year (2010) I came across a FANTASTIC command that allowed me to take a string of variables with a common delimiter and break it all back out into separate variables (possibly an array) with one statement.
[Code]...
As long as the delimiter was a unique specifiable character, this one-statement command could break it out into elements. my memory and point me in the right direction.
View 2 Replies
May 10, 2012
I want to create a real setup project for my application so when someone want to download it he can run only setup, not default setup that provide me VB . How can I do that?
View 4 Replies
Apr 2, 2009
add serial number requirement to Setup & deployment > setup wizard for VB.net application
View 16 Replies
Jan 3, 2011
I have created an windows application in VB.NET 2008 ad want to create the setup but due to newer in VB.NET i could get expected result from the setup such as....
1.I want to deploy only those items which are highly needed.
2.I want to check the system requirement ie.version of framework,sql database,crystal report etc..
3.I want to set the automatic connection string to the databsase such wherever theaplication will be install it have to be run successfully.
View 1 Replies
Apr 24, 2009
How can I set up parameters to work with my project?
Like execute_shell("myapplication.exe -filename.txt") or anything like that.
View 9 Replies
Jan 13, 2010
i have made a setup file for my project..i want to a key like a serial key to ma setup file..it should ask for key to install project..how do i add a key to my setup file??
View 1 Replies
Dec 8, 2009
after installing the program, I want to have a setup dialog (for configuring the app) to display (maybe on first run, or before, not sure yet) But this only needs to run once, so how would I do this?
View 3 Replies
Nov 29, 2010
I have a Class that will automate processes based on a set of variables. I have a finite number of boolean variables. If True, the process will run, if False, it won't.If a variable is True, I'll add it's corresponding process to a Queue of processes.What I'd like to know, is how should I setup the processes? Should it be in the new class or form class? Should it be at class level or not?
I was thinking I could just setup each process at Class level:
VB.NET Private p1 As New ProcessPrivate p2 As New ProcessPrivate p3 As New Process
Then, before the process is added to the Queue, I'll assign the appropriate properties.
Is there a better way? Or will this work just fine?
View 1 Replies
Sep 10, 2011
I have developed the windows application in C# with .NET & create the setup copy of this application. when i have installed this application then it display the small windows as unknown publisher .i have attached image of this windows
View 1 Replies
Jan 14, 2008
I have VS 2008 VB project that I have created a Setup and Deployment project for.When the install starts, it give a message that .NET 3.5 is required and asks if the user wants to download.On the programs Advanced Compiler Settings, I have the Target Framework set to .NET 2.0, but the deployment still prompts to download .NET 3.5.
View 11 Replies
Aug 30, 2010
I wanted to create a setup which should work for x64 only and it shouldnt work for x86. Is there a provision available in Visual Basic .net 2008? Then how can I do it? if not what is the limitation for such instance.
View 1 Replies
Jul 27, 2009
Where can I find the files (of the project) I need to create the setup? The builder in Visual Basic sucks really hard, so I'll try InnoSetup.
View 4 Replies
Jan 23, 2009
I finished an important project (Visual Studio 2008 Professional Edition) and now I have to deliver it with an appropriate installation program. My product is composed by a lot of projects and each of them generates an exe file with its images, help, xml , database etc. A main exe calls a sub exe for the work it has to do passing appropriate parameters. I think is not suitable to use a click-once feature and I have looked for the deployment wizard but I didn�t found a complete documentation and moreover some example step by step.where can I find that documentation, tutorial and example ? It�s possible to customize the forms generated by the wizard ?
View 8 Replies
Sep 27, 2010
I have code, shown below, that works all except for 1 thing: The variables being passed byRef get passed, but once modified in the else section of the "if me.invokerequired" code of RecordData, the variables are never updated in the calling function. To reiterate, the calling function does not receive the updated data that is in the variables custid and amt.When debugging, I see the data change in the else section of "if me.invokerequired", but once it returns from the callback the data is missing.[code]
View 15 Replies
Mar 23, 2012
I define some global variables of a class as follows:
Private Class MyClass
Private var1 as Decimal
Private list1 as List(Of string)[code].....
But I found that after this form is closed, all above variables, var1, list1, list2 still exist in memory. I thought they should be collected by gc since the form is already disposed as I confirmed.
Add: I have monitored half an hour after the form is closed. But these variables are not collected by gc. I have an automatic update procedure on the form which uses above variables.Since the above variables still hold values, the automatic update procedure is always called which causes exception. (One quick fix is to check if form.isDisposed in update procedure. But I do not think this is elegeant. Besides, these variables occupy memory.)
View 2 Replies
Jul 16, 2010
I have use vb2008 express edition. I created a project have database(access). How can i creat setup this project.
View 3 Replies
Sep 30, 2009
Actually i have created setup but when it comes to connecton string that for access db i have written
View 2 Replies
Mar 15, 2011
Using 2008 EXPRESS. I went to project properties and (1) renamed the assembly name and (2) the root namespace fields with my desired name. (But didn't rename the project).
NOW --When I took the setup disk to another computer, it "crashes" can't even post the warning it's trying to give. (Yet, it was fine when I left everything alone, the namespace and rootname that is).
All I wanted was a setup file with a name other than my project name.
View 6 Replies
May 5, 2010
I am trying to setup a picturebox in a form so i can add small rectangles (points of interest) over a floor plan. I have the following code which does exactly what i want but im having trouble filling the rectangles with solid colour. Heres the code i have:
Dim MyRect As New Rectangle(e.X, e.Y, 10, 10)
Dim g As Graphics = Me.picShowPicture.CreateGraphics
Dim Pn As Pen = New Pen(Color.Red) 'Create pen from color
Dim Mybrush = New SolidBrush(Color.Red)
[code]....
View 1 Replies
May 30, 2009
I created a new Setup project to my original project. In my project's code there is this line: Public DBPath As String = My.Computer.FileSystem.SpecialDirectories.MyDocuments & "Visual Studio 2008ProjectsFUV1FUV1FU.mdb" I just wanted to know, if I am instaling the project in other computer that has no VS in it, with the SETUP project, do I need to change this line? something to do with the Application Folder of the Setup project?
View 1 Replies
Nov 9, 2009
Maybe I'm just searching around for the wrong information, but are there any good tutorials on Deployment or setup projects? I can make the little auto wizard that VS2008 makes for you, but my app needs more custom options. For instance my app will set up SQLserver 2008 and create the tables in it, but I can't find any useful info about how to make a custom setup/msi app.
View 1 Replies
Feb 2, 2011
I'm trying to add .lnk files to a setup project but am unsuccessful. I have 2 custom shortcuts that I created which link to a network share, but everytime I try to add them to the setup project in the users desktop or start menu, vs simply doesn't allow it. No message box or error box appears, I select the .LNK file to add and it "pretends" to add it and allows me to select it, but doesn't appear in the setup project folders.
View 1 Replies
Mar 11, 2009
VS 2008 SP1
I am deploying my application. As the .Net framework needs to be installed on the user's computer. Is it possible to pack the .Net framework into my executable setup.exe?
This will make my setup.exe big. However, the client doesn't mind.
View 1 Replies
Oct 29, 2011
I'm a Visual Basic beginner. There are many things that I didn't know about Windows software development as I've been a Mac user for 20 years and just started developing Windows programs several days ago.
Anyway, using Visual Studio Installer (File > Add > New Project > Visual Studio Installer), I have two files inside the Release folder - setup.exe and Setup.msi. I've got some information about these files. So when you publish your software, what do you do with these two files? According to one web site, you can put them together into one with IExpress, which produces a file with an extension of CAB. Another web site suggests SFX Compiler. In the meantime, I downloaded a dozen applications at Download.com earlier. If I click on the download button, the final delivery extension is .exe on most of them. I know that you won't go anywhere by double-clicking on setup.exe from the Release folder without Setup.msi. Meanwhile, Setup.msi is a tand-alone application. But nobody uses this file alone to distribute their product.
View 5 Replies
Feb 27, 2009
I've finally got a project compiled and tested and ready to roll out.I have discovered that the "Publish" option is not what it seems, and that we must create a separate "Setup Project" to carry out the task of installing the files.This is not the most intuitive process I've seen, and the online help on that subject is not easy to understand.I was hoping that someone could direct me to a tutorial or guide that would step me through the specific approach I need. Many of the other guides online are vague and address multiple scenarios and do not separate the approaches very well.I have the contents of my project in /bin/release. It runs nicely by iteself with no errors.Here's what I need:
1. To create a setup exe that I can distribute that will install my software, with all of the supporting (resource) files and folders.
2. I need the setup process to force the installer to "agree" to a EULA.
3. I'd would like to provide an image on the installation screen/popup.
4. I would like the software registered in the registry and rely on it being there in the registry.
5. I need it to default to program filesprojectname (it does by default)
View 6 Replies
Jan 7, 2010
Does the memory used in declaring variables are reclaimed by the OS when these variables go out of scope?Does the memory used be released by setting thier value to nothing? if not, then how can I force the garbage collector to run or excecute at a certain/desired time..How about in Windows Forms..How can we make sure that the memory used in initializing and showing forms be released if those forms were closed?
View 13 Replies
Mar 8, 2011
Question 1: What is the difference between "Background Worker" and "Worker Pool" as indicated within the MSDN samples provided.
Question 2: I noticed while using, AddressOf _Function_, variables cannot be passed; what would be an efficient solution to this?
Question 3: While using multithreading is it required to invoke before setting variables, or only form properties?
Question 4: While using System.Net.Sockets is it safe/efficient to use Application.DoEvents while waiting for new data; or would be using a Do While loop be fine without DoEvents since the action would be multithreaded? Note: there can be up to 2000-3000 sockets in use at a time.
View 10 Replies
Jun 9, 2012
I'm new in .NET programming.I have a class Form1 that includes Button1_Click event.Button1_Click creates a multiple Text Boxies at run time)Here is the class:
Public Class Form1
Dim shiftDown As Integer
Dim counter As Integer
[code].....
View 3 Replies