|
Tak wrote:
since the v1.1 had support for ODBC which I desperately needed
Why the hell didn't you download ODBC.NET[^]?
Paul
|
|
|
|
|
Hm maybe because I didn't know about such a thing?
I'll check it out right now.
|
|
|
|
|
Hey works excellently, thank you very much
Though it doesn't really help with that stupid v1.1... but I hardly care
|
|
|
|
|
Yeah, sorry, I haven't touched 1.1 for these very reasons so I can't help.
But ODBC.NET rules, I've been using it for a while now with no problems. It lacks some of the Wizards that OleDb has but that's only another advantage, IMHO
Paul
|
|
|
|
|
Paul Riley wrote:
Yeah, sorry, I haven't touched 1.1 for these very reasons
Same here, it has been lying on my drive since it became available! I'm just too scared
Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.
|
|
|
|
|
Tak wrote:
how the hell can it be used with VS.net?
It can't...That's part of the Everett update to VS.NET later this year. Don't worry, it won't be long...
Norm Almond: I seen some GUI's in my life but WTF is this mess
Leppie: I made an app for my sister and she wouldnt use it till it was colorful enough
Norm:good point leppie, from that statement I can only deduce that this GUI must be aimed at children
Leppie:My sister is 25
-Norm on the MailMagic GUI
|
|
|
|
|
Just a quick note to anyone who may not know about the coolness that is XSD.exe.
It comes with VS.NET and basically does wonders with XML and XSD (or XDR) documents.
Basically you can convert an XSD document into a C# class file, or vice versa. You can also convert an XML doc into XSD and then into a class file.
All about XSD.exe[^]
"The XML Schema Definition tool generates XML schema or common language runtime classes from XDR, XML, and XSD files, or from classes in a runtime assembly." from MSDN.
I did not know about this little utility until a few hours ago and thought everyone should get a heads up, very useful stuff. It has saved me a good hour making my own XSD* and class files.
* I think XSD is great, but man it makes my brain hurt. Ah well nothing good comes easy huh?
|
|
|
|
|
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.
Norm Almond: I seen some GUI's in my life but WTF is this mess
Leppie: I made an app for my sister and she wouldnt use it till it was colorful enough
Norm:good point leppie, from that statement I can only deduce that this GUI must be aimed at children
Leppie:My sister is 25
-Norm on the MailMagic GUI
|
|
|
|
|
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.
|
|
|
|