|
I'm not sure how to do that conversion, but I've passed the Handle in from C# when I make pinvoked API calls and it's worked fine.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
That's great but here it doesn't work.
[b]yte your digital photos with [ae]phid [p]hotokeeper - www.aephid.com.
|
|
|
|
|
To verify that the Handle property really contains a HWND:
MSDN quote:
"Syntax
public IntPtr Handle { get; }
Property Value
An IntPtr that contains the window handle (HWND) of the control.
Remarks
The value of the Handle property is a Windows HWND. If the handle has not yet been created, referencing this property will force the handle to be created."
---
b { font-weight: normal; }
|
|
|
|
|
If form was your form object, try:
(HWND)form.Handle.ToPointer()
|
|
|
|
|
Excellent! That's exactly what I needed. Thanks
[b]yte your digital photos with [ae]phid [p]hotokeeper - www.aephid.com.
|
|
|
|
|
Sorry for bumb nood question.
I can't figure out how to transform an XML that I have in a string variable (not a file) using XSLT that is also in a string (not a file) and get the result as a string as well?
All I see there is "Load" methods which take paths to files or XmlReader (which I'm not sure how force to use my strings) or some other wierd stuff.
Please help!
|
|
|
|
|
Hello All,
Is it possible to deploy the CLR on machines where the user has no admin rights ?
There is no possibility for the user to get admin passwd or raised privileges.
Regards
|
|
|
|
|
No there isn't. The user has to have Power User rights or better.
Or a packaged installation has to be pushed to the machine using some software distribution tool, like Altiris or Microsoft's SMS server.
Dave Kreskowiak
Microsoft MVP - Visual Basic
-- modified at 15:03 Monday 10th July, 2006
|
|
|
|
|
How does VS2005 create the design time control, and how can i write my control to detect between the control running on the device , and in VS2005 ? using VS2003 and CF1 I had to create 2 different controls , but now VS handles this , but I canot find any details on how add designtime atributes etc
|
|
|
|
|
Hi,
When I'm compiling an idl file in a project in VC8 2005 on x64 configuration I'm getting the error. The operation could not be completed. Unspecified Error. Any comments on the same. How do I rectify it. Does it require some settings to be done. I have the same error pop up when I try to get the Properties of the project but could not do so.
Thanks
|
|
|
|
|
Does anyone know what the function name is to determine if a .NET application is in design mode, or if it is compiled and running?? The eqivalent in the MFC world was AmbientUserMode(). TIA
|
|
|
|
|
Anything which derives from System.ComponentModel.Component inherits the protected DesignMode boolean property, which returns true if the component is running in a designer. Every control (including Forms) derive from Component.
:josh:
My WPF Blog[^]
|
|
|
|
|
Is there a chance to compile more assemblies to one assembly ?
|
|
|
|
|
1) If you have the source code then yes. Just bring them all into the same project and recompile.
2) If you don't have the source code then you can still KIND of do it by just writing a wrapper library that acts as a proxy to the other individual libraries.
My Blog[^] FFRF[^]
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
|
I'm trying to use a treeview control for file searching. I would like to start by the desktop, like a usual program, but I can't find the place here that information is. Environment.GetSpecialFolders seems not given me that information. Can anyone help my?
Thank you.
Hi there
|
|
|
|
|
Have you tried searching CP for explorer treeview[^]?
Obviously not because the first 5 hits are all dealing with this.
|
|
|
|
|
xadrex wrote: Environment.GetSpecialFolders seems not given me that information.
It gives:
Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
|
|
|
|
|
I've tried to sign my assemblies (http://www.codeproject.com/useritems/SecUtilexe.asp?df=100&forumid=256869&exp=0&select=1337472)
but it is not working. I can use assemblies from any application. Is there another solution or things in 2.0 are different?
|
|
|
|
|
|
Hello comunity,
i translate my project from VS6 to VS2005, but even when i want to run my project in debug mode i recive the follow errormessage:
"MSVCR80D.DLL Not Found...."
i have installed the new PSDK for win2003, but i work on winxp prof.
what to do to solve this???
Something else, when i run them i n release mode, works fine????? without any problems!!!
please help with that!
regards
break;
|
|
|
|
|
Release mode does not use that DLL. See if this thread can help with your Debug mode failure: link.
Best,
Jun
|
|
|
|
|
I have been searching around for info on how to do this for a bit, and haven't really come up with anything that makes sense to me.
Can anyone point me in the right direction on the best way to pull down a list of users/email addresses from an Exchange Server that I am accessing via a VPN?
|
|
|
|
|
HI all,
IN VC++.Net I am facing problem to draw a rectangle on the form
when I Press a Button.
Can Any one Help to solve me this problem.
Thanks In Advance.
Bye.....
G.Nagaraju
|
|
|
|