|
Thanks I will have a look at LINQ. That sounds like it might do the trick.
So I guess there is no easy way to create a hierarchical XML structure based on a multi-table dataset. I though there might have been.
|
|
|
|
|
I just found out that when you're using untyped datasets, then you can manually set up a relation between your tables, and then you just set the Relation's Nested property to true, then when you generate an XML file it creates a beautiful hierarchical structure, just the way I want it.
BUT, I'm using a typed dataset, which means the relations are created for me. Is there a way to manually edit these relations?
|
|
|
|
|
I'm trying to hook the ReadFile API like FileMon does.
Do you have an example of ReadFile?
Please help me .....
|
|
|
|
|
You could always use this[^]. Your question has nothing to do with WPF, WCF or WF. In future, please take questions like this to a more appropriate forum.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
|
That's nice. I give you an answer and you give abuse. Tell me, which part of my answer actually offended you - the bit where I pointed you at actual code samples, or the bit where I pointed out that there were better places to ask these questions?
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Don't react to quickly Pete. "maa chuda" is actually a South Glaswegian variant of the phrase "my chum" which means literally "he who is a friend of me". Used in this context the speaker is welcoming you into his inner circle of friends and thanking you for your help.
The believe traditional response is "och I"
I can see how that might have confused you.
Simon
|
|
|
|
|
Simon Stevens wrote: Used in this context the speaker is welcoming you into his inner circle of friends and thanking you for your help.
There are only certain people who have an inner circle that interests me.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
No one can abuse the great Pete!
|
|
|
|
|
Hi Pete,
I am sorry. I was really upset and I don't know wht really makes me to reply so badly.I am greatfull that u helped me.
I hope u will forgive me with a SMILE on ur face
|
|
|
|
|
Consider it done. No harm, no foul.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
*marked as offensive*
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I am working on a WPF RSS feeds application. In this I want to display the RSS feed videos in the WPF page itself i.e., no external media player should open to play the RSS videos. How can I do this.
If any one have any idea to do this please reply.
Thanks in advance.
|
|
|
|
|
Hi All,
Has anyone encountered and worked around this problem?
I have a WPF app that uses the MediaPlayer class to get hold of WMP to play audio files. All is fine for a while playing various files then bang I get this error:
Unhandled exception at 0x1d1c1b30 in App.exe: 0xC0000005: Access violation writing location 0x3d0c3360.
I've wrapped all the neccessary bits in try{} / catch{} to isolate the issues but I fear it's actually out of my hands and may even be a bug in WPF or the MediaPlayer class itself.
I'm also attaching to the media player class MediaFailed event and that isn't getting fired when the error occurs.
Cheers,
|
|
|
|
|
Jammer wrote: playing various files
I thought I heard somewhere it was recommended to create a new media element/player for each file
because of some issue.
Or did I dream it...
*shrug*
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hey Mark,
This may well be the case, It's all good for probably nearly 100 plays, then bang!
Hmm ... I may have to just start creating a new one after every 30 or so and see if that fixes the issue.
All far from good, but a solution nonetheless.
Cheers Chap,
|
|
|
|
|
I'm at a total loss on this. I've just set-up my class to create a new instance of a MediaPlayer every 30 'plays' of an audio file.
I've been running DebugView and running the app, I can't see any discernable pattern in what makes it crash. Nothing in the DebugView log jumps out either.
|
|
|
|
|
Hey, did you ever find a solution for this? Im having the exact same problem. It's very frustrating!!
Thanks
|
|
|
|
|
Yes I did.
I dumped Windows Media Player altogether. It was an unsatisfactory solution in the first instance anyway. I had a look around for decent .NET compatible playback libraries, there are quite a few around if you spend the time looking. I settled on a VERY feature rich and solid library called BASS which contains BASS.NET which handles all the comms to the C++ implemented playback engine. This is a seriously good audio library and it's worth the time looking into.
GET BASS
I've not had ANY issues with this component at all and it's in seriously heavy use in my app SampleSort.
Good Luck!
|
|
|
|
|
Hi,
I would like to create a WPF browser application that used the ReportViewer control so I can see reports generated from SQL Server Reporting Services. Is this possible? I can not seem to find documentation that suggests it is. It sounds quite useful to be able to see reports through a WPF browser application.
Enda
Enda Mannion
Galway
Ireland.
|
|
|
|
|
|
I'm trying to install Silverlight 3 beta onto a laptop that doesn't have an internet connection, and is running the following
WinXP SP/3 (32-bit)
VS2008 SP1
.Net 3.5 SP1
No prior versions of Silverlight have been installed.
Silverlight Developer is installed, and when I tried to install the Tools package (that contains the SDK), I got two of these messages in the install log.
WinHTTPDetectAutoProxyConfigURL failed with error: 12180
followed by this:
Final Result Installation failed with error code: (0x800C0005).
Does anyone have any ideas?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
|
Thanks for the link, but (gak!) the site is offline. It must be a sliverlight problem.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Okay, the site is working now, but I have a complaint (as you might have guessed). NOWHERE on the MS download site does it say that you must have an internet connection to *install* this stuff. Further, there's no method for downloading files for an offline install other than running the installer with a secret parameter. THIS is the kind of crap that that pisses me off at Microsoft. This info should be *in plain view* on the download site.
This means that I have to re-burn the frakking CD I made with the downloaded setup stuff. Granted, that's not that a big deal, but I've lost a whole frakking day as a result.
I know, none of this is your fault, but since you posted your "I don't want to see your messages" message, I felt the need to hold this up as an example of why I get pissed off.
BTW, thanks for the solution.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|