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

Visual Basic

 
AnswerRe: Network Programming Pin
Yona Low7-Nov-06 4:37
Yona Low7-Nov-06 4:37 
GeneralRe: Network Programming Pin
Nakul Sharma8-Nov-06 0:56
Nakul Sharma8-Nov-06 0:56 
GeneralRe: Network Programming Pin
Yona Low8-Nov-06 16:34
Yona Low8-Nov-06 16:34 
AnswerRe: Network Programming Pin
MyAccountDied7-Nov-06 19:14
MyAccountDied7-Nov-06 19:14 
QuestionIs this possible Pin
Pete Newman7-Nov-06 2:49
Pete Newman7-Nov-06 2:49 
Questionchange permission in registry Pin
ingsgr01@gmail.com7-Nov-06 2:16
ingsgr01@gmail.com7-Nov-06 2:16 
AnswerRe: change permission in registry Pin
Yona Low7-Nov-06 4:32
Yona Low7-Nov-06 4:32 
QuestionSystem.InvalidCastException was unhandled by user code Pin
binujeesman7-Nov-06 0:21
binujeesman7-Nov-06 0:21 
Hi I added a datetimepicker to one column of datagrid. i got this by downloading generic datgrid user control from web. after i download that control, i got the 'calendercolumn' also as columntype. it is working. but when i am trying to insert one row thru datagridview to sql table' s datetime column, when i am clicking on the calender cell value itself it is giving me the following error. when i click continue it goes back to the cell and i can select the date the date and proceed. the data(including date) is saving properly. hw can i avoid (what eception to handle) to prevent from this error msg to come?



"to replace this default dialogue please handle the data error event...............

System.InvalidCastException was unhandled by user code
Message="Specified cast is not valid."
Source="GenericDataGridView"
StackTrace:
at GenericDataGridView.GenericDataGridView.CalendarCell.InitializeEditingControl(Int32 rowIndex, Object initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle) in C:\Documents and Settings\c0001014\Desktop\vs2005Projeler\GenericDataGridView\GenericDataGridView\GenericDataGridView.cs:line 504
at System.Windows.Forms.DataGridView.InitializeEditingControlValue(DataGridViewCellStyle& dataGridViewCellStyle, DataGridViewCell dataGridViewCell)
--- C:\Documents and Settings\c0001014\Desktop\vs2005Projeler\GenericDataGridView\GenericDataGridView\GenericDataGridView.cs
00000000 push ebp
00000001 mov ebp,esp
00000003 push edi
00000004 push esi
00000005 push ebx
00000006 sub esp,38h
00000009 xor eax,eax
0000000b mov dword ptr [ebp-10h],eax
0000000e xor eax,eax
00000010 mov dword ptr [ebp-1Ch],eax
00000013 mov dword ptr [ebp-40h],edx
00000016 mov edi,ecx
00000018 cmp dword ptr ds:[0371289Ch],0
0000001f je 00000026
00000021 call 7932D6AE
00000026 xor edx,edx
00000028 mov dword ptr [ebp-44h],edx
0000002b nop
0000002c push dword ptr [ebp+0Ch]
0000002f push dword ptr [ebp+8]
00000032 mov edx,dword ptr [ebp-40h]
00000035 mov ecx,edi
00000037 call 7A4A1A1C
0000003c nop
0000003d mov ecx,edi
0000003f call 7A45FF60
00000044 mov esi,eax
00000046 mov ecx,esi
00000048 cmp dword ptr [ecx],ecx
0000004a call 7A900AF8
0000004f mov esi,eax
00000051 mov edx,esi
00000053 mov ecx,3714BDCh
00000058 call 79125572
0000005d mov dword ptr [ebp-44h],eax
00000060 mov ebx,dword ptr [ebp-44h]
00000063 mov ecx,edi
00000065 call 7A462DF4
0000006a mov esi,eax
0000006c cmp dword ptr [esi],79105EF0h
00000072 je 00000080
00000074 mov edx,esi
00000076 mov ecx,79105EF0h
0000007b call 791F1CE6
00000080 add esi,4 ------------------------------------error
00000083 sub esp,8
00000086 movq xmm0,mmword ptr [esi]
0000008a movq mmword ptr [esp],xmm0
0000008f mov ecx,ebx
00000091 cmp dword ptr [ecx],ecx
00000093 call 7A8FCDF4
00000098 nop
00000099 nop
0000009a lea esp,[ebp-0Ch]
0000009d pop ebx
0000009e pop esi
0000009f pop edi
000000a0 pop ebp
000000a1 ret 8



Questionadding schema table in treeview Pin
nbulut6-Nov-06 23:34
nbulut6-Nov-06 23:34 
Questionvb 6.0 Pin
sukhchain singh6-Nov-06 22:40
sukhchain singh6-Nov-06 22:40 
AnswerRe: vb 6.0 Pin
Christian Graus6-Nov-06 22:49
protectorChristian Graus6-Nov-06 22:49 
AnswerRe: vb 6.0 Pin
ChandraRam7-Nov-06 0:54
ChandraRam7-Nov-06 0:54 
AnswerHOMEWORK Pin
leckey7-Nov-06 2:32
leckey7-Nov-06 2:32 
Questionnvb6.0 Pin
sukhchain singh6-Nov-06 22:37
sukhchain singh6-Nov-06 22:37 
AnswerRe: nvb6.0 Pin
Christian Graus6-Nov-06 22:46
protectorChristian Graus6-Nov-06 22:46 
GeneralRe: nvb6.0 Pin
Paul Conrad7-Nov-06 6:57
professionalPaul Conrad7-Nov-06 6:57 
AnswerHOMEWORK Pin
leckey7-Nov-06 2:32
leckey7-Nov-06 2:32 
Question,filling a grid at run time in windows application Pin
samerh6-Nov-06 21:53
samerh6-Nov-06 21:53 
AnswerRe: ,filling a grid at run time in windows application Pin
Christian Graus6-Nov-06 21:57
protectorChristian Graus6-Nov-06 21:57 
JokeRe: ,filling a grid at run time in windows application Pin
coolestCoder6-Nov-06 22:48
coolestCoder6-Nov-06 22:48 
Questionwhat is boxing in Concept in .net? Pin
PavanPareta6-Nov-06 21:37
PavanPareta6-Nov-06 21:37 
AnswerRe: what is boxing in Concept in .net? Pin
Christian Graus6-Nov-06 21:58
protectorChristian Graus6-Nov-06 21:58 
AnswerRe: what is boxing in Concept in .net? Pin
Yona Low7-Nov-06 4:28
Yona Low7-Nov-06 4:28 
GeneralRe: what is boxing in Concept in .net? Pin
PavanPareta7-Nov-06 20:54
PavanPareta7-Nov-06 20:54 
QuestionUsing Internet Explorer Controls from VB6 Pin
Rajg_136-Nov-06 20:58
Rajg_136-Nov-06 20:58 

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.