10 Topics
|
|
[CODE]Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click exitwithout() Me.Close() End Sub Private Sub exitwithout() myCommand.Connection = myConnection myConnection.Open() myCommand.CommandText = "Select * from orders where o_id= " & txtb1.Text & "" dr = myCommand.ExecuteReader() Try If dr.HasRows Then deletewithout() Else Exit Sub End If Catch … |
|
here a piece of vb code where i have a problem: If G_ObjConnectionTemp.State = ConnectionState.Closed Then G_ObjConnectionTemp.Open() End If ' at this stage the connection is verified to be open Dim Obj_CommandF As New OleDbCommand("delete from ficheclient", G_ObjConnectionTemp) Using G_ObjConnectionTemp Obj_CommandF.ExecuteNonQuery() End Using Dim xx = G_ObjConnectionTemp.State.ToString ' at this … |
|
Good day folks, I just wanna ask what event should I used to detect when a form is closed unexpectedly. I want to update the Log In status of a user in my database from 'Logged In' to 'Log Out' whenever a form closes the form unexpectedly or not. Example, … |
|
Windows Application Form I have a user control called 'ucForm', this 'ucForm' have a button to pop out a windows called 'pForm', I want to code it like this, when I press the 'Next' button it will close the 'pForm' and pass the textbox value in 'pForm' to 'ucForm' textbox. … |
|
Please help me with this I really need your help. Thank you so much. #define EMPTY __________ #define DELETED __________ #define max 1100 #define setSize 20 typedef struct { unsigned long ID; char Lname[16],Fname[24],MI; char course[8],year; }Student; typedef struct { Student Stud; int link /*used to link to next synonyms*/ … |
|
Hello everyone, I have a quick question! I've been program a little heavily lately on my first game in c++ and it got me thinking, how are you supposed to share your game as a closed source project? Thanks in advance! |
|
One question: How do i differentiate when a page is refreshed event from a page/browser closed event? Because it seems that the onbeforeunload event is triggered when a page is refreshed and when it's closed, and i didnt want that to happen ? |
|
i need a code that will close a process. use this for example : skype.exe |
|
I would like to be able to create a script that displays whether or not a store is open when the user looks at the page. It would be simple if some didn't close for an hour during the day. I could set it up: MondayOpen 800 MondayClosed 1600 and … |
|
All we know that PI = 22/7. But how and why it is 22/7 rather other fractions? |
The End.