|
It's ok, I work with a former Army guy, and I have to explain stuff to him all the time... "No, that lace goes over the other one." j/k
As far as I know, the only thing you truly have to worry about is moving between versions, or using any part of the library that may not be supported on a specific OS's version of the .NET Framework. I don't have any examples, but I believe there are a few things Win98 and WinNT4 can't do. When you're looking at the classes within the MSDN library, scroll to the bottom of the screen and the platform requirements are listed. Just use this as a guide and you should be set.
Michael Flanakin
Web Log
|
|
|
|
|
Flanakin wrote:
It's ok, I work with a former Army guy, and I have to explain stuff to him all the time... "No, that lace goes over the other one."
-- that's probably why we stopped issuing lace-up boots in the late 80's and started issuing speed-lacers; you only have to lace them once... of course, I heard the Army got that idea from the Air Force...
OK, i kinda already knew that about NT/98 -- but running Mono on Linux?
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
Well, in theory, as long as Mono has everything implemented, it should work. But, these are also the same concepts that are used in the Java world, and you've probably seen how successful they've been.
In my opinion, unless Microsoft gets involved in the cross-platform .NET initiative, it won't completely succeed. I'm sure it will exist and successful systems will be developed. But, nobody knows .NET like Microsoft. And, Microsoft will continue to knock out updates, making it hard to keep up - especially if they feel threatened by Mono or other projects. And, you can't escape the fact that most people who use Linux are doing so for the sole purpose of not using Microsoft technologies. Not all, mind you, but I would feel comfortable in saying "most." ...Of course, they'll never admit it and I'll probably get a bunch of static for saying this; but, we all know it's true.
Michael Flanakin
Web Log
|
|
|
|
|
Flanakin wrote:
I'll probably get a bunch of static for saying this
Not on this site you won't... most of the folks here seem to be pretty MS-oriented.
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
How can I debug an ISAPI dll in VS2003?
|
|
|
|
|
|
use winDbg and make IIS service or ISA service as the case may be to interact with desktop.
then associate Windbg with that Service.
You will get the stack dump.
or else put the trace messages to the text file .
Hope this helps.
Regards
Tarundeep Singh Kalra
|
|
|
|
|
use winDbg and make IIS service or ISA service as the case may be to interact with desktop.
then associate Windbg with that Service.
You will get the stack dump.
or else put the trace messages to the text file .
Hope this helps.
Regards
Tarundeep Singh Kalra
Blue Pill or Red Pill........??
|
|
|
|
|
This is a test message Please ignore it
|
|
|
|
|
This is another test message
|
|
|
|
|
|
No! I won't ignore it!
EuroCPian Spring 2004 Get Together[^]
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
|
|
|
|
|
Hi all,
does anyone know of an Eclipse (the Java development platform) like plug-in framework for the .NET environment? Any hint would be greatly appreciated.
Regards,
Hatschy
|
|
|
|
|
hatschy wrote:
does anyone know of an Eclipse (the Java development platform) like plug-in framework for the .NET environment?
If you are looking for a fee IDE for the .NET Framework, take a look at SharpDevelop[^], if you are only looking for ASP.NET development take a look at Web Matrix[^].
- Nick Parker My Blog
|
|
|
|
|
Thanks for the hints, but this is not what I meant. What I am searching for is not an IDE but a library, that can act as a plug-in framework for a completely different kind of application.
Regards,
Hatschy
|
|
|
|
|
There's quite a bit you can do with the VS.NET IDE via add-ins and designers. Checkout the reference docs for the System.ComponentModel.Design namespace for more info on addins (I wrote an article about it as well here[^]).
For a more full-featured interface for IDE integration, check out the VSIP (which is now FREE) here:
http://msdn.microsoft.com/vstudio/partners/[^]
What's available via the VSIP SDK is, essentially, the same SDK that MS folks used to build VS.NET itself.
--
Russell Morris
"So, broccoli, mother says you're good for me... but I'm afraid I'm no good for you!" - Stewy
|
|
|
|
|
In my random spare time, I was thinking about creating a few C# plug-ins for Eclipse. There is already an editor available, but I want to do it myself for a few reasons. I also plan on working on more than just an editor so I can learn more about the Eclipse architecture.
Michael Flanakin
Web Log
|
|
|
|
|
Hi,
I'm wondering if the Application.Idle event in the .NET Frameworks supports a concept similar to that in MFC whereby the Idle method can perform a small amount of work and release control back to the message pump but also indicate if it is finished or not. I have a senario where a lot of work may need to be performed while the application is Idle, but I don't want to degrade the user experience. Nor do I want to use threads as that will just get messy.
Cheers,
Andy
|
|
|
|
|
Andy MacAngus wrote:
Nor do I want to use threads as that will just get messy.
Why not?
- Nick Parker My Blog
|
|
|
|
|
Just a thought, but you could set up a mini message pump in your idle time event handler.
For example:
private static void Application_Idle(object sender, EventArgs e)
{
while(DoIdleTimeProcessing())
{
Application.DoEvents();
}
}
private static bool DoIdleTimeProcessing()
{
return isMoreProcessingToDo;
}
In the example isMoreProcessingToDo represents a boolean that is true if more idle time processing is necessary and false if all the idle time processing is complete. In the Application_Idle() method the return value from DoIdleTimeProcessing() is used as the condition in the while statement to determine whether to keep looping or not. If another iteration is necessary a call to DoEvents() will ensure that any pending events get processed.
Its been a while since I've done any MFC, but as I recall this should approximate the results you are looking for.
Does this help?
EuroCPian Spring 2004 Get Together[^]
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
|
|
|
|
|
Hi Colin,
Thanks for the sample. It worked great. However I noticed that if the idle time processing is not finished and the user shuts the application window then the application continues to run until the idle time processing is completed.
What I did was to create an event handler for the main form's Closed event. I also created a boolean private member variable on my application's main form class that gets flagged if the application Closed event fires. I then added a check in your DoIdleTimeProcessing() method to return false if the application closed flag was set to true. Now if the user shuts the application the Idle time processing also stops.
Cheers,
Andy.
|
|
|
|
|
hi,
im searching for the class that allows me to readin the network files and session informations.
under "fsmgmt.msc" i can see that connections but how can i get these in a programm? i have searched under System.Diagnostics but no result
|
|
|
|
|
There are two ways:
Use Interop Services and Windows API to do this, see Networking and Directory Services, plus a slew of other native OS functions...
Or the easy way...query the WMI...System.Management Namespace, specifically the SelectQuery Class. A good reference for can be found here.
With WMI, you query and do all kinds of things which are beyond the scope of this answer...just a taste of some of the things you can query:
Good luck!
|
|
|
|
|
hello,
Now I develop tool using socket class.
I use UDP protocol.
When I sent message to some client, I recept message from them. But some client sent message to me, I can't receive.
I investigated how to keep waiting for receiving message.
I used Poll method.
The following is my send message code.
If you know how to, please tell me.
regards,
IPAddress ip = IPAddress.Parse(psIP);
IPEndPointlep = new IPEndPoint(ip, port);
Socket s = new Socket(lep.Address.AddressFamily,Type.Dgram, ProtocolType.Udp);
s.SendTo(sMsg, 0, sMsg.Length, SocketFlags.None, lep);
The following is my receive message code
IPEndPoint sender =new IPEndPoint(IPAddress.Any, 0);
EndPoint tempRemoteEP = (EndPoint)sender;
byte[] sMsg=new byte[2048];
s.ReceiveFrom(sMsg, 0, 2048, SocketFlags.None, ref tempRemoteEP);
|
|
|
|
|
hi,
i am trying to call the functions from VB.net dll to COM dll.
First i wrote a vb.net dll for SMTP interface and took following steps
1. generated a key pair for sink class using sn -k
2. then i export the dll using tlbexp ..\x.dll ..\x.tlb
3. then registered that dll with registry usin RegAsm /codebase option
4. gacutil /i , to make it available in global chache.
Thus now my dll is registered with registry.
In my COM dll, i import the .tlb but, i not getting the CLSID and IID then
how should create an instance in the com dll?
Also how to call the function from vb.net dll to com dll
Plz help me out
Any help is welcome
Regards
bharti
|
|
|
|