Not yet unfortunately, though I'm sure if dynamic makes it easy, my nonchalance will evaporate. I do know Anders demo'd an interop thing, where the code gode seriously unwieldy, I presume this is the spivinious scenario.TommyCarlier said:I suspect you've never tried to write an Office add-in using VSTO?vesuvius said:*snip*
I honestly don't see me using any dynamic stuff, and cannot see the use of it in business application development. Not the stuff I do anyway.figuerres said:evildictaitor said:*snip*
that's been true with C and pointers, with recusion and lot's of stuff...
some folks take new stuff and try to do everything with the new toy.. and then find out they messed up.
Any developers (smart client) that can see a use for this?
Why are you trying to do this? Surely if you are writing something from scratch you may as well use the 1 tech, as your application is easier to maintain that way.Viashivan said:spivonious said:*snip*
maybe I haven't been too clear...
I've already read about "WPF and Win32 Interoperation Overview" and I've tried the "Win32 Clock Interoperation Sample".
So I created my WPF dll and I put it in my Win32 app.
Now I have to write the code in my Win32 app in order to call/run my dll added, but I'm not able to do it...
If I was upgrading a Winforms application, then I'd look at interop. Is this mostly a win32 app or a WPF one?
The wise men have spoken Bass so I hope you have and are taking notes.Sabot said:Software does not make the rules of a process.
Software will not strengthen the weaknesses in a market.
Software will not protect a human being from doing what an human being does, we are still in control, mistakes are ours to make.
Software will protect us from risks we spot and have decided and agreed to do something about but usually on at a micro level, the strategic and holistic views are still the territory of the less the logical human brain, which bases decisions on need, greed, memory, peer, fashion,attraction, education, experience, politics, location, prejudice, emotion and sometimes data.
So what is success? Well only a threshold on a measure.
So do we have a Global Problem? How can you when not everyone is having the same problems because they aren't all governed by the same rules?
As far as I'm concerned the problems are with banks and the amount of liquidity they have to lend to each other. It's not a bad thing that this is curtailed for awhile as this will give a pause in breath, it's whether organisaton are clever and take advantage of the pause to examine and fix faults.
At a more personal level remember you are actually good at change, I've been made redundant three times in my career, so you have to have more faith in yourself, keeps skills current and prepare for when times aren't so good with some savings. Also be prepared to make radical changes and take advantage of the IT being a global market ... why stay in your current country? If all the work is going to India/China ... go to India/China! Is the UK, USA, Europe really that much better? What keeps you here? Easy for me to say? No, I followed the work once and lived in other countries, it is hard at first but then humans are amazingly adaptable, take advantage of how great you are.
One of them really should charge channel 9 for overheads, and responses like this are not to be missed.
Is that T.H. Huxley or Aldous Huxley?Bas said:Bass said:*snip*
It's that positive science fiction stories are boring, otherwise people might read a few more of them and not base all their future perspective on Orwell and Huxley.
Brave New World's Utopia is the opposite of Orwell's Dystopic ninteen-eighty-four. I wish more people were aware of that book and read both (not casting aspersions here). You can see the failings in soma, which is where computers are supposedly taking us.
If you build run-of-the-mill business applications that reduce manual input - a prime example would be a business based on Microsoft Excel [doing everything in it] - and having a database centric approach. Most business processes have similarities and differences that make it impossible usually to have a "one size fits all" application - apart from office of course.
The threshold for replacing manual systems with automated ones at present is very expensive. There are a myriad of businesses that would like more automation, but the costs are astronomical.
I don't think the low education jobs are dying out, as much as the lower educated are now having to be better educated -which is great by the way - does that make sense?
True, but in some ways computing is much more brutal than that.ManipUni said:Back in my day we had to walk one hundred miles in the snow without shoes to school...
Back in my day speed limits didn't exist and street lights were rare...
Back in my day we didn't have this fancy paper and pens you young kids take for granted today!
You young kids have it easy...
Here in 2008 (2009 around the bend), I'd love to be working on Silverlight and WPF only, with C# 4.0. I think to be a good Computer Scientist, you need to have walked 100 miles shoeless to school in the snow. You appreciate having the shoes and motor car, and can use them better.
Having to design user interfaces with all the previous technologies, makes you better at creating them with Silverlight. Yes there will always be exceptions, but par-for-the-course of course, programming is sequential. W3bbo has a secret card up his sleeve that most users here don't, and that is mathematics. I will avoid discussing strengths and weaknesses as that has been covered already, but he has a lot of knowledge that is taught.
When you are reasonably young you are are idealist. Especially if you are well educated. It is concomitant. Yes you can and do question things, but the searching questions come later. Much later. I see great promise here.
I don't think turrican meant to be patronising, but he has tried not to use too strong language, without resorting to the WFT type stuff. I know he is vexed, so his "little digs at webbo" are concomitant.
wkempf said:The functionality you want could be added, and with almost exactly the syntax you want, via attached properties/behaviors (http://www.codeproject.com/KB/WPF/AttachedBehaviors.aspx).
Simple databinding of controls to realtime data is trivial. Some advanced things, like usage of the ICollectionView interface for sorting/filtering in thsese sorts of scenarios is non-trivial at best... however, I'm not certain I'd recommend the usage of ICollectionView in these sorts of scenarios anyway. Bindable LINQ might be handy for you (http://www.codeplex.com/bindablelinq). If you've got some specific issue with realtime databinding, explain it further and I might be able to provide some ideas.
Thanks for the links and info. Attached properties are certainly something I've not looked at.
I am over-the-moon that the Cider team have released a WPF toolkit including the much needed datagrid. there is the new WPF ribbon with the Windows 7 theme and best of all, they provided some labs.
I am now beginning to try to adopt WPF in stages, but am confused as to why some things are so difficult. Bea Stollnitz (nee Costa) has a recent post in getting a treeview to expand and collapse - good to have you back blogging again by the way. The amount of code here is ridiculous.
All I expect is
<TreeView Name="treeView1" ExpandCollapse="True" treeView1_AfterSelect>
and in the code behind I need the ability to use treeView1.ExpandAll() and treeView.CollapseAll(). Is is as simple as that.
If anything, this should all be written as an extension method, but looking at WPF it looks impossible to implement it so.
I am also writing a time dependant business intelligence application, and databinding controls to real time seems unnecessarily complex. I know you'll probably say I need to start thinking differently because WPF and previous tech are so, but I am thinking it is taking ages to implement basic constructs in a lot of the controls., and it's just not good enough.
The biggest problem was with the initial install taking ages, but I too have and am experiencing rather protracted hangs.
I resolved to re-install Vista and VS 2008 SP1 but am still having these hangs. Yesterday for instance, for the whole day it kept hanging. Kill all the processes, reboot and things work for a while and then bam! Back to square one.
I guess I'm pleased that other folks are experiencing this, but because of my belief in the VS team, I never ventured to believe that VS itself could be at fault.
Roll on SP2