Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Hello there, I have this program for where i work. It is basically a windows form that covers the whole screen. However, after a few minutes of the program running the program closes. this is the code i use to get the window full screen
//set sizethis.Size = SystemInformation.PrimaryMonitorSize;
//set locationthis.Location = new Point(0, 0);
intLLKey = KeyBoardHooker.SetWindowsHookEx(KeyBoardHooker.WH_KEYBOARD_LL, hooker.LowLevelKeyboardProc
, System.Runtime.InteropServices.Marshal.GetHINSTANCE(System.Reflection.Assembly.GetExecutingAssembly().GetModules()).ToInt32(), 0);
//kill the start menu
And finally, I use a windows service that interacts with the desktop to start the process on log on.
i hope this is the right forum, if not please advise.
i'm trying to work with a ssh connection, for that i use the
Terminal Control Project (C# VT100 SSH Telnet)
By Sardaan Frostreaver from this site.
I need to work programmatically, send commands and check the results that the ssh connection gives. i can connect to the ssh server but i can't find how to work programmtically with this Terminal Control Project. i mean, how to catch the text from the connection that project makes and send commands.
if someone know this issue please help.
I'm trying to add a sub menu as a combobox filled by a dataset.
Adding as main menu item it works, as a submenu not.
Here is the code.
Dim dsCBO As New DataSet
Dim GiacCBO As New ToolStripComboBox
Dim strSQL As String = "select item_id,descr from items;"
Dim strConn As String = Me.SQLConnString
Dim daLookups As New SqlDataAdapter(strSQL, strConn)
.Tables(0).TableName = "Item"
Catch excFill As Exception
.ComboBox.DataSource = dsCBO.Tables("Item")
.ComboBox.DisplayMember = "descr"
.ComboBox.ValueMember = "item_id"
AddHandler GiacCBO.SelectedIndexChanged, AddressOf GiacCBO_SelectedIndexChanged
The combobox is still empty ?!?!
Substituting the last code row with:
the GiacCBO object show all records of the dsCBO.
i don´t know if that code is correct, but i think you want to fill combobox with data from table (id_user,user_name).
i don´t know vb but that stuff is really simple if you needed in c# code?!
did you triggered it (form_load event) so if fill combobox when page loads?
I have used a class derived from DatagridviewCell and overrided its OnPaint event to draw an image to the cell. My problem is when I run the program in XP style appearance the image loses its quality(sharpness) but when in Classical windows style appearance the image is fine. Does any one know why ?
We are developing a chat messenger using WCF.
We want to implement SSL security while login. I have read Gtalk (desktop application) also uses SSL while Login; but i dont know how.
Please give your valuable suggestions.
I am using Microsoft.VisualBasic.PowerPacks 3.0 DataRepeater Control in my window application. There is one Combobox in the ItemTemplate of the DataRepeater. Combobox binds in the "ItemCloned" event of the DataRepeater. Now there is a button outside the datarepeater. Onclick of that button I am retrieving the selected value of the Combobox. But it always come blank. Even the Combobox items are also counted as 0.