Click here to Skip to main content
15,914,221 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 5:59
mveDave Kreskowiak14-Jun-07 5:59 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 6:05
reegan4114-Jun-07 6:05 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 6:13
mveDave Kreskowiak14-Jun-07 6:13 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 7:06
reegan4114-Jun-07 7:06 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 7:18
reegan4114-Jun-07 7:18 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 8:18
mveDave Kreskowiak14-Jun-07 8:18 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 9:05
reegan4114-Jun-07 9:05 
QuestionHow to ristrict a Windows form to Single instance Pin
pashitech14-Jun-07 4:04
pashitech14-Jun-07 4:04 
hi all,
i am developing a windows application, where in which i have taken a form to insert some records,
My Question is ...
after i insert a record the form should be in the same MDI

actually i put, xyz form on my Main MDI form and i am using this insertion formm on my xyz form,
so here, my doubt is how to ristrict my form's multiple instances in the xyz form which is agian in MDI

the code that i wrote is

If FDAStatusChange_cmbProtocolFDAStatus.Text = "" Then
MessageBox.Show("Please select a Protocol FDA Status", "Trial Traking System", MessageBoxButtons.OK, MessageBoxIcon.Error)
Else
Try
con.Open()
intversionid = objdalversions.VERSION_ID
Dim intUserId = 1
Dim strFDAStatus As String = FDAStatusChange_cmbProtocolFDAStatus.Text.Trim
Dim strFDAStatus_name As String = "select dbo.F14_FDA_Status_ID(FDA_STATUS) from T6_PROTOCOL_FDA_STATUS where FDA_STATUS='" & strFDAStatus & "'"
Dim cmd1 = New SqlCommand(strFDAStatus_name, con)
Dim intFDAStatisID As Integer = cmd1.ExecuteScalar()

objFDAStatusChange.T3_PROTOCOL_VERSIONS_ID = intVersionId
objFDAStatusChange.T6_PROTOCOL_FDA_STATUS_ID = intFDAStatisID ' CTAStatusChange_cmbProtocolCTAStatus.Text.Trim()
objFDAStatusChange.FDA_Status_Date = FDAStatusChange_dtFDAStatusDate.Value
objFDAStatusChange.FDA_STATUS_Comments = txt_FDA_Comments.Text.Trim()
objFDAStatusChange.DOCUMENTED_DATE = System.DateTime.Today
objFDAStatusChange.T50_User_ID_CREATED_BY = intUserId
objFDAStatusChange.PROTOCOL_FDA_STATUS_TRACKING_CREATED_ON = System.DateTime.Today
objFDAStatusChange.CreateFDAChangeStatus(objFDAStatusChange)
con.Close()
MessageBox.Show("Successfully Saved", "Trial Traking System", MessageBoxButtons.OK, MessageBoxIcon.Information)
Me.Close()
Catch ex As Exception
MessageBox.Show("Save Error", "Trial Traking System", MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try
End If


Prashanth
AnswerRe: How to ristrict a Windows form to Single instance Pin
Dave Kreskowiak14-Jun-07 5:52
mveDave Kreskowiak14-Jun-07 5:52 
QuestionDeveloping a Keylogger Pin
akatsa14-Jun-07 3:49
akatsa14-Jun-07 3:49 
AnswerRe: Developing a Keylogger Pin
Colin Angus Mackay14-Jun-07 4:52
Colin Angus Mackay14-Jun-07 4:52 
AnswerRe: Developing a Keylogger Pin
Dave Kreskowiak14-Jun-07 5:48
mveDave Kreskowiak14-Jun-07 5:48 
GeneralRe: Developing a Keylogger Pin
MatrixCoder14-Jun-07 9:24
MatrixCoder14-Jun-07 9:24 
GeneralRe: Developing a Keylogger Pin
Dave Kreskowiak14-Jun-07 9:42
mveDave Kreskowiak14-Jun-07 9:42 
Questioncodes samples Pin
ekpeno14-Jun-07 3:38
ekpeno14-Jun-07 3:38 
AnswerRe: codes samples Pin
leckey14-Jun-07 4:08
leckey14-Jun-07 4:08 
AnswerRe: codes samples Pin
Pualee14-Jun-07 6:27
Pualee14-Jun-07 6:27 
QuestionHow to set 100 checkbox enable property according to values in a textfile ? Pin
anpm14-Jun-07 3:36
anpm14-Jun-07 3:36 
GeneralRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
reegan4114-Jun-07 4:19
reegan4114-Jun-07 4:19 
GeneralRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
anpm14-Jun-07 4:28
anpm14-Jun-07 4:28 
AnswerRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
reegan4114-Jun-07 6:50
reegan4114-Jun-07 6:50 
QuestionRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
anpm14-Jun-07 14:03
anpm14-Jun-07 14:03 
AnswerRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
Benjamin Liedblad14-Jun-07 16:49
Benjamin Liedblad14-Jun-07 16:49 
GeneralRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
anpm15-Jun-07 16:37
anpm15-Jun-07 16:37 
AnswerRe: How to set 100 checkbox enable property according to values in a textfile ? Pin
Tom Deketelaere14-Jun-07 21:44
professionalTom Deketelaere14-Jun-07 21:44 

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.