• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

Windows Forms in Visual Studio 2003

Hi all,

I am migrating an access database into vb.net with MySQL back end and am at the stage where i design the forms.

This may seem really picky and dumb, but in access i can do these things that i cant work out in VB.NET:

Group boxes have round corners
Command buttons have round corners
Graphics in buttons can span the whole size of the button, not small in the middle
Command buttons have a white to grey vertical gradient as the background
You can set position of background image on form and change repeat settings

I can't find any of these with Visual studio. Is it even possible? Can anyone give this perfectionist a hand?? :)

Thanks

bryan
0
bryanford
Asked:
bryanford
  • 4
  • 3
1 Solution
 
Brian CroweDatabase AdministratorCommented:
Is it possible? Yes. Is it worth the trouble? Probably not.

You can use GDI to draw the boxes or you can derive your own groupbox and change the OnPaint method to draw however you want.  You would have to do similar things to the Button object to do what you want.  Your best bet is to just accept that you're not in Access anymore and use what you're given at least to get the application working.
0
 
bryanfordAuthor Commented:
thanks, i thought that might be the case... it just seems that you pay a lot more for visual studio than you do for access and yet there are some advantages of the cheaper...

My employer is looking at getting Visual studio 2005 for later this year. Does anyone know if this is available in it? The project is sort of a time killer so i'll defer it if its available in vs2005

0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
I know that your last request:

    "You can set position of background image on form and change repeat settings"

IS available in VB.Net 2005.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
bryanfordAuthor Commented:
Cool... 1 down, 4 to go. Thanks for that.

Does anybody else know of the others?
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
3rd request for images to span a button is available via the BackgroundImageLayout() property:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.backgroundimagelayout(VS.80).aspx
(this is the same way the form background layout is changed)

The GroupBox has rounded corners by default.

The button corners are slightly rounded by default.
0
 
bryanfordAuthor Commented:
when you say groupbox and button corners are round... do you mean in visual studio 2003?
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
All my comments were for VS2005.

The GroupBox and Button in VS2003 are rectangular.
0
 
bryanfordAuthor Commented:
thanks! got vs2005 a bit earlier and its perfect...

Bryan
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now