|
so i need to one White Cloth
whitesky
|
|
|
|
|
|
how to set the security attribute of the adobe acrobat 7.0 by programming ?
jimlsq
|
|
|
|
|
I wrote some code to download files from ftp server, when tried to connect the server by InternetConnect, got the error :12029.
The server and client parameters (server ip, port, user name, password) are all correct.
Can anyone help me? Thanks in advance.
|
|
|
|
|
Possible Cause: This error is caused by general Internet connection issues or Internet security and personal firewall software settings.
Check the firewall settings.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Draco Wang wrote: I wrote some code to download files from ftp server, when tried to connect the server by InternetConnect, got the error :12029.
The server and client parameters (server ip, port, user name, password) are all correct.
Can anyone help me? Thanks in advance.
-If you are using connection through Proxy then Check the proxy settings
-Check the connection mode of the HTTP object.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
I have created a Project using MFC Wizard (exe) which is in folder "myAppl".
I have included some C files (library), which is in "myLib" folder.
myLib contains two folders "myLibA" and "myLibB".
The C files in myLibA has header inclusion like
#include "myLib/myLibA/file1.h"
file1.h is header file in myLibA folder. Similarly myLibB has some 100 files.
I have added all these files in my project. Now it's giving error
Cannot open include file: "myLib/myLibA/file1.h" for all 100 plus files.
What is the solution?
|
|
|
|
|
try
#include "../myLibA/file1.h"
Regards
Anil
-- modified at 1:39 Wednesday 24th May, 2006
|
|
|
|
|
All the files include corresponding header files.
|
|
|
|
|
acemahesh@yahoo.co.in wrote: I have created a Project using MFC Wizard (exe) which is in folder "myAppl".
I have included some C files (library), which is in "myLib" folder.
What is the location of the myLib folder ???
is it in myappl folder or same hiearchy of myappl??
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
"myLib" is in "myAppl" folder.
myAppl
|
-------------
| |
myLib view/doc and other files
|
-----------
| |
myLibA myLibB
|
|
|
|
|
acemahesh@yahoo.co.in wrote: "myLib" is in "myAppl" folder.
use #include ".\myLib\myLibA\yourheader.h"
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
"myLib" is in "myAppl" folder.
All the C files in myLibA and myLibB has corresponding header files. All C files have:
#include "myLib/myLibA/fileX.h"
-- modified at 2:26 Wednesday 24th May, 2006
|
|
|
|
|
acemahesh@yahoo.co.in wrote: All the C files in myLibA and myLibB has corresponding header files. All C files have:
#include "myLib/myLibA/fileX.h"
instead of above try this
#include "..\myLibA\fileX.h"
hope this works.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
Hi All,
I want to manually refresh an item in an owner-drawn list box.
how we can do this? Calling Invalidate will redraw teh entire items I want to avoid that. pls help me in this regard.
SaRath
|
|
|
|
|
SaRath C wrote: I want to manually refresh an item in an owner-drawn list box.
how we can do this? Calling Invalidate will redraw teh entire items I want to avoid that. pls help me in this regard.
Use GetItemRect (method of CListBox ) and InvalidateRect .
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
thank u for ur reply
SaRath
|
|
|
|
|
Hi,
I have dialog window in which I have a list box which contains file name as items, all these files are text files which open by default by note pad.
Along with the file name I have some offsets (location of some words in the text file), till now I have finished just opening a file I want to know is there anyway in VC++ that we can open the file and highlight those words after file opening?
I want to highlight the words in notepad or I can create a new dialog where I can display the contents of the file and highlight the words …can u please give me some information how to proceed with this work …
Regards,
Vinay Charan.
|
|
|
|
|
I think you want to search in file
whitesky
|
|
|
|
|
|
Hi WhiteSky,
Thanks for the reply....
I dont want to search in the file..
I just want to Highlight the words which are present along with the file name
Data which i have is filename & offsets (200,340,450,700 location of the words)
now i have open the file and i have to Highlight the words its there any way i can complete this task in VC++ ??
|
|
|
|
|
Vinay wrote: I just want to Highlight the words which are present along with the file name
Data which i have is filename & offsets (200,340,450,700 location of the words)
now i have open the file and i have to Highlight the words its there any way i can complete this task in VC++ ??
You may required hooking of the NOTEPAD.exe Application so that you can explicitly highlight the words from other application.
Because you are using ShellExecute() for opening files where you never get the Handle of the opened file.
Other way is to Use the RichEditCtrl and open the file using CFile or CStdioFile and put the contents into that RichEditCtrl and do whatever you want, as it is in your application scope..
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
Hi Laxman,
When i add Rich Edit control i am getting run time error (VC++ Debug Library error) can u please tell what will the cause ...
|
|
|
|
|
vinaycool wrote: When i add Rich Edit control i am getting run time error (VC++ Debug Library error) can u please tell what will the cause ...
use following in InitInstance of the application
AfxInitRichEdit ();
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
Hi Laxman,
Now i have used
CFile myFile("str", CFile::modeRead);
how to pass the contents to Richedit box ??
I have created m_FCONT of type CRichEditCtrl ..
I have no idea working with Rich Text
|
|
|
|