Windows Forms' Appearance - vb.net

Just started using Visual Studio 2008 and was hoping to convert my VBA UserForms to VB.NET with the intent of upgrading my antiquated UserForm controls to newer Windows form controls that match the operating system.
The Windows forms I create in Visual Studio look great, but when I load them in PowerPoint or Excel, the form controls look just as ugly as they did before (e.g. plain, rectangular buttons).
Is there a way to employ modern controls in my Windows forms using VB.NET in Visual Studio?

You either use one of the many available custom drawn buttons. Or it could be that you have to turn on visual style to make them render better http://dotnet.mvps.org/dotnet/faqs/?id=xpvisualstyles&lang=en

Related

using rtf textbox control in MSWord VBA

I have Windows 8.1, MSWord 365, Visual Basic for Application 7.1 and would like to use RTF Textbox control on a Userform. This control can not be seen in Controls windows nor can be found within Available Controls in Additional Controls windows. How can I use it?

is there other styles in visual studio 2013 for my forms

i'm developping on vb using visual studio 2013.
in my application i'm focusing on the graphics part more than the code. I'm looking if there is any other styles that i can apply for my forms, buttons , textboxs ... other than the classic forms and textboxs ?
for example can i create some buttons like the windows 8 buttons without creating a windows store project.
I suppose you work with vb and WinForms? If so, you might wanna try working with WPF instead of WinForms. To describe it very vagualy, it allows you to define your ui by xml (like css).

How to add common dialog control in vb 2010

In a school tutorial document I need to add a common control dialog to my form through project menu then components, but I cannot find the components button. I am using visual basic 2010.
VB.NET doesn't use the Common Control Dialog. What you are looking for is the SaveFileDialog and OpenFileDialog.
Common Controls are what you would use in a COM-based language, like VB6.
Instead of commondialog control, VS 2010 had offered five individual controls located under Toolbox -> dialogs. these are ColorDialog, FolderBrowserDialog, FontDialog, OpenFileDialog, SaveFileDialog. you can use one of these as per your requirement.

How can I add a control like a DateTimePicker to my office ribbon I'm creating using visual basic?

I'm creating an Microsoft Office 2010 add-in ribbon with a bunch of controls on it. I am able to add things like buttons, TextBoxes, and Labels. :-) I am not, however, able to add the one control I need, which is a DateTimePicker. :-( Is there some workaround or hack to getting other controls like a DateTimePicker on my ribbon?
If it helps any, I'm using Visual Basic 2010.
I wound up just making one of my buttons open up a separate form which then was able to have the DateTimePicker control on it. :-)

Shapes control in vb.net

Is there anything like shapes control of VB 6.0, in Vb.Net?
I need to draw lines etc. at design time. But I could not find any shapes control in the toolbox.
Thanks
Furqan
Microsoft released the free Microsoft Visual Basic Power Pack that contains Line and Shape controls that you can add to the tool box. A post here suggests it is included in VS2008 SP1 so you may already have it.
Alternatively you can create your own using a panel and override the onPaint event.
no built in controls but you can easily achieve the same goal with some API calls: http://msdn.microsoft.com/en-us/library/bbw12xs4(v=VS.90).aspx