Roger Stewart "I Owe, I Owe, it's off to work I go..."
Roger Stewart
Posts
-
WPF -
Control collectionArrayList names = new ArrayList(); foreach(Control ctrl in myPanel.Controls) { if(ctrl is Textbox) { names.Add(ctrl.Name); } }
Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
clear ComboBox content?The
Items.Clear()
method contained in your ComboBox instance. Roger Stewart "I Owe, I Owe, it's off to work I go..." -
Error -
Custom extention in C#You need to register your custom extension with the Shell. Refer to the 'Integrating with the Shell' topic in the following article: Creating Document-Centric Applications in Windows Forms, Part 2[^]. Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
WYSIWYG XHTML Windows EditorYour google must be broken...:) My first search for the words: xhtml editor free[^] turned up XStandard[^] Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
Reference problemsGoogle is your friend. How to display an assembly in the Add Reference dialog box[^] Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
string.Formatstring.Format( "0x{0:X2}", 1 );
Roger Stewart "I Owe, I Owe, it's off to work I go..." -
Difference of two textfilesThe DOS command is FC and there is a Windows program called WinDiff that is shipped with all version of Visual Studio. Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
Detecting the enter keyI took this (the char 13) straight out of MSDN Library for the KeyPressEventArgs.KeyChar Property[^]. You might want to pass your suggestion on to MSDN Lib guys :-D:rose: Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
Detecting the enter keyYou could check for the Enter key in the combo's KeyPress event, then transfer focus to the next in the tab order.
private void comboBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if ( e.KeyChar == (char)13 ) { this.GetNextControl(this.ActiveControl, true).Focus(); } }
Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
Develop Windows Application with Add-Ins -
Blue ToothTry spelling it correctly... Bluetooth -- not Blue Tooth. Then Googling. You will find lots of hits. A couple sites in the top four look promising. Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
Yes,I can see youAh, someone finally got around to reading their CP newsletter two days after it has been sitting in their inbox :) Chris wrote in the newsletter: We'd love to hear any comments you have on connection speed, any problems getting through, any email issues or even just a "yes, we can still see you" email. I do have to say that (right now) the speed is much faster. Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
MFC: How to move between Edit Controls with the arrow keys?TAB goes forward in the taborder, SHIFT+TAB goes backwards. Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
HELP!!! compiler seems confused...You probably need to uniquely identify your implementation.
bool IDataParameterCollection::Contains(String *p) { //if IndexOf returns a value less than 0, then we know that //the item doesn't exist if (this->IndexOf(p) >= 0) return true; else return false; }
Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
Importing data from Excel to Access using VB6Try using CDate() to convert text to a date data type.
Dim t As String Dim d As Date t = "January 23, 2004 7:45 AM" d = **CDate**(t) MsgBox d
Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
How to make Managed DLL in VC to use in VB.netriaz_muhammad wrote: Can you guide me step by step to make Managed Dll and send me small example for Managed DLL. Refer to the Visual Studio Walkthroughs[^] to get started with C++.NET. riaz_muhammad wrote: Should i use VC6 or VC.net for Manage dll development. You can not use VC6 to create a managed DLL. riaz_muhammad wrote: Now i am trying to use this dll in vb.net but result is not accurate. The reason is vc6 produce unmanage dll that vb.net cannot use. Now i need to make Managed dll. You CAN use your unmanaged DLL from VB.NET. Refer to the following MSDN help lik, Consuming Unmanaged DLL Functions[^]. Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
Using the InternetExplorer object in a Managed C++ applicationChange Chris Morrison wrote: private: SHDocVw::InternetExplorer m_IExplorer; m_IExplorer = new SHDocVw::InternetExplorer(); To
SHDocVw::InternetExplorerClass* ieForAutomation;
ieForAutomation = new SHDocVw::InternetExplorerClass();Take a look at the VC.NET - Interop - Automate IE example found in the MSDN Visual C++ .NET 2003 Code Samples[^]. I bet this sample is doing some of the exact stuff you are trying to do! Roger Stewart "I Owe, I Owe, it's off to work I go..."
-
How to make a cab file with safe MFC control??aglcic wrote: Is there a way I can turn it off and assume my control is safe?? First thing is to implement the IObjectSafety interface in your control. To help with implementing IObjectSafety and other helpful info read the MSDN Safe Initialization and Scripting for ActiveX Controls[^] article. Roger Stewart "I Owe, I Owe, it's off to work I go..."