|
Have you searched here for "client server socket" articles? There's lots of them.
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Hello,
I have recently started using COM classes with which I opened the MS Word application with VC++ code.
This I did by using Application class and calling CreateDispatch function of Application class
_Application app;
app.CreateDispatch("Excel.Application");
app.SetVisible(TRUE);
This was done after loading msword.olb.
But all this process doen't work for excel .I have xl5n32.olb in my Program Files directory .I don't have excel.olb.
So from where should I get excel.olb or How do I fix up the problem with xl5n32.olb
For excel app.SetVisible(TRUE) doesn't work.
Prithaa
|
|
|
|
|
I try to develop a listcontrol - like (icon mode), my problem now is I don't know how to draw a selected item as normal list control, selected item in list control (icon mode) looks darkener than normal item. An item contain a bitmap and a text string as normal list control item.
Could you please help me on this.
Thank you in advance.
|
|
|
|
|
Hi all ,
i m executing a ui thread and inside that thread there is a different ui thread starting and in that third ui thread starts.
Now what i want to know is if i close 1st thread by using PostThreadMessage like this
PostThreadMessage(WM_QUIT,NULL,NULL);
all the other threads which are called inside that thread are closed automatically or we have to close them explicitily.
thanks in advance
|
|
|
|
|
As I know, there is no concept said that there is parent thread and child thread, so you must close each thread explicility.
Thank you.
|
|
|
|
|
Hi
All
i used code from www.codeproject.com/menu/menuch.asp this link.I modify this code to display menu font in Marathi font. I can display menu items in marathi font, but i top menu are still in English, so if u have solution to this then please send me.
Thanks in Advance
Atul
Atool
|
|
|
|
|
How many times are you going to ask this question? If nobody replies you, there might be many reasons. You don't provide sufficient information, nobody understands what you are asking, or anything else similar. Try to explain in detail or split it into more specific parts, tell where you are facing a problem. Without doing anything, don't keep asking the same thing over and over.
These are links to the same question that you've been asking in the recent past..
Link 1[^] Link 2[^] Link 3[^] Link 4[^] ... and the list goes on.
This Link[^] is a must for you.
|
|
|
|
|
You said "if nobody replies you" but I think I answered
here[^]
|
|
|
|
|
|
How to display tooltip text for a button inside group box?
Best Regards,
Suman
|
|
|
|
|
Switch the tab order of the button and the group box.
It's not rocket surgery!
Within you lies the power for good, use it!!!
|
|
|
|
|
Am I missing something? I don't understand the question and your answer too. Can you please explain me in detail what the OP wants and what is your work around?
signature server failure
|
|
|
|
|
Because the OP has trouble getting a tool tip to show on a button, and he specifically said the button was contained inside a group box, I assumed the problem was related to the function WindowFromPoint() returning the group box, not the button in question. Swapping the z-order of the button and group box would fix the problem.
It's not rocket surgery!
Within you lies the power for good, use it!!!
|
|
|
|
|
If we write a class with a virtual function does it have a vtable or should we derive a class from it to have a vtable?
KIRAN PINJARLA
|
|
|
|
|
kiran.pinjarla wrote: If we write a class with a virtual function does it have a vtable
AFAIK (my debugger confirms) it has and you don't need to derive from it to have a vtable.
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.
|
|
|
|
|
Hi all,
I have to create the CRecordset object, which is like
CDatabase db;
........(db connection going here)
CRecordset rset(&db);
rset.open(AFX_DB_USE_DEFAULT_TYPE,"select * from employee;");
rset.close();
...My question is can i write "rset" object into file and read it back from that file,and can i read recordset of that object.If you know,let me know immediately..please
thanks in advance
regards surezu
-- modified at 9:02 Saturday 21st April, 2007
|
|
|
|
|
surezu wrote: ...can i write "rset" object into file and read it back from that file...
Yes.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
please send any example articles about above the task....
|
|
|
|
|
Is there any way to permanently show the vertical scrollbar on my List
Control, even when it is disabled, i.e. the number of rows does not exceed
the viewable area?
|
|
|
|
|
hi,
how to get function prototype of the dll and use in my application
using dependency walker we can get only the function name.
I want the full function prototypes so that we can use in our application
If anybody knows Pls help me
|
|
|
|
|
This is only possible if the functions are exported with C++ decorated names.
|
|
|
|
|
Does any one know about lex yacc. Plz solve my prob.
=====test.y==============
%{
#include<string.h>
#include<stdio.h>
typedef struct quad
{
int id;
char name[20];
int scope;
int argument;
char type[20];
struct quad *next;
}QUAD;
struct stack
{
int items[100];
int top;1
}stk;
int Index = 0, tIndex = 0,StNo,Ind,tInd;
extern int LineNo;
extern int scope;
%}
%union
{
char var[10];
}
%token NUM VAR RELOP
%token MAIN IF ELSE WHILE TYPE
%type EXPR ASSIGNMENT DECST CONDITION IFST ELSEST WHILELOOP
%left '-' '+'
%left '*' '/'
%% /*RULE Section */
PROGRAM: MAIN BLOCK
;
BLOCK: '{' CODE '}'
;
CODE: BLOCK
| STATEMENT CODE
| STATEMENT
;
STATEMENT: DECST ';'
| ASSIGNMENT ';'
| CONDST
| WHILEST
;
DECST: TYPE VARLIST {AddQuadruple($2,scope,0,$1);}
;
VARLIST: VAR ',' VARLIST
| VAR {prinft("\n%s",$1);}
;
========================================
when i compiled this file by "yacc test.y" i got an error..
$2 of "DECST" has no declared type
$1 of "DECST" has no declared type
but i hve declared "DECST" as %type in above code.
i dont know why i m getting this error.
thanks
help me guys
or if u dont know the answer please tell me the write forum for lex yacc.
|
|
|
|
|
hi is there any option to get display the files and folders in removable drive using SHGetSpecialFolderLocation
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
deeps_cute wrote: hi is there any option to get display the files and folders in removable drive
no.... you have to use CFileFInd there!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Dear all,
Can anyone tell me if there is any API for accessing command prompt and get the result of the command back to the application ?
Thanks for your prompt reply.
Nikhs
Nikhil Trivedi
|
|
|
|