Click here to Skip to main content
16,006,432 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Send information of one PC to another over network. Pin
Dave Kreskowiak31-May-09 3:18
mveDave Kreskowiak31-May-09 3:18 
QuestionProgressBar Smooth Scrolling Pin
Graham Irons30-May-09 17:58
Graham Irons30-May-09 17:58 
AnswerRe: ProgressBar Smooth Scrolling Pin
Dave Kreskowiak30-May-09 18:40
mveDave Kreskowiak30-May-09 18:40 
GeneralRe: ProgressBar Smooth Scrolling Pin
Graham Irons30-May-09 19:12
Graham Irons30-May-09 19:12 
GeneralRe: ProgressBar Smooth Scrolling Pin
Dave Kreskowiak31-May-09 3:15
mveDave Kreskowiak31-May-09 3:15 
GeneralRe: ProgressBar Smooth Scrolling Pin
Graham Irons31-May-09 11:01
Graham Irons31-May-09 11:01 
GeneralRe: ProgressBar Smooth Scrolling [modified] Pin
Dalek Dave31-May-09 11:26
professionalDalek Dave31-May-09 11:26 
GeneralRe: ProgressBar Smooth Scrolling Pin
Graham Irons1-Jun-09 13:52
Graham Irons1-Jun-09 13:52 
Again, many thanks Dave.

I've tried that on my XP System and my Vista System and the end result is exactly what I was after.

The ProgressBar Scrolls as you would expect in Both Systems and the MonthCalendar maintains the appearance that I desired.

For anyone who may also need this fix in VB, here is the code.

Check the
'Enable XP visual styles' 
in the Application Tab of the Project Properties.

Imports System.Windows.Forms
Imports System.Runtime.InteropServices


' Declare this Function inside Form Class in which the Control is used.

Private Declare Unicode Function SetWindowTheme Lib "uxtheme.dll" _<br />
                                      (ByVal hWnd As IntPtr, _<br />
                                       ByVal pszSubAppName As String, _ <br />
                                       ByVal pszSubIdList As String) As Integer<br />
Private m_intReturn As Integer


' Call the SetWindowTheme from within the Form Load Event.
' This with negate the Visual Styles for the Control in the Function's Parameter.

m_intReturn = SetWindowTheme(Control.Handle, "", "")

Regards, Graham

QuestionHow to answer an incoming call with Tapi 3.0 Pin
Thayhor30-May-09 17:28
Thayhor30-May-09 17:28 
Questionline break not working in crystal reports ? Pin
kindman_nb30-May-09 9:58
kindman_nb30-May-09 9:58 
AnswerRe: line break not working in crystal reports ? Pin
Johan Hakkesteegt31-May-09 20:18
Johan Hakkesteegt31-May-09 20:18 
QuestionHow to create menu dynamically & opening different windows forms when menu is clicked Pin
iamalik30-May-09 8:29
professionaliamalik30-May-09 8:29 
AnswerRe: How to create menu dynamically & opening different windows forms when menu is clicked Pin
dan!sh 30-May-09 8:56
professional dan!sh 30-May-09 8:56 
AnswerRe: How to create menu dynamically & opening different windows forms when menu is clicked Pin
Henry Minute30-May-09 9:07
Henry Minute30-May-09 9:07 
Questionhow to receive n send sms through vb.net w/o human interaction Pin
van_walkman30-May-09 8:06
van_walkman30-May-09 8:06 
AnswerRe: how to receive n send sms through vb.net w/o human interaction Pin
dan!sh 30-May-09 9:03
professional dan!sh 30-May-09 9:03 
GeneralRe: how to receive n send sms through vb.net w/o human interaction Pin
van_walkman31-May-09 18:00
van_walkman31-May-09 18:00 
QuestionEditable Page View Pin
User 584223730-May-09 2:59
User 584223730-May-09 2:59 
AnswerRe: Editable Page View Pin
DidiKunz30-May-09 4:23
DidiKunz30-May-09 4:23 
GeneralRe: Editable Page View Pin
User 584223731-May-09 6:38
User 584223731-May-09 6:38 
QuestionProxy Server Pin
Anubhava Dimri30-May-09 0:21
Anubhava Dimri30-May-09 0:21 
AnswerRe: Proxy Server Pin
Eddy Vluggen30-May-09 1:50
professionalEddy Vluggen30-May-09 1:50 
GeneralRe: Proxy Server Pin
Anubhava Dimri31-May-09 19:30
Anubhava Dimri31-May-09 19:30 
QuestionDrawing a Autocad Table through vb.net Pin
vijaylumar30-May-09 0:21
vijaylumar30-May-09 0:21 
AnswerRe: Drawing a Autocad Table through vb.net Pin
Dave Kreskowiak30-May-09 13:14
mveDave Kreskowiak30-May-09 13:14 

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.