|
considering that Microsoft's Rotor project is an implementation of the clr that runs on FreeBSD, I don't think it's such a strech that they could be planning a port for MacOS X.
|
|
|
|
|
I was under the impression that the new OS X was based on FreeBSD.
If this is right, then I don't see why the MONO version of .NET wouldn't run on it.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
Hi all,
I have MS Visual C++ .NET standard installed on my PC.
I created a MFC dialog-based application with the help of wizard.
During compliation I get the following error:
error:C2065: 'ID_FILE_EXIT': undeclared identifier c:\Program\...\afxmsg_.h
error:C2065: 'ID_STUFF_GO': undeclared identifier c:\Program\...\afxmsg_.h
error:C2065: 'hIcon': undeclared identifier c:\Program\...\afxmsg_.h
error:C2065: 'hIconSm': undeclared identifier c:\Program\...\afxmsg_.h
Why I get these errors, have I missed some path info?
Any kind of help in this regard
regards
/rsasalm
|
|
|
|
|
Hi,
I have not touched .NET till now.
But I would like to try some programming now.
My question is can we program .NET in
VC6 ?
Can you please give me some idea on how to
do it ?
PS: Obviously we can use the platform SDK
for programming for .NET(I think).
But I would be missing the Wizards & stuff
in VC.NET.
|
|
|
|
|
Prem Kumar wrote:
My question is can we program .NET in
VC6 ?
No.
I vote pro drink
|
|
|
|
|
|
This is what I'm looking at doing via code:
Instantiate an instance of IE, direct it to site X and then take a screen shot of the completed page.
How can I do this?
Maybe get a handle to the newly created process and then send a windows message to it and ask it to take a screen dump of itself?
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
In XP and .Net Server, you can use the PrintWindow function. In anything else, it gets more complicated. Have a look at this sample on GotDotNet.com for some ideas.
|
|
|
|
|
Thanks.
I gave this a try, but the WindowAsBitmap returns null.
Have you tried this before?
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
Part of the problem with the original code was that it relies on bringing the window to the top, which doesn't always work on W2K/XP. I got it working in VB.Net on XP by modifying the code to use the PrintWindow API:
#Region "API"
Private Declare Function GetDesktopWindow Lib "user32" () As IntPtr
Private Declare Function GetWindowRect Lib "user32" (ByVal hWnd As IntPtr, ByRef rect As Rectangle) As Boolean
Private Declare Function PrintWindow Lib "user32" (ByVal hWnd As IntPtr, ByVal hDC As IntPtr, ByVal nFlags As Integer) As Integer
#End Region
Private Shared Function ImageFromWindow(ByVal hWnd As IntPtr) As Image
If IntPtr.Equals(hWnd, IntPtr.Zero) Then Return Nothing
Dim myImage As Image
Try
Dim rc As Rectangle
GetWindowRect(hWnd, rc)
Dim lW As Integer = rc.Width
Dim lH As Integer = rc.Height
If lW = 0 OrElse lH = 0 Then Return Nothing
myImage = New Bitmap(lW, lH)
Dim grImg As Graphics
Try
grImg = Graphics.FromImage(myImage)
Dim iDC As IntPtr
Try
iDC = grImg.GetHdc()
PrintWindow(hWnd, iDC, 0)
Finally
grImg.ReleaseHdc(iDC)
End Try
Catch
myImage.Dispose()
myImage = Nothing
Finally
grImg.Dispose()
grImg = Nothing
End Try
Finally
End Try
Return myImage
End Function
Public Shared ReadOnly Property DesktopAsBitmap() As Image
Get
Return ImageFromWindow(GetDesktopWindow())
End Get
End Property
Public ReadOnly Property WindowAsBitmap() As Image
Get
Return ImageFromWindow(hWnd)
End Get
End Property
It should be fairly easy to convert back to C#.
Also, Nish has an article on a similar topic for C++: http://www.codeproject.com/managedcpp/ijwscrcap.asp#xx174639xx
|
|
|
|
|
Thanks for this, Richard.
I'll have a bash at getting this to work in my app.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
I am looking for a free library for creating floatable docking windows (like the VS.NET IDE).
Can anyone help me with this? (it has to be freeware)
Øyvind
|
|
|
|
|
Øyvind Bratland wrote:
free library for creating floatable docking windows (like the VS.NET IDE)
Check out dotnet Magic.
I'd be interested in hearing your experiences with this.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
Thanks! I'll have a look at it.... looks good.
Øyvind
|
|
|
|
|
Hi
I'm currently working with Visual Studio.NET Professional and am trying to integrate an FTP client into one of my programs. What would be the best way to do this? Code the FTP client myself from the ground up, or is there an FTP script available here at codeproject I could use. Any help greatly appreciated.
Thanks
|
|
|
|
|
Try this...
http://www.codeproject.com/csharp/FTP.asp
|
|
|
|
|
I'm trying to access web services (e.g the CodeProject Web services) on the other side of various corporate firewalls. If I use a http proxy server that does not require "authentication" ie a username and a password, I have success. However if I use another proxy that requires authentication via a username/password, how am I able to arrange for the client machines to be configured to enable access to the web services ? Do I have to consider a design/ code time solution or is the client machine able to be "configured" somehow to know that applications (esp .net apps) requiring web-services via a proxy can be allowed access.
Many thanks
Peter Hayward
Ngarkat Technologies
Dulwich, South Australia,
Australia
61 8 8364 7060
phayward@bigfoot.com
|
|
|
|
|
Hi everybody,
I've been developing/maintaining several websites with Interdev for quite some time now, and I really like the concept of connecting to a server and maintaining ASP pages "just like that". Then I can ftp the files to the webserver when they are ready. Anyway, I installed Visual Studio .NET - and I can't find any way to connect to a website. All .NET wants me to do is "create a webservice" (Thanks, but no thanks) etc. I just can't get to maintain ASP pages in a simple manner. Of course I can drag the files into the ide and edit them - but then I might as well just go back to notepad.
I thought .NET would have a replacement for Interdev - or are the MS guys just still cooking ?
Any help appreciated!
Best regards
/Jan Hansen
|
|
|
|
|
Like Interdev, you need to create a project or solution. Look for ASP.NET application as a new project to create. Just because it's ASP.NET doesn't mean you have to have everything be ASP.NET pages... ASP pages are fine.
I had the same "issue"... but still prefer to do the local development and manually upload via FTP. I'm just one of those who isn't too comhy giving up control.
-AC
Andrew Connell
IM on MSN
andrew@aconnell.com
|
|
|
|
|
... in WebServices?
I mean for years we tried to implement encryption on data that go through port 80 (like SSL), and now WebServices enable us to send even more sensitive data over HTTP!
Have designers thought about it and can webservices be more secure. Obvioulsy they can be as secure as HTTP, but really that's not much.
Anybody have any ideas on this ?
Regards,
Venet.
--------
Black holes are where God divided by zero.(Steven Wright)
|
|
|
|
|
Actually there seem to be some security extensions of SOAP.
This documnets describes it:
http://www.w3.org/TR/SOAP-dsig
Regards,
Venet.
--------
Black holes are where God divided by zero.(Steven Wright)
|
|
|
|
|
Just had a chat with 2 guys from MS and they suggested I look at Trustbridge too.
It's one of those things that if you need to develop a solution now, then it won't help.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
The scenario I'm facing is this:
We develop a set of web services that we consume from ASP.NET. After a couple of years, the web services get reimplmented with J2EE, et al...
Is it feasible to think that the ASP.NET apps won't need to get recompiled/partly redone?
Would the WSDL be identical between these 2 different platforms.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
hi there,
i am a beginner using .NET, can anybody give me some hint
on how to use .NET to develop a Palm application.
Any installer i need to install before start develop.
thanks
regards, Tho
|
|
|
|
|
Thought I'd chime in since you haven't had any replies yet...
Currently it isn't possible because with .NET (as with Java) you need a runtime that will interpret the IL code (CLR in .NET, JVM in Java). As far as I know, there is no Palm CLR in development, but I could be wrong... check the open source sources for this. I seriously doubt Microsoft will undertake this project as they'd rather support their CE platform (look up the CompactFramework on MSDN).
-AC
Andrew Connell
IM on MSN
andrew@aconnell.com
|
|
|
|