|
Microsoft used to have Viewer applications for all these file types. Have a look on the office web-site. I know I downloaded a Powerpoint viewer a little while back.
Alternativly, have you looked at http://www.openoffice.org/[^]
Michael
Fat bottomed girls
You make the rockin' world go round -- Queen
|
|
|
|
|
I want to draw on the ActiveX control in Design Mode i.e
I placed a ActiveX control on the DialogBox, now i want to draw something on the control . How can i do this ?
Any help...
Thank you.
|
|
|
|
|
Hi , win98 doesnt support unicode right?
so how can Wordpad.exe draw unicode chars in win98.
if i would like to do the same how would that be done?
the textout api just draws junk if i pass it a unicode string..
//Roger
|
|
|
|
|
fro win98, you need to use the unicows libraries.
see this :
unicows at MSDN[^]
There's also a newsgroup on microsoft news server on the subject..
Max.
|
|
|
|
|
I wrote a program that one could choose items from a toolbar and put them on the document by clicking left
button of mouse on the view. I considered a CRectTracker variable for each symbol and in the OnDraw function I
draw each symbol's tracker's rectangle.And for selecting each symbol which is shown on the page I check if the
position of left click of mouse is in the tracker of any of the symbols or not.
At the beginning I used CView class but now I want to use CScrollView in order that my program could support scrolling.I changed the base class of my view class to CScrollView and write some lines in its OnInitialUpdate in order to set the size of scrolling.Even I changed coordinates with CDC::DPtoLP function.
Now I scroll my program but when I put an item on the page and scroll the page , in some places that my item doesn't
exist , it seems that its tracker exists .
Thanks
Azadeh
|
|
|
|
|
|
victor,
the problem is that the dialog is not the main window of my application.
so the 2 links u showed me won't work in my case.
any other suggestions
|
|
|
|
|
dear all,
i have an mfc dialog based application and i'm unable to set the correct taborder for the controls on the dialog. i'm from vb background and have no idea about this thing.
can anyone guide me!!!!!!!!!!!!!!!
my app read a text file (info. about some tasks to execute)
and then it starts the tasks at defined time periods.
it stores the info in a CArray object.
how do i restart my app stop execution and reading arrays agian and start execution again!!!!!!!!
i know this looks an awkward ques, but can anyone give me a clue.
thanx
|
|
|
|
|
In the dialog editor, press Ctrl+D to set the tab order. Each control will have a number by it, just click the controls to set their new order. (ie, the first thing you click will be #1, the next thing #2, and so on)
--Mike--
If it doesn't move and it should: WD-40. If it moves and it shouldn't: duct tape.
1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|
thanx a ton!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
hi,
I'm developing ATL ActiveX EXE server that runs as a Window services using ATL wizard.
This server contains one ATL object (CTest).
How I can set the server so that when it started (via Window Services Applet), the server will :
1) initiate/create CTest.
2) Call method/function in this ATL object (CallMe).
3) destroy CTest when server stopped.
Thanx in advance.
Regards.
|
|
|
|
|
dear all,
can anyone tell me how do i package and create a setup for my VC app(mfc dialog based).
Plz. tell me the dependency files for my app.
thanx
|
|
|
|
|
There are numerous installer products, some free some not. InnoSetup, SuperPiMP, InstallShield, etc. You'll have to try them out and see which one you like best.
As for dependencies, run the Dependency Viewer found in the VC6->Tools program group.
--Mike--
If it doesn't move and it should: WD-40. If it moves and it shouldn't: duct tape.
1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|
thanx a ton Mike!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
Dear all,
I have a serious problem. I have an existing project and added some *.cpp files(class files) into it, but these new files or class are not reflected in the class wizard.
Any steps to resolve such problem?
Can somebody pls help? Thank you and merry X'mas
|
|
|
|
|
Delete your .CLW file and when you open the Wizard, it will ask you if you want to rebuild it from your source files.
he he he. I like it in the kitchen! - Marc Clifton (on taking the heat when being flamed)
Awasu v0.4a[^]: A free RSS reader with support for Code Project.
|
|
|
|
|
I want to get C++ to communicate with an http server across the internet, not a LAN, the internet. What do I need to learn to do that and are there any books that use C++ not C# that concern this issue?
-- Steve
|
|
|
|
|
|
Hi.
What is the best solution to knowing when a server or client has sent the final piece of data across a socket?
For example, let say a client sends 100k of data to a server running OVERLAPPED I/O. The I/O model updates the server and tells it there is 50k data ready for to be received. The server calls WSARecv(). Meanwhile the server has not idea the true size of the data. It just knows there is 50k worth of the data. Now OVERLAPPED I/O updates the server the second time with 50k data, which is the last piece of data.
Based on the example scenario, how does the server know when to stop calling WSARecv() because it has processed all data? This is a general question and does not pertain to data. Is it true that web servers sends the final piece of data with something ike this at the end?
-----
0
-----
Thanks,
Kuphryn
|
|
|
|
|
kuphryn wrote:
What is the best solution to knowing when a server or client has sent the final piece of data across a socket?
You need to build it into the protocol the two apps are using to communicate e.g. the first 4 bytes sent are not data but the #bytes to follow.
kuphryn wrote:
Is it true that web servers sends the final piece of data with something ike this at the end?
Again, it depends on the particular protocol being used. For HTTP, I just wait until the server closes the connection which gives me an error when I call WSARecv(). A bit hacky but since HTTP is stateless, I can't think of a reason why the server would ever want to keep the connection open and so this should be OK.
he he he. I like it in the kitchen! - Marc Clifton (on taking the heat when being flamed)
Awasu v0.4a[^]: A free RSS reader with support for Code Project.
|
|
|
|
|
|
I want to open a document of myself format in IE.
This mode just like open an PDF file from internet in IE. The menu toolbar of PDF should combine with IE's toolbar and menu.
I know this is ActiveDocument.
But I don't know which keys in registry should I set when I want IE be a container.
Could anyone tell me how can I do this. A demo is better.
thank you.
|
|
|
|
|
|
Hi.
I've created a dialog with a CPropertySheet on it and a few CPropertyPages, this is not a wizard. For each of these pages, I would like to have a default button. Setting that attribute doesn't appear to work. I tried overriding OnOK of the dialog, checking the active page, and then calling the default button, but the message isn't sent when I press return. Any suggestions on what I should try?
I've searched here and several other places but couldn't find an answer, I'm sorry if I've overlooked it.
Thanks
modified 12-Jul-20 21:01pm.
|
|
|
|
|
Have problem to save a bool to file and lod it again.
here is the Read function.
bool cHandleFile::Read()<br />
{<br />
<br />
ifstream Fil;<br />
Fil.open(cFilNamn,ios::binary);<br />
if (!(Fil)) {<br />
Beep(80,100);<br />
return(false);<br />
}<br />
<br />
Fil.read((char*)&g_bSound,sizeof(bool));<br />
<br />
Fil.close();<br />
<br />
return(true);<br />
<br />
<br />
}
FilNamn = FileName in english
Fil = File in english
Thanks for help.
---
Zuu is my name
|
|
|
|