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.
IIF has always been available to VB. The problem is that it is a function not an operator, which of course makes it nearly worthless. Starting with VS2008/VB9, the If operator was added that can be used to do the same thing as both the ?: and ?? operators depending on the number of arguments you pass.
SELECT Category =
WHEN 'popular_comp' THEN 'Popular Computing'
WHEN 'mod_cook' THEN 'Modern Cooking'
WHEN 'business' THEN 'Business'
WHEN 'psychology' THEN 'Psychology'
WHEN 'trad_cook' THEN 'Traditional Cooking'
ELSE 'Not yet categorized'
price AS Price