Click here to Skip to main content
15,900,108 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionGet IP Address and username using FileSystemWatcher in vb.net2.0 Pin
Pandey Vijay Kumar S.11-Aug-09 2:53
Pandey Vijay Kumar S.11-Aug-09 2:53 
AnswerRe: Get IP Address and username using FileSystemWatcher in vb.net2.0 Pin
Dave Kreskowiak11-Aug-09 4:05
mveDave Kreskowiak11-Aug-09 4:05 
GeneralRe: Get IP Address and username using FileSystemWatcher in vb.net2.0 Pin
Pandey Vijay Kumar S.11-Aug-09 17:53
Pandey Vijay Kumar S.11-Aug-09 17:53 
GeneralRe: Get IP Address and username using FileSystemWatcher in vb.net2.0 Pin
Dave Kreskowiak11-Aug-09 18:00
mveDave Kreskowiak11-Aug-09 18:00 
GeneralRe: Get IP Address and username using FileSystemWatcher in vb.net2.0 Pin
Luc Pattyn11-Aug-09 23:09
sitebuilderLuc Pattyn11-Aug-09 23:09 
GeneralRe: Get IP Address and username using FileSystemWatcher in vb.net2.0 Pin
Pandey Vijay Kumar S.12-Aug-09 0:51
Pandey Vijay Kumar S.12-Aug-09 0:51 
GeneralRe: Get IP Address and username using FileSystemWatcher in vb.net2.0 Pin
Dave Kreskowiak12-Aug-09 6:19
mveDave Kreskowiak12-Aug-09 6:19 
Questioni have one doubt in vb.net Pin
skumari11-Aug-09 2:20
skumari11-Aug-09 2:20 
Description: I have 1 textbox,button and one table.user entered data in the textbox and click save button the data is save to database table.i wrote some but iam getting some error


Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
'Dim ds As DataSet

If tbxNote.Text <> String.Empty Then
Dim NoteRow As ChemComp_adminDS.GeneralNotesRow = m_ccDb.Chemcomp_adminDS.GeneralNotes.NewGeneralNotesRow
'Dim crow As DataRow = ds.Tables("GeneralNotes").Rows(0)
'User entered comment for this susbstanceID for the first time so new row to be inserted in
'to AdminComment table

' NoteRow.NoteID = CInt(NoteRow.Item("NoteId"))
NoteRow.CreatedBy = My.User.Name
NoteRow.CreatedOn = Now
NoteRow.ModifiedBy = My.User.Name
NoteRow.ModifiedOn = Now
NoteRow.Note = tbxNote.Text.Trim()
m_ccDb.InsertRow(NoteRow)
End If
'm_ccDb.GetList(m_ccDb.Chemcomp_adminDS.GeneralNotes)

End Sub

End Class
at the time of insertrow function iam getting the following error.

Cannot insert explicit value for identity column in table 'GeneralNotes' when IDENTITY_INSERT is set to OFF.
AnswerRe: i have one doubt in vb.net Pin
dan!sh 11-Aug-09 2:59
professional dan!sh 11-Aug-09 2:59 
QuestionMediaplayer and duration Pin
JR21211-Aug-09 0:41
JR21211-Aug-09 0:41 
AnswerRe: Mediaplayer and duration Pin
Dave Kreskowiak11-Aug-09 4:07
mveDave Kreskowiak11-Aug-09 4:07 
QuestionIListSource Implementation Pin
Ovais Memon10-Aug-09 20:01
Ovais Memon10-Aug-09 20:01 
AnswerRe: IListSource Implementation Pin
Dave Kreskowiak11-Aug-09 3:50
mveDave Kreskowiak11-Aug-09 3:50 
GeneralRe: IListSource Implementation Pin
Ovais Memon11-Aug-09 5:01
Ovais Memon11-Aug-09 5:01 
GeneralRe: IListSource Implementation Pin
Henry Minute11-Aug-09 5:11
Henry Minute11-Aug-09 5:11 
GeneralRe: IListSource Implementation Pin
Dave Kreskowiak11-Aug-09 5:14
mveDave Kreskowiak11-Aug-09 5:14 
GeneralRe: IListSource Implementation Pin
Ovais Memon11-Aug-09 5:25
Ovais Memon11-Aug-09 5:25 
GeneralRe: IListSource Implementation Pin
Dave Kreskowiak11-Aug-09 6:48
mveDave Kreskowiak11-Aug-09 6:48 
AnswerRe: IListSource Implementation Pin
Mycroft Holmes11-Aug-09 16:21
professionalMycroft Holmes11-Aug-09 16:21 
QuestionMove,Resize and Drag and Drop a control Pin
Anubhava Dimri10-Aug-09 18:17
Anubhava Dimri10-Aug-09 18:17 
AnswerRe: Move,Resize and Drag and Drop a control Pin
Moreno Airoldi10-Aug-09 23:25
Moreno Airoldi10-Aug-09 23:25 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Anubhava Dimri11-Aug-09 0:25
Anubhava Dimri11-Aug-09 0:25 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Moreno Airoldi12-Aug-09 1:51
Moreno Airoldi12-Aug-09 1:51 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Anubhava Dimri13-Aug-09 23:52
Anubhava Dimri13-Aug-09 23:52 
GeneralRe: Move,Resize and Drag and Drop a control Pin
Moreno Airoldi14-Aug-09 1:28
Moreno Airoldi14-Aug-09 1:28 

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.