Developer Discussions ForumDiscuss ConferenceXP source code, RTP, Conference API, and capabilities© 2009 Microsoft Corporation. All rights reserved.Fri, 27 Nov 2009 09:54:12 Zb0f330e5-b9dc-4b4c-bf24-b5d05cfa531chttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/dd2f2861-88bb-42c6-ad99-8349b5594735http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/dd2f2861-88bb-42c6-ad99-8349b5594735Aby V Johnhttp://social.microsoft.com/Profile/en-US/?user=Aby%20V%20JohnUnable to cast COM object of type 'Word.ApplicationClass' to interface type 'Word._Application'.<br/> I am dealing with word automation in asp.net 2.0 and when i am debugging my web application in VS in XP OS it is quite fine running. Then I deployed this site into server (OS is Windows 2000 advanced server) where I met with problem. So I installed VS 2005 in this server and I debugged where I got this error..<br/> Unable to cast COM object of type 'Word.ApplicationClass' to interface type 'Word._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00020970-0000-0000-C000-000000000046}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).<br/> If anyone helps to solve my problem that would be appreciable as I have been struggling with this problem for last week.<br/> I have office 2000 premium in my server machine as well.<br/> <br/> I give my coding part also here,<br/> <br/> public class WordApp <br/>      {<br/>         <br/> <br/>         private Word.Application oWordAppl;<br/>        <br/>        private Word.Document oDoc;<br/>         <br/> <br/>         public WordApp()<br/>         {<br/> <br/>            oWordAppl = new Word.Application();<br/>           <br/>         }<br/> <br/>         <br/> <br/>        public Word.Document Open(string strFileName)<br/>         <br/>         {<br/>             try<br/>             {<br/>                <br/>                 object fileName = strFileName; <br/> <br/>                 object readOnly1 = false;<br/> <br/>                 object isVisible = true;<br/> <br/>                 object missing = System.Reflection.Missing.Value;<br/> <br/>                 <br/>                 oDoc = (Word.Document)oWordAppl.Documents.Open(ref fileName, ref missing, ref readOnly1,<br/>                    ref missing, ref missing, ref missing, ref missing, ref missing,<br/>                    ref missing, ref missing, ref missing, ref isVisible);<br/> <span style="color:#ff4040">/*Above line i am gettin error   <span style="font-weight:bold">{&quot;Unable to cast COM object of type 'Word.ApplicationClass' to interface type 'Word._Application'. </span> </span> <br style="color:#ff4040;font-weight:bold"> <span style="color:#ff4040;font-weight:bold"> This operation failed because the QueryInterface call on the COM component for the interface with IID </span> <br style="color:#ff4040;font-weight:bold"> <span style="color:#ff4040;font-weight:bold"> '{00020970-0000-0000-C000-000000000046}' failed due to the following error: Library not registered. </span> <br style="color:#ff4040;font-weight:bold"> <span style="color:#ff4040;font-weight:bold"> (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).&quot;}</span> <br style="color:#ff4040"> <span style="color:#ff4040"> */</span> <br/>                 <br/>                 <br/>             }<br/>             catch (Exception ex)<br/>             {<br/>                 throw ex;<br/>             }<br/>             finally<br/>             {<br/>                 //object missing = System.Reflection.Missing.Value;<br/>                 //oWordAppl.Documents.Close(ref missing, ref missing, ref missing);<br/>             }<br/> <br/>             return oDoc;<br/> <br/>         }<br/> }Tue, 21 Apr 2009 07:07:08 Z2009-11-27T09:54:11Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/37171d2f-184b-41d6-9246-9a8722cb217chttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/37171d2f-184b-41d6-9246-9a8722cb217cigørhttp://social.microsoft.com/Profile/en-US/?user=ig%u00f8rReference MDShowManager ?<font size=2><span style="font-family:Arial">Hi, <br><br>I download the ConferenceXP  4 Source code , but in some projects is an error with Reference to MDShowManager.<br><br> </span></font><br> <div id="result_box" dir=ltr>Where is this reference?<br><br><br>Visual C# 2008 <br>Windows Vista<br><br>Thanks!<br></div>Tue, 30 Sep 2008 17:25:55 Z2009-11-24T18:08:24Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/7a9dbc6a-f357-480c-b81e-49e29f609622http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/7a9dbc6a-f357-480c-b81e-49e29f609622bruce moosehttp://social.microsoft.com/Profile/en-US/?user=bruce%20mooseupgradesno no no !! everytime there is an upgrade, things screw up!! I have only had, &quot;had to get vista &quot; 10 months ago with my new laptop. Now you got a new one!!! I WANT IT FREE. PS   all of us at The University of Waterloo are pissed with flip floping  too. Thank god our IT guys never switched us over. I can't beleve how little support this OS has had. Never in all the years of using windows have I seen such a hopeless situation. WOW, if you can get on line with the help center, as soon as they can't answear a question, they go off line,,,, I hope they get the same service when they buy a new car.<br/><br/>Sat, 21 Nov 2009 04:33:03 Z2009-11-21T04:33:03Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/490d6b0c-ea28-4322-a2d4-a29a62a521e7http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/490d6b0c-ea28-4322-a2d4-a29a62a521e7ranumulahttp://social.microsoft.com/Profile/en-US/?user=ranumulaPosting data using XMLHttpRequestHi,<br/><br/>I am not sure whether it is a right forum or not. But need some info on posting the data using XMLHttpRequest.<br/><br/>I need to post the data using XMLHttpRequest. While posting, few values have to be passed in the URL like <a href="http://site.com?var1=value1">http://site.com?var1=value1</a> and few values have to be sent as form data.<br/><br/>Please suggest how to construct the required headers and message format to post the data in this format using VB Script.<br/><br/>Thanks in advance,<br/><br/>RaghuThu, 19 Nov 2009 13:22:03 Z2009-11-19T13:22:05Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/8504bf73-9b61-4037-8e51-e0a392a6d778http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/8504bf73-9b61-4037-8e51-e0a392a6d778Vikharhttp://social.microsoft.com/Profile/en-US/?user=VikharHow to modify Powerpoint Office Open XML from silverlight<p>Hi,</p> <p>I have a scenario for which I need help from the experts here.</p> <p>i have a power point template in which i have a chart in one of the slide. <br/>I want to add/modify the chart data dynamicall( i.e, i want to update excel file embeded in the powerpoint file) through silverlight application.</p> <p>I found some code snippets(using SharpZipLib) from which im able to modify the power point xml, but unable to add/modify the excel file which is embeded in ppt file.</p> <p>I would like to know, are there any existing tools avilable which does this.</p> <p>Thanks in Advance for any suggestions or ideas on this.</p> <p>Regards,<br/>Mohd Vikhar</p>Mon, 09 Nov 2009 08:38:44 Z2009-11-09T08:38:45Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/e77273a8-1446-4b97-baf0-1679dd01a210http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/e77273a8-1446-4b97-baf0-1679dd01a210devender_syshttp://social.microsoft.com/Profile/en-US/?user=devender_sysIDirect3D9::CreateDevice () API leaks memory and GDI objects<p class=MsoPlainText>We are executing IDirect3D9::CreateDevice () API in a loop, and when loop count reaches to 3, 00,000 then IDirect3D9::CreateDevice () fails with error E_OUTOFMEMORY.</p> <p class=MsoPlainText>When program is executing, we found very strange behavior on different Operating Systems while looking into task manager.</p> <p class=MsoPlainText>On Windows XP program show there is GDI object leaks.<br/>On Windows Vista / 7 programs shows memory leaks.</p> <p class=MsoPlainText>Request you comment on this behaviour<br/><br/>Thanks in advance. </p>Mon, 02 Nov 2009 12:58:22 Z2009-11-02T12:58:23Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/3ed53fa1-7789-4d6d-85f7-988accc01066http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/3ed53fa1-7789-4d6d-85f7-988accc01066Ncal Mikehttp://social.microsoft.com/Profile/en-US/?user=Ncal%20MikeSetting up web server in windows 7. HELP.I really like the new windows 7. it installed itself andall the hardware without me having to look for any drivers including my tuner card. I was recording a basketball game within 20 minutes without having to add any additional software. I was previously using this machine as a web server for development running 2003 server 64 bit / apache/php/mysql. I was able to set up the same configuration however I can't access pages in sub folders only pages directly in the htdocs folder. I then installed iis 7 to get the same result in the inetpub folder. The iis was able to access subfolder pages using 127.0.0.1 and 192.168 (static ip calling itself) but my main machine that I develop from (running xp 64 bit) can not access those pages. I get network timed out error messages. <br/><br/>Apache 2.2.11, PHP 5.2.5 - 5.2.8 and lates download, mysql 5.1.30<br/><br/>1) tried htdocs on share drive ()<br/>2) installed on C (windows 7) drive same effect<br/>3) installed just appach no php or mysql (same effect)<br/>3) IIS 7 C drive first time able to access subfolders on itself via ip addresses but not from another machine.<br/><br/>Thanks for any insight,<br/><br/>NCAL MikeSat, 13 Jun 2009 00:54:37 Z2009-10-23T17:43:37Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/6321b611-cd0f-4d1b-9969-beeaa3729ba6http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/6321b611-cd0f-4d1b-9969-beeaa3729ba6Lalbiharihttp://social.microsoft.com/Profile/en-US/?user=LalbihariCrystal Report Export data to Excelhello, <div>we are using crystal report,</div> <div>when export data report to excel it's not showing proper format.</div> <div><br/></div> <div>help me.</div> <div><br/></div>Wed, 21 Oct 2009 13:07:28 Z2009-10-21T13:07:29Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/66c6152e-3167-4bb0-8eac-e5244913d865http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/66c6152e-3167-4bb0-8eac-e5244913d865Gou Junhttp://social.microsoft.com/Profile/en-US/?user=Gou%20Junxslt file full of messy codeUnder Biztalk2004, add a xslt file to realize mapping. Can validate through. But the content became messy code all of a sudden. The same&nbsp;problem occured before but get healed by itself&nbsp;a while later without intended operation.<br />Any suggestion would be appreciated.<br /><br />Thanks<br />Gou Jun<br />Tue, 13 Oct 2009 21:12:46 Z2009-10-13T21:12:47Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/86859379-b762-4388-8481-51e813c8b2a3http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/86859379-b762-4388-8481-51e813c8b2a3Jigs Patelhttp://social.microsoft.com/Profile/en-US/?user=Jigs%20PatelCreateProcessAsUserDear Friends,<br /><br />I want to start&nbsp;one application in User mode from my service exe.<br /><br />I know CreateProcessAsUser will usable in this case but it required parameter like windows User name and password.<br /><br />Practially how it is possible to get(supply) this Windows User name and password? <br /><br />How to make it work?<br /><br />Thanks<br /><br />Jignesh<br />Tue, 13 Oct 2009 06:12:09 Z2009-10-13T06:12:10Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/a18eafd1-82f1-46e8-a323-7feefb5cce29http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/a18eafd1-82f1-46e8-a323-7feefb5cce29Jigs Patelhttp://social.microsoft.com/Profile/en-US/?user=Jigs%20Patel AccessibleObjectFromPoint Dear All, <br /> <p>I had small VC++ 6.0 MFC based application which does call a below <br /> function in timer of 1 second. <br /> The function gets data under mouse</p> <p>Problem: <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I am having memory leakage with this function. if i <br /> comment out this function calling then there is no leakage.</p> <p>------------------------------------------------------------------------------------------------------------------- <br /> bool CTextUnderMouse::GetTextUnderMouse(CString&amp; sName,CString&amp; <br /> sValue,CString&amp; sRole,CString&amp; sExeName) <br /> { <br /> &nbsp; &nbsp; &nbsp; &nbsp;CPoint CursorPos; <br /> &nbsp; &nbsp; &nbsp; &nbsp;GetCursorPos(&amp;CursorPos); <br /> &nbsp; &nbsp; &nbsp; &nbsp;IAccessiblePtr pIAcc; <br /> &nbsp; &nbsp; &nbsp; &nbsp;_variant_t vt,vtValue;</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;if (SUCCEEDED(<strong style="color: black; background-color: #ffff66;">AccessibleObjectFromPoint</strong> (CursorPos,&amp;pIAcc,&amp;vt))) <br /> &nbsp; &nbsp; &nbsp; &nbsp;{</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sName.Empty(); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BSTR pName = NULL; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if ( SUCCEEDED( pIAcc-&gt;get_accName(vt, &amp;pName))) <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (pName &amp;&amp; ::SysStringLen(pName)) <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sName = pName; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;} <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::SysFreeString(pName); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;vt.Clear(); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sValue.Empty(); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BSTR pValue = NULL; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (SUCCEEDED( pIAcc-&gt;get_accValue(vtValue,&amp;pValue))) <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (pValue &amp;&amp; ::SysStringLen(pValue)) <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sValue += pValue; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::SysFreeString(pValue); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;vtValue.Clear();</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VARIANT vChild; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;vChild.vt = VT_I4; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;vChild.lVal = CHILDID_SELF; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VARIANT vResult; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DWORD dwRoleID; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (SUCCEEDED( pIAcc-&gt;get_accRole(vChild,&amp;vResult))) <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (vResult.vt == VT_I4) <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dwRoleID = vResult.lVal; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UINT nRoleLength; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CString sRoleString; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nRoleLength = GetRoleText(dwRoleID,NULL, <br /> 0); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LPTSTR lpszRoleString = (LPTSTR)malloc <br /> ((nRoleLength + 1) * sizeof <br /> (TCHAR)); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GetRoleText <br /> (dwRoleID,lpszRoleString,nRoleLength + 1); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sRole = lpszRoleString; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;free(lpszRoleString); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;} <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VariantClear(&amp;vResult);</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VariantClear(&amp;vt); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sExeName.Empty(); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HWND hWnd = NULL; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if ((hWnd = WindowFromPoint(CursorPos)) != NULL) <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DWORD dwProcessID,dwThreadID; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CWnd* pCurrentWnd = CWnd::FromHandle(hWnd); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sExeName = GetWindowModuleName <br /> (pCurrentWnd,dwProcessID,dwThreadID); <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pIAcc-&gt;Release() <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return true; <br /> &nbsp; &nbsp; &nbsp; &nbsp;} <br /> &nbsp; &nbsp; &nbsp; &nbsp;return false;</p> <div class="qt" style="">} <br /> <br /></div> --------------------------------------------------------------------------- <div>---------------------------------------- <br /> <p>Do anyone see problem with this code or somthing is missing in it?</p> <p>If i keep my application running full day and then at end of day if i observer memory usage in task manager then it shows more memory than i started my program.</p> <p>I am not expert in com programming. Please help me to fix this issue.</p> <p>Also i used Application verifier but it does not show me any leakage.</p> <p>&nbsp;</p> <p>I am</p> <p>Regards,</p> <p>Jignesh</p> </div>Sat, 10 Oct 2009 17:57:41 Z2009-10-10T17:57:42Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/d65ae31e-4bd8-4973-9fb9-f857f994be2chttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/d65ae31e-4bd8-4973-9fb9-f857f994be2cJanis Erlihshttp://social.microsoft.com/Profile/en-US/?user=Janis%20ErlihsHow to change the first day of week in calendar (parameters) in reports running in Sharepoint services integrated mode <p>Our customer has 2 servers: <br/>A.Windows 2003 Server Std R2 + SQL Server 2005 Std + Reporting Services; <br/>B.Windows 2003 Server Std R2 + Sharepoint Services 3 + SQL Server 2005 + Reporting Services running in Sharepoint integrated mode.<br/><br/>Problem is that the same report run on server A shows popup calendar (DateTime parameter) with first day of month Monday, however, on server B (in Sharepoint integrated mode) it shows the first day of month Sunday. Regional and language settings on both servers are identical (Latvian).<br/><br/>How to change the first day of month in parameters popup calendar for DateTime type when running reporting services in Sharepoint integrated mode?  </p>Thu, 27 Aug 2009 10:28:02 Z2009-10-09T13:09:41Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/bc2cdcb2-64e1-4aa2-beca-11350427b1e2http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/bc2cdcb2-64e1-4aa2-beca-11350427b1e2Srinivas Prasadhttp://social.microsoft.com/Profile/en-US/?user=Srinivas%20PrasadUsing MSXML Version Independent ProgIDs in Application without redistributing MSXML3<p>Hi,<br/><br/>    I have an application that uses Version Independent MSXML Interfaces. Minimum software requirement of the application are Win2K and above with IE6. Application does not redistribute any version of MSXML. Application assumes that MSXML3 exists on the supported platforms. <br/>    Can anyone please suggest me the scenarios on which that application may get &quot;Automation server can't create object&quot; error. Is there a scenario where MSXML3 is uninstalled from the system?</p>Thu, 01 Oct 2009 05:27:31 Z2009-10-01T05:27:32Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/030dcc87-d127-45fa-8139-f50c31561074http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/030dcc87-d127-45fa-8139-f50c31561074Rinkalhttp://social.microsoft.com/Profile/en-US/?user=RinkalSharePoint 2007 error while creating a siteHi All,<br/><br/>I am getting following error while opening a new SiteCollection in Sharepoint 2007.<br/><br/><span>  <h1>Server Error in '/' Application. <hr size=1> </h1> <h2><em>Value cannot be null.<br/>Parameter name: uriString</em></h2> </span><span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"><strong><span style="font-family:Verdana">Description: </span></strong>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br/><br/><strong><span style="font-family:Verdana">Exception Details: </span></strong>System.ArgumentNullException: Value cannot be null.<br/>Parameter name: uriString<br/><br/><strong><span style="font-family:Verdana">Source Error:</span></strong> <br/><br/> <table border=0 width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><code>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code></td> </tr> </tbody> </table> <br/><strong><span style="font-family:Verdana">Stack Trace:</span></strong> <br/><br/> <table border=0 width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><code> <pre>[ArgumentNullException: Value cannot be null. Parameter name: uriString] System.Uri..ctor(String uriString) +5366438 Microsoft.SharePoint.SPSite..ctor(String requestUrl) +63 Nokia.MOSS.BaseLine.Controls.MainNavigation.RenderControl(HtmlTextWriter writer) +225 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32 System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 Microsoft.SharePoint.Portal.WebControls.WebPartPage.RenderChildren(HtmlTextWriter writer) +62 System.Web.UI.Page.Render(HtmlTextWriter writer) +29 Microsoft.SharePoint.Portal.WebControls.WebPartPage.Render(HtmlTextWriter writer) +83 Microsoft.SharePoint.Portal.WebControls.PersonalWebPartPage.Render(HtmlTextWriter writer) +55 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266 </pre> </code></td> </tr> </tbody> </table> <br/> <hr size=1> <strong><span style="font-family:Verdana">Version Information:</span></strong> Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 <br/><br/><br/>Can anyone suggest what could have been gone wrong with my Sharepoint server ?<br/><br/>Because of this, I am not able to create any new site.<br/><br/>Please help !!</span>Fri, 25 Sep 2009 13:50:33 Z2009-09-25T13:50:34Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/1f81c931-bb5f-4260-a959-675b34f5b91ehttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/1f81c931-bb5f-4260-a959-675b34f5b91eideepakkumarhttp://social.microsoft.com/Profile/en-US/?user=ideepakkumarActive Sync and FIltering p7m attachment<p>Hi Experts,<br/><br/>We have requirement where we want to filter p7m attachments for active sync users only. Exchange level filtering is not possible because its affecting outlook users also.<br/><br/>We are open for any pointers including customized solution to achieve this.<br/><br/>Please let me know if somebody has achieved this before or willing to build application/tool/utility for us.<br/><br/>Thanks for the help.<br/><br/>-DK</p>Fri, 28 Aug 2009 00:09:43 Z2009-08-28T00:09:44Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/797f735d-4186-4567-8943-4aa225700724http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/797f735d-4186-4567-8943-4aa225700724Megaauhttp://social.microsoft.com/Profile/en-US/?user=Megaau0x80020009 ErrorHI,<br/> I am try to Install  ATL COM dll on Vista Machine I am getting this error code and not able to register my dll what is the problem and how can i resolve it?.<br/> ThanksWed, 19 Aug 2009 07:22:49 Z2009-08-19T12:26:32Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/0e5e5879-5e84-4677-8aaf-e0b3b7107095http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/0e5e5879-5e84-4677-8aaf-e0b3b7107095AnupamRoxhttp://social.microsoft.com/Profile/en-US/?user=AnupamRoxcannot use the install sheild wizard in visual studio 2002I want to khow that how a VStudio project can be changed to an installing software type program using the install sheild wizzzard in Visual studio 6 &amp; 2002? <br/><br/>And how the *.cpp &amp;*.h files can be changed to *.dll files? Wed, 03 Jun 2009 06:46:20 Z2009-08-14T07:06:33Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/2bf9be6e-a1df-49c7-8770-ae0a27bc1c00http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/2bf9be6e-a1df-49c7-8770-ae0a27bc1c00rohit1985http://social.microsoft.com/Profile/en-US/?user=rohit1985Task managers processes(plzz help!!!)I have a few questions. How does task manager calculates performance of processes??how to we get performance curves?? Is that possible to improve the performance of a process for example reducing its CPU usage and increasing speed of its execution; if yes please tell me about it. I tried to google it and tried to search a lot but unfortunately could not find any good results. I also searched in msdn Library and there also i did not find some considerable results. The only thing I found was in &quot;Adminstrativ tool &gt; performance&quot; but I am not sure if it the right thing .It would be really appreciated if you can contribute something and throw some light on this topic. Thanking in advance. looking forward to a solution for these questions.<br/>Thu, 13 Aug 2009 08:09:24 Z2009-08-13T08:09:27Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/fb0d0756-9e00-4d0f-bc10-c00dacad34eahttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/fb0d0756-9e00-4d0f-bc10-c00dacad34eaMehul Trivedihttp://social.microsoft.com/Profile/en-US/?user=Mehul%20TrivediWhat are the possible ways to fully customize SharePoint forms? <p class=MsoNormal style="margin:0in 0in 10pt"><strong style=""><span style="font-size:small"><span style="font-family:Calibri">Hi there,</span></span></strong></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small;font-family:Calibri">Right now am developing Leave management application with SharePoint, I am facing problem in customization of SharePoint forms. </span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small;font-family:Calibri">Example 1: I wanted to do client side /server side validations like “from date” should be lesser than “to date”, </span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small;font-family:Calibri">Example 2: I want to render controls on check box value changed event. Can anyone guide me to achieve following customization.</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><strong style=""><span style="font-size:small"><span style="font-family:Calibri">Customizations are:</span></span></strong></p> <p class=MsoListParagraphCxSpFirst style="margin:0in 0in 0pt 0.5in;text-indent:-0.25in"><span style="font-family:Symbol"><span style=""><span style="font-size:small">·</span><span style="font:7pt &quot;Times New Roman&quot;">         </span></span></span><span style="font-size:small;font-family:Calibri">Client side Validation on values of form.</span></p> <p class=MsoListParagraphCxSpMiddle style="margin:0in 0in 0pt 0.5in;text-indent:-0.25in"><span style="font-family:Symbol"><span style=""><span style="font-size:small">·</span><span style="font:7pt &quot;Times New Roman&quot;">         </span></span></span><span style="font-size:small;font-family:Calibri">Business logic should execute on click of Save button.</span></p> <p class=MsoListParagraphCxSpLast style="margin:0in 0in 10pt 0.5in;text-indent:-0.25in"><span style="font-family:Symbol"><span style=""><span style="font-size:small">·</span><span style="font:7pt &quot;Times New Roman&quot;">         </span></span></span><span style="font-size:small;font-family:Calibri">Form controls rendering on the basis of form control state change, current logged in user’s roles &amp; data base conditions.</span></p> <p class=MsoNormal style="margin:0in 0in 10pt 0.25in"><span style="font-size:small;font-family:Calibri">Presently for doing such tasks, I have switched to pure ASPX pages integrated with SharePoint. Whereas, I would like to achieve these things in SharePoint forms instead of custom ASPX pages. </span></p> <span style="font-size:11pt;line-height:115%;font-family:'Calibri','sans-serif'">Any pointers on this will be very helpful.</span>Mon, 13 Jul 2009 15:46:27 Z2009-08-12T10:23:34Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/ddd47f6d-e62e-48d6-9338-dcc27e772a52http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/ddd47f6d-e62e-48d6-9338-dcc27e772a52Nuria666http://social.microsoft.com/Profile/en-US/?user=Nuria666RtpSource problems in a custom application<p>Hi</p> <p>We're testing the class 'DShowNetworkFiltersForm', included in one of the Conference XP sample projects.<br>We get an error calling this class from a custom application at the following instruction</p> <p>iGB.Render(Filter.GetPin(rtpSource, _PinDirection.PINDIR_OUTPUT, Guid.Empty, Guid.Empty, false, 0));<br>on the method 'CreateReceivingGraph()'.</p> <p>When this occurs, the application stops and the video is not showed.</p> <p>The reason seems to be that the 'rtpSource' param (see the call below) is an instance of 'MSR.LST.MDShow.Filters.RtpSourceClass'</p> <p>However, when executing the sample included in the project, this param is an instance of 'System.__ComObject'.</p> <p>Could this be the reason of the error? In that case, how can it be solved?<br></p> <p>Thanks</p>Thu, 15 Mar 2007 12:01:56 Z2009-08-12T06:58:14Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/64994851-8b4d-4c65-b6cb-15e8d97a67dfhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/64994851-8b4d-4c65-b6cb-15e8d97a67dfsravan_198666http://social.microsoft.com/Profile/en-US/?user=sravan_198666how to retrive xp key?how to retrive the lost xp keyTue, 04 Aug 2009 18:39:04 Z2009-08-04T18:39:05Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/d23ca7a0-6470-41ac-9343-196587c26d5fhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/d23ca7a0-6470-41ac-9343-196587c26d5fhari_rajhttp://social.microsoft.com/Profile/en-US/?user=hari_rajvbdears,<br/><br/>how to create back up for databases every week automatically?<br/><br/>pls do respond........<br/><br/>by<br/><br/>hari.....Mon, 25 May 2009 18:14:31 Z2009-07-23T20:12:40Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/ace4506f-db8e-4d03-93a7-d1927df4f7a8http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/ace4506f-db8e-4d03-93a7-d1927df4f7a8Jordan Hermanthttp://social.microsoft.com/Profile/en-US/?user=Jordan%20HermantVideoCompressor issues with DShowNetworkFilters samplehi, i'm trying to change the video compressor to throw data ont the network(it's for a video conferencing application in .NET).<br/> <br/> By default the &quot;WMVideo 8 Encoder DMO&quot; is used but i need better compression (My Core2Duo is used at 60% with this codec)<br/> <br/> I would prefer use the &quot;Microsoft H.263 Video Codec&quot; but the addCompressor function give me an exception.<br/> <br/> there is my snippet code to add the codec.<br/> <br/> <pre lang="x-c#">vcg = new VideoCaptureGraph((FilterInfo)cklbCameras.SelectedItem); FilterInfo mycodecfilter = new FilterInfo(); FilterInfo[] fis = VideoCompressor.Compressors; foreach (FilterInfo f in fis) { if (f.Name == &quot;Microsoft H.263 Video Codec&quot;) mycodecfilter = f; } vcg.AddCompressor(mfi); vcg.RenderNetwork(rtpSender); vcg.Run(); // Send data to network</pre> And there is the Exception stack :<br/> <br/> Exception type : ComException<br/> Exception message : HRESULT : 0x80040217<br/> StackTrace:<br/>    à MSR.LST.MDShow.IGraphBuilder.Connect(IPin ppinOut, IPin ppinIn)<br/>    à MSR.LST.MDShow.CaptureGraph.AddCompressor(FilterInfo fiCompressor) dans C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\MSR.LST.MDShow\MDShowManager\Graphs.cs:ligne 239<br/>    à DShowNetwork.DShowNetworkFiltersForm.cklbCameras_ItemCheck(Object sender, ItemCheckEventArgs e) dans C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\MSR.LST.MDShow\Samples\NetworkFilters\DShowNetworkFiltersForm.cs:ligne 224<br/>    à System.Windows.Forms.CheckedListBox.OnItemCheck(ItemCheckEventArgs ice)<br/>    à System.Windows.Forms.CheckedListBox.LbnSelChange()<br/>    à System.Windows.Forms.CheckedListBox.WmReflectCommand(Message&amp; m)<br/>    à System.Windows.Forms.ListBox.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.CheckedListBox.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)<br/>    à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br/>    à System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)<br/>    à System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)<br/>    à System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message&amp; m)<br/>    à System.Windows.Forms.Control.WmCommand(Message&amp; m)<br/>    à System.Windows.Forms.Control.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.ContainerControl.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.Form.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)<br/>    à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br/>    à System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)<br/>    à System.Windows.Forms.NativeWindow.DefWndProc(Message&amp; m)<br/>    à System.Windows.Forms.Control.DefWndProc(Message&amp; m)<br/>    à System.Windows.Forms.Control.WmMouseDown(Message&amp; m, MouseButtons button, Int32 clicks)<br/>    à System.Windows.Forms.Control.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.ListBox.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.CheckedListBox.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)<br/>    à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)<br/>    à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br/>    à System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; msg)<br/>    à System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)<br/>    à System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)<br/>    à System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)<br/>    à System.Windows.Forms.Application.Run(Form mainForm)<br/>    à DShowNetwork.DShowNetworkFiltersForm.Main() dans C:\Program Files\Microsoft Research\ConferenceXP\Source Code\October2006\MSR.LST.MDShow\Samples\NetworkFilters\DShowNetworkFiltersForm.cs:ligne 38<br/> <br/> any help will be great ;)<br/> I precise that i've tested another like &quot;Microsoft H.261 Video Codec&quot; and a lot of another codec but i've always this exception<br/> I've Windows Media Player 11 and all my codec seems to be up-to-date.<br/>Thu, 23 Jul 2009 12:23:22 Z2009-07-23T12:23:23Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/3c1823e6-f3a0-4d4b-bec7-9b831212dfd3http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/3c1823e6-f3a0-4d4b-bec7-9b831212dfd3Poothapandian Subramanianhttp://social.microsoft.com/Profile/en-US/?user=Poothapandian%20SubramanianHow do show Heading Text in Designer surface area in Domain specific language Tool?How do show Heading Text  in Designer surface area  in Domain specific language Tool...?<br/>Is there any Possibilities ? Pls help me any oneWed, 01 Apr 2009 04:55:57 Z2009-07-09T08:25:43Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/70a3673f-6aec-4640-96dc-bf54ad0c6230http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/70a3673f-6aec-4640-96dc-bf54ad0c6230newmsuserhttp://social.microsoft.com/Profile/en-US/?user=newmsuserWord processing in Linux<p>In our organization,we are using Documentum tool (installed on windows server) to upload and maintain all kinds of documents.<br/>We have a requirement to process MS word documents as a part of our workflow process.Recently we migrated to Linux where MS word cannot be installed or supported.Are there any plugins or components that can be installed on Linux to acheive MS word processing?Can anyone please suggest a way out for this.</p>Thu, 09 Jul 2009 06:22:31 Z2009-07-09T06:22:31Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/229c5586-40d1-491e-a1b1-8743214d4225http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/229c5586-40d1-491e-a1b1-8743214d4225Gaurang Singhhttp://social.microsoft.com/Profile/en-US/?user=Gaurang%20SinghHow to insert multiple rows in one single operationHi  ,<br/><br/>I need to insert/update multiple data set rows in one single operation to Oracle Database.<br/><br/>Regards ,<br/>Gaurang. <br/><br/>Mon, 06 Jul 2009 08:08:36 Z2009-07-06T08:08:36Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/321ea0af-272e-4578-8f71-e0fcf002c3fehttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/321ea0af-272e-4578-8f71-e0fcf002c3fesang_kdhttp://social.microsoft.com/Profile/en-US/?user=sang_kddo we have any config setting in VSTS, where I can run my custom batch file/exe thru VSTS while running test cases?Hi,<br/><br/>I am trying to conver the .trx file to .xml file using xsl to make it more readable. <br/>I have batch file which i am launching thru setup and cleanup configuration of VSTS. This batch file will call that exe which merges xml and xsl in particcular folder and convert it to .xml.<br/>But when i run test cases thru mstest for the first time, my exe is called first as part of cleanup and then the trx file is generated.<br/>Bcos of this i am not able to convert the trx to xml that is more readble format.<br/><br/>Do we have any config setting or is thr any way to launch my exe automatically to convert the generated trx to xml file?<br/><br/>Thanks<br/>SangThu, 25 Jun 2009 10:21:15 Z2009-06-25T10:21:15Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/db28b9e9-578a-45be-8456-f10646bcd67ehttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/db28b9e9-578a-45be-8456-f10646bcd67eBrianGMhttp://social.microsoft.com/Profile/en-US/?user=BrianGMConnect phone number from Contacts to Calendar entriesHi<br/><br/>I am not a developer, but I have an HTC Touch Cruise and I don't go anywhere without it:  Even to bed!!!  The following point could help me make the interface between the Contacts, the Calendar and the telephone function more efficient.<br/><br/>This is the scenario:  I enter a new company in my Contacts and enter a reminder in calendar to call this company tomorrow.  When the reminder is called up I don't want to have to close Calendar, access Contacts, look for the contact and make the call.  <br/><br/>Solution:  Why not have the phone number of the contact already appearing in the Calendar entry: A field with a scrolldown menu showing all the phone numbers (also SMS possibilities) from the Contacts entry of the company.   Press down on the phone number you want to call and the request is automatically passed on to the phone function.<br/><br/>When I want to start a new Calendar entry, in addition to all the other fields there will be a phone number field that will open up for you to search the Contacts to find the contact's entry.  Once the contact is selected, all the phone numbers appear, there will be an option to selected either one phone number or all the numbers or, for that matter, to send an SMS .  <br/><br/>Is it that difficult??  Just food for thought.  And i want Microsoft to be way over the other operating systems.<br/><br/>Thanks<br/><br/>BrianTue, 23 Jun 2009 18:46:04 Z2009-06-23T18:46:04Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/a1b3dab1-d4d6-4532-96f2-0e78757c4534http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/a1b3dab1-d4d6-4532-96f2-0e78757c4534david.tachttp://social.microsoft.com/Profile/en-US/?user=david.tacMC.exe and EventViewer - missing linkHi,<br/>I used MC.exe compiled messages files *.mc. Then I used ReportEvent to log event messages. But when I use EventViewer, I had trouble to show Description of the event. How to link Description with the message in the message file together? <br/>Thank you,<br/>david.tac<br/>Fri, 05 Jun 2009 14:39:14 Z2009-06-05T14:39:15Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/269a9bd8-63d4-441e-957d-2954853d45f7http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/269a9bd8-63d4-441e-957d-2954853d45f7VarunKhttp://social.microsoft.com/Profile/en-US/?user=VarunK Patched binaries modification date changes according to different TimeZoneI am using msimsp to create a patch but How can i create a patch such that Patched binaries's modification date changes according to different TimeZone? What properties i need to set to in the pcp file or .wxs file?Thu, 04 Jun 2009 13:01:19 Z2009-06-04T13:01:19Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/421294c6-2139-4a54-b835-dfd2f0e18df7http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/421294c6-2139-4a54-b835-dfd2f0e18df7VarunKhttp://social.microsoft.com/Profile/en-US/?user=VarunKImpact of attribute "IncludeWholeFilesOnly =no" on signed assemblies<p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">I am creating a Patch using a wxs file and setting attribute “IncludeWholeFilesOnly =no” in the “PatchCreation” tag.</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:Calibri"><span style="font-size:small">The patch replaces the Unsigned assembly while it is unable to replace the “Signed assemblies”. <br/></span> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-size:small">Is Binary Diffing (Setting “IncludeWholeFilesOnly” to 0 ) is a good way of patching?</span></p> </span></p>Thu, 04 Jun 2009 12:54:18 Z2009-06-04T12:54:19Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/bb5a1f4b-fd35-43e7-b981-ec791d4809b1http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/bb5a1f4b-fd35-43e7-b981-ec791d4809b1tristone xhttp://social.microsoft.com/Profile/en-US/?user=tristone%20xI get an error PRJ0003 : Error spawning 'midl.exe'I have got an error PRJ0003 : Error spawning 'midl.exe' when trying to build CxpRtpFilters project in AudioVideo.sln(27613) with VS 2008 IDE.<br/><br/>Does anyone have an idea on this?<br/>Thanks for your help.<br/><br/>BTW: I have installed <a class="external text" title="http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&amp;displaylang=en" rel=nofollow href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&amp;displaylang=en">Microsoft SDK for Windows Server 2008</a> and  <a class="external text" title="http://www.microsoft.com/downloads/details.aspx?familyid=B46D4B83-A821-40BC-AA85-C9EE3D6E9699&amp;displaylang=en" rel=nofollow href="http://www.microsoft.com/downloads/details.aspx?familyid=B46D4B83-A821-40BC-AA85-C9EE3D6E9699&amp;displaylang=en">Tablet PC SDK 1.7</a>. and also copied several Merge modules (*.msm) from the SDK directories to c:\Program Files\Common Files\Merge Modules. <br/> Wed, 03 Jun 2009 14:53:10 Z2009-06-03T14:53:11Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/4e16e349-66b2-4146-9ad7-f7c95a873ae1http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/4e16e349-66b2-4146-9ad7-f7c95a873ae1anasanjariahttp://social.microsoft.com/Profile/en-US/?user=anasanjariafile sharing in Lan messenger've project in C# .... Lan Messenger..... i want to find how file sharing is done in Lan Messenger ... i mean procedure .... i have read the links provided by msdn but i haven't got my point... further i read the article in msdn in which udp is  recommended in lan application ... is there any particular reazon?  <div>as usp is not reliable....</div> <div>also can any1 give a breif discriptin of tcp &amp; udp? whats da diffence &amp; which protocol help me in my project?</div>Mon, 25 May 2009 18:39:14 Z2009-06-30T14:41:40Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/ca345115-d3eb-4796-af27-20188cfc0b71http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/ca345115-d3eb-4796-af27-20188cfc0b71newbievnnhttp://social.microsoft.com/Profile/en-US/?user=newbievnnHow can i use another video/audio compressor for ConferenceXP?I found that conferenceXP use WMVideo9 Encoder DMO for video and Window Audio Type V2 for audio. Can i use another compressor such as H264?<br/> How aboutl H323?Mon, 25 May 2009 16:44:00 Z2009-05-25T16:44:00Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/9ea28b7b-3d9b-40dc-903e-8b0c5cd38a59http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/9ea28b7b-3d9b-40dc-903e-8b0c5cd38a59Balhatohttp://social.microsoft.com/Profile/en-US/?user=BalhatoUsing VS2003 with VS2008 Team Foundation Server?Hi every body,<br/>can we use the VS2003 with VS2008 Team Foundation Server to Manage the source code, because i have a solution with .Net 1.1 and the VS2008 does not support project with .Net 1.1 (Only 2.0, 3.0 and 3.5).<br/>Thx for Help.Thu, 21 May 2009 08:56:16 Z2009-05-21T08:56:17Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/cbc71d62-c69f-4a6a-a50a-89cfd1b55c50http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/cbc71d62-c69f-4a6a-a50a-89cfd1b55c50赵文干http://social.microsoft.com/Profile/en-US/?user=%u8d75%u6587%u5e72Point to the proposed windows 7 <div class=Section0 style="layout-grid:15.6pt none"> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt"> Microsoft Corporation: </span><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt"> The development of your company windows 7, I have recently used, regardless of interface or from the performance are satisfactory, in my view, this is your company from the win98 one of the most successful operating system, the only shortage is that the Internet when , download the temporary files, caches too deeply, than win98 and win2000 are much deeper, have also not bad, but now many web pages do not clean often met Trojans or viruses, there are a lot of time the need for manual processing, hiding was too deep, not as good as the original deal with win98 and win2000 convenience. Can improve in this area for the convenience of users. </span><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt"> </span><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt">                         Sichuan, China in Shehong County Taihe first school</span><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt">  </span><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt">                                                   user:    zhaowengan</span><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt">                                  </span><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt"></span></p> <p class=p0 style="margin-top:0pt;margin-bottom:0pt"><span style="font-family:'宋体';font-size:10.5pt">                                                                          2009.5.19</span><span style="font-family:'宋体';font-size:10.5pt"></span></p> </div> Tue, 19 May 2009 00:55:46 Z2009-05-19T00:55:46Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/54c183fa-b89c-4f34-a91a-1f111d336d96http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/54c183fa-b89c-4f34-a91a-1f111d336d96Beekhttp://social.microsoft.com/Profile/en-US/?user=BeekRenderNetwork()<p><font size=2>Hi,</font></p> <p><font size=2></font> </p> <p><font size=2>I am trying to write simple audio chat, and it is going to be very unstable. I have a</font></p> <p><font size=2>method in a class called EnableAudio(RtpSender). Here is a code:</font></p> <p>...</p><font size=2> <p>Call RegisterCxpRtpFilters(); (somewhere)</p> <p>...</p> <p>// Creating sender</p><font size=2> <p>rtpAudioSender = rtpSession.CreateRtpSender(room.streamName, </font><font color="#008080" size=2>PayloadType</font><font size=2>.dynamicAudio, </font><font color="#0000ff" size=2>null</font><font size=2>);</p> <p>am.EnableAudio(rtpAudioSender); // am - helper class</p></font> <p>...</p> <p>EnableAudio(rtpSender)<br>  {</p> <p></font><font color="#008080" size=2>       RtpSender</font><font size=2> rtpSender = ((</font><font color="#008080" size=2>AudioEventArgs</font><font size=2>)ea).rtpSender;</p> <p>       acg = </font><font color="#0000ff" size=2>new</font><font size=2> </font><font color="#008080" size=2>AudioCaptureGraph</font><font size=2>(audioSources[sourceIndex]);</p> <p>       acg.RenderNetwork(rtpSender);</p> <p>       acg.Run();</p> <p>}</p> <p> </p> <p>The method sometimes works properly and sometimes fails with this message:</p> <p>Unhandled Exception: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {CC7CE9F7-0927-4BE6-84E7-305C4E45D3E1 - RtpRenderer} failed due to the following error: 80040154.</p> <p> </p> <p>I tried to call RegisterCxpRtpFilters() every time the method was invoked. It helped, but when I ran another instance of my program (at the same time) I got the message.</p> <p> </p> <p>Does anyone know what's the problem in?</p> <p> </p> <p>Thanks</p> <p> </p> <p>Sorry for my Englih</font></p>Mon, 14 May 2007 20:51:10 Z2009-05-18T02:35:18Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/8bd64a0b-920a-45f8-a07a-a2ebcb828fc2http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/8bd64a0b-920a-45f8-a07a-a2ebcb828fc2mahesh.kumarhttp://social.microsoft.com/Profile/en-US/?user=mahesh.kumarintegrating 'Microsoft office project' Dcom with asp.net‏Hi,<br/><br/>I developed a webservice which integrates with Microsoft office project for reading the tasks and resources inside it with the help of the DCOM 'Microsfot project basic'. It works fine when i hosted it in IIS in XP but having the issue while hosting in IIS windows server 2003. I am getting the following error when i open the file and i resolved by restarting the server after giving enough permission in DCOM security but it was avail only for the first time, when i tested it for the second time that  shows me the same error in the below line. <br/><br/>Private gobjProjectInstance1 As Microsoft.Office.Interop.MSProject.Application gobjProjectInstance1 = New Microsoft.Office.Interop.MSProject.ApplicationgobjProjectInstance.FileOpen(FileName)<br/><br/> ---<br/>Given below the error, Kinldy help me out in this.<br/><br/>System.Runtime.InteropServices.COMException: Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))<br/>   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp; msgData)<br/>   at Microsoft.Office.Interop.MSProject.ApplicationClass.Quit(PjSaveType SaveChanges)<br/>   at Service.CheckProject(String projectID) in C:\vcclient\App_Code\Service.vb:line 41 --<br/>Sun, 17 May 2009 11:13:01 Z2009-05-17T11:13:02Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/b44853b5-930d-43cd-9253-a3992ed598b5http://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/b44853b5-930d-43cd-9253-a3992ed598b5mahesh.kumarhttp://social.microsoft.com/Profile/en-US/?user=mahesh.kumarintegrating 'Microsoft office project' Dcom with asp.netHi,<br/><br/>I developed a webservice which integrates with Microsoft office project for reading the tasks and resources inside it with the help of the DCOM 'Microsfot project basic'. It works fine when i hosted it in IIS in XP but having the issue while hosting in IIS windows server 2003. I am getting the following error when i open the file and i resolved by restarting the server after giving enough permission in DCOM security but it was avail only for the first time, when i tested it for the second time that  shows me the same error in the below line. <br/><br/>Private gobjProjectInstance1 As Microsoft.Office.Interop.MSProject.Application gobjProjectInstance1 = New Microsoft.Office.Interop.MSProject.ApplicationgobjProjectInstance.FileOpen(FileName)<br/><br/> ---<br/>Given below the error, Kinldy help me out in this.<br/><br/>System.Runtime.InteropServices.COMException: Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))<br/>   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp; msgData)<br/>   at Microsoft.Office.Interop.MSProject.ApplicationClass.Quit(PjSaveType SaveChanges)<br/>   at Service.CheckProject(String projectID) in C:\vcclient\App_Code\Service.vb:line 41 --<br/>Sun, 17 May 2009 10:20:26 Z2009-05-17T10:20:26Zhttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/9a49620d-2dac-4405-9515-482c9f089cbchttp://social.microsoft.com/Forums/en-US/msrdeveloperdiscussions/thread/9a49620d-2dac-4405-9515-482c9f089cbcpriyanka_aghttp://social.microsoft.com/Profile/en-US/?user=priyanka_agGetting exception of constraint voilation on merging two dataSets<p>Hi,<br/>I am trying merge two typed DataSets DS1 and DS2 with same schema and also each table has a primary key defined. Two of the tables T1,T2 in DS2 contains some new rows and some rows similar to that in corresponding tables of DS1; and also one of the table T3 contains exactly same data in both the dataSets. When I tried <br/><br/>DS1.Merge(DS2)<br/><br/>I am getting an exception &quot;Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints&quot;. On further verification I came to know that the exception is because of duplicate rows in T1 and T2.The merge operation has inserted these duplicate rows in DS1 and because of primary key i got the exception. On the other hand T3 with all data similar in DS1 &amp; DS2 merge worked fine without any duplicacy of data.<br/>I also tried to merge each individual table, like <br/><br/>DS1.T1.Merge(DS2.T1)<br/><br/>then i didn't get any exception.<br/>Can someone please tell me what can be the reason for this exception? Whats the difference when in merging two datasets and merging two tables? Is it that I need to merge each table individually rather than merging the dataSets?<br/><br/>Thanks,<br/>Priyanka</p>Fri, 15 May 2009 12:00:34 Z2009-05-15T12:00:46Z