|
This is really confusing me now. The app has one window that is hosting a frame. Application pages are loaded into this frame.
I haven't applied any code to the behaviour of the window. Its not using the TopMost nor is it a modal dialog.
The only happens with this project ...
I've tried everything I can think of, i'm dumbfounded at this stage.
Jammer
Going where everyone here has gone before!
My Blog
|
|
|
|
|
Try creating a separate solution and put the window in but not the other stuff.
If that works, then keeping adding pieces until you nail it down.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Sounds like the only option at this stage! Very weird!
Jammer
Going where everyone here has gone before!
My Blog
|
|
|
|
|
Jammer wrote: Very weird!
Rabies bro, rabies!
But, there is a reason...
Is the project big, condidential or full of dependencies? If not, send it to me at: moleproject@yahoo.com and I'll look at it too.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hiii...
I am receiving this error :--->
Server encountered an internal error. For more information, turn on customErrors in the server's .config file.
Server stack trace:
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
1) After googling, I found that customErrors mode="off can help.
Presently its True on Server side. Like this
RemotingConfiguration.CustomErrorsEnabled(true);
2) I am using .Net 1.1 on the server side and .Net 2.0 on client side.
3) Not getting this problem frequently. It has only 5% chances.
4) When I debugging found some interesting stuff:
class One
{
public string m_sResult = null;
public string GetInfo(string sID)
{
try
{
if(OnRequested != null)
OnRequested(sID);
return m_sResult;
}
catch(Exception ex)
{
WriteLog(“ “);
}
}
}
class Two{
void OnRequestedHandler(string sID)
{
try
{
One.m_sReult = "Done";
}
catch(Exception ex)
{
One.m_sReult = ex.message;
}
}
}
From the client side, I am calling One.GetInfo() method.
a) Event OnRequested(sID) raised and handled by class Two and One.m_sReult is set as "Done".
b) But on client side it returns NULL and also writes Log "Server encountered and internal....." on Server side.
So suggest me, what I should do to solve this problem.
I should use customErrors mode="off for better understanding?
I would appreciate any help or suggestions that anyone can provide.
Thank you.
Sidh
|
|
|
|
|
Sidh - please move this to a more appropriate forum. This is for WPF/WCF (and possibly CardSpace but that's a bit of a grey area) - and as these don't work with .NET 1.1 then you're out of luck with getting help there.
|
|
|
|
|
In c# (or vb) I want to create a wpf application, a window with a canvas and a button. When the user clicks the button, a rectangle is showed on the canvas. If the user clicks on the rectangle, the user can perfom drag and drop actions with the rectangle over the canvas.
¿Somebody can give me ideas or links?
Thanks.
|
|
|
|
|
The WPF Diagram Designer Series [^] may have some examples of what you want.
|
|
|
|
|
Thanks, it's perfect!
|
|
|
|
|
Hi Friends,
Can u please help me How to use the custom control(developed with c#) in silver light beta 2.0.
Can u please provide some souce links?
I have one DLL which contains all the customer controls.I have to use the those control in my silver light applications.But It is allowing to add reference that DLL.
I would like to use the that custom control in my silver light application(silver light Beta 2.0)
Can u please help me?
Regards
Kishore
|
|
|
|
|
Hi Kishore,
Please take a look this post[^] and that post[^]. In that article, we created the custom control called Rich Text Edit and use it in Silverlight project...
Hope it help...
|
|
|
|
|
Good People,
Expression Blend is not opening my Visual Studio 2008 WPF Application. I just bought Expression Blend about a month ago and Visual Studio 2008 a month before that purchase. Any ideas? I am really behind the 8-ball on this project.
Thanks in advance.
BP
|
|
|
|
|
What version of Blend did you get? Probably Blend 1.0, right?
If you purchased Blend a month ago, you should be entitled to the latest public release which is Blend 2.
After getting Blend 2, removed all previous versions of Blend, install the Blend 2 and you will be good to go.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
And, if you are using Blend 1, rejoice at all the yummy bits you get when you have installed Blend 2. I liked Blend 1 - I love Blend 2. I have high hopes for 2.5.
|
|
|
|
|
I'm not sure if this helps, but I'll throw it out there:
If you're using Expression Blend version 1, there's a service pack[^] that fixes the
VS 2008 project compatibility problem.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi All,
I'm just wanting to get a bit of info about other people's use of this class. I have an instance of an Infragistics WPF Grid in my UI holding a list of audio files. When a user clicks on an entry my app plays the audio file.
The problem I'm seeing is that when the audio starts and the I move the mouse onto another item in the grid audio playback stops. I'm presuming that this is because the player is in the main UI Thread. I just wanted to know if anyone else has seen anything similar. If so I guess the workaround is to have the player operating in its own thread. Just wanted to check this thinking before I go off coding this into the application.
Any info would be great.
Cheers,
Jammer
Going where everyone here has gone before!
My Blog
|
|
|
|
|
Probably has to do with the Selection Changed Event code.
Josh Smith has a super article on Podder, that make use of the media control.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Thanks Karl, I'll go and have a read.
Jammer
Going where everyone here has gone before!
My Blog
|
|
|
|
|
No, but, we wrapped a C# WMP control because the WPF one was so slow as to be useless.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi Christian,
Is there any info anywhere on what you did? Did you wrap the ActiveX WMP control?
Cheers,
Jammer
Going where everyone here has gone before!
My Blog
|
|
|
|
|
We just created a dll with a C# control that contained te windows media player control, and then a WPF control that contained that control.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Gotcha.
Jammer
Going where everyone here has gone before!
My Blog
|
|
|
|
|
How can I make a silverlight application communicate with an MFC application? Should I simply use sockets or is there a way that an MFC application can act as a webservice? Or anything else?
Thanks in advance!
|
|
|
|
|
BadJerry wrote: How can I make a silverlight application communicate with an MFC application?
Silverlight beta 2 supports WS-I Basic Profile 1.1 and socket.
BadJerry wrote: Should I simply use sockets or is there a way that an MFC application can act as a webservice?
I don't have that much idea MFC. You may need to ask about that in MFC forum.. From Silverlight point of view, if you wanna use web service, you need to follow WS-I Basic Profile 1.1. (ASMX, WCF service works pretty well with Silverlight. )
|
|
|
|
|
Thanks for your reply... much appreciated!
I amm now thinking of instanciating a COM object in the instance object of a Web Service... and use that as the channel of communication... Do you think this could work? any caveats?
|
|
|
|