Click here to Skip to main content
15,899,025 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Global Styles Pin
#realJSOP22-Jul-09 2:41
professional#realJSOP22-Jul-09 2:41 
GeneralRe: Global Styles Pin
Pete O'Hanlon22-Jul-09 3:43
mvePete O'Hanlon22-Jul-09 3:43 
QuestionSilverlight : Dynamic plugins? Pin
User 527145421-Jul-09 3:48
User 527145421-Jul-09 3:48 
AnswerRe: Silverlight : Dynamic plugins? Pin
Ray Cassick21-Jul-09 18:06
Ray Cassick21-Jul-09 18:06 
AnswerRe: Silverlight : Dynamic plugins? Pin
Michael Sync23-Jul-09 6:43
Michael Sync23-Jul-09 6:43 
Question3 Tangent Ciricles? Pin
jward21-Jul-09 0:55
jward21-Jul-09 0:55 
AnswerRe: 3 Tangent Ciricles? Pin
Michael Sync23-Jul-09 19:43
Michael Sync23-Jul-09 19:43 
QuestionWPF: Windows 7 Taskbar Integration throwing COM Exception Pin
Kunal Chowdhury «IN»21-Jul-09 0:26
professionalKunal Chowdhury «IN»21-Jul-09 0:26 
Hi,

I am new to Windows 7 application development & want to integrate my Application for Windows 7 Taskbar capability.
Before that, I downloaded the sample code from: http://code.msdn.microsoft.com/Windows7Taskbar/Release/ProjectReleases.aspx?ReleaseId=2246[^]

But whenever I run it & try to add a JumpList it throws me COM Exception.
The details of the exception is as below:

<br />
System.Runtime.InteropServices.COMException was unhandled<br />
  Message="Exception from HRESULT: 0x80040F03"<br />
  Source="Windows7.DesktopIntegration"<br />
  ErrorCode=-2147217661<br />
  StackTrace:<br />
       at Windows7.DesktopIntegration.Interop.ICustomDestinationList.AppendCategory(String pszCategory, IObjectArray poa)<br />
       at Windows7.DesktopIntegration.JumpListDestinations.RefreshDestinations(ICustomDestinationList destinationList) in D:\installer\Windows7IntegrationLibrary_Taskbar_Libraries\Windows7IntegrationLibrary_Taskbar_Libraries\DesktopIntegration\Windows7.DesktopIntegration\JumpLists\JumpListImpl.cs:line 62<br />
       at Windows7.DesktopIntegration.JumpListManager.Refresh() in D:\installer\Windows7IntegrationLibrary_Taskbar_Libraries\Windows7IntegrationLibrary_Taskbar_Libraries\DesktopIntegration\Windows7.DesktopIntegration\JumpLists\JumpListManager.cs:line 418<br />
       at Windows7.DesktopIntegration.MainDemo.Windows7Form.btnBuildJumpList_Click(Object sender, EventArgs e) in D:\installer\Windows7IntegrationLibrary_Taskbar_Libraries\Windows7IntegrationLibrary_Taskbar_Libraries\Demo\Taskbar\Windows7.DesktopIntegration.MainDemo\Windows7Form.cs:line 256<br />
       at System.Windows.Forms.Control.OnClick(EventArgs e)<br />
       at System.Windows.Forms.Button.OnClick(EventArgs e)<br />
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)<br />
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)<br />
       at System.Windows.Forms.Control.WndProc(Message& m)<br />
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)<br />
       at System.Windows.Forms.Button.WndProc(Message& m)<br />
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)<br />
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)<br />
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br />
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)<br />
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)<br />
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)<br />
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)<br />
       at System.Windows.Forms.Application.Run(Form mainForm)<br />
       at Windows7.DesktopIntegration.MainDemo.Program.Main() in D:\installer\Windows7IntegrationLibrary_Taskbar_Libraries\Windows7IntegrationLibrary_Taskbar_Libraries\Demo\Taskbar\Windows7.DesktopIntegration.MainDemo\Program.cs:line 26<br />
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)<br />
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)<br />
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()<br />
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)<br />
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<br />
       at System.Threading.ThreadHelper.ThreadStart()<br />
  InnerException: <br />
<br />


Can anybody in this forum please help me to findout what's the problem is & how can I resolve it.
Any help regarding the same is highly appreciable.
Thanks in advance...

Regards,
- Kunal Chowdhury (My Blog)


modified on Tuesday, July 21, 2009 6:32 AM

AnswerRe: WPF: Windows 7 Taskbar Integration throwing COM Exception Pin
#realJSOP21-Jul-09 3:48
professional#realJSOP21-Jul-09 3:48 
GeneralRe: WPF: Windows 7 Taskbar Integration throwing COM Exception Pin
Kunal Chowdhury «IN»21-Jul-09 18:35
professionalKunal Chowdhury «IN»21-Jul-09 18:35 
GeneralRe: WPF: Windows 7 Taskbar Integration throwing COM Exception Pin
Keeron24-Jul-09 7:56
Keeron24-Jul-09 7:56 
GeneralRe: WPF: Windows 7 Taskbar Integration throwing COM Exception Pin
Kunal Chowdhury «IN»26-Jul-09 19:15
professionalKunal Chowdhury «IN»26-Jul-09 19:15 
QuestionNeed help with positioning 3D models in a viewport Pin
Etienne_12320-Jul-09 23:23
Etienne_12320-Jul-09 23:23 
AnswerRe: Need help with positioning 3D models in a viewport Pin
Pete O'Hanlon20-Jul-09 23:28
mvePete O'Hanlon20-Jul-09 23:28 
QuestionDropdown button with "search" Textbox using C# Pin
Krishna Aditya20-Jul-09 21:31
Krishna Aditya20-Jul-09 21:31 
AnswerRe: Dropdown button with "search" Textbox using C# Pin
Pete O'Hanlon20-Jul-09 23:08
mvePete O'Hanlon20-Jul-09 23:08 
AnswerRe: Dropdown button with "search" Textbox using C# Pin
Krishna Aditya20-Jul-09 23:39
Krishna Aditya20-Jul-09 23:39 
QuestionTreeview Expansion in MVVM Pin
VickyC#20-Jul-09 21:19
VickyC#20-Jul-09 21:19 
AnswerRe: Treeview Expansion in MVVM Pin
Michael Sync23-Jul-09 19:51
Michael Sync23-Jul-09 19:51 
GeneralRe: Treeview Expansion in MVVM Pin
VickyC#16-Aug-09 13:07
VickyC#16-Aug-09 13:07 
QuestionXamlParseException at startup under debug Pin
Gary Wheeler20-Jul-09 9:27
Gary Wheeler20-Jul-09 9:27 
AnswerRe: XamlParseException at startup under debug Pin
Mark Salsbery21-Jul-09 7:40
Mark Salsbery21-Jul-09 7:40 
GeneralRe: XamlParseException at startup under debug Pin
Gary Wheeler21-Jul-09 7:57
Gary Wheeler21-Jul-09 7:57 
GeneralRe: XamlParseException at startup under debug Pin
Mark Salsbery21-Jul-09 8:53
Mark Salsbery21-Jul-09 8:53 
GeneralRe: XamlParseException at startup under debug Pin
Gary Wheeler21-Jul-09 9:20
Gary Wheeler21-Jul-09 9:20 

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.