I want create a DeskBand application for Windows 7 64bit in VB2013.
I found two helpful sites:
Band Object Basics
Extending Explorer with Band Objects Using .NET
My problem is, if I want activate my toolbar, drop the popup window that say this: "**** toolbar isn't compatible with this version of Windows."
I write this on Win x64 with VB.NET Target Platform\CPU: x64
My VB.NET project files:
http://s000.tinyupload.com/index.php?file_id=01064589043620484857
What could be the problem?
Please help me. Thank you.
You DeskBand must implement IDeskBand2 interface. And IDeskBand2.CanRenderComposited method must set CanRenderComposited to TRUE.
Related
and I was wondering if there was a way to get this style of MenuStrip:
in a WinForms application, instead of this style:
I've already tried browsing through the different appearances Visual Studio offers, but I think it might be the version of the .NET framework I'm using, which is 4.5, I'm fairly certain.
Edit: Sorry, I should have said this before, but I'm using Windows 7 and Visual Studio 2010.
I've found the solution. Just simply replace a MenuStrip with a ToolStrip, and but the RenderMode property to "System". I feel rather silly now heh
I found the solution.Right click on toolbar and click Choose Item.Now select .Net Framework click Main Menu.
Now use it. But I have windows 7 and visual basic 2010 express...
Dear C# reactiveui community,
I am currently developping a UWP-App. To connect the UI with my BusinessLogic, I am using reactiveui in my ViewModels.
However, the VisualStudio designer keeps telling me that there is an error in my XAML when I set the DataContext or the d:DataContext to a ViewModel that extends ReactiveObject.
I keep seeing that nasty prompt to check for errors in my XAML code. The spot where I set my DataContext is underlined.
I am running Debug x86, targetting Build 10240. Experimenting with other Build targets or switching to Release did not help. To make use of the designer, I have to switch to x64 because there are no design instances in x64. That is an unacceptable solution, however.
Anybody who can help me with that issue? Thanks in advance!
I can't help with the ReactiveUI issues, but for Visual Studio 2015 you can now toggle the designer so that it does not run code in design mode. We enforce this when you switch to X64 or ARM as targets (since we can not run that code on X86) - which is why the designer then functions.
You can also toggle to 'no project code mode' using the icon next to the zoom control under the designer. Click this icon and VS2015 will no longer run code in the designer and will also show placeholder data for your bindings. Let us know if this feature helps you.
Is this possible? I installed them, but they don't appear. Do I have to import them or something?
If you cannot see the Chart control in the Toolbox, right click in the Toolbox, select Choose Items, and then select the following namespaces in the .NET Framekwork Components tab:
System.Web.UI.DataVisualization.Charting
System.Windows.Forms.DataVisualization.Charting
Please, take a look: How use MS chart control with VS 2010?
I haven't tried it with VS2010, but I would assume the process for using it is exactly the same as described there for other versions of VS. It won't appear in the tool box until you instal the add-ons
According to this blog post from January 2010:
The Microsoft Chart Control is available as separate installation for .NET Framework 3.5 and will be included in .NET Framework 4.0.
It could be that the controls haven't been updated to work with VS2010 because of this. If they're not in the Beta 2 by default (I don't have it installed on this machine to check) then it might be that they're only going to be included in the full release.
The Chart controls are included in version 4. Here's where you can find the types:
ASP.NET:
http://msdn.microsoft.com/en-us/library/system.web.ui.datavisualization.charting.aspx
Winforms:
http://msdn.microsoft.com/en-us/library/dd489065%28v=VS.100%29.aspx
I have a problem with the style of the button in a messagebox.
If I call the following line of code in a current project the button get one type of visual apperance/style. And If I create a new VB.NET Windows Application project it gets a standard Windows apperance/style.
Windows.Forms.MessageBox.Show("Yaay", "Yaay!", Windows.Forms.MessageBoxButtons.OK)
See the difference between the buttons below.
I suspect they inherit the visual apperance from it's parent or maybe from some project settings. But I have not been able to find out from where.
Both projects are created in VB.NET 2.0, and both have same System.Windows.Forms - dll as reference (c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll).
http://www.freeimagehosting.net/uploads/2a956b0675.jpg
Screenshot can be found here.
Thanx in advance for your help!
I cannot see the image from where I am so I'm not sure if this will help you.
Open the Project Properties for each solution and look at the Application tab.
Is the "Enable Applicaton Framework" item ticked? And if so, is the "Enable XP Visual Styles" item also ticked?
That may the difference in the two solutions.
Basically, what I want to is be able to explore an ActiveX DLL.
I normally fire up VB 6, add the DLL to the "References" of the project, and use Object Explorer.
However, in this particular machine I can't install VB / VS.
I'm sure there's a tool out there that does this. Does anyone know of one?
Thanks
If the machine has Microsoft Office installed, you can go into the built-in Visual Basic for Applications IDE and load the object there:
Tools menu -> Macro -> Visual Basic Editor (or press Alt+F11)
Then when inside the VBA window, Tools menu -> References -> Browse to locate your DLL
and View menu -> Object Browser to view the object's content (or press F2)
I've used Microsoft's OLE/COM Object Viewer for this. It used to be installed with older versions of Visual Studio, and is still part of the Windows SDK.
It also seems to be available separately -- this is from an older version of the Windows SDK, but I don't imagine this tool has changed much recently.
To view the type information for a particular DLL or OCX, File, View TypeLib... is the option you're looking for. You can also dig through the Controls group in the main window to view details on a registered control. Right-click the entry for the control and click View Type Information to see details on the types and methods it exposes.
This will show rather more information than VB6 would. If you're looking at an ActiveX control, the coclass and dispinterface sections of the type library display are the things to look at.
(There's also an Expert Mode option in the View menu -- this will show you pretty much everything stored in the Registry to do with COM, OLE and ActiveX. This is generally rather a lot of information...)
Is it possible to download the component from that machine and examine it locally in Visual Studio? (That'd be my first suggestion.) (And BTW, the .NET versions of Visual Studio also feature a VB6-like Object Explorer which works nicely for this.)
Alternatively, and it's not free, but you might try ActiveXplorer. (I haven't tried this, but it looks promising.) (Discontinued)