Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
Richard MacCutchan14-Aug-18 5:49
mveRichard MacCutchan14-Aug-18 5:49 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
Eddy Vluggen14-Aug-18 6:14
professionalEddy Vluggen14-Aug-18 6:14 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
Member 1297423514-Aug-18 4:40
Member 1297423514-Aug-18 4:40 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
OriginalGriff14-Aug-18 5:18
mveOriginalGriff14-Aug-18 5:18 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
BillWoodruff14-Aug-18 17:34
professionalBillWoodruff14-Aug-18 17:34 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
AnotherKen18-Aug-18 8:44
professionalAnotherKen18-Aug-18 8:44 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
jschell19-Aug-18 7:33
jschell19-Aug-18 7:33 
QuestionProgram Help Pin
Bloodyway11-Aug-18 6:06
Bloodyway11-Aug-18 6:06 
AnswerRe: Program Help Pin
Luc Pattyn11-Aug-18 6:32
sitebuilderLuc Pattyn11-Aug-18 6:32 
GeneralRe: Program Help Pin
Bloodyway11-Aug-18 19:45
Bloodyway11-Aug-18 19:45 
AnswerRe: Program Help Pin
OriginalGriff11-Aug-18 19:31
mveOriginalGriff11-Aug-18 19:31 
GeneralRe: Program Help Pin
Bloodyway11-Aug-18 19:47
Bloodyway11-Aug-18 19:47 
GeneralRe: Program Help Pin
OriginalGriff11-Aug-18 20:08
mveOriginalGriff11-Aug-18 20:08 
GeneralRe: Program Help Pin
AnotherKen18-Aug-18 9:04
professionalAnotherKen18-Aug-18 9:04 
GeneralRe: Program Help Pin
Mycroft Holmes18-Aug-18 13:30
professionalMycroft Holmes18-Aug-18 13:30 
GeneralRe: Program Help Pin
AnotherKen18-Aug-18 19:18
professionalAnotherKen18-Aug-18 19:18 
AnswerRe: Program Help Pin
Richard Andrew x6412-Aug-18 3:32
professionalRichard Andrew x6412-Aug-18 3:32 
QuestionSplit a number into multiple number in a specific way Pin
Mou_kol10-Aug-18 11:14
Mou_kol10-Aug-18 11:14 
AnswerRe: Number distribution in a specific way Pin
Mycroft Holmes10-Aug-18 13:34
professionalMycroft Holmes10-Aug-18 13:34 
AnswerRe: Number distribution in a specific way Pin
Luc Pattyn11-Aug-18 6:22
sitebuilderLuc Pattyn11-Aug-18 6:22 
QuestionGet file metada Pin
Member 1193763910-Aug-18 0:04
Member 1193763910-Aug-18 0:04 
AnswerRe: Get file metada Pin
Richard MacCutchan10-Aug-18 0:22
mveRichard MacCutchan10-Aug-18 0:22 
QuestionRDP connections in tabs Pin
Member 114416229-Aug-18 19:41
Member 114416229-Aug-18 19:41 
AnswerRe: RDP connections in tabs Pin
Mycroft Holmes9-Aug-18 20:20
professionalMycroft Holmes9-Aug-18 20:20 
GeneralRe: RDP connections in tabs Pin
Member 1144162212-Aug-18 23:54
Member 1144162212-Aug-18 23:54 
this is what happends when the new tab is created

TabPage page = new TabPage(lbServers.SelectedItem.ToString());
                page.Name = lbServers.SelectedItem.ToString();
                tabControl1.TabPages.Add(page);
                tabControl1.SelectedTab = page;

                AxMsRdpClient9NotSafeForScripting rdpWindows = new AxMsRdpClient9NotSafeForScripting();
                rdpWindows.Dock = DockStyle.Fill;
                page.Controls.Add(rdpWindows);

                //rdp settings
                rdpWindows.AdvancedSettings9.NegotiateSecurityLayer = true;
                rdpWindows.AdvancedSettings9.SmartSizing = true;

                //credentials
                rdpWindows.Domain = txtDomain.Text;
                rdpWindows.UserName = txtUser.Text;
                rdpWindows.AdvancedSettings9.ClearTextPassword = txtPass.Text;
                rdpWindows.Server = page.Name;

                //Connect RDP
                rdpWindows.Connect();


as the tabs name contains the RDP server name i tough i would be able to properly close the connection that way but somehow it doesn't work.

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.