|
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
|
|
|
|
|
John Simmons / outlaw programmer wrote: you must have an internet connection to *install* this stuff
Yes, I dislike this as well. More and more MS stuff is like this. What's the rationale? Also, I've noticed that these online installs often seem to download files at a slower rate than a regular download meaning it can take absolutely ages to install even something like C# Express.
Btw, John, why are you playing with Silverlight 3 given your constant moaning about MS and WPF, etc?
Kevin
|
|
|
|
|
Management temporarily went insane and considered switching from WPF to Silverlight for our LOB application. The reasoning was that they didn't want to "force our customers to have to upgrade their OS to something compatible with WPF). Everything is fine now - they discovered that just 20 out of 1000 users are using an OS older than XP, and figured that wasn't a big enough chunk of the user base to worry about it, so they went back on their meds and the wild look in their eyes is almost completely gone. We're sticking with WPF. (That was a very close call.)
"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
|
|
|
|
|
hi guys
i am new to wcf, i have a wpf client and a wcf service hosted in window service verything goes fine when i access this service from the local wpf client , but when access this wcf service hosted in window service through another pc i get the following error
"soap security negotiation with "address" for target "address" failed."
can any body tell me where is the problem, it is not a domain environment . my window serivce is running under local system account .
my client config is as follow
system.serviceModel
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IUsers" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None"
realm="" />
<message clientCredentialType="Windows" negotiateServiceCredential="true"
algorithmSuite="Default" establishSecurityContext="true" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://Tauseef-pc:8731/WCF/Service1/"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUsers"
contract="SR.IUsers" name="WSHttpBinding_IUsers">
<identity>
<dns value="Tauseef-pc"/>
</identity>
</endpoint>
</client>
</system.serviceModel>
my server config is as follow ..
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation debug="true" />
</system.web>
<!-- When deploying the service library project, the content of the config file must be added to the host's
app.config file. System.Configuration does not support config files for libraries. -->
<system.serviceModel>
<services>
<service behaviorConfiguration="WCF.Service1Behavior" name="WCF.UserS">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration=""
contract="WCF.IUsers">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://Tauseef-pc:8731/WCF/Service1/" />
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="WCF.Service1Behavior">
<!-- To avoid disclosing metadata information,
set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="True"/>
<!-- To receive exception details in faults for debugging purposes,
set the value below to true. Set to false before deployment
to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="False" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
thanks in advance
Regards .
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
It looks ike you just have a simple wsHttpBinding binding on your endpoint
so it should just work.
Can you type "http://Tauseef-pc:8731/WCF/Service1/: into a browser and get a
response?
Have you made any changes to the client config or are you using the default
generated configuration?
Also set includeExceptionDetailInFaults to True for debugging.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
yes i get responce, it says you need to create a client and shows my service methods .
i am still unable to get the problem.
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
ghumman63 wrote: i get responce, it says you need to create a client and shows my service methods
And this works from another client PC?
What about my other question...
Have you made any changes to the client config or are you using the default
generated configuration?
Mark Salsbery
Microsoft MVP - Visual C++
modified on Thursday, May 28, 2009 2:06 PM
|
|
|
|
|
no from other machine in browser it is not accessible ,
i didnt make any changes on the client config file.
Regards ,
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
ghumman63 wrote: from other machine in browser it is not accessible
Then you need to look at that - this is an IT issue.
The "Tauseef-pc" part of "http://Tauseef-pc:8731/WCF/Service1/" is what remote clients
aren't recognizing, or maybe a firewall is blocking incoming connections, or any number
of other IT issues...
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|