I wrote a small application in VB.NET 2008 and wanted to deploy it. so I created a "Setup Project" trying to make it an installation package.
However, when I tried to "Add -> Project Output", the "Add Project Output Group" dialog box shows up empty. There is nothing showing up in the drop-down list. According to a VB.NET book as well as some online tutorial, there are supposed to be stuff in the drop-down list showing the types of projects.
make the drop-down list inside Add "Project Output Group" dialog box whow something jz like in the tutorial.
I wrote a web application(website) for a company using vb.net 2008 in VB.NET and asp.net and , so now i want to create a "Setup Project" trying to make it an installation package.according some online source i did: click "File"on the main menu, then, new project> web setup project>ok , then select webapplication folder However, when I tried to "Add -> Project Output", the "Add Project Output Group" dialog box shows up empty. There is nothing showing up in the drop-down list. According to a VB.NET book as well as some online tutorial, there are supposed to be stuff in the drop-down list showing the types of projects.
I new to this Forum and relatively new to VB programming. I have read some really good posts here and thought I would ask about a perplexing problem I'm having. I createdindows Form application, built it and deployed it with no problems. However, when I added a small block of code, re-built the app and went to add the app to the Project Output Group in the file system editor the project was not in the Project drop down list. I closed the Setup project and deleted it from the project folder and checked my code and re-built the app and tried the Set Up project again with the same result
What is required to use the "My. (anything)" namespace? i am starting a new project from a "Blank / Empty Project" add a new class
Shared sub main() my. (anything) end sub
now, logic says that im missing a reference or import, i have include all the references from a new forms project, so should not have any issues with this. but no.con someone enlighten me on the "My" namespace and what reference is required to use it.
I am working on developing a livestock judging program for a 4-H project that will present you with a group of animals and you order the animals from best to worst by typing the placings in a text box (i.e. "1234").
When I type in the placings incorrectly, it comes up with the message box that it is supposed to, but when I type in the correct placings, it shows the message box that it is supposed to but then shows the message box that is supposed to show when you type in the placings incorrectly.
I am trying to create a deployment project for a solution of many projects and two start-up projects. I understand that there are 2 primary outputs in this case. The solution will not work/make sense if either of the two outputs is not running.
At the moment, I have created a set-up project with the multiple outputs, but then I will have to open the outputs individually for them to work. I am wondering if there is a way to create a desktop icon that targets both outputs simultaenoulsy.
I know that I can launch activate/Use functions in assemblies that I have created, but can I start subs? and If so could I start Sub Main from an Assemble? What I mean is I want to run the created program in memory from a sub main and I dont know how .
My other question is how can I change the type of output project? So from a console app to a Windows Form app? ( I am no longer talking about using the assembly dynamicly this is more about creating the physical exe as what I want it as.
I know that they are the Compiler options command line but is it the same as the ones that Visual studio use when compiling? (The ones you see in the out put window)
im still fairly new to this. i have written a program, built it and created my setup project and can install it no problems, however, in the "setup view" where you have the threefolders "Application folder" "Users Desktop" and "Users Programs menu" ... u know "the file system view/setup1" ... well here is the problem, i click on "Application folder" and change the "default location" ... so i can specify the program is installed in "C:ProgramFilesJohns AppCalculator" ...... BUT when i build the setup and install the program it does not appear in this location !! arghh i can see all the program files on my pc ... except mine ( i have tried all day and all night the only way i can get it to appear here is by INCLUDING the "project output" into THIS folder ..... even though i only want it to be on the "users desktop" ....
I have an application with a String variable that repeated gets a Date from a database, does something with that field, then goes onto the next row. Is there a way I can send send out some debugging information to the stdout console so I can debug better/view the progress of the program?
For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.
How do I reference the library project when I get this error?
"A project with an output type of class library cannot be started directly In Order to debug this project, add an executable project to this solution which references this library project. Set the executable project as the startup project."
I have downloaded the attached code from codeproject site, i'm new in vb.net, i have some background knowledge in vb6. when i try to run the code the following error message is diplayed:"A project with a output type of class library cannot be started directly"
I'm trying to match up a specific group name and see if it exists for the currently logged in user using Active Directory roles. If the Group Name exists for the Current User, I want that group name to be displayed in a drop down list. Example: If current user is in BIG Group, display BIG in drop down list.Problem: All I am getting is SIDs and I'm not able to get anything to match up to the group name and nothing will show up in the drop down list.I also get the following Error:Error: Object variable or WIth block variable not set.How do I fix this?? here is the code I am using:
Private Sub GetMarketingCompanies() ' code to populate marketing company drop down list based on the current logged in users active directory group that
I am writing an application and I do not know how to reference a group of controls inside a group box. I will include the code I have written so far and a picture with a detailed explanation as to what I am trying to do. Feel free to comment on any discrepancies that you may notice in my code.
Code:
Public Class Form1 ' The following class-level constants are used ' to calculate the price of the model Const decCOUPE As Decimal = 18000
I'm creating a simple .NET console application where I want to save a file in a folder that's part of the root project, like so: SolutionName.ProjectNameTestData. I want to put test.xml into the TestData folder. However, when I go to save my XDocument, it saves it to SolutionName.ProjectNameinx86Debug Console est.xml.
I created a simple user control and everything went fine.Then I created another of the same control (as a different project) from scratch (creating the controls in a different configuration; but pasting code from the previous one from a text file).As far as I know I did everything the same for creating a user controlCreate a Class Library project Then Project>Add New Item> User Control Then delete the initial class that was added automatically (usually named Class1.vb) Put all of my code and components into the user control class.However, when I wanted to run it in the debugger as I did in the previous project, I now get an error message:"A project with an Output Type of Class Library cannot be started directly."
I want to divide the content in my application to groups each group has its own rectangle border with the group name located at the top border, i've seen it before and i'm not sure what is the correct name of this control, anyone knows what I'm talking about ? EDIT: Ok, I found the Groupbox Control but how do i use it? should i just drag other controls inside it or i should add controls directly into it?
I have a listview in which the View is set to Details. I have a module with a Sub that accepts a Listview and a sql query as arguments:
Public Sub PopulateListView(ByVal lvw As ListView, ByVal filtersql As String) Dim li As New ListViewItem Dim lvwColumn As ColumnHeader Dim counter As Integer [Code] .....
This is how I call the sub: PopulateListView(lvwTranHistory, "SELECT AccountID,TransactionDate,TransactionAmt FROM [Transactions] WHERE GameSheetID = " & CurGameSheetID & ";") I tried some stuff there to group by the accountid but it ain't working. How to get the grouping to work.
syntax of the LINQ query to use GROUP something BY something and select some fields of the datatable. i am having a datatable filled with some rows, i am trying to fill the datagridview with the GROUP BY query output of some fields.
Is there a tool to convert a VB.NET 2005 project to a C# 2008 project. I am trying to convert our project to VS 2008 and mostly port all the vb.NET code in some projects to C# 3.0/3.5.
i'm doing a program, and i'm working with a guy (he's kinda like a teacher) and he's teaching me tiered coding, UI, BLL and DAL.i've been taught to have the UI in one project, and the BLL in another, but they're in the same solution. pretty much i don't know how to declare things from the BLL project in the UI project.
I emptied the recently-viewed projects from the registry but now the project which I'm working on does not appear there even though I've opened it many times. How do I get the project to appear in recently-viewed projects?