|
David Stone wrote:
Another one I thought was very cool when working with Google's and Amazon's non-.NET WebServices was WSDL.exe which generates a .cs file from the WSDL document.
Totally agree, very useful tool.
Funnily enough I found out about XSD while reading this "article": Google2RSS
I love the bit where it takes more code just to handle the command arguements than it does to actually pull the Google feed and serialize it out to RSS. Go .NET Framework!
|
|
|
|
|
Paul Watson wrote:
It comes with VS.NET
Even better, it comes with the .NET framework SDK so you don't need to invest anything more than the time it took to download/install that
James
Sig code stolen from David Wulff
|
|
|
|
|
James T. Johnson wrote:
Even better, it comes with the .NET framework SDK
Ahh yes, you are correct Mr. Johnson. Thanks
I am so spoilt by our MSDN subscription, I sometimes forget that there are those out there who actually have to buy the latest MS products themselves.
|
|
|
|
|
Paul Watson wrote:
I am so spoilt by our MSDN subscription, I sometimes forget that there are those out there who actually have to buy the latest MS products themselves.
I envy your position
I'm hoping that after this project and the next I'll have enough cash to get a new monitor and get an MSDN subscription; for now though its what I can scrape together.
James
Sig code stolen from David Wulff
|
|
|
|
|
James T. Johnson wrote:
I envy your position
An MSDN subscription is a no brainer even for relatively small development companies. We are a small company but we could not survive without our MSDN subscription, and in all reality it is quite cheap.
The other day we were asked to provide a demo of an app that used BizTalk, Commerce Server and a .NET Web Service. All I had to do was open the box, install BizTalk and Commerce Server and go at it. If we did not have that box then we would have had to buy BizTalk and Commerce Server (two rather expensive products, just one license of BizTalk costs more than our MSND sub.) So we save time and money plus when I have the time I just dive into that box and start playing.
I guess for a one man shop MSDN is expensive, but for anything above that it works out far cheaper than trying to buy the seperate products. Plus of course you get support, regular updates, patches and documentation. Whatever anyone wants to say about MS, they cannot say anything bad about the MSDN sub. MS deserve a big fat round of applause for it.
|
|
|
|
|
Paul Watson wrote:
I guess for a one man shop MSDN is expensive, but for anything above that it works out far cheaper than trying to buy the seperate products.
Even for a one man shop it is worth it:
- VS.NET Pro ~$1000
- MSDN Library subscription ~$200
- Office XP Dev. ~$700 (-$200 if only needing Pro)
- SQL Server 2000 Dev. $500
Just that is only $400 shy of the full price for MSDN Universal ($2800). [Edit] oops, looked at the MSDN price wrong [/Edit]
I lucked out a lot though; I was eligable for upgrade pricing on VS.NET which cut the price in half plus gave me $300 back and I haven't needed SQL Server since I quit my last job; but it's coming.
James
Sig code stolen from David Wulff
|
|
|
|
|
Paul Watson wrote:
An MSDN subscription is a no brainer even for relatively small development companies.
And yet, in my experience, it's only small companies that notice this fact. Big companies just aren't interested because they have to justify every penny and rarely give a crap about licencing.
Paul
|
|
|
|
|
This[^] is quite handy, too, when you're working with dinosaurs who are still using DTDs!
|
|
|
|
|
Hello ,everyone,
I want to simulate an animal's movement on a specified terrain.
According to the terrain's changement,I can also change the
animal's moving direction and velocity.
Besides,the animal behaves in random on the rerrain.
In the first step.we can just take the animal as one point.
Anyone has any good idea or code example for me?
thanks a lot.
wang
|
|
|
|
|
What a strange thing to do! Anyways, here's an idea--why don't you model the animal's motion based on Brownian motion (the same thing that makes molecules in the air jiggle randomly), and bias the motion based on the terrain (unless this is more of an AI type thing, and you want to model animal behavior based on some sort of AI algorithm).
As far as code examples go, you might search for programs that model birds flocking together. I saw some interesting stuff a few months ago, but I don't think it was on CP.
Good Luck!
Marc
|
|
|
|
|
wangnanjing wrote:
Anyone has any good idea or code example for me?
Not sure if this will help but it sounds like it may have a few ideas for you: .NET Terrarium[^]
|
|
|
|
|
As it goes, I don't think an animal does move randomly around terrain. You'd find that an animal would head towards shelter when it's hot or raining, it would go towards water or food when thirsty or hungry.
It sounds like you are doing an A-Life simulation. Is this correct?
It's not random movement, but if you can get your hands on (any) of the Boids demo code in any of the Direct3D SDK versions from have implemented a pretty decent flocking algorithm. Baring that, you good probably do a search on the net for flocking algorithms. You'd probably find quite a bit.
Hope this helps.
Cheers
The universe is driven by the complex interaction between three ingredients: matter, energy, and enlightened self-interest.
|
|
|
|
|
Hi,
I'm a newbie to C# programming and .NET framework.
Is there a programmatic way of accessing SOAP/HTTP messages transferred from C# client to a web server (on which the web service is hosted.
Please clarify.
Thanks,
sathya
|
|
|
|
|
Why no map modes (i.e. mm_ANISOTRIPIC) in .NET? Are you expected to interop back to the Win32 calls to set up the map mode?
I'm not a real reverend, I just play one on CP.
|
|
|
|
|
Map modes are a GDI thing so the .NET equivalent is the stuff found in GDI+. In this case the Graphics object has a PageUnit and PageScale property as well as Transforms for doing more complicated things.
If you have Petzold's Programming Windows with C#, chapter 7 of his book is the chapter to look for regarding that.
James
Sig code stolen from David Wulff
|
|
|
|
|
Thanks. My problem is that I have to take display data generated by an Visual C++ ActiveX control using a mm_Anisotropic transformation and display that same data in exactly the same way in a .Net Windows form control.
I'm not a real reverend, I just play one on CP.
|
|
|
|
|
No. The entire point of the project is to get rid of the activex control altogether.
I'm not a real reverend, I just play one on CP.
|
|
|
|
|
Hi.
Is it possible to chage the ForeColor in a ReadOnly TextBox? I haven't succeeded. If I set ReadOnly=false it works, but otherwise the text just comes out in black.
Regards
/EnkelIk
|
|
|
|
|
Hi again.
Using RichTextBox in stread of an ordinary TextBox seems to solve this but if I want to print out different parts of the text in different color and font style -how can I do that? For example I would like to write mark certain lines of text to draw attention to them.
Regards
/EnkelIk
|
|
|
|
|
You have .SelectionColor and .SelectionFont to change things under current selection (and of course you can program selections as well). Check out the "simplepad" sample from the .NET framework SDK.
sometimes it helps to look at the IL generated code
a MS guy on develop.com "answering" .NET issues
|
|
|
|
|
Does anyone out there know how (if possible) to write an automation model for an application in .NET. The application in written in Visual C++ with MFC. I want to be able to drive the application in the same way as one van drive the office products. At the moment we only have a COM automation model.
|
|
|
|
|
automation is now legacy. You still think about COM and automation when a raw (unmanaged) C++ app is going to execute commands on an automation server.
But that's not how you do things with .NET, as long as both client and servers are written using .NET :
- on the server side, you write an assembly project using whatver .NET language.
- on the client side, referencing assemblies is the equivalent of including the header files, iid and clsid declaration. Then doing a new Word.Application() is like doing a C++ CoCreateInstance("..."). etc.
And if you are intending to expose a .NET assembly to a raw (unmanaged) C++ application, then you'll have to use [ComImport] attributes in your .NET code, and use the tlbexport.exe tool (or regasm.exe which both creates a type-library and registers it).
Good luck!
sometimes it helps to look at the IL generated code
a MS guy on develop.com "answering" .NET issues
|
|
|
|
|
Does one need adminstrator rights to install the .NET framework?
Also, does the use of .NET controls in IE requires administrative rights?
Best regards,
Paul.
Jesus Christ is LOVE! Please tell somebody.
|
|
|
|
|
First question answer is yes. dotnetfx redist[^]
sometimes it helps to look at the IL generated code
a MS guy on develop.com "answering" .NET issues
|
|
|
|