VS 2010 1 Project - Multiple Project Types ?
Sep 30, 2011
A colleague has written a useful tool. He wrote it as a standalone tool, but it works even better as an includable dll, though it needs a bit of other functionality for it to be a really good drop-in component. What I am wondering is whether a project can be compiled as both an exe and as a dll?
There are alternatives, such as having a dll version and an exe version, since the dll version needs to include a few different methods that the exe version doesn't need, but this alternative sucks, since it would mean changing two sets of code.
Another alternative is to build the dll, then change the exe to be a project that references the dll....and does nothing other than calling one method in the dll. That kind of sucks, too, but not as bad.
I want to be able to use his module in some of my programs, and it really should be built as a component rather than a standalone app, but I want to know whether there are other options that I haven't considered.
View 2 Replies
ADVERTISEMENT
Nov 28, 2011
How do i get multiple icons in a project for use with shortcuts OUTSIDE the project..
View 7 Replies
Jun 23, 2011
I want to update the project with some new functionality but I want to keep the original intact.What's the best way to go about creating a new project with copies of all the files and resources from the original, but with paths that all point to the new copy?
View 5 Replies
Dec 20, 2010
Public Class ExtendedDateTimePicker Inherits DateTimePicker
View 5 Replies
May 5, 2010
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.
View 2 Replies
May 28, 2010
Has anyone else had issues with Visual Basic 2010?My visual basic program has been running fine for months but recently every time I try and load a project (any project) the program freezes, then I have to close it down and reload, every time I load Visual basic for the second time I get the following error:
HTML
An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error.Plus when trying to run a project in debug it takes ages to load (around 5 minutes) this has only started happening recently, projects were loading in seconds.
View 9 Replies
Aug 1, 2011
First of all, I wasn't sure whether this was VB.NET or General Developer content... It's not technically about VB.NET code, but it's not very general either since it is specifically about Visual Studio. Feel free to move it if required.A while back I realized that all of my database connection code was getting very biolerplate. had 'developed' my own method of connecting to an Access database and storing the results. Basically, for each table I create one 'Manager' class and one 'Entity' class. The Entity class represents a single record in the database and has properties for each field.
View 9 Replies
May 6, 2009
I 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 Replies
Aug 2, 2010
Does the Express Version support adding multiple soultions (.sln) to a project or is this only available with the Professional version.I see that I can add a DLL as a reference that was built in 2010, but it is not letting me step into it with the debugger (or recompile changes to its source).
View 10 Replies
Sep 9, 2009
Suppose somebody created a solution which contains many projects. How can I find the project types? I mean that how can I know whether a project is a library type or console application and so forth from IDE?
View 4 Replies
May 14, 2009
I make pretty extensive use of XML Comments in Visual Studio, but I'm discovering that some project types either don't appear to support them or else have default project settings preventing them from working properly.
[Code]...
View 1 Replies
Oct 12, 2011
I make pretty extensive use of XML Comments in Visual Studio, but I'm discovering that some project types either don't appear to support them or else have default project settings preventing them from working properly. For example, I position the cursor immediately over a Class, Variable, or Sub declaration and I type ''' - usually this prompts Visual Studio to autofill a whole XML comment block for me, but in a recent Class Library project with COM enabled, this does nothing at all.
View 4 Replies
Jan 20, 2011
Some one suggest use WPF for better look and feel when i open the VS2008 and go new project there is no WPF application ICon image attached;Is there some extra installation required
View 1 Replies
Nov 15, 2010
i 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]...
View 3 Replies
Oct 12, 2009
Is there any performance hit (or other problem) to creating a lot of class and structure types for a project? I'm not talking about the number of objects existing in-memory during runtime; rather just defining a lot of object types during design time. I find myself making a lot of small classes and structures that are little more than simply packaging a few related variables together.
View 4 Replies
Nov 22, 2010
I have a VB.NET project in Visual Studio 2010 for an Excel Add-In.I use the "My" namespace,and in general it seems that the "My Project" folder contains configuration information about the project.My problem is that I need to change the name of this folder, because my version manager system won't accept spaces in file or folder names.Edit: There is a hacky way to do it, by renaming the folder and changing all references in the .vbproj file.However, the may work for a command line generation, but it won't work the next time the project will be opened in Visual Studio. The IDE will create a new "My Project" folder, and complain that it can't find the settings in it.
View 3 Replies
Feb 21, 2009
VB 2005 Express Visual BasicI want to move (part of) projects to different projects/ computer.I used File - export template- and was able to save templates of whole project or item(s).They saved nicely in a subdirectory called "templates" as zip files.How do I import to 1/ other project on same pc?2/ To a different computer?I tried copy zip files into corresponding folder on new system. No luck.
View 5 Replies
Apr 12, 2010
I made a change to a project and hve induced a major problem. I have warnings and errors now, but I can still debug the project with the "last successful build" Iwould like to just revert everything to that build but I can't find a way to eliminate the problems I induced or find a way to go to a earlier build. Hopefully I can get back to an earlier version or I will loose the entire project as I can no longer get to the designer.
View 5 Replies
Dec 13, 2010
I have a windows forms application developed in vb.net 2008 (WBLoad) that opens and loads an Excel 2010 workbook (xlAnalysis.xlsm). The xlAnalysis.xlsm is included in the project WBLoad and is loaded from the application folder which is on the user's C: drive.
The wbLoad.Application and associated files are deployed to several network servers across the company.I just created a custom action pane using vb.net 2010 and added it to xlAnalysis.xlsm. The question is how to I include the workbook with the action pane in the WBLoad project?
View 3 Replies
Apr 27, 2009
I have a project which is using VB Language, is it possible I combine some classes with C# language into it? "Project" not a solution.
View 8 Replies
Jan 17, 2010
My project will be a collection of 3 projects that have similar GUI's and call on common assemblies. I want my project to contain 3 executable files when published that will load one of the designated smaller projects. Each of the smaller projects is designed to perform a different task, yet they are all similar in terms of looks and how the user interacts with the program. The best way to picture it would be MS Office. All the office programs (excel, word etc..) are part of the same package, and look similar but they perform different tasks. You can load any of these programs by opening the relevant .exe file, which is exactly what i want to do with my application.
View 4 Replies
Dec 9, 2009
I am using: (copied from the/about vb studio window:
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
[code].....
View 6 Replies
Feb 24, 2012
If I put this piece of code in a new fresh vb.net form, add a button and two labels and start debug I get execution time of about 11.5s.If I put the same piece of code in a new form in an old project upgraded from an earlier version of vb.net, start debug I get an execution time of 7.5s.So I do exactly the same in the two projects but get different execution times.
What do I have to do with the fresh new project to get the same execution time ?I am not interested in improving the code to be able to calculate primes faster. I just want to know what is the significant difference between an old upgraded project and a new fresh one. I am using windows 7 64bit on a 2,4 Ghz Intel quadcore.
Public Class Form2
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim l, h, p As Integer
[code]....
View 1 Replies
Jan 23, 2012
I am following the guidelines from [URL]..Mid way through the process they have you rename your App_Code to Old_App_Code folder and compile ... at which point i had DLL's in my BIN folder and i started to repair my aspx/ascx files.
e
Today i find the compiled bin files missing an now all my pages are sqwaking they cannot find the numerous Public Class - Public Shared Function's ... I have verified their build action to Compile but am unable to rebuild an have them regenerate on account of project errors.Advice on how to rebuild the bin or how to properly reference a Public Shared Function? My VB code includes an Imports statement taht used to find the class in app_code.
View 1 Replies
Jun 7, 2012
I'm developing application that is plugable. The plugins are loaded via Assembly.LoadFrom(). In my solution I have 4 projects. A WPF, 2 DLL and another DLL that is a plugin for the app. The plugin project references one of the other DLLs. When I build the Solution and run I was getting an error trying to use the plugin dll because it was expecting an older version of the referenced project. I had to clean and rebuild the plugin project to get it to run correctly.
[Code]...
View 1 Replies
Apr 11, 2012
I am developing a Multi-Project solution (A, B) in Visual Studio 2008.
I need to run a second project from the start up one and then the first project should be closed.
The matter is that I want to Exit the A.exe and kill the process and the dll that are depending on it. And then Run the B.exe.
View 4 Replies
Jan 31, 2009
I am using 8 different vb projects in one solution, beside this I am also using one 3rd party control ion all the projects, while compiling the application it takes around 5 minutes to build the project, While building the application I have observe that it uses lc.exe file which is used for "Reads text files that contain licensing information and produces a .licenses file that can be embedded in a common language run time executable." at this point it takes too much time.
View 1 Replies
Nov 12, 2009
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
View 2 Replies
Jun 28, 2009
Is 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?
View 4 Replies
Jun 28, 2011
There are 3 project in vb.net MAIN PROJECT, BLL(Business Logic Layer), DAL(Data Access Layer) now we are trying to maintain one single instance of some values through out the assembly or what we can called single instance should get used in all projects...for example there is a class called clsParameter we need only one instance of this class should get used through out all projects so if i made any change in MAIN PROJECT same values also get updated in BLL or BLL should receive same values....
View 3 Replies