Can't Fix Reference On Project
Dec 29, 2011
I have received a project from other developer. This project as serveral references which are alright.There is only one reference that is not good.It's the Microsoft visual basic PowerPacks. I have the dll in the place where the other ddls are but still the project says that it can not find the reference specified.The DLL name is: Microsoft.VisualBasic.PowerPacks.dll it's on the path: C:Documents and SettingspribeiroAmbiente de trabalhoSGLCBuild I have other dlls there that are with the right references on the project...
View 18 Replies
ADVERTISEMENT
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 25, 2011
I have 2 projects, one built in VB.NET and another in C#.NET. I want to use certain functionality of VB.NET into C#.NET and hence I have added the dll file of VB.NET solution into C#.NET as a reference by browsing the dll from my system. Say dll name for VB.NET is myData.dll. In my C#.NET project I am trying to declare it as a namespace i.e. "using myData;" and its giving me an error of "Type or namespace name could not be found"
View 1 Replies
Nov 15, 2011
Public Class aaMyForm Inherits Windows.Forms.Form Added some controls. Build it, add the .DLL as reference to my other project.
In my other project:
Imports MyLib
Public Class XForm
Inherits aaMyForm
The events from aaMyForm execute correctly but the controls added to it are not shown on XForm. I have found some info about set Modifiers Protected in order to be able to change the functionality of the controls but havent found anything about why the controls aren display on the XForm.
View 1 Replies
Jun 4, 2009
When I try to add a .tlb file to my project as a reference, I keep getting this error:
how to fix it, or turn the .tlb file into a normal .dll file which I can then add to my project?
View 6 Replies
Sep 15, 2009
how can I add a class of a different project to my current project as a reference?I tried Right click_-> add existing item --> ( The class from the other project) then it gives me error.I am not sure how can I use that class as my reference to my current project?
View 3 Replies
Aug 15, 2011
Windows 7 (64 bit); Visual Studio 2010
Project 1: Control Library and Builds ok
Project 2:Windows Forms Application
Code refers to Project 1 as "Dim withEvents name as New Global.name.name
Add Existing Project 1 .vbproj file
Add Reference and Select Prject 1 .vbproj file
The attached information message appears.Project 2 runs but not properly.
View 3 Replies
Apr 23, 2011
I need to convert all types of audio formats to the mp3. I think I need to add the refrence of the dll (lame_enc.dll) into my .net application. When I try to add the DLL reference to my project, I get an error: "A reference to C:Lame_Enc.dll could not be added. Please make sure this file is accessible and that it is a valid assembly or COM component"
[Code]....
View 1 Replies
Jun 2, 2009
I am very very very Curious , okay today when i opened vb.2005 i click on projectAdd ReferenceCOM(tab)
It showed me different component names, so here is my question
What can i do with those Components? I saw Yahoo Messenger Components/ Bit torrent/ Real Player/ Quick Time and different applications' component to summarize my curiosity
What can i do with them? What is the reason for those components? Are they helpful? Are they ever needed? if yeah please how?
View 6 Replies
Feb 15, 2012
i tried to customize the column name because the column name in my datagridview comes directly from the table column name, which is kindda odd. i browse throught this forum and other forums on howto's but i get this wierd error. [code] tablestyles is not a member of system.windows.form.datadridview.do i have to add additinal reference to my project?
View 6 Replies
Jan 3, 2012
When I'm adding project reference to a project in VS2010, VS is unable to refer it in the project,
but when I'm adding the dll path (by browse), VS is getting the reference and project is working fine.
I'm using VS2010 professional edition and both the projects are in .NET Framework 4.0.
View 5 Replies
Aug 7, 2010
I'm trying to use the dotnetbar reference in my project..However I'm getting this error messages..I haven't got a clue what's wrong :S
View 4 Replies
Jun 29, 2011
I have a vb.net 3.5 class library project that needs to reference two assemblies that have the same namespace. We have two third party dll's in which one is version 5.1 and the other is version 6.1. They have the same dll filename and they utilize the same namespace and functions/class names. The project needs to use one or the other depending on a specific situation. I've investigated up on a c# process that uses the "extern alias" feature to pull in the different assemblies.
[URL]
What use is the Aliases property of assembly references in Visual Studio 8.It seems that this feature isn't fully available for vb.net. Things I've Tried I've renamed the 2nd dll and added both references to my project. At this point I get tons of: 'blah' is ambiguous in the namespace. So I need to alias the different versions. In vb.net you can do aliases on an imports statement like:
Imports version5 = Somedll.Something
The problem is I can't setup an assembly reference alias for the different versions of the dll. Apparently in vb.net you can't set these up in the reference properties window. So I tried setting them in in my project file like this:
<Reference Include="somedll.5.Navigation">
<HintPath>....UtilityThirdPartyDLLSsomedll.5.dll</HintPath>
<Aliases>SomeDLL5</Aliases>
[code]....
I would then expect this to work:
Imports version5 = SomeDLL5.Something
Imports version6 = SomeDLL6.Something
But the "SomeDLL5/6" doesn't show up in intellisense. So how can I reference both dll's in the same project?
View 3 Replies
Nov 26, 2010
In a VB.Net project, you can use the Settings tab of the properties page to define application settings. To reference the settings in code, you use the syntax My.Settings.SettingName in VB.
On the Settings tab, you get to choose the Access Modifier. It may be "Friend" or "Public". Presumably, when you choose "Public", you are making the settings accessible to other assemblies. However, once "Public" is chosen, I can't figure out the syntax to reference the settings of one project from another. In fact, I can't observe any difference between using "Internal" vs. "Public" as the access modifier.
My question: Does choosing "Public" as the access modifier make settings accessible to other assemblies? If so, what is the syntax to reference the settings from other assemblies? If not, what does "Public" do?
View 4 Replies
Jan 16, 2009
Does anybody know how to add reference of ADO in VS.net 2008?
View 4 Replies
May 19, 2009
I'm trying to load a project that I lazily saved all for. When I try to load the project from the vb start menu it says I can't load it because it has a reference to a file.
View 4 Replies
Feb 22, 2009
When I reference the com-enabled .net dll in a VB6.0 project, how do I make an installer so the com-enabled .net dll will be registered on target machines? It seems I cannot use regsvr32.exe itself to register it so I have doubts that using the P&D wizard will not be able to properly register it.
View 1 Replies
Dec 14, 2011
I'm working on a project which stores reference numbers. The numbers usually amount to millions so speed has become an issue.My current project works on a very simple SQL database with two fields - an ID and the actual string. It works extremely well until the number of rows goes into the millions when it then goes to an absolute crawl. Each string in the database must be unique.
View 9 Replies
Apr 9, 2010
in which directory is an image copied when you include it in your project?
View 1 Replies
Jun 24, 2011
I have added a folder with a bunch of images inside my vs2010 project. I want to reference this folder through code.Since the final prog may be deployed into different location absolute path won't do!
What is the standard way to get the folders relative path?
View 3 Replies
Dec 9, 2009
I would like to refer to an image i have added to a project from inside a class of the same project.
View 2 Replies
May 17, 2012
I'm trying to do something quite simple. I've added an item to the 'Solution Items' folder of my Visual Studio VB .net project. The item is called 'ValidationQuery.sql' and I need to reference it in my code. However, I can't seem to figure out how to actually reference it.
View 1 Replies
Jul 29, 2010
how to delete a project reference set. i have had mysql connector 6.xx.0 but due to bug i uninstalled it & reinstalled 5.x.x now i am unable reset the project reference
View 3 Replies
Jan 22, 2010
I am attempting to move Visual Studio 2008 project from an XP Pro development environment to a Win 7 64-bit Ultimate environment. In the process of doing so, I have one ActiveX COM control that the project uses. I've installed that control using the maker's installer. Now, when I open the project, the project cannot find the control, etc. - "The system cannot find the reference specified." I also tried moving a particular file to the system32 directory, as per a possible fix they posted, but that didn't help either.
[Code]...
View 9 Replies
Jul 22, 2009
I m working on one of vb6 projects. There are total 3 projects. One of them is ActiveX Exe is and has main method, second one is also AxtiveX Exe but doesnt have main method (only Classes) and third project is of ActiveX Dll.Well I m trying debug and issue and trying to put all 3 prjts in 1 Group prject but some how I cant add reference of 2nd prject into the first one. I get an error of " cannot be referenced because its project type is exe" but I can add a ref of its compiled exe but this doesnt help in debugging of whole prjt.
View 7 Replies
Oct 1, 2009
I need to read data from an Excel workbook in my VB2005 application. I've add a reference to the Microsoft Excel 11.0 object (as I'm using Excel 2003). However, I got the following error when I build the project:
"Warning 1: Namespace or type specified in the Imports 'Excel' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. (follow by the path of the project)"
View 5 Replies
Jun 22, 2009
I have a project that I am attempting to deploy. In my project I was using a SQL Express DB and after my first build I installed on my test PC only to find that it was going to make me install SQL Express which I defiantly do not want so I decided to scrap the DB.
I excluded the DB from the project, when into the project properties pages and removed all references to SQL and system.Data, Went into the code and removed all the "Imports" statements for SQL and Data and commented out all the SQL DB code. I then tried another build and had the same results. I started looking at the files and then I realized I did not change the app.config file. I went into it and deleted out the connection string entry. I built the project again only to have the same result. I cannot seem to see what could still be referencing SQL. Isn't commented code ignored?
View 3 Replies
Jan 15, 2011
I am basically 4 weeks into my first ever programming class and we are working on a project for the game "Hangman". While I have struggled with everything for the past 3 weeks, I have finally cams across something I have no idea how to correct. I am getting a Null.Reference error in the following line of my
If Not strWordToGuess.Contains(strLetterGuessed) Then
Now this code was provided in my project files, it was dated 4/07, I am currently working in VB 8 express, I am thinking this might have something to do with it.
View 14 Replies
Jun 9, 2010
When you add a file that the project will use (in my case an Excel file) and set it to be copied to the output directory, you can of course add a string to a class with the file name in it to use the file. I was wondering though does Visual Studio automatically generate a member somewhere that contains the name of the file? Perhaps in the My Namespace?
Kind of like how when you set the Build Action to Resource, Visual Studio generates a member in the My.Resources namespace for reference. Whenever I change the name of the file in the Solution Explorer it would be nice if I had some method that would automatically update the file name in the code.
View 9 Replies
Jan 11, 2010
I created a class library of useful functions and it compiled successfully into a DLL. It works great but I need to reference the DLL by navigating to my class project.
Can't I just move the DLL into the System32 folder and point to that reference? Do I need to register it with the OS or can I simply drag & drop?
View 3 Replies