Click here to Skip to main content
15,913,278 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: combo boxes Pin
cheeken2u8-Feb-07 20:28
cheeken2u8-Feb-07 20:28 
Questionmulti form in the same form Pin
Hasan Jaffal8-Feb-07 12:15
Hasan Jaffal8-Feb-07 12:15 
AnswerRe: multi form in the same form Pin
Christian Graus8-Feb-07 13:06
protectorChristian Graus8-Feb-07 13:06 
GeneralRe: multi form in the same form Pin
Hasan Jaffal8-Feb-07 22:01
Hasan Jaffal8-Feb-07 22:01 
GeneralRe: multi form in the same form Pin
M-Hall10-Feb-07 7:10
M-Hall10-Feb-07 7:10 
QuestionSetting Readonly on columns in Datagrid in the code behind Pin
BitterChick8-Feb-07 11:38
BitterChick8-Feb-07 11:38 
AnswerRe: Setting Readonly on columns in Datagrid in the code behind Pin
gauthee8-Feb-07 18:02
gauthee8-Feb-07 18:02 
QuestionDataGridView formatting breaks validation Pin
penguin50008-Feb-07 11:25
penguin50008-Feb-07 11:25 
I've got a bound DataGridView that performs some validation exactly as I want it to - providing I don't have the columns formatted.

A code snippet example of the validation that works when I don't format the columns is:

<br />
If CType(e.ProposedValue, Integer) <= intPreviousToValue Then<br />
   e.Row.RowError = "Error message"<br />
   e.Row.SetColumnError(e.Column, "Error message")<br />
End If<br />


Using the standard VB.NET 2005 Express formatting properties, the columns are formatted to be:

Column 0 - Numeric - no decimals
Column 1 - Numeric - no decimals
Column 2 - Currency - two decimals

If I take the formatting out, the grid validation works fine - if I put the formatting back in, I can't get the validation to work.

What am I breaking by putting the formatting in?
AnswerRe: DataGridView formatting breaks validation Pin
penguin500020-Jul-07 10:56
penguin500020-Jul-07 10:56 
QuestionConverting huge numbers for Decimal to Hexadecimal and visa versa Pin
Fu Manchu8-Feb-07 11:19
Fu Manchu8-Feb-07 11:19 
AnswerRe: Converting huge numbers for Decimal to Hexadecimal and visa versa Pin
Johan Hakkesteegt8-Feb-07 22:26
Johan Hakkesteegt8-Feb-07 22:26 
AnswerRe: Converting huge numbers for Decimal to Hexadecimal and visa versa [modified] Pin
TwoFaced9-Feb-07 16:28
TwoFaced9-Feb-07 16:28 
Questionenumerate objects Pin
RJGCarey8-Feb-07 9:17
RJGCarey8-Feb-07 9:17 
AnswerRe: enumerate objects Pin
Christian Graus8-Feb-07 9:27
protectorChristian Graus8-Feb-07 9:27 
GeneralRe: enumerate objects Pin
RJGCarey9-Feb-07 2:55
RJGCarey9-Feb-07 2:55 
GeneralRe: enumerate objects Pin
Christian Graus9-Feb-07 9:51
protectorChristian Graus9-Feb-07 9:51 
Questionvba script to monitor temperature and workgroup Pin
tomboy788-Feb-07 7:08
tomboy788-Feb-07 7:08 
Questioninstance of form Pin
charchabil038-Feb-07 6:35
charchabil038-Feb-07 6:35 
AnswerRe: instance of form Pin
MatrixCoder8-Feb-07 6:41
MatrixCoder8-Feb-07 6:41 
GeneralRe: instance of form Pin
charchabil038-Feb-07 7:11
charchabil038-Feb-07 7:11 
GeneralRe: instance of form Pin
Old John8-Feb-07 15:23
Old John8-Feb-07 15:23 
AnswerRe: instance of form [modified] Pin
TwoFaced8-Feb-07 7:42
TwoFaced8-Feb-07 7:42 
GeneralRe: instance of form Pin
charchabil0310-Feb-07 5:51
charchabil0310-Feb-07 5:51 
GeneralRe: instance of form Pin
TwoFaced10-Feb-07 7:10
TwoFaced10-Feb-07 7:10 
GeneralRe: instance of form Pin
charchabil0310-Feb-07 21:16
charchabil0310-Feb-07 21:16 

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.