I need to add Google Maps in one of my projects and I found that I can use GMap.NET. Show I downloaded the GMap.NET and I add as references GMap.NET.Core.dll
and GMap.NET.WindowsForms.dll as shown in the guide of the GMap.net. Show according to the guide in "Choose Items" in toolbox section it must has appeared the GMapControl item but it hasn't. I haven't find any solution to this problem so I decided to make this article. Sorry for my bad english, I would be glad if anyone can help.
Go to TOOLS menu then click on "choose toolbox items...". Select .NET Framework Components, then click browse.Add GMap.NET.WindowsForms.dll there. Then when you open your toolbox, you should see GMapControl on General menu. If it's not there, check other toolbox menus.
Related
I'm using Visual Studio 2013 and I created a windows form application. Everything was fine until just now. When I go into my project now I cannot find the Form1.cs [Design] tab which allows actual form designing with the rag and drop of object from the toolbox.
I checked the directory and I do have files and sub-directories, but being a C# beginner, I'm not too familiar with what files are needed.
So, could someone please show me how to get this back?
Thanks.
This is pretty vague. But if it isn't in your solution explorer, re add the files to the project.
Right Click on your project root -> New -> From Existing Item, navigate to said item and add it. (shortcut is Shift + Alt + A).
If it's just code right click on it and select "View Designer", if you still have trouble try posting a screenshot.
As you can see in my screenshots below, I don't have an option chart under my toolbox. I checked and seem to have the proper references in place. I don't see any option to add the chart control either. Please help. Tnks.
reference
toolbox
no option to add chart control
The References under Solution Explorer only refers to what you can use in code. Toolbox items have to be added separately. To do this, right-click inside the Toolbox and select Choose Items.... In the dialog that appears select the tab referring to the type of control (in this case it looks like WPF). Scroll through the list to find the controls you want to add, tick them and click OK. The controls should now be available in the Toolbox. You can add extra tabs/sections to the Toolbox with the Add Tab right-click option.
That's a good question - I needed to search for a solution when I first tried to add new controls to the Toolbox!
Hope this helps! :)
I suggest you to use devexpress..
Install devexpress first..
After installing , restart you visual studio,, open a windows form application
and
Try devexpress..
Add " New Tab" in your tool box.
Right Click Tab and "Choose Items"
You can select dll files there. selec all related files and click ok
when you are done, just drag and drop chart control on you application, the reference will automatically updated.
The Chart is not a standard feature control of .NET 3.5 although it can be installed from a separate download. It is only standard in .NET 4.0 or higher. It is Not available at all (no separate download) for .NET 3.0 and below!
If you can, do change your project to .NET 4.0 to make the Chart control present in the Toolbox and then be able to add it to your forms. I have learnt this the long way...
I have problems to use the Extended WPF Toolkit controls in the XAML designer
environmet: Win8.1, WPF Toolkit 2.1.0.0, MS VisualStudio Express 2013
What have I done?
- Downlod the actual "Extended WPF Toolkit Binaries" from Codeplex-Homepage, unzip....
- include the Xceed.Wpf.Toolkit in my project - referencies ( o.k )
- in Toolbox: Add a new Tab "WPF Toolkit Extended" ( o.k )
- in the new registercard: Add Items. I see all the about 70 customs controls (ex. SingleUpDown and so on) (o.k)
- I try to drag and drop a custom (ex. SingleUpDown) to my main window. DOESN'T WORK
I get a messagebox (in german, I try to translate)
" a reference "XCeed.WPF.Toolkit, Version 2.1.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4" was added to the project. Press OK to restart the XAML Designer, that you can use the new types / controls out of the new referencies. After restart of the XAML designer you should do it again.
When I restart the Designer, or VisualStudio or even the computer, its always the same message. And I do not see the reference to the toolkit in the XAML designer.
I surely also tried all the referencies and hints on the codeplex installation site:
Add a using statement ("using Xceed.Wpf.Toolkit;") to the top of .cs files
Add a new xmlns (for example, xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit") to the top of XAML files
In your XAML, use the namespace prefix (in the above example, )
But this also doesn't work.
Is there any idea, why I am not able to drag and drop the controls to my main window and what is wrong in my approach. (I am pretty new to C# and WPF)
SORRY SORRY SORRY SORRY SORRY SORRY SORRY SORRY SORRY SORRY SORRY SORRY
I just solved it by additional google search. problem is to unblock properties after DLL-Downloads. My salvation was this comment:
This is a common problem when downloading files from thw web. Simply go to the folder where you downloaded the DLL. Right-click the DLL and select properties. Near the bottom of the properties dialog there should be a button that says "Unblock". Click that and you should be good to go.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I think the best solution is to add the WPF toolkit via Nuget.
If you don't have nuget already installed, go to Tools -> Extension and Updates in Visual studio. On the online section you should find Nuget easily it always appear on top, then click "download"
Once Nuget installed, right click on your project in the solution viewer and click on "Manage NuGet packages"
In the menu search for the Wpf Toolkit, and click on "install"
This way you are sure that the library is added correctly.
I have downloaded objectListView but do not know how to add the component to ToolBox, and so that I could drag it to my application. Anyone know how to do that?
Simply follow these steps:
In the Toolbox, right click to select Add Tab.
Provide appropriate name to that Tab.
Right click in the new tab and select Choose Items...
Browse the DLL and all the components will be listed in the new Tab.
Just to clarify: in the Choose Items dialog, make sure you have the ".NET Framework Components" selected. For some reason I started in the "COM Components" tab myself, and while you can click the Browse button there as well, you will get a message that there are no controls in the dll.
I'm trying to follow the instructions on http://www.codeproject.com/Articles/50056/Read-M4A-tags-in-C to host the QuickTime control in a Windows Forms project. I'm using VS2010 with C#.
I've added all the available Apple QuickTime COM references to my project but I don't see the QuickTime control listed in the Toolbox.
In several examples online, people are using AxQTOControlLib.AxQTControl qtPlayerObj = new AxQTOControlLib.AxQTControl(); to initialize the control. In my project, I only have QTOControlLib, not AxQTOControlLib.
I've done this a bunch of times with other controls. Am I missing something?
Thanks!
You can right click on your ToolBox select Choose Items then select the Com Components Tab. You then will want to look for Apple QuickTime Control 2.0 and select it. When you Click Ok you will then have the Control in your ToolBox.
Try this, Open a console and browse to the location of QTOControlLib. Run AxImp.exe with QTOControlLib.dll as an argument. It should generate the AxInterop which you would then reference in your project.
PS: If you have already added QTOControlLib.dll to the toolbox, add a temporary windows form and drag the control on to the form. Visual studio should automatically generate the AxInterop. If this does not work try the above mentioned solution.