|
|
Finally -------
set PATH=%path%;"C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin" at the end of the autoexec.bat did the job.
Thanks for your help ,
Alon.
|
|
|
|
|
I am tring to figure out a way to remove the every property through VC6.0 or 7.0 I already now how to remove groups and users but the everyone group is not a normal group. I am assuming That I will have to remove the ACE for the ACL please help.
|
|
|
|
|
Why are you trying to do this? And by the way this is not possible at all.
This is how the usermgmt of NT was designed. If You create an user he must recieve
some initial rights. So everyone was introduced.
|
|
|
|
|
All I want to do is to write a script that will modify they rights of the everyone group. Which you can do on any object by going to it's security page. all I am tyying to do is automate this process which I know is possible because when edit an objects security page all you are doing is executing a series of API functions and any API function is accessible from C++ I know I cannot delete the everyone group but I also know I can assign rights to the everyone group and this is what I want to do please help
|
|
|
|
|
Hiya I am looking to see if I have SourceSafe 6.0 ( that ships with .net - Enterprise developer - which is what I have ) installed...
Does anyone know where abouts it is in the MICROSOFT VISUAL STUDIO.NET directory.
Also where can I get info on using it.
Thanks,
grahamoj.
|
|
|
|
|
SourceSafe 6.0 was only marginally updated for .NET. As a result, it installs in
\Program Files\Microsoft Visual Studio (no .NET) by default.
Software Zen: delete this;
|
|
|
|
|
I have an MFC dialog app that has a Webbrowser object in it. I put a bitmap as a background to that application and now whenever something covers my dialog app, the webbrowser control doesn't get redrawn. How can I fix this problem? This is probably an easy question for many of you to solve, but embarrassingly it has left me scratching my head for the last half-hour.
Your help in answering my question will be greatly appreciated. Thanks in advance.
|
|
|
|
|
I stumbled across an MSDN entry recently about something like this but I can't seem to find it now...
IIRC, the problem was related to the control's or the parent window's style not being set properly - you needed to add or remove WS_CLIPCHILDREN or WS_CLIPSIBLINGS. Something like that.
Sorry for being so vague. HTH.
You should save yourself and your company years of grief by shooting yourself through the head immediately. Believe me, in the long run it'll turn out better for everyone. - Tyto (at arstechnica)
Awasu 1.0[^]: A free RSS reader with support for Code Project.
|
|
|
|
|
I think the problem is the dialog has the CS_HREDRAW and CS_VREDRAW styles by default. In CDialog::PreCreateWindow register a new class without these styles. This will prevent the erasing of the entire window which is what these flags do when you move the window or some window comes on top. Now your browser control should hopefully stop behaving nastily
Nish
Author of the romantic comedy
Summer Love and Some more Cricket [New Win]
Review by Shog9
Click here for review[NW]
|
|
|
|
|
Hi,
I have a bit of code that does this ...
<br />
X = (int)ceil( phi*y );<br />
Y = (int)floor( delta*pi );<br />
... but I get compile error C2065: 'floor' : undeclared identifier and
error C2065: 'ceil' : undeclared identifier.
Do I need to include some file or something?
|
|
|
|
|
try math.h
-c
When history comes, it always takes you by surprise.
|
|
|
|
|
Did you include the following header file
#include <math.h>
Gary Kirkham
A working Program is one that has only unobserved bugs
I thought I wanted a career, turns out I just wanted paychecks
|
|
|
|
|
I didn't like the greater than less than symbols
#include "math.h"
Gary Kirkham
A working Program is one that has only unobserved bugs
I thought I wanted a career, turns out I just wanted paychecks
|
|
|
|
|
You can escape < as < and > as >
--
It's not unusual to be picked up by a klingon woman
It's not unusual to have fun with a klingon
When I see you kicking me around
It's not unusual to see me cry, I wanna die
|
|
|
|
|
I understand that all *.cpp files in Visual C++ must
start with ...
<br />
#include "stdafx.h"<br />
... how can I make my C++ code portable with such
a restriction?
I tried this ...
<br />
#ifndef GNU<br />
#include "stdafx.h"<br />
#endif<br />
... but that doesn't seem to work.
What should I do if I want my code to compile under
more than ONE compiler?
|
|
|
|
|
For portable files you probably don'twant to use stdafx.h, which means no precompiled headers. Just set the Precompiled Headers switch for such files to "Not using precompiled headers".
|
|
|
|
|
thanks!
okay how do I do that?
|
|
|
|
|
I fell so dumb and inadequate today ... yesterday was such a good day!
I have a CButton derived button in a dialog ( a dialog app ) :
#include "MyButton.h"
CMyButton m_HelpButton;
and
...
void CTestColorControlDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_HELP_BUTTON, m_HelpButton);
}
...
My button is working nicelly, but I don't receive and message for WM_CREATE, or even the OnCreate virtual is not called.
I need to change the button size, from inside the class, at creation time; I don't want to have to manually create the button in the dialog's OnInitDialog just to do it.
Thank yo for helping a programmer in need!
Maximilien Lincourt
For success one must aquire one's self
|
|
|
|
|
You don't get the WM_CREATE message because windows creates a normal button first, and then subclasses it in the first call to the DoDataExchange method. When your class is attached to the button, the button has already been created.
You may be able to do want you want in the PreSubclassWindow() virtual method - this is called after the HWND is attached to your button, but before the window procedure has been replaced.
Dave
|
|
|
|
|
Controls created via a dialog template do not recieve the WM_CREATE message. Handle all control initialization in PreSubclassWindow() instead.
HTH
Sonork 100.11743 Chicken Little
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
Within you lies the power for good - Use it!
|
|
|
|
|
PJ Arends wrote:
use PreSubclassWindow() instead
Thank You! Oh ! I Love You!!!
Max.
Maximilien Lincourt
For success one must aquire one's self
|
|
|
|
|
Maximilien wrote:
Oh ! I Love You!!!
hmmm, shall we meet for a drink later?;)
Sonork 100.11743 Chicken Little
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
Within you lies the power for good - Use it!
|
|
|
|
|
u devil u ;P
"No matter where you go, there your are..." - Buckaoo Banzi
-pete
|
|
|
|
|
Hi, I have simple problem. I need get all users in my computer and for all users get special folder. Ist possible ? (no Common Folder etc)
Wiizi
|
|
|
|