|
I agree about the suspiscious smell
Actually I think it sounds and smells more like a Worm !
(technically different animals)
Unfortunatly I believe it can be done under some circumstances.
1. Using IE 4+ with low security settings,
2. Lack of a good firewall
3. Silly user,
I'm unsure how possible it is with WinNT and W2K
but it sure works with Win98.
But as to posting how it is done,
No I won't unless the person wishing to do so,
Contacts me and explains why they wish to do it,
with a legit reason etc. And then I'll only tell them
which MS-Press books to buy
Regardz
|
|
|
|
|
Hmmmm, I hadn't though of malicious uses of the information. I don't think the info is really that hard to find, MSDN documents the processes pretty thoroughly.
I've run into circumstances that would require this process, for example, imagine you wanted to add spell checking to standard edit controls, in every application.
So, Jonathan, let's hear about what you're trying to do, so we keep everyone motivated to share.
|
|
|
|
|
Hi to all Suspicious People,
My simple purpose for that is, that I have to launch a third-party application via automation, and due to some reasons that 3rd party application, crashes. In order to "avoid" that crash dialog box, and make the crash cleaner, I wanted to catch the 2nd try exception, and when caught, to shut-down that problematic application....
That's All....
Hope you can sleep better at night now...
Jonathan
P.S.
Still intereted in answers please...
thanks
|
|
|
|
|
I am learning how to use DirectX from a book (SAMS Teach Yourself DirectX 7 In 24 Hours - although it received some negative reviews, on the whole I think it is pretty good).
I have got some DirectSound code working, but only on certain WAV files. The WAV files that work properly have 8 as the wBitsPerSample member of the WAVEFORMATEX structure. The ones that don't have 0 as this value (what actually happens is that the sound plays as fast as it can go, rather than using the frequency it should be played at).
In the VC++ docs (VC++ 6) it says that that member CAN be 0 if the format is not PCM, as sometimes this member can't be used in the compression algorithm the WAV uses.
I also notice that the cbSize member can indicate that the WAVEFORMATEX structure has some extra bytes tacked onto the end, so I duly coded to allow for this and passed the extended structure to CreateSoundBuffer(). Although it didn't cause a crash, it made no difference whatsoever.
Does anyone know if I am doing something wrong? How can I overcome this problem? According to the book DirectSound can handle ANY format...
|
|
|
|
|
Hi,
I had developed a DeskBand. Now, I wish to put this DLL in download section of my website where surfer can install it from the web like Installing Yahoo! Companion. I think it can be done either using VBScript or JavaScript but need some good suggestions.
Thanks in Advance
|
|
|
|
|
You can use the VB installer or Install shield to make a package for the web. the cab will build in the registration INF which will download and install the file.
-Erik
|
|
|
|
|
in my program i need to enumerat all the drives shared in my network(a NT domain).Although the drive C is shared by default on a NT server,and i logged in as an administrator,
i could not find it in ::SHBrowseForFolder dialog.
help needed!
|
|
|
|
|
Is there any method to convert CBitmap object in to a bitmap file
|
|
|
|
|
HI..Need Help!
I created a edit box subclassed by CWnd, not by CEdit.
I did this for custom UI handling.
It works well.. But I need the control not to lose the
focus anytime.. Even another button contol clicked..
I tried to remove the code in CCmdTarget but it doesn't
work well...How can I do this?
Any Suggestion appreciated..
Regards..Bajy
|
|
|
|
|
Hello!
Include a handler for WM_KILLFOCUS message in your CWnd derived class that you use for subclassing edit box. in this handler you have to call SetFocus function to gain focus back to the control.
Alternatively you can handle EN_KILLFOCUS notification in the edit box' parent window. In the handler for the notification you have to do the same - set focus back to the edit box using SetFocus() function.
Regards,
Andrei Zenkovitch
Dundas Software
|
|
|
|
|
Hi!
I created an ATL project and checked "Support MFC" in the ATL COM AppWizard. Then, I added some code to create a CTreeCtrl object.
I had to #include afxcmn.h to compile the project(because of the CTreeCtrl).
The problem is, I'm getting debug assertion failures inside CTreeCtrl::Create because the AfxGetInstanceHandle() returns NULL.
Should I be able to use CTreeCtrl(and other common controls) inside an ATL project?
|
|
|
|
|
You don't have to use "Support MFC" in an ATL-project when you want to use the TreeCtrl.
Check my website www.braem17.yucom.be (ATL - SAWEditListCtrl). It gives you an example of how you can use common controls in ATL.
|
|
|
|
|
Although you don't need mfc to use it... when you need an instance... try _Module.m_hInst
|
|
|
|
|
I bet you're doing your CTreeCtrl stuff in an exported function or COM method, right? You need to add this line at the very beginning of the function/method:
AFX_MANAGE_STATE(AfxGetStaticModuleState());
This sets up some internal data structures so all the MFC code knows where to find resources and other stuff.
|
|
|
|
|
I am making a form-based executable with numeric edit boxes. Is there any way to make it so the contents of an edit box are selected with a single click? I want to make it easy for people to replace the contents if they're not accustomed to tabbing or double clicking, but I don't want the contents cleared or changed unless they choose to do so.
I tried using OnSetFocus with a SetSel(0,-1) command, but it didn't do anything.
|
|
|
|
|
Why? By default contents of edit boxes are selected (highlighted) when first focused (try tab through the edit boxes and you will see). The problem is the mouse click actually unselects it and set the cursor to where the mouse pointer is. So if you want, you may handle the WM_LBUTTONDOWN message and skip the first occurence of this message after the editbox is initially focused.
But in general you should have a better solution to simplify the user interaction, rather than just a "one click select" versus "double click focus". Think smarter from a user perspective, not from a programmer perspective!
|
|
|
|
|
I generate HTML reports that can be over 100,000 lines long. I then view them in a CWebBrowser2 control. Sometimes to generate these 100,000 line reports take 20 minutes on a fast PC, so what I would like to do is to display the report as it is being generated.
No or tag will be seen until the end, and this does not seem to matter. I have tried just calling "reload" every ten second, but as the report gets bigger this does tend to slow down display a lot when reloading.
Does anyone know a way I could whatch the report being generated character by character without having to press reload please?
In other words everytime my HTML report changes I would like to see the change displayed in my CWebBrowser2 control, however I don't want to reload the entire HTML report each time such a change is detected....
Thanks for any help at all.
Jerry
|
|
|
|
|
Hi Jerry
Heres a different approach
First Navigate to about:blank
then 1. Use "mshtml" to insert some dummy tags,
2.
Now as your app exports the HTML take it as a string and
use { insertAdjacentHTML (,"BeforeEnd") }
to put your HTML into the control
now automate the scroll mechananism probably { scrollto }to scroll to the bottom of the new HTML
Continue this until you get to the end.
Regardz
|
|
|
|
|
Thanks I'll try just that....
|
|
|
|
|
I want to write a dialog base application, but I want it hide in taskbar. Help me some code!
Thank you very much!
|
|
|
|
|
To do that, specify WS_EX_TOOLWINDOW style for your dialog and remove WS_EX_APPWINDOW.
Note: To remove WS_EX_APPWINDOW style go to your .rc file and remove it manualy.
|
|
|
|
|
Hi,
I am looking at providing a view on a Access Table and have got some COM code that uses OLEDB to access this data. I need to present this data in a VB friendly form out of my COM object for application programmers (my COM object is business layer) but I don't want to simply return an OLEDB recordset.
There seem to be two options, wrap the OLEDB interface in ADO or within a less generic form geared solely around the application programmers point of view. Please can anyone give me pointers as to the pros and cons of each method.
Thanks.
|
|
|
|
|
Please can anyone point me towards any decent MSDE samples/articles in VC++ using ODBC or OLEDB ?
|
|
|
|
|
Has anyone got any idea/samples how to programatically create a new datasource/database within either a
SQL Server or MSDE installation ? I am looking at using either ODBC or OLEDB on a project, but all the
samples that I have looked at assume an empty database has been physically created using the
administration tools.
Any ideas/articles to look at would be welcome.
|
|
|
|
|
Hello everybody!
I need CRect class that work with double or float values.
If you have seen this one, please let me know.
Thanks!
Best regards
Vlad Bychkoff
|
|
|
|