Click here to Skip to main content
16,008,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Problem on Migrating VB to VB.NET using Dataset instead of recordset Pin
drexler_kk23-Jan-06 15:23
drexler_kk23-Jan-06 15:23 
AnswerRe: Problem on Migrating VB to VB.NET using Dataset instead of recordset Pin
mayhem_rules23-Jan-06 17:28
mayhem_rules23-Jan-06 17:28 
QuestionCreating VB Forms on FLY Pin
MalikRizwan22-Jan-06 19:36
MalikRizwan22-Jan-06 19:36 
AnswerRe: Creating VB Forms on FLY Pin
Dave Kreskowiak23-Jan-06 2:50
mveDave Kreskowiak23-Jan-06 2:50 
AnswerRe: Creating VB Forms on FLY Pin
MohammadAmiry23-Jan-06 9:31
MohammadAmiry23-Jan-06 9:31 
GeneralRe: Creating VB Forms on FLY Pin
MalikRizwan23-Jan-06 16:44
MalikRizwan23-Jan-06 16:44 
QuestionHow can I change background color of toolbar and MDI form? Pin
Mahbub895722-Jan-06 18:47
Mahbub895722-Jan-06 18:47 
AnswerRe: How can I change background color of toolbar and MDI form? Pin
lavanya_satheesh23-Jan-06 0:48
lavanya_satheesh23-Jan-06 0:48 
To change Background color of MdI form

Do not set isMDIcontainer property of the MDI form to true. Add the following code.

Private Sub test_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim mdiClient1 As MdiClient = New System.Windows.Forms.MdiClient
mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill
mdiClient1.Name = "mdiClient1"
mdiClient1.BackColor = Color.DarkCyan
Me.Controls.AddRange(New System.Windows.Forms.Control() {mdiClient1})
Me.IsMdiContainer = True
Dim frm As Form1 = New Form1
frm.MdiParent = Me
frm.Show()
End Sub


this should work for mdi form.


How to change the background color of a toolbar:
1.Place a panel on your form
2.Set the panel's docked property to Top (the default for a toolbar)
3.Set the panels backcolor to the color that you want the toolbar to be
4.Place a toolbar on the panel mentioned above

The Toolbar & its buttons inherit their backcolor from their parent control. Seems simple enough.

You could always 'subclass the toolbar and do the drawing yourself' but for a newbie to VB simple is best.

Questionhow to send mail using VB Pin
Paritos22-Jan-06 18:33
Paritos22-Jan-06 18:33 
AnswerRe: how to send mail using VB Pin
Mahbub895722-Jan-06 22:20
Mahbub895722-Jan-06 22:20 
GeneralRe: how to send mail using VB Pin
Paritos22-Jan-06 22:40
Paritos22-Jan-06 22:40 
GeneralRe: how to send mail using VB Pin
Mahbub895722-Jan-06 22:47
Mahbub895722-Jan-06 22:47 
GeneralRe: how to send mail using VB Pin
Paritos22-Jan-06 23:05
Paritos22-Jan-06 23:05 
GeneralRe: how to send mail using VB Pin
J4amieC22-Jan-06 23:38
J4amieC22-Jan-06 23:38 
AnswerRe: how to send mail using VB Pin
Fulmine23-Jan-06 1:12
Fulmine23-Jan-06 1:12 
AnswerRe: how to send mail using VB Pin
Mahbub895725-Jan-06 17:52
Mahbub895725-Jan-06 17:52 
AnswerRe: how to send mail using VB Pin
Mekong River26-Jan-06 15:04
Mekong River26-Jan-06 15:04 
Questionvb.net serial port comm using netcommocx activex control Pin
Neelima Raj22-Jan-06 18:24
Neelima Raj22-Jan-06 18:24 
QuestionThis Error Message PopUp when I execute, anyone can help me how to solve this? Pin
drexler_kk22-Jan-06 16:59
drexler_kk22-Jan-06 16:59 
AnswerRe: This Error Message PopUp when I execute, anyone can help me how to solve this? Pin
Owner drawn22-Jan-06 17:30
Owner drawn22-Jan-06 17:30 
GeneralRe: This Error Message PopUp when I execute, anyone can help me how to solve this? Pin
drexler_kk22-Jan-06 17:51
drexler_kk22-Jan-06 17:51 
GeneralRe: This Error Message PopUp when I execute, anyone can help me how to solve this? Pin
Owner drawn22-Jan-06 17:56
Owner drawn22-Jan-06 17:56 
GeneralRe: This Error Message PopUp when I execute, anyone can help me how to solve this? Pin
drexler_kk22-Jan-06 19:19
drexler_kk22-Jan-06 19:19 
QuestionSystem.IO.File.Delete Pin
elcheah22-Jan-06 16:57
elcheah22-Jan-06 16:57 
AnswerRe: System.IO.File.Delete Pin
Owner drawn22-Jan-06 17:34
Owner drawn22-Jan-06 17:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.