|
Hi!
I’ve successfully made a connection to my ftp-server and made calls like:
CFtpConnection::PutFile
and so on.
Now I like to retrieve a list of all files in a specified dir and then download them using:
CFtpConnection::GetFile
I’ve searched in classes like CinternetConnection but no success…
Tips?
_____________________________
...and justice for all
APe
|
|
|
|
|
Will CFtpFileFind help?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
HI,
How to connect (read and write on virtual COM) to the PC whos IP and virtual COM port(COM8) known.
any idea or sample
thanx
Regards.
|
|
|
|
|
Write a program that talks to the com port on the remote pc then realys the information to your program via sockets. You may want to use DCOM for this as you can have DCOM execute your application on the remote machine and it will appear that it is running on the local machine.
John
|
|
|
|
|
Virtual COM mapped to that IP is on mine System say COM8.
I know its IP only .
it is a Device that have IP and Mapp a com Port on my system , using It utility.
so how read and write?
thanx
Regards.
|
|
|
|
|
> Virtual COM mapped to that IP is on mine System say COM8. I know its IP only .
The IP address of the virtual port is not needed as this will require you to write your own virtual com port driver which will be difficult without any documentation.
You need the ip address of the remote system only.
> so how read and write?
Use the serial communications APIs.
John
|
|
|
|
|
Hi,
How can i send the command to the remote machine, and then execute it remotely (such as send following msg net send myhost "reply" to remote machine, then execute the command. It will display reply in my machine screen, how could i do that?)
.::LDLP::.
|
|
|
|
|
Net send is done with sockets. Windows has an alerter service that catches the message and sends it to the console. Here is some info on the Alerter service: "Notifies selected users and computers of administrative alerts. If the service is stopped, programs that use administrative alerts will not receive them. If this service is disabled, any services that explicitly depend on it will fail to start."
John
|
|
|
|
|
How does one use MFC (especially the dialogs) with the Visual Studio .NET 2003 AddIns?
I always get an error message saying that DLLMain has been defined twice. I have changed the Project settings and included the necessary files but still no luck.
I am the handsome one in the crowd.
|
|
|
|
|
I'm trying to open the system store from IIS web extension and I
get an ACESS_DENIED error. It works when I run extension in "High-Isolation" mode under account belonging to Administrators group (which is not safe at all!!!), but id doesn't work if I run it under local IWAM_ account or specially-created "non-administrator" domain account. Where (and how) adjustments should be done to make it work?
Here is the call I make (C++)
store = CertOpenStore( CERT_STORE_PROV_SYSTEM,
PKCS_7_ASN_ENCODING | X509_ASN_ENCODING,
NULL,
CERT_SYSTEM_STORE_LOCAL_MACHINE,
L"MY"
);
Thanks,
Andrey
|
|
|
|
|
Hi
try CERT_SYSTEM_STORE_CURRENT_USER instead of
CERT_SYSTEM_STORE_LOCAL_MACHINE.
Regards
The Best Relligion is Science.
Once you understand it, you will know God.
|
|
|
|
|
I have tried both of them - the same problem - this API call returns NULL and "ACCESS_DENIED" error code is returned by GetLastError();
|
|
|
|
|
hi all
How can I create a application in VC++ 6.0 that is invisible and that does not show up in taskbar.
I created the application, but it only hides after blinking. How can I overcome that. ?
Thanks in advance
Regards
Shiraz
The Best Relligion is Science.
Once you understand it, you will know God.
|
|
|
|
|
zainu wrote:
How can I create a application in VC++ 6.0 that is invisible and that does not show up in taskbar.
It sounds like you are talking about ShowWindow(SW_HIDE) .
zainu wrote:
I created the application, but it only hides after blinking. How can I overcome that. ?
Go to this page and read section 4.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Hi
Thanks, but my problem is not that.
I called ShowWindow(SW_HIDE) in OnInitDialog() and OnPaint().
It is hiding only after blinking.
How Can i overcome that ?
Regards
The Best Relligion is Science.
Once you understand it, you will know God.
|
|
|
|
|
Visit http://www.voidnish.com
Mr nishant has written article for your problem in tips and trick section
-----------------------------
"I Think It will Work"
Formerly Known As "Alok The Programmer" at CP
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
zainu wrote:
I called ShowWindow(SW_HIDE) in OnInitDialog() and OnPaint().
It is hiding only after blinking.
Right. That's what happens with a dialog-based application. Since you did not specify, I erroneously assumed at least an SDI application.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Hi thanks
I got it!
It was because i was using DoModal().
I called creat() in the constructor. made the property of dialog window to invisible. thats all.
Now its working fine.
Thank your very mcuh.
Regards
The Best Relligion is Science.
Once you understand it, you will know God.
|
|
|
|
|
When posting, it usually helps to denote whether it is a modal or modeless dialog!
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
When I do a printout of a VB form from the file menu “Print” option, my custom ActiveX control is not printed. Is it a problem in the VB or am I missing something in my custom ActiveX control?
Please help .
Daed
|
|
|
|
|
This is a C++ forum so I think you won't have a lot of success here. Try the VB forum...
|
|
|
|
|
My control is built using VC++ MFC, so may be I missed writing some code in there. Anywayzzz, I'll try the VB forum. Thanks!
|
|
|
|
|
Hello !
I'm writing my own wizard. I need to add dynamically new pages to the wizard so it will be a little bit hard to use CPropertySheet and CPropertyPage. I just want to know a good solution to display one dialog in my wizard and then display another one (when the user travels through the different pages).
So how can I 'embbed' my dialog in my wizard ?
Thank you
|
|
|
|
|
I think you can add pages to a property sheet dynamically, depending on the situation (with AddPage )
If your wizard is really complex, do it manually, insert "pages" as you go; it's not that difficult to do.
Here's a way to add child dialogs to a dialog : http://www.codeproject.com/dialog/CRHChildDialog.asp
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Thanks for your response.
I don't have a big experience with CPropertySheets and wizard mode but I think this won't be possible. Here is what I need:
The first 'dialog' I need to show in my Wizard is used to select several devices that need to be configured. So, at startup I just have one single page in my wizard, all the other pages will be used for configuring the devices I have selected in the first page (!!! but the Next button need to be first in gray and when devices are selected it becomes selectable).
When the wizard is displayed (DoModal) I cannot interract with it from the outside. So if I want to add a page, I need to do it from within the class (so need to derive a class from CPropertySheet).
As I don't have experience with that, I'll ask if you think all these kind of things are possible ??
Thank you
|
|
|
|