VB 2008 Is Hung Up When Trying To Add A New Form To The Project?
Feb 22, 2009Visual Basic 2008 is hung up when trying to add a new form to the project
View 2 RepliesVisual Basic 2008 is hung up when trying to add a new form to the project
View 2 RepliesI am using Visual Basic Pro 2008 SP1. I am currently working on a windows application form project and everything was fine until recently when I try to add a new item (does not matter a new form or control), the whole program is frozen up. If I look at the task manager, the "devenv.exe" process memory usage keeps increasing until FatalErrorOutOfMemmory. I can run build, debug without any error. I can publish the project and run the program without any problem too. I have tried to open a new project and I can add a new form or control without any problem. I wonder if there is something in the project causing this problem and where I should start to troubleshoot it.
View 5 RepliesFor 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.
View 2 RepliesI need to delete a hung laccdb file on a network share with vb.net or some other tool.
View 1 RepliesI am really new to Visual Studio and VB and I am having trouble closing a single form:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Close()
End Sub
When I use Me.close() associated with this button it closes the entire project and not just the single form can anyone.
Public Class ExtendedDateTimePicker Inherits DateTimePicker
View 5 RepliesI have 2 projects in 1 solution. How do I open a Form from Project2 using a form in project1
View 8 Repliesthis is more of a organizational question rather than a technical one. As your project grows and has more and more forms, objects and classes, how does one keep an overview?
Is there an application available which allows you to graphically organize the relationships between forms in a diagram? An "organigram" for your project?
I'm coming over from VB6 in which you could use 'user controls' to create reusuable custom controls. They were simple and contained and you can easily create several instances of a user control within the same or other apps. In vb2008 there are user controls but I can not figure out how to add them to forms or or other apps. Can someone please give me the the basic steps to add a custom user control to a form or project.
View 6 Repliesi was developing Voice Chat Application in visual Basic .NET 2008 i try a lot methods to make installer for it :
1- i add Project Setup Project for my Project for Visual Studio 2008 Deploy & setup Type Projects and make it with output option and detect dependices
2- i try make it with Setup Factory 8.2.1
3- i try with MSI Factory 2.0
4 i try with Setup Factory 6.0
and after making installer copying it to my test virtual Machine or my friend lap and install it i get this error when try to run my application :
[Code]...
I have a solution with several projects most of which are code or control libraries. I have a main windows forms application that references and uses these libraries. What i am trying to do is create a 2nd windows application that extends the main one, but i would like to be able to deploy them as separate exe's.
When i try to add a reference to the new app referencing the main app; all seems fine until i try to run the new app i get several error msgs similar to below:
Error 1 Could not find file 'ADODB.dll' referenced by assembly 'D:Visual Studio 2005ProjectsXXXinDebugXXX.exe.manifest'. <newAppName>
i have tried adding references to all the dll's in the error messages and they are still listed when i try to run the new app. I thought of a few work arounds but they require user changes to maintain separate exe's at deployment. I would like to avoid this if possible.
I am using VS 2008 and I have a solution with multiple projects. I would like to know how to open a form in project B from a Form in project A. The solution starts with the form in project A.I have tried the following and it does not produce the expected behaviour:In Form A I have added a reference to the Project B. The following code is in a form in project A. appraisal is a form in project B.
Dim appraisalForm As New appraisalApp.appraisal
appraisalForm.Show()
The above solution works to a degree. As the form is instantiated in Project A, I cannot reference any of the items in the form in Project B as I could if the Form in project B was instatiated through startup.
I have a number of projects in a solution and want to be able to access forms in all of the projects from a form in the main project. I thought of doing this to keep each segment of the solution manageble. If something goes seriously wrong in one of the projects it is easier to fix that starting from scratch with the whole solution.I have found numerous suggestions on this topic from "It cannot be done" to suggestions that do not work. The closest that I have come and still does not work is as follows:
Imports VAT_List.Form1 'This is Form1 in Project 2
Public Class Form1 ' This is Form1 in the Main Project
Private Sub ListsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListsToolStripMenuItem.Click
'Imports VAT_List.Form1
[code]....
How to add an existing form of old project to a new project? Which extension type files to be added to work that existing form correctly?
I actually need frmContacts.vb (because a lot of textboxes and other controls are there) which I have added. Since it doesn't show any existing controls on form, I added other following files as well.
1) frmContacts.vb
2) frmContacts.Designer.vb
3) frmContacts.Designer.vb
How to add an existing form of old project to a new project? Which extension type files to be added to work that existing form correctly?
I actually need frmContacts.vb(because a lot of textboxes and other controls are there) which I have added now to my New Project. Since it doesn't show any existing controls on form, I added other following files as well. Though there is no use.
1) frmContacts.vb
2) frmContacts.Designer.vb
3) frmContacts.Designer.vb
How do i get multiple icons in a project for use with shortcuts OUTSIDE the project..
View 7 RepliesIs there a way that you can export a file from one project directly into another project?
For example, in one project i have a file called authInvalid.vb and i need to export it into another project?
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.
View 6 Repliesi'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.
View 1 RepliesI 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?
View 5 RepliesIm doing this project but u have a problem. im trying to make it so that when a timer in the first form(form1) ticks a progress bar in the other form goes up by 1.
View 2 RepliesI'm trying to set form size longer, but after building the project form resizing.
View 1 RepliesI have read a lot of the prior questions/answers on this topic but it only took me so far. I have a solution to which I added 2 additional programs. These 2 added programs in essence create a PDF2TIFF converter using GS. I wish to call that form and use it as a utility from my main program. After reading other answers in the forum, I added these two programs as references in the main program and imported everything available, into the main program. I have what seems to be a correct build order set up. I want to open the form in the utility project(s) from a link on my main form. I tried a few things but the only way I could write the code without errors was to instantiate the second program then call that with a button click.
[Code]....
I am getting some wierd behavior in VS2008. I have the following code in 2 different forms in the same project. One form pops up the help as you would expect when you click the Help button, while the other form does absolutely ntohing when the Help button is clicked.[code]
View 4 RepliesI have a project that I have created, it something like a contact database.It is complete with its own sql server database, and controls and forms.I kinda of understand that I can include this project into another project.This is the tricky part,Can I include my contact project into another project and add more items to the database and forms in a new project?What I'm after is like using classes.My contact database would be like the base class, and the new project would be adding more features to that project.
View 10 RepliesTo start I already removed this form and created a new one, but I'm curious why this happened and what I did wrong.
1. I created a new project and copied several forms and files from an existing project using the "Add Existing Item" function.
2. I had one form that would show but had no data.
3. I call the form like this[code]...
I'm using VS.NET 2005 PRO, On my most recent WINFORMS project when I try to add a second form to the project I get a pop up that says object reference not set to instance of object. This is coming directly from the add new item template box, not sure what's happening, never had this before,
View 3 Repliesat my visual studio class we made a data base program! i was using VB 2008 on a win xp x86 machine i copy the project on a usb stick because i want at home to work on visual aspects! my pc have win 7 x64 and now my project doesnt work! it shows me an error i cant get to the second form from project!
[code]...
how to access a form in a different project but within the same solution? Say I click a button on one form to display another form which is a part of the same solution but resides in a different project.
View 11 RepliesI develeped VB.NET solution composed of two projects: 1 Win Form project and 1 class library (.dll) project.I need to import all the .NET solution to a "Lab View" project ("National Instruments" product) as an ActiveX object (or suitable LabView object to import from .NET as well). The "Lab View" view interface shoulf have a button which call the WinForm interface.Is it possible? I think that there could be some problems with Win Form project, that is difficult to set inside an ActiveX .NET project.
View 2 Replies