Click here to Skip to main content
15,920,633 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionkey code error Pin
ranipriya 201026-May-08 4:10
ranipriya 201026-May-08 4:10 
AnswerRe: key code error Pin
jzonthemtn26-May-08 4:26
jzonthemtn26-May-08 4:26 
AnswerRe: key code error Pin
Dave Kreskowiak26-May-08 8:42
mveDave Kreskowiak26-May-08 8:42 
AnswerCP Ignore Pin
leckey26-May-08 15:58
leckey26-May-08 15:58 
QuestionTable Locking... Pin
nishkarsh_k26-May-08 2:16
nishkarsh_k26-May-08 2:16 
AnswerRe: Table Locking... Pin
Guffa26-May-08 3:55
Guffa26-May-08 3:55 
AnswerRe: Table Locking... Pin
Dave Kreskowiak26-May-08 8:39
mveDave Kreskowiak26-May-08 8:39 
QuestionOverriding Paint Method Pin
Vimalsoft(Pty) Ltd26-May-08 0:31
professionalVimalsoft(Pty) Ltd26-May-08 0:31 
Good Afternoon All

Am Overriding the Paint Method. i need to Change Colour based on the Value of a Certain Column. The Following Code Will Look for that Value in Every Column and Change the Colour in those Cells.

Dim o As Object<br />
o = Me.GetColumnValueAtRow(source, rowNum)<br />
If (Not (o) Is Nothing) Then<br />
    Dim c As Char<br />
    c = CType(o, String) '.Substring(0, 1)<br />
    If (c = "True") Then<br />
        ' could be as simple as<br />
        ' backBrush = new SolidBrush(Color.Pink);<br />
        ' or something fnacier...<br />
        backBrush = New LinearGradientBrush(bounds, Color.FromArgb(255, 200, 200), Color.FromArgb(128, 20, 20), LinearGradientMode.BackwardDiagonal)<br />
        foreBrush = New SolidBrush(Color.White)<br />
    End If<br />
End If

How can i change the Change the Entire row based on a Value in a Certain Column

Thanks

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


AnswerRe: Overriding Paint Method Pin
Scott Dorman26-May-08 4:58
professionalScott Dorman26-May-08 4:58 
GeneralRe: Overriding Paint Method Pin
Vimalsoft(Pty) Ltd26-May-08 23:57
professionalVimalsoft(Pty) Ltd26-May-08 23:57 
QuestionPInvokeStackImbalance Pin
Mohammad Al Hoss25-May-08 23:49
Mohammad Al Hoss25-May-08 23:49 
AnswerRe: PInvokeStackImbalance Pin
Scott Dorman26-May-08 5:00
professionalScott Dorman26-May-08 5:00 
AnswerRe: PInvokeStackImbalance Pin
Dave Kreskowiak26-May-08 8:34
mveDave Kreskowiak26-May-08 8:34 
AnswerRe: PInvokeStackImbalance Pin
Luc Pattyn26-May-08 12:18
sitebuilderLuc Pattyn26-May-08 12:18 
Questionscreen shot ore cordinates with color Pin
pejen25-May-08 23:48
pejen25-May-08 23:48 
AnswerRe: screen shot ore cordinates with color Pin
jzonthemtn26-May-08 4:24
jzonthemtn26-May-08 4:24 
AnswerRe: screen shot ore cordinates with color Pin
Dave Kreskowiak26-May-08 8:31
mveDave Kreskowiak26-May-08 8:31 
QuestionHow to read external application fields values Pin
just3ala225-May-08 23:24
just3ala225-May-08 23:24 
AnswerRe: How to read external application fields values Pin
Dave Kreskowiak26-May-08 8:27
mveDave Kreskowiak26-May-08 8:27 
Questionvb.net keycode error..... Pin
ranipriya 201025-May-08 23:00
ranipriya 201025-May-08 23:00 
AnswerRe: vb.net keycode error..... Pin
jzonthemtn26-May-08 4:15
jzonthemtn26-May-08 4:15 
QuestionHow to monitor a database with a Windows service ? Pin
007jb25-May-08 22:09
007jb25-May-08 22:09 
AnswerRe: How to monitor a database with a Windows service ? Pin
jzonthemtn26-May-08 4:10
jzonthemtn26-May-08 4:10 
GeneralRe: How to monitor a database with a Windows service ? Pin
007jb26-May-08 5:29
007jb26-May-08 5:29 
Questionpivot table kind of control Pin
BSRK25-May-08 20:06
BSRK25-May-08 20:06 

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.