How do I extract a CString from an EditBox in MFC?
353874
First you have to have a variable assigned to the edit box, one called, say, m_String. Then in your code you write:\n\nUpdateData(TRUE);\n\nNow m_String has the contents of the edit box.
167955
Well you can if you compile it, I forget exactly how.\n\nBut if you just have the dll I don't believe you can. It would sort of defeat the purpose if that sort of information was editable by users.
588815
This is a shot in the dark, but you may be able to write a macro using vb to create the key stroke. Good luck!
140608
First, add a .NET reference to your project for the "System.Windows.Forms.dll".  Then, at the top of your source file, add "using System.Windows.Forms;"\n\nThe "MessageBox" class is what you are interested in, specifically the static method "Show()".  There are several overloaded methods that allow you to change the title, text, icon and buttons for the message box.
695201
Just choose a compiler from this list:\n\nhttp://www.thefreecountry.com/compilers/csharp.shtml
201173
for a free way to do it, you could copy/paste the text into something that will export as a pdf (like OpenOffice) and just edit it there. The pdf reader that comes with windows wont edit text. *sigh*
551498
I'm no "C" expert, but in Delphi this is a Windows system call, and I'm sure it will be a similar implementation in C; just alter the syntax as necessary...
1162883
If you are using microsoft visual studio, I have a small demo app that will show how to do it. just email me and I'll send it.
395631
' Use string builder\nDim wx As New StringBuilder\n' Put your data into the string builder\nwx.Append(yourText)\n' use string builder methods\n\n' or move to an array\nDim wxa As Array = yourText.ToCharArray\n' and move thru the array with a for next\nFor i = 0 To wxa.Length - 1\n' do things for first word\n   Select Case wxa(i)\n       Case Chr(32) ' 0x20 a space a new word\n       ' do things for closing word\n       ' do things for next word \n       Case else\n       ...\n   End Select\n   ' do things for closing word\nNext i\n\n'Hope it hepls
1082702
Using C# in the code behind you can get access to the form as an object. \nYou can access it via a method on the object of the form class. I do not correctly remember the method but it is of this format: <form name>.getForm().. or something.. \nTry this out.. or contact me..
926631
use the function 'toCharArray()'\n\nexample:\nString name = "mary";\nchar[]nameByte = name.toCharArray();
238066
If this can be done with standard C, it would probably involve the '&#92;r' carriage return (as opposed to the '&#92;n' linefeed) or maybe the '&#92;b' backspace special characters.  I've never actually tried this before.  But if you can utilize libraries not part of standard C, you might look into (n)curses.h, which allows more controlled manipulation of screen text, such as color, position, etc.:\nhttp://www.apmaths.uwo.ca/~xli/ncurses.html
176217
Simply copy the font into your C:&#92;Windows&#92;Font folder and it will be available to use as a selectable font from any Windows application. Make sure you copy the fontname.ttf (where "fontname" is the name of the font you downloaded and extracted) file and nothing else.
220561
http://homepage.mac.com/cfitzgerald/Needle/cstitch.html
1159715
You can go to START>>PROGRAMS>>ACCESSORIES>>SYSTEM TOOLS>>CHARACTER MAP>> then choose the symbol from the list and click copy.\n\nOr do what Mikah said.
670070
 Dim frmName As String\n   \n frmName = "form2"\n   \n Select Case frmName\n  Case "form1"\n   Form1.Show\n  Case "form2"\n   Form2.Show\n  Case "form3"\n   Form3.Show\n  Case Else\n   MsgBox "Invalid form name"\n End Select\n\n***EDIT***\nIn VB, you can't convert a string object into a form object.  This is why String.Show doesn't work.  However, you can use a "select case" on the string and if the string matches the form name (i.e. form2), then show the form.\n\nAnother alternative is to loop through the forms collection until you find a form with the same name as your string.\n\nIn any case, if you create a project with 2 forms (called form1 and form2).  Add a button to form1 and paste the above code into the click event of the button.  When pressed, form2 will be displayed.
137598
Might help if you can explain what it is you're doing a little.  But, I'd just use the Ctrl+F and type in the keyword and search that way.  Also, you may try researching assistive devices and software used by blind or other disabled peoples that has the ability to 'read' text.  Or find someone to write a macro that uses Ctrl+F and calls and runs a .wav file when it returns a positive hit and then make the program loop after the refresh program runs (it would execute itself automatically after each time a page refreshes).  Hmmm... I'm not a great programmer (it takes me a really long time and I usually just use VBScript).  Sorry I can't give you code, but the idea there is sound.