|
What you want is not what you need.
Is there a reason why you would want to use the edit control only?
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Are you using MFC? Do you want the numbers validated as they are typed, when the edit control loses focus, or when the OK button is clicked?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
i am using SMTP mail in my application. i would like to send a mail to others without "From Email:" address. i.ei want to send a mail from application as warning to the customer to the email id given by him..
|
|
|
|
|
Have you seen here.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I have developed C# web service.
Client Applications are developed in
VB.Net ,
VC++.net (unmanaged code )
VC++ 6.0 (win32 console Application)
All client applications able to connect and call the webservice except Vc++ 6.0 client.
VC++ 6.0 Console client is using Soap methods by calling mssoap30.dll and msxml4.dll
I am always getting soap error.
Please provide a solution for this.
|
|
|
|
|
hi....
I am reading a mails and getting a mailCount of different users..Now i want a total count of all users plz help me..
I am trying this
////////////////////////////////////////////////
CString MailCount;
MailCount.Format("Mails are %d",linfo->ACL_STMAIL[0].iMBUserMailCount);
AfxMessageBox(MailCount);
/////////////////////////////////////////
I am getting output as...MailCount is count of mails for different users
23
12
4
5.
I am not getting the total...result
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
What's your question about? Aren't you able to sum up numbers?
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Hi,
In my application, I am creating an MSChart control dynamically like this:-
CMSChart *m_pChart = new CMSChart();
m_pChart->CreateControl(m_pChart->GetClsid(),EMPTY_STRING, WS_TABSTOP, CRect(0,0,0,0), pParent, nCtrlID);
On development environment( in which Visual Studio 6.0 is installed), the MSChart control is creating successfully(CreateControl() returns true).
But on testing environment( in which Visual Studio 6.0 is not installed), the CreateControl API returns FALSE.
Please let me know what must be the problem.
Thanks.
modified on Thursday, May 22, 2008 12:12 AM
|
|
|
|
|
I moved this to the C++ forum for you, please never ask programming questions in the lounge again.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
You probably need to install VCRedist.exe on your testing environment. You can ship it with your installer as well.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Rajesh R Subramanian wrote: You probably need to install VCRedist.exe on your testing environment.
For VC6 ?
It seems also that the problem is somewhere else because the CreateControl function fails, which implicitely means that he is able to start the application successfully.
|
|
|
|
|
OK 5 - I overlooked this one.
[add] Probably because vcredist is the first thing I suggest, when someone says my Visual C++ program works on my machine, but not on the client's. [/add]
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
modified on Thursday, May 22, 2008 2:38 AM
|
|
|
|
|
You will also need to copy and register the chart activeX control on the target platform (I guess it is distributed as an ocx right ?)
|
|
|
|
|
hello everyone,
I encounter a technological problem about how to control the copied file origin.
Example, i have a file named aa.txt, it localed on disk C.Then i drag it to disk D,or i copy it to Disk D using Crtl+C, Ctrl+V. Now is there any method to let me know aa.txt from Disk C.
If anyone has a technological plan to help to resolve the technological problem,can contact in Email .xianfeng.dl@gmail.com
Regards & Thanks
|
|
|
|
|
You Can Use CopyFile() or MoveFile() win32 API for this purpose. See MSDN for Detail...
If it doesn`t work let me know..
|
|
|
|
|
i have used CopyFileEx(),but seems that it also cann't work. i also have no ideas to get the file origin.
|
|
|
|
|
You Can Use this in another way like--
For example, if you wanted to copy the folder 'c:\windows\Ashu' to 'c:\Ashu':
SHFILEOPSTRUCT fileop;
fileop.hwnd = NULL;
fileop.wFunc = FO_COPY;
fileop.pFrom = "C:\\windows\\Ashu\0"; // additional null needed
fileop.pTo = "c:\\Ashu\0"; // additional null needed
fileop.fFlags = FOF_ALLOWUNDO|FOF_NOCONFIRMATION|FOF_NOCONFIRMMKDIR;
if (!SHFileOperation(&fileop)); // error condition
Try This..................
|
|
|
|
|
Thanks , I will try it.
now i want to have a process to automatically catch this event.
i have tried to using hook api ,and SHChangeNotifyRegister to resovle this problem, but at last i also cann't get it
|
|
|
|
|
Is there any method to monitor this copy process,and know the file origin.
|
|
|
|
|
feng.dl wrote: If anyone has a technological plan to help to resolve the technological problem...
No, but I am now technologically confused.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi all,
what do I need to get this working? I get 'PPERF_DATA_BLOCK' undeclared and I have already included
#include <atlapp.h>
#include <atlframe.h>
#include <atlctrls.h>
#include <atldlgs.h>
#include <atlctrlw.h>
#include <atlwin.h>
#include <iostream>
#include <atlmisc.h>
#include <malloc.h>
#include <stdio.h>
#include <windows.h>
#include <stdlib.h>
#include <Winreg.h>
Sorry for the semi-repost if ever
|
|
|
|
|
And did you include Winperf.h?
|
|
|
|
|
Hamid,
Thanks a lot thats all i need for now.
Jj
|
|
|
|
|
You're welcome.
|
|
|
|
|
Thanks,
Also I solved the problem.
|
|
|
|