How can I make BOARDER tools like 3D tools in Visual BASIC6 ? And Is there a problem in the use of OLD Visual BASIC 6 Tools??
Yes, there is a problem using old vb6 tools, it's the same problem as using pascal for vb.net application.
You can, however, draw a 3D border to just about any control in winforms, and I imagine that in wpf it's easier. check out ControlPaint class:
http://msdn.microsoft.com/en-us/library/System.Windows.Forms.ControlPaint_methods(v=vs.110).aspx
Related
I recently started working at a company with many custom applications all written in VB, and which I must support/modify. I see an opportunity to creatively display some critical data to my users, and it seems the best way to do so is a form with a 3D model with a stack of cubes, sort of like a bar chart with three axes. I see the FBX editor in the VSIDE, but I'm not sure if that's appropriate for my idea.
Here is what I would like to do:
Use a Windows Forms form in a VB.Net project (2012 in this case).
Display a 3D model in a frame/box on that form.
Have the ability to programmatically modify that model (add/remove cubes).
Give users a "hand tool" to rotate model left or right (around the Y axis).
GUI editing of the initial model would be helpful, but is not mandatory.
If it were a static model, I could simply plot the lines in a graphics box, but the ability to rotate a "live" model would be outstanding.
I'm new to 3D modeling, so I'm not sure how to approach this. Can anyone suggest a direction for me to go in?
Use WPF.
Create WPF control with 3D and add it to your Windows form with ElementHost control .
Hosting a WPF Composite Control in Windows Forms
With WPF you can "easily" implement 3D components.
3-D Graphics Overview
For your particular case I suggest to get known with 3D Charts if you already didn't do this.
Tutorial: Changing to a 3D Chart
Windows 7 has a new appearance for ToolBar control:
But my WinForms toolbar has the ugly classic gray
What do I have to do to make my ToolBar look like the first image
EDIT: I don't want to use gradients, I want to know if there's some P/Invoke (I use ToolBar instead of ToolStrip, 'cause ToolBar is nearer to native style controls than ToolStrip).
Disclaimer
THIS QUESTION HAD NO ANSWERS AND, NOW I USE C# INSTEAD OF VB.NET (My question about vb.net are outdated for me, because I use c# instead.
Toolbar control was replaced by ToolStrip control in Visual Studio 2010
You can follow this tutorial for creating a professionally styled ToolStrip Control
I want to make a Custom Windows Forms menu. Now, when I say "menu", I mean where the "Exit", "Maximize" and the "Minimize" icons are. I have seen in Microsoft Office software that Microsoft have done a custom WinForms Menu, and in many other software. I have done research for months, and searched so much and have not found anything! I have, found some companies which are currently selling Component Packages with Visual Basic, C# and Visual C++ components, however I do not have the money to buy one of these packages, therefore I need help making a custom Windows Form menu.
I would like to make a Custom Windows Form Menu as a "Ribbon" type. So, It will have a "Ribbon Form Menu". However, I do not wish to use any products or packages to do this for me, seen as I don't have money for them.
I have tried a number of ways for creating a Custom Form Menu:
Used a ToolStrip docked to the top of the form, and set the property of "Left to right" to True, and used buttons or labels for the "Exit", "Maximize" and "Minimize" buttons, although, this isn't really ideal, and I don't really want that anymore.
Used buttons at the top of the Form and docked a panel behind it to made it look like a custom form, but again, this isn't really ideal either.
Anyway, please can someone help me make a custom Windows Forms Menu? It would be nice if you could help me make it in the "Ribbon Style" too!
Please note this post is aimed at the Visual Basic Programming language.. I am using Visual Basic! :D
Thanks.
You have a few options, Firstly you can extend the ClientArea into the NonClientArea
and you would end up with something like: http://www.codeproject.com/Articles/44235/Painting-Vista-s-Aero-NonClientArea-in-VB-NET
After doing some digging i found a .net wrapper for the windows 7 ribbon control, I haven't tried using it yet but you might be able to make it work:
http://windowsribbon.codeplex.com/
Alternatively you can create it all from scratch, setting the FormBorderStyle to None and handling the moving/re-sizing etc by your own code.
As well as painting the Ribbon-like controls yourself.
The latter is a lot more work but is the most customizable, I hope this is helpful and gets you on the right track!
I've been thoroughly looking for a combobox alternative to use for Windows Phone development for a full 24 hours now. The best i've found so far was this
,which is perfectly fine, but i'm really looking for something to work with in Vb.net.
PS: I'm using Visual studio 2010 as my code editor
Anticipated thanks :)
The List Picker is the best alternative to a ComboBox.
You can get the List Picker by installing the Toolkit update: http://silverlight.codeplex.com/releases/view/55034
It doesn't matter whether you use VB or C#. The Listpicker is basically a control in XAML, in the design view.
The only difference would be the Databinding syntax in your code view.
I'm developing a 3d Viewer in vb.net and xna. It's working very well.
I have now a windows form and an xna render window, but I would like to render it inside a panel in the windows form.
I have searched for info, but it's so hard to adapt it into my application.
How can I do it?
alt text http://img299.imageshack.us/img299/384/87117064.jpg
Here is the application.
IMO, you should keep it separate. It is so much easier because you don't have to worry about managing the graphics device. However if you must know, you can find the winforms series on the xna creator's club site. it shows you how to render to a winforms panel
http://creators.xna.com/en-US/sample/winforms_series1
http://creators.xna.com/en-US/sample/winforms_series2