VS 2008 Best Way To Setup Class?

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


ADVERTISEMENT

Setup In Win 7 - Using VS 2008 VB And Setup My Application Software In Win XP

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

Setup A Customer Collection Class That Has One Function?

Jan 15, 2012

I am having trouble setting up these classes.I need to set up a customer collection class that has one function GetCustomer(ByVal customerNumber As Integer) As Customer..The customer class reads a file and returns 5 fields and x number of records.My question is do I set up the 5 properties (fields) in the Customer class and if there are 10 records that match how do I return the customer object to the customer collection class. I don't care about exact syntax but could someone show me how these 2 classes should look?

View 2 Replies

Determine Directory Setup Msi Is Launched From Within Installer Class?

Jan 24, 2010

In my installer class, I want to check the existince of a file in the same directory that the setup msi is launched from.How do I determine the directory the MSI is launched from, from within the Installer Class?My installer class is launching succesfully and is able to process a file if I hard code the name and location. My goal is to remove that hard coded reference.

View 5 Replies

Class Property Access - Setup MyClass To Work Both Ways?

May 7, 2010

I can't seem to find the correct words to search for an answer. I'm using VS 2010 so I have auto-implemented properties.I have a class and I want to access the properties by a string.

Public Class MyClass
Property Prop1 As String
Property Prop2 As String[code].....

But, I also want to be able to access the variables something like this way....

Dim MyVar = New MyClass
MyVar.Items("Prop1") = "Prop1 Value"
MyVar.Items("Prop2") = "Prop2 Vaule"

How can I setup MyClass to work both ways?

View 1 Replies

Setup Project - Run Only Setup, Not Default Setup

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

Add Serial Number Requirement To Setup & Deployment > Setup Wizard For Application?

Apr 2, 2009

add serial number requirement to Setup & deployment > setup wizard for VB.net application

View 16 Replies

VS 2008 Adding Class Object To List Or Array In A Different Class

Jun 21, 2010

I am trying to create an list or an array of a class.Here is my "Ingredient" class that I am trying to create a list of:[code]In my "recipe" class, I am want to create a list (or array) and I am drawing a big blank on how to do it. Can anyone point me in the right direction?

View 2 Replies

VS 2008 Component Class - Drag And Drop Control Onto New Class

Nov 21, 2009

I am searching for the Component Class. When I go to "Add New Item" ,in my project their is no Component Class Item in VS 2008. I would like to Drag and Drop control onto my new class and I can't see how to do this ?

View 6 Replies

VS 2008 Reference Parent Class From Inside Child Class?

Apr 11, 2009

I have a 'property management class' that contains several functions and properties. I have several other classes that use the 'management class' as a property to derive the value of several of its other properties.Is there a way for me to reference the outer class from the 'management class' functions without having to pass it as a parameter? I ask because several different classes can have this 'management class' as a property and am having a hard time typing the parameter.

View 7 Replies

Setup And Deployment In .NET 2008?

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

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

VS 2008 - How To Setup EXE Parameters

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

VS 2008 Add A Key To Setup File?

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

VS 2008 App Setup Window

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

VS 2008 Set The Publisher Name To The .NET Setup .EXE?

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

VS 2008 Setup And Deployment

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

VS 2008 Setup For X64 Based Pc?

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

VS 2008 Which Files Do Need For Setup

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

[2008] Add More Then One Exe In One Setup Package?

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

Creat Setup In Program 2008?

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

Creating Setup In .net 2008 With Access Db?

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

VS 2008 - Setup File With A Name Other Than Project Name

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

VS 2008 : Setup A Picturebox In A Form?

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

VS 2008 Database And Setup Connection

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

VS 2008 Deployment/Setup Projects?

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

VS 2008 Does Not Allow To Add Shortcuts To The Setup Project

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

[2008] Include .Net Framework With Setup

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

Deploying Application With Setup.exe And Setup.msi?

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

Release Setup Project / Setup

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







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