|
how to write a mfc code to search on start menu for installed software
-- modified at 6:31 Wednesday 16th May, 2007
|
|
|
|
|
Sorry, I can not answer you. But other times I have read about the people looked for installed software in Registry, not in StartMenu. I don't know if it is better, I only wanted to tell you about.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
|
|
|
|
|
working on CString
I want to add [ ] in the begin and end of "abc xyz"
I want to display "[abc xyz]"
help me ...
Thanks in advance
Ashok
|
|
|
|
|
CString str = _T("abc xyz");
str = _T("[") + str + _T("]");
|
|
|
|
|
ashokbngr wrote: working on CString
I want to add [ ] in the begin and end of "abc xyz"
I want to display "[abc xyz]"
CString csStr;
csStr.Format( _T( "[%s]" ), _T( "abc xyz" ));
|
|
|
|
|
You can use the CString.Insert method and the += operator:
CString myString = "abc xyz";
myString.Insert(0, '[');
myString += "]";
See MSDN CString.Insert[^]
Hope that helps.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
|
|
|
|
|
CString s1 = "abc xyz";
CString s2 = "[" + s1 + "]";
|
|
|
|
|
Hello Friends,
Can i use ctwain class to implement barcode detection. I like to develop a barcode detection programe using twain.How i can get more documentation on ctwain class.
Looking forward you
Sujith.s
-RisKhan-
|
|
|
|
|
Helo...I have my inteface in c++ and I want to take the data from the interface in the main program like this:
int main(array<system::string ^=""> ^args)
{
// Enabling Windows XP visual effects before any controls are created
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
// Create the main window and run it
Application::Run(gcnew Form1());
int container = Convert::ToInt32(forminterface::Form1::ContainerWidthtextBox, System::Globalization::CultureInfo::CurrentCulture);
.........}
in the interface I have a TextBox...ContainerWidthtextBox in which I introduce the data ...haw can I use this value in my main ....because it doesn't let me to use:
int container = Convert::ToInt32(forminterface::Form1::ContainerWidthtextBox->Text, System::Globalization::CultureInfo::CurrentCulture);
it give me an error like Error 5 error C2227: left of '->Text' must point to class/struct/union/generic type
please help me.......
|
|
|
|
|
|
Man, you really have to learn to post to the correct forum[^]. It is not the first time you post managed code in the C++ forum and people have already told you to post in the managed forum.
Please, be carefull in the future.
|
|
|
|
|
ok...I wilt try..sorry for the problem
|
|
|
|
|
Hi Experts,
In which view i can display html text.
Thanks in advance.
|
|
|
|
|
pther wrote: how to display html
You can use of CDHtmlDialog class or CHtmlView class .
|
|
|
|
|
Can it display text also ?
|
|
|
|
|
|
Actaully my problem is this:
I have a html body not file.Then How could i display in HtmlView.
Plz give any related link or e.g.
|
|
|
|
|
Of where you read this body? can you make a file?
|
|
|
|
|
Im My project I have a udp server program running in Console VC++ application and I have to open telnet with a particular ip address in run dialog and then I have to type in some data in telnet so that I am receiving some data in udp server console application.Here the telnet acts as Client and Udp Console application acts as Server. Now I have to automate the telnet application in my project so that there is no manual entry of data in telnet. I have open the telnet with the particular ip address and type the data automatically via VC++. Can anyone suggest me some ideas rtegarding this.
S.Yamini
|
|
|
|
|
means u need to write a udp client . Refer my answer to your next question
redindian
|
|
|
|
|
CIPAddressCtrl *ip = (CIPAddressCtrl *)GetDlgItem(13);
ip->GetAddress(dwIPAddress);
13 is a control id that was i created dynamically
|
|
|
|
|
What is the problem ?
Did you check with your debugger that ip is a valid pointer before calling GetAddress ?
|
|
|
|
|
Check if the control identifier (13) was already assigned by AppWizard to any other control.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Whats return value in ip ?
|
|
|
|
|
I want to get a value from dynamic ip address control for that purpose i wrote this code
CIPAddressCtrl* ip = (CIPAddressCtrl *)GetDlgItem(13);
ip->GetAddress(dword);
|
|
|
|