Click here to Skip to main content
15,922,650 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Pin
Insincere Dave20-May-08 16:36
Insincere Dave20-May-08 16:36 
GeneralRe: WPF Pin
Michael Sync20-May-08 18:20
Michael Sync20-May-08 18:20 
QuestionLoading image in XBAP Pin
sanjutvm19-May-08 0:06
sanjutvm19-May-08 0:06 
Questionhow can i access textbox(which in silver light application) value in .aspx page? Pin
kishorekumar.malla@live.com18-May-08 23:59
kishorekumar.malla@live.com18-May-08 23:59 
AnswerRe: how can i access textbox(which in silver light application) value in .aspx page? Pin
NithyaR19-May-08 9:48
NithyaR19-May-08 9:48 
GeneralRe: how can i access textbox(which in silver light application) value in .aspx page? Pin
kishorekumar.malla@live.com19-May-08 15:25
kishorekumar.malla@live.com19-May-08 15:25 
GeneralRe: how can i access textbox(which in silver light application) value in .aspx page? Pin
Michael Sync19-May-08 17:46
Michael Sync19-May-08 17:46 
QuestionApp fails on restart problem ? Pin
Christian Graus18-May-08 12:27
protectorChristian Graus18-May-08 12:27 
We have a WPF app with about 400 users. One user, who has a high end machine ( 2 gig of RAM, good video card, etc ), reports that if he starts the app on boot, closes it and restarts it, it blows up. That is to say, at any point if he runs it a second time, it fails, even if he does it all right away. Here is the stack trace:


Not enough quota is available to process this command
at MS.Win32.UnsafeNativeMethods.PostMessage(HandleRef hwnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, List`1 channelList)
at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam)
at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

We have our own logging in the app, I know for sure that the constructor for te MainWindow is completed, or in this code:

bool current = OvsUtility.GetInterfaceAnimalPanel().DualOverlaysOn;

singleOverlay.IsChecked = !current;

dualOverlay.IsChecked = current;

singleOverLay and dualOverlay are menu items, GetInterfaceAnimalPanel just returns an inner control from a user control.

We have no logging after this code, but we have logging the moment the Load event fires on the Main Window, and this code is not running, so the exception occurs in the above code, OR between the constructor and the Load event.

The only code that runs between these two, is a couple of window size changed events.

I assume it's something to do with his machine, as no-one else has the issue, but it's not low specced, so that's not it. Where do I look next ?

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 )

AnswerRe: App fails on restart problem ? Pin
User 27100925-May-08 8:11
User 27100925-May-08 8:11 
QuestionRe: App fails on restart problem ? Pin
bitbonk13-Aug-08 20:48
bitbonk13-Aug-08 20:48 
AnswerRe: App fails on restart problem ? Pin
aaj2329-Apr-11 9:07
aaj2329-Apr-11 9:07 
Questionhow i create simple silverlight2.0 application Pin
wasimsharp16-May-08 17:24
wasimsharp16-May-08 17:24 
AnswerRe: how i create simple silverlight2.0 application Pin
Michael Sync19-May-08 17:43
Michael Sync19-May-08 17:43 
AnswerRe: how i create simple silverlight2.0 application Pin
Member 97203321-May-08 0:15
Member 97203321-May-08 0:15 
QuestionHow can i create simple silver light2.0 Application Pin
wasimsharp16-May-08 17:20
wasimsharp16-May-08 17:20 
AnswerRe: How can i create simple silver light2.0 Application Pin
Michael Sync19-May-08 17:41
Michael Sync19-May-08 17:41 
QuestionWpf Listview edit Pin
member2715-May-08 23:54
member2715-May-08 23:54 
AnswerRe: Wpf Listview edit Pin
User 27100916-May-08 0:58
User 27100916-May-08 0:58 
GeneralRe: Wpf Listview edit Pin
member2717-May-08 2:03
member2717-May-08 2:03 
AnswerRe: Wpf Listview edit Pin
User 27100916-May-08 1:40
User 27100916-May-08 1:40 
Questionto WPF or not Pin
zorro91115-May-08 12:37
zorro91115-May-08 12:37 
AnswerRe: to WPF or not Pin
Ed.Poore15-May-08 12:54
Ed.Poore15-May-08 12:54 
GeneralRe: to WPF or not Pin
zorro91115-May-08 13:01
zorro91115-May-08 13:01 
GeneralRe: to WPF or not Pin
Ed.Poore15-May-08 13:36
Ed.Poore15-May-08 13:36 
GeneralRe: to WPF or not Pin
zorro91115-May-08 13:48
zorro91115-May-08 13:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.