Click here to Skip to main content
15,908,111 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to save a file in Registry Pin
Syed Ali Raza15-Aug-06 21:56
Syed Ali Raza15-Aug-06 21:56 
AnswerRe: How to save a file in Registry Pin
Dave Kreskowiak16-Aug-06 1:18
mveDave Kreskowiak16-Aug-06 1:18 
GeneralRe: How to save a file in Registry Pin
Syed Ali Raza16-Aug-06 6:33
Syed Ali Raza16-Aug-06 6:33 
GeneralRe: How to save a file in Registry Pin
Dave Kreskowiak16-Aug-06 12:19
mveDave Kreskowiak16-Aug-06 12:19 
QuestionFont Creator Pin
ravindra_p15-Aug-06 20:51
ravindra_p15-Aug-06 20:51 
AnswerRe: Font Creator Pin
Guffa15-Aug-06 21:41
Guffa15-Aug-06 21:41 
GeneralRe: Font Creator Pin
ravindra_p15-Aug-06 23:40
ravindra_p15-Aug-06 23:40 
QuestionDataGrid - Problem Help Pin
M_Yousaf15-Aug-06 20:29
M_Yousaf15-Aug-06 20:29 
I have some problems/bugs related to DataGrid .NET Framework 1.1 in Visual Studio 2003. These may be the real bugs or unawareness of how to use it. I faced this bug, when I used Data Grid Control for more specific purpose. The detail of the said bug is given below, please check it and give me your opinion or solution.

1- To read the value of any cell in current row which has not yet been the part of data source an exception is thrown with message “There is no value at index 0” here 0 is the index of row I am specifying syntax I am using is as follows
Messagebox.show ( grdDetail.Item( grdDetail.CurrentRowIndex, 0))

2- Validate Event of column style is raised 2 or 3 times
3- The focus did not stay in the same cell even when e.Cancel is set to true. The code lines are below:
Addhandler csUnitName.TextBox.Validating, new ComponentModel.CancelEventHandler(AddressOf csUnitName_Validating)

The code of event handler is written below.

Private sub csUnitName_Validating(byval sender as object, byval e as CanceEventArgs)
e.Cancel = True
End sub

4- I want to confirm deletion of a row from data grid when user tries to select and delete a row, I wrote following code
Addhandler dtUnits.rowDeleting, new rowChangedeventhandler(AddressOf Unit_RowDeleting)

Private sub Unit_RowDeleting(byval sender as object,byval e as rowchangedeventargs)
If messagebox.show(“Are you sure you want to delete”,vbYesNo) = vbNo then
Throw new Exception (“Action Canceled”)
End if
End sub

Everything is working well and good but when user presses No button and exception is thrown the value in first cell of that row is lost I tried a lot to save it but all in vain.

I request further that if anyone has implemented fully loaded grid with maximum events of its data source (Data Table) please send me its code for it could guide me through the right way

QuestionWindows Question? Pin
ghost18115-Aug-06 20:02
ghost18115-Aug-06 20:02 
AnswerRe: Windows Question? Pin
Dave Kreskowiak16-Aug-06 1:14
mveDave Kreskowiak16-Aug-06 1:14 
QuestionCPU Temperature Pin
behnam-fagih15-Aug-06 19:45
behnam-fagih15-Aug-06 19:45 
AnswerRe: CPU Temperature Pin
Dave Kreskowiak16-Aug-06 1:16
mveDave Kreskowiak16-Aug-06 1:16 
QuestionHOW TO CUT A .mp3 FILE AND SAVE [modified] Pin
souravmoy sau15-Aug-06 18:33
souravmoy sau15-Aug-06 18:33 
AnswerRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
Christian Graus15-Aug-06 18:48
protectorChristian Graus15-Aug-06 18:48 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
souravmoy sau15-Aug-06 19:04
souravmoy sau15-Aug-06 19:04 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
Christian Graus15-Aug-06 19:15
protectorChristian Graus15-Aug-06 19:15 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
souravmoy sau15-Aug-06 19:22
souravmoy sau15-Aug-06 19:22 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
Christian Graus15-Aug-06 19:42
protectorChristian Graus15-Aug-06 19:42 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
souravmoy sau15-Aug-06 19:49
souravmoy sau15-Aug-06 19:49 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
Christian Graus15-Aug-06 20:00
protectorChristian Graus15-Aug-06 20:00 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
souravmoy sau15-Aug-06 20:07
souravmoy sau15-Aug-06 20:07 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
Dave Sexton15-Aug-06 20:57
Dave Sexton15-Aug-06 20:57 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
Dave Kreskowiak16-Aug-06 1:10
mveDave Kreskowiak16-Aug-06 1:10 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
Christian Graus16-Aug-06 2:13
protectorChristian Graus16-Aug-06 2:13 
GeneralRe: HOW TO CUT A .mp3 FILE AND SAVE Pin
Colin Angus Mackay16-Aug-06 5:24
Colin Angus Mackay16-Aug-06 5:24 

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.