|
Hi,
I seem to remember a programme (like WinZip) which
presented its contents as folders and files in Explorer,
without the archive actually being opened.
Is there a WIN32 API function for showing dirs and file
in the WIN file system that don't _really_ exist as files
on the disk ??
Thanks
Gerry
|
|
|
|
|
That was Zip-It or Zip Magic or something, WinZip doesn't do that. But anyway, what you're thinking of is namespace extensions. I'm working on an article on that topic right now, as a matter of fact.
--Mike--
http://home.inreach.com/mdunn/
A recent survey reports that 1/4 of all internet users in England surf for porn.
The other 3/4 just didn't want to admit it.
|
|
|
|
|
Mike,
Thanks heaps. Let us know when you're done. I look fwd to it.
Gerry
|
|
|
|
|
Me, too. We are developing a server/client application with a file repository on the server. I would like to present these files with such a namespace extension on the client-side.
|
|
|
|
|
Attracted to the instantaneous display of selected messages, I was quite disappointed to discover that the "use DHTML" view option is not implemented in the archive distribution.
Are the archives out of date, or does someone have a fix for this?
Django
ClassicsOnline Webmaster - Download Your Favourite Classic Cartoons, Comedy, and Feature Films Online! Point your browser to www.classicsonline.net
|
|
|
|
|
Attracted to the instantaneous display of selected messages, I was quite disappointed to discover that the "use DHTML" view option is not implemented in the archive distribution.
Are the archives out of date, or does someone have a fix for this?
Django
ClassicsOnline Webmaster - Download Your Favourite Classic Cartoons, Comedy, and Feature Films Online! Point your browser to www.classicsonline.net
|
|
|
|
|
I am developing a program in which the users will need to run programs. I would like to use the Windows Run dialog to do this. I know that you can call the Windows Run dialog using an API in Shell32.dll in Visual Basic, but I haven't the faintest idea of how to do it in C/C++. How can I?
Thanks in advance,
A.C. Newbie
|
|
|
|
|
Here is how you do it in C++
#include "windows.h"
#include "atlbase.h"
#include "shldisp.h"
...
class UseCOM
{
public:
UseCOM(){::CoInitialize(NULL);}
~UseCOM(){::CoUninitialize();}
};
...
MyFunctionToCallRun()
{
UseCOM com;
{
CComPtr<IShellDispatch> spShell;
HRESULT hr = spShell.CoCreateInstance(CLSID_Shell);
if(SUCCEEDED(hr))
spShell->FileRun();
}
}
HTH
Jignesh
|
|
|
|
|
I have written my own control to which I would like to add drop support. I have managed to produce a simple example that uses the IDropTarget interface to detect a drop and display the filename. The problem I have is that it doesn't always work. It seems to depend on the type of parent window the control is embedded into or the number of parent windows above it in the hierarchy. RegisterDragDrop() always returns S_OK but all I get is the 'no entry/drop not allowed' cursor when I drag a file over the control. Does anybody have any suggestions as to how to find out what is causing the block. I have tried using Spy to look at the messages but there don't seem to be any until the drop occurs. The control is written using Win32 API in C/C++ (no MFC).
Any help you can provide will be greatly appreciated as this problem has really got me stumped and, as per usual, the project this is for had to be finished yesterday!
Steve.
|
|
|
|
|
I have a question regarding a api commonly used in active debug tools, ect. My question is, i was wondering if anyone knows how i could have program A detect if program B is trying to use the WriteProcessMemory or ReadProcessMemory api on program A, and if program B is doing that, i would like program A to beable to terimate program b or what ever program is trying to hack it; the reson i say hack is becasue those api's are commonly used in cheat programs that write a games memory so certain values at the given address are written, hence the "game trainer". If anyone has the slightest clue as to what im talking about, please help me, i need some example code very badly.
- thanks for your time
|
|
|
|
|
I am writing a function that need to return a variant data type ,some times string sometimes integral and so on.so I declare a variale with a VARIANT data type but I chocked when I know that I must determine wich type of variant before I use it(VT_U8,VT_I and ...).
I thought it is like a Variant type in Visual Basic.
So can any body tell me how can do that.
|
|
|
|
|
I wish to divert all drawing from a default DC to a memoryDC, without waiting for the DC to draw and then copying.. In fact, that it draws to the window at all is a hindrance.
the ideal for me would be to divert only the Controls (TextEdits, ListBoxes, etc) into their own separate memoryDCs, however diverting an entire window into a memoryDC would also be feasible.
//////
just in case I have not been clear, I will give an example:
I create a window. I divert the window area into a memory dc+bitmap.. The window captures all of my events (for instance I might have a textbox which the user can type into), and although it draws to the memoryDC, the user sees nothing within the window itself.
At time "X" I take the memoryDC, blt it into a bitmap (or i guess it is already blitted in the case of the memoryDC?), and transfer it to disk, giving me images every X seconds or so..
the most imporant part though, is that the user does not see the contents of the window..
//////
If you can help with this, I would be extremely grateful Boy oh boy I've been pulling my hair out over this.. I thought I could just do a "GetDC()->Detach(); GetDC()->Attach( -the memory DC which I created along with a bitmap -);" -> but no, this doesn't work for me..:
thanks tim:
Timothy Prepscius (timprepscius@hNoOtSmPaAiMl.com) <- remove NOSPAM
|
|
|
|
|
just, so you know, I've spent many an hour trying to accomplish this, (without writing an entire CEdit control myself), and I don't think it's possible.
the GDI just doesn't seem to allow manual-association between a window handle or control handle with a HDC.
anybody have evidence to the contrary?
|
|
|
|
|
can any one provide me with the spell checker source code for my html/javascript application. OR is there any site which you know would provide the code?
Thanks in advance
|
|
|
|
|
Source code for spell checkers is available, but I have not seen any open-source implementations that provide spell checking for web forms.
You should check out the ASPELL project on source forge (http://sourceforge.net/projects/aspell/). I have not visitied in a very long time, but they may have something for you.
Also, I have posted a spell checking engine on this site (http://www.codeproject.com/cpp/spellchecker_mg.asp#xx44008xx), but it does not support web forms and it is not fully complete anyway.
Winter Tree software (http://www.wintertree-software.com/index.html) has a commerical spell checking API and I believe they have a HTML/ASP solution. Its not free and you will not get the source code.
Also, there is a product called JSpell which is a java based spell checking engine. Last I looked it did not support web forms, but was going to in the future. (http://www.wallstreetwise.com/jspell.html)
I hope this helps.
|
|
|
|
|
A tool for automating listing of variables ant their types as declared would be great. Does anyone know one?
Regards
/Peter
|
|
|
|
|
Can some one give me an example on how to use Rich Edit 2.0
|
|
|
|
|
Try www.bcbcaq.com
|
|
|
|
|
hello all
i am doing antivirus software project as part of college syllabus.
please help me out by sending some of source code which can detect
1. jerusalem virus
2. boot sector virus
3. yankee doodley virus
4. stealth virus
please help me out
sadiq mohammed
bangalore
|
|
|
|
|
hi i am new in c++ world. i need code for a file splitter. if some one can help me on this topic i would be very grateful.;P
|
|
|
|
|
Dear all
How to use GetIpNetTable()function?
Thank you
|
|
|
|
|
I want code about TAPI.
i want to save recieved call and play greeting message on
phone line.
tanks!
|
|
|
|
|
Hi,
I was asked to support MSAA to make custom controls readable by "Screen Reader". For example, I have CListCtrl which shows bitmaps representing key tops. Currently those bitmaps can't let screen reader *read* and I would like to make this possible in easier and smarter way. If someone can provide a class to add MSAA capability to controls (for example, custom bitmap button), that will be very nice.
Kurotora
|
|
|
|
|
Hi
I am trying to write some bat files to
check the root of a directory/file within a project in VSS
and check out files from multiple databases and over the network in VSS
has anybody done anything like this before? any ideas?
-magicmohith
be the change that you want to see in the world
|
|
|
|
|
Why don't you just use SS.EXE?
Start it with SS /? and you get all the help you need..
Albert 'The Mad Butcher' van Peppen
|
|
|
|