Add New Ocx Files So They Can Be Used In Projects?
Sep 13, 2010
How do you add new ocx files so they can be used in your projects? I download some free ocx files and cant use them right now cause I can't get them in the side bar thing.
View 2 Replies
ADVERTISEMENT
Sep 11, 2010
I got two projects. GUI/Console and I want to have them in the same project directory with two different projects so:
C:Project1GUI.VBPROJ
C:Project1Console.VBPROJ
The problem is simple: It will overwrite the My Project directory, how to change this?
View 3 Replies
Jul 22, 2009
I am working on a solution that contains 2 projects one to be built as an exe and the other as a service. Both projects will share a class for certian functions and properties. I would like to have both projects use the same physical file so when I make a change in one of the projects it is also made in the other.
This was simple to do in VB6 but as of yet I see no way to do it under dot net. It seems to want to make a copy of the file and place it into the project folder for the second project resulting in the need to either copy after every change or manually make the changes twice.
Anyone know if there is a way to have common files area for a solution so that any project within the solution has access to the actual file rather than a copy of it?
View 2 Replies
Jun 6, 2012
I have a vb.net project that has 2 exe's that get built as well as the installer. The two exe's share a bunch of common files. I do not want to have two copies of the common files or mess around with having build events that copy things around (if possible).My method was to create two projects in the same folder and have them point to the files they needed.This appeared to work until I tried to compile both apps at which point I get an error in a file called Application.Designer.vb. It seems that project files create this file in their folder and when I have two solutions in the same folder they conflict.
View 8 Replies
Nov 16, 2011
Is there a way that I can include code or other files from other projects WITHOUT referencing them? I am trying to combine our projects into 1 EXE without DLLs. I do not want to use a self extracting EXE either. Let me know if there is a way to do it similar to the C++ #Include.
View 5 Replies
Jun 29, 2009
I have some assemblies that were developed using .NET 1.1. These are business layer assemblies that are required for other .NET 1.1 applications to work. I have been developing our new applications using .NET 2.0/3.5. I would just convert the business layer projects over to 2.0 and be done with it, but those old 1.1 applications just won't die.As such, has anyone ever had two different .vbproj files (one a .NET 1.1 project file and the other a .NET 2.0/3.5 project file) that pointed to the same set of files so they could be compiled appropriately?
View 2 Replies
Feb 19, 2009
When a project is built in VB, the executable file is created in the \bin\Release folder. Apart from the executable there are other files that get created:
MyProject.application
MyProject.exe.manifest
MyProject.pdb
MyProject.xml
Are these files required to run the executable? Is having just the MyProject.exe file in the setup enough? And what are these files for?
View 2 Replies
Sep 28, 2010
I created a visual basic express edition project and when completed pressed Save All. Then proceded to work on another version and saved that one as well, Now the project cannot find the original version which is the only working one. I have all of the projects backec up but they will not load. Where do I have to move the files so Visual basic can find them?
View 1 Replies
Mar 15, 2009
Removing projects from VB2008 start page recent projects list. The above list is getting clogged. How do I remove items from this list?
View 3 Replies
Feb 16, 2012
Note: This question is similar to How to prevent the copy of XML documentation files in a release mode build?, but it's not the same and the answers there don't apply. Read on to find out why. (Please ask in the comments or in chat if you disagree, I'll be glad to elabroate).
I have a library project (myLibrary) and an ASP.NET web application project referencing this library (both are in the same solution). "Generate XML documentation file" is checked for the library project, because I want to have those nice IntelliSense features while developing.
When I publish the web application (Context Menu on the project/Publish...), it copies only the files required for running the application (no source code, etc.) to some publish directory. That's good. Unfortunately, it also copies the XML documentation file of the library. Since I consider our library's documentation to be a trade secret, I wouldn't want it to end up on a customer's server. Thus, we have to remember to manually remove this file from the publish directory before deploying it.
Is there a way to prevent Visual Studio from copying this file when publishing the ASP.NET project, but still retain the benefit of XML documentation IntelliSense when developing?
View 4 Replies
Jan 16, 2010
i want to ask that wat is sln? and how to see sln projects...
View 2 Replies
Mar 22, 2009
I notice you need a wizard to at least start to convert projects from VB6 to .Net
I also see it comes with VS Professional
Is it able to be downloaded and run with VS2008 Express ?
View 10 Replies
Jun 8, 2011
How can I create a namespace and classes in it, then save it, and reuse the namespace in other projects? Do I have to click on Create Class Library in Visual Studio?
View 2 Replies
Jun 26, 2009
Im gonna develop an application s/w using VB.Net & Oralce for a small company with 4 employees and a MD.
Each has their own PC connected through a Hub.The task of MD is to check in the employees daily work progress & to calculate their incentives in daily basics...
And each emp should be able to check their daily incentives from their PC using the passwords provided by the s/w Now my doubt is. how should I show the daily incentives updates to all emps PC from MD pc?(i.e) if i install the s/w in all PCs, will they'll get the updates automatically? DOES VB.NET can be used here or should we use ASP.NET?
View 1 Replies
Aug 30, 2011
I have a .Net solution with 5 projects in c# and one in visual basic. I want to know whether there would be a gain of performance to convert my visual basic project to C# in the day to day while I compile my solution.
View 3 Replies
Jan 28, 2010
I want to start learning how to add menus to my vb.net projects. how to code and design them.
View 4 Replies
May 4, 2009
I have a project named "slnAllForKids" in Visual Studio 2005. I have another project named "AFKLogin." There is a page called index.aspx in slnAllForKids. I want to redirect from index.aspx to home.aspx in AFKLogin when I click submit button in index.aspx.
View 1 Replies
May 4, 2009
I am currently doing a project which is to be linked with another project. I.e., when I click on some button in my current project's page I should get a page from the other project..
View 2 Replies
Apr 14, 2011
I'm going to build a large project and want to create several libraries (DLL) for it. I don't want to merge them all in one EXE, but want to use seperate DLL files.I don't want those DLL's to be used by others, so these DLL's should be protected so that they can only be used in my own project.I was thinking of using some sort of password in the New() proc, but that doesn't work for shared classes.
Other solution I was thinking of: is it possible to check if the calling assembly has the same strong name as the DLL?These solutions are just one of my ideas. I don't know if those will work and am not saying that one of them is the way to go.What is the best approach to accomplish this?
BTW: I also use a obfuscator to protect my code.
View 1 Replies
Dec 19, 2010
Every time I open a project, it closes the project I had open. I would like to have two or more projects open at a time. I like to do this so that I can reference old code, etc. The projects are not related in any way, so I don't want them linked in any way.
View 10 Replies
Sep 8, 2009
I have two .NET projects in the same domain. The first project I create long time ago in VB.NET. Now I create another project that I built in C#. How can I set up my new project in the same domain so I can access the new forms that I built in C#. Do I need to submit the whole folder from the project? Do I need to change anything in the web.config? Right now I am getting this error. [PhoneControl] is the new project in C#. [URL]
View 2 Replies
Mar 20, 2009
can anyone of u tell me how should i integrate three different modules of my project into one.specifically which all files i need to alter
View 1 Replies
Oct 20, 2009
I have made a class library for visual basic, now I have a dll. How can I now load the dll into other projects?
View 5 Replies
Mar 18, 2012
I know its odd to post 2 different projects in a day but hence the lecturer asked us to do 2 in 1 week what else can I do so here is the problem he wants us to make a tic tac toe game that will ask for player 1 and 2 name then generate a random number for who will play 1st ok.. I though of a solution for that but it seems that player 2 always plays 1st also amm when I click on new game that recalls the code that you will see bellow the lblplayer1.text and lblplayer2.text don't reset to the new values untill I re-use the new game command what seems to be the problem? sorry for the bad explanation my English aint the best
count_turn = 0
score1 = 0
score2 = 0
lblscorep1.Text = 0
[Code]...
View 5 Replies
Aug 16, 2009
Well on VS it has the most recent projects which is only like four. WHen I want to access an older one I click open then click on the folder. I don't know what to click after that but whatever I click never brings the form up but it has it's name in the solution explorer in the top right.
View 1 Replies
Nov 17, 2009
I'm currently writting an class for importing data into application database from various formats. Basically, I want to pass a file path and the class would give back an class objects and from those objects I'll insert data into database. The problem is that I already have classes for containing data and classes that insert data from data-classes into database ready in the main application. But at the moment I cant Access the source of main application (Im at home and remote connection is down is what im trying to sayJ ). I only have setup.exe of application and the application is already instaled on my home pc (I have .exe in program files).
Is there any way I can add a reference of this application into my current Project so that i can use the classes that are defined in main application?
View 2 Replies
Dec 4, 2009
I have a Windows Forms UI, a Class Library, and a WebService. I need to be able to pass an Enumerated type through each of these layers (SystemType). For instance, the UI passes the type to the class library, which then passes the type to the Web Service.My question is, where do I define this enumeration type so they all know about it.
Options so far:
- Each project contains the exact same enumeration.
- Put the enumeration in its own project and reference this assembly from each of the other projects.
View 3 Replies
Apr 19, 2011
I've been poking around in some projects written by one of our contractors, and he seems to be storing a lot of settings in the main "app.config" file for the application, using, for example:
<add key="SomeClass/SomeValue" value="False"/>
And then referencing the key value in the "SomeClass" class in "SomeProjectLibrary" using
ConfigurationManager.AppSettings.Get("SomeClass/SomeValue")
While this works, I guess, it also pretty much sucks. I was wondering if anyone knew of some more elegant way of creating variables in the "app.config" file, which could then be used across various applications within a Solution?
View 1 Replies
Jun 30, 2009
Do you use 'strict off' option, 'explicit off'? Or may be 'strict custom' and some other options like 'Implicit type. Object assumed', 'Late binding', 'Implicit conversion'?
View 8 Replies
Dec 30, 2010
I'm using Visual Studio 2010 and coding in VB.NET.
My problem is that I've collected all the modules I've written and intend to reuse and placed them in a separate folder. When I want to add a module from the above folder to any given project, it takes a copy of the module and places in the project's source code folder, instead of referencing the module in the folder containing all the other modules.
Is it possible to include a module in my project and leave it in the folder with all the other modules, so that when I improve upon a module, it'll affect all the projects that uses/references that module. Instead of me having to manually copy the new module to all the projects that uses/references the module. Right now I have multiple instances of the exact same module that i need to update manually when I improve code or add functionality?
View 3 Replies