I had used "DevComponents.DotNetBar2" to make ribbon menus for my applications.I have setuped a new windows last night and add this component in visual studio.But when i put it in my form and i want to run my program give me this error :
I need to add forms to TabPages in TabControl, but I need to find bindings between a TabControl and TabPage, that means i want to add a Form to a TabPage which is connected to TabControl1.
I am trying to add a reference to a DLL written by a coworker to a project of mine but I am getting this message:
The referenced assembly "SomeDLL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
If I try to copy/paste simple tutorials such as [URL], Visual Studio freezes indefinitely and I have to force-close it. If I try to use code like the stuff found here [URL] or even just load up Reed Kimble's XArcade Vengance from this forum, I get this error message:
An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'Microsoft.DirectX.Direct3D.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
I installed an application with an Oracle.DataAccess.dll on multiple pc's.The problem is that the location of the reference is different on all pc's.Is there a way to catch this problem or do I have to put the .dll in a central place on the clients pc?
I am trying to follow some tutorials on using DirectSound in VB.NET and I need a reference to Microsoft.DirectX.DirectSound in my project. I have downloaded and installed the Microsoft DirectX SDK (June 2010) but after a restart I have no additional .NET references available to add to my project. I must be doing something really dumb
i have Office 2003 on my developer computer, but my client have Offie 2010. i handle the error on access adding the reference of outlook.exe programatically, but when i have to fix the VB.Net solution, i can't find a way to programatically add the reference of Office 2010 when i don't have that version installed on my computer.
I've got a service running (well, it doesn't crash), but when I try to add a Service Reference to it, I keep getting:
Metadata contains a reference that cannot be resolved: 'net.tcp://localhost:55555/mex'. Metadata contains a reference that cannot be resolved: 'net.tcp://localhost:55555/mex'.
If the service is defined in the current solution, try building the solution and adding the service reference again.The pertinent parts of my config file are:
I wrote a routine using a DatagridView that I dragged/dropped from the toolbar--populate it with data and it works great! Now, I need to reference the datagridview from another form. So, I (hopefully, naively, after the fact) declare a Public dgv in a module with the same name as the dgv in the form I'm trying to reference--in the form itself, dgv.rows.count = some number, but when I reference it outside the form I get errors. Obviously my public declaration is not working as hoped--the dgv was working within its form without the declaration so SOMEWHERE it is declared and is not public, but since I dragged/dropped it (i.e. did not instantiate in code).
Is there a way to change reference at runtime ? I am automating Word from VB.Net. I think what I have coded will be same for both Word2003 and Word2007. I used Word 12 Object Library reference(which is of Word2007). So, I want to know how to make it compatible with a machine installed with Office2003. That is, it will check the whether the machine has 2003 installed. If so, use that reference. Otherwise use 2007.
I am currently working on a net scanner project. I have a class called node. I then create a List(Of node) to create the list of nodes I am going to be scanning.
I have a separate thread that scans the nodes using a simple Do Loop.
I then add the nodes to a DataGridView control:
[Code]...
This seems time consuming if there are a lot of nodes in the list. I figure there has to be a better way to do this, or maybe another data structure I should be using?
I am successfully using a dll reference in VB.NET project. When I export the application to another PC by using a deployment setup, the application does not start at all. I have included the dll file inside the deployment setup so that this file is copied in the application folder. If I remove the dll file from the deployment setup, the application starts normally.I was wondering how I should set the properties of the reference in the .Net project. I am attaching a view of the references dialog where the used reference is highlighted.
while adding dlls through addrefrence . its poping up an error " Arefrence to c:... est.dll could not be added make sure that the file is accesible and that it is a valid assembly or com component "
I'm currently developing a compact program, but i need to use some .dll as references. Thats ok! But the problem is, i need the .dll reference together in the same directory as the program which i dont want to, since i need it to be compact, just on .exe.
Is there any way to load the .dll reference via the Resources or another way?
I have a few text boxes on my form (txt1, txt2, txt3...) and would like to assign values to them based on the index. I not sure how to describe but Something similiar to the following:
dim i as integer = 30 For n As Integer = 1 To i [txt] & i.text = MyText" & i Next
As the default for visual studio 2010 is set to ".NET Framework 4 Client Profile" and as such that ill be whats available on the clients PCs. So as i'm looking at adding data binding to a listview headercolumns, i was planning on extending the CollectionEditor (if i have to), but the CollectionEditor is only available when you target the full .NET Framework. So therefore i need to create a second solution with that as a target and build my extended CollectionEditor, but how do i get Studio 2010 (not my 'client' project) to reference my extended CollectionEditor?
I Have a c++ program that is already completed but has no ineterface. So What I am trying to do is translate the c++ code over to Visual Basic, which is trickier than I thought. I need to browse for a text file, cross reference that with a csv file which will match IDs and replace in the text file, outputting to a textbox to save
I have my forum calling a sub from a .DLL/Class Library and I get the "Object reference not set to the instance of an object" but when I had the .DLL as its own form, I did not get this error.
Here is the related code on the Form that calls the DLL: vb Imports ExcelImport.ExcelImport Public Class Form1 Dim accConn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:UsersAjDesktopTaxCert_be.accdb") [Code] .....
I've created a class library and it's shared by several projects I'm working on.
I added a reference to the DLL - but it appears to have copied it locally - and that's causing problems when I modify the class library. Seems I have to drop the reference and re-add it.
I'm seeing info on the web about adding a PROJECT REFERENCE but can't seem to get that to work.
What is the best method of sharing a class library with several other projects.
Actually - should all my projects be in one SOLUTION? Is that preferred.
It will be 5 projects all working with the same class library...
I've got a little problem. I'm trying to choose a background for the program based on Settings, but I'm getting a Null Reference Exception and I don't know what I'm doing wrong. Here's the
I've got an project that whenever an exception is throw will generate an error log. It was debugging fine so I decided to build a test version to let some co-workers try out. The build didn't work exactly right and I had to alter some reference properties to get it to build. Now I have the following error, "Reference to a non-shared member requires an object reference."The red highlighted text shows "reference to a non-shared member requires an object reference.