Achieving Interoperability through Standards (Archived) ForumAsk questions about technology standardization and standards implementation.© 2009 Microsoft Corporation. All rights reserved.Wed, 18 Mar 2009 19:47:53 Z4353b7a4-f09f-4d5a-b946-d6cdd6dd0e3chttp://social.microsoft.com/Forums/en-US/interopstandards/thread/718a3602-8b97-4ce8-9191-e3d820c9422ahttp://social.microsoft.com/Forums/en-US/interopstandards/thread/718a3602-8b97-4ce8-9191-e3d820c9422aMoim Hossainhttp://social.microsoft.com/Profile/en-US/?user=Moim%20HossainVB6 ActiveX Control doesn't work while using .NET from the ActiveX control.Folks,<br><br>The scenario I am working currently is as follows:<br><br>I have an ActiveX Control written with VB6 named ABC.OCX, and I want to use a .net class to carry out some tasks that the activeX control needs. So I have written a .net Assembly named MyDotNetAssembly that contains the class MyDotNetClass with it's interface IMyClassInterface. after than, I have checked the build option &quot;Register for COM interop&quot; and used this assembly as a reference assembly form my ActiveX vb project. Than I have created the internet-style CAB file using the &quot;Setup and deployment wizard&quot; of VB6, and the generated output directory contains a sample HTML file that hosts the ActiveX and when I run this HTML form browser it works!!.<br><br>I have then used the ActiveX control inside my ASP.net application's page (using the regular object tag inside html) and it works fine onto the development box.<br><br>So far so good. <br><br>Now, as soon as I try to access that page from outside of Development box, it doesn't render the activeX control at all. No error.....nothing!!! During the first hit, it asked me to install the active X, and I have installed that nice. I have made the web site as a trusted site in my VISTA machine. but it doesn't render anything for that activeX neither shows any errors..?<br><br>Can anyone guess anything..? I would greatly appreciate any helps.<hr class="sig">Doing stuff with .netMon, 16 Mar 2009 12:03:48 Z2009-03-18T15:40:27Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/b4baef10-eec6-483f-a6d6-b64baeeadb54http://social.microsoft.com/Forums/en-US/interopstandards/thread/b4baef10-eec6-483f-a6d6-b64baeeadb54Joseph Ghassanhttp://social.microsoft.com/Profile/en-US/?user=Joseph%20GhassanCrystal Reports 2008 using .NET 3.5 issue<span class=Apple-style-span style="font-size:11px">Hello,<br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">I have ceated my custom Crystal reports using a composite control where I create dynamically my ReportViewer and ReportDocument and feed it with data.<br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Before upgrading to .NET 3.5 everything worked fine.<br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">When I upgraded to VS 2008 / .NET 3.5 the reports load the first time correctly, but when I click on one of the node in the left tree ( Grouping by date for example) I should wait like 20 seconds to get the response.<br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">I don't know the cause of this delay. I debugged the code and found that After I load the report to the Viewer in the page Load event, it takes like 20 seconds to jump to the Unload event of the page.<br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">This only happens when I click one of these nodes in the tree.<br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Any suggestions?</span> Tue, 27 Jan 2009 15:01:30 Z2009-01-27T19:17:10Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/78936067-e5a1-4033-950b-26d011697463http://social.microsoft.com/Forums/en-US/interopstandards/thread/78936067-e5a1-4033-950b-26d011697463Mandrew360http://social.microsoft.com/Profile/en-US/?user=Mandrew360Serial port communication using web site projectHi all,<p> </p><p>  Through windows application i can communicate with serial port. But by web site project i am unable to communicate with serial port. </p><p>Actually through debugging mode, I can see that message come from serial port. </p><p>But when I use Response.write(); method , it shows error...</p><p> </p>please anyone help me to communicate with serial port from my web site...<p> </p><p> </p><p>Thanks in advance..<br></p> Tue, 27 Jan 2009 06:39:23 Z2009-01-27T18:56:48Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/1c2b1f34-eb32-43a4-be5c-73f36eba8e25http://social.microsoft.com/Forums/en-US/interopstandards/thread/1c2b1f34-eb32-43a4-be5c-73f36eba8e25Nathan Funkhttp://social.microsoft.com/Profile/en-US/?user=Nathan%20FunkManually adding Find Results entries<div>For a product based on the VS shell, I'm planning to implement my own find/replace functionality rather than relying on the VS framework. But if possible I would like to use the Find Results pane which the shell already provides. </div><div><br></div><div>Three years ago this question was asked and someone stated that this functionality might be added in later VSX editions. </div><div><br></div><a href="http://social.microsoft.com/Forums/en-US/vsx/thread/01035412-26f1-4f71-8de1-9016de4e2ecb">http://social.microsoft.com/Forums/en-US/vsx/thread/01035412-26f1-4f71-8de1-9016de4e2ecb</a> <div><br></div><div>Is this functionality available in the 2008 VS SDK? I haven't seen any related documentation, so I'm suspecting not...</div><div><br></div><div>Thanks,</div><div><br></div><div>Nathan</div>Mon, 26 Jan 2009 23:10:23 Z2009-01-27T18:46:05Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/54e17250-df04-4923-9ad7-33bdcb1b87aahttp://social.microsoft.com/Forums/en-US/interopstandards/thread/54e17250-df04-4923-9ad7-33bdcb1b87aaBoštjan Cvelbarhttp://social.microsoft.com/Profile/en-US/?user=Bo%u0161tjan%20CvelbarRemote registry problem<p>Greetings!</p> <p>I have a small problem, or should say big, because if've been googlin it for past 6hours.</p> <p>I want to use one software GFI Languard which scans the entire network of the computers in a domain to see the list of software that we have in company, but I have problems to connect to several computers.</p> <p>I'm using a domain administrator password and some computers are able to show me the results, but others don't. The error that appears is, that they have problem connecting to the REMOTE REGISTRY, but what is strange, that all of them have this service (remote registery) started automatic. </p> <p>Uncle Google said, that users must have in registry key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SecurePipeServers\Winreg set permissions right -&gt; Administrators full control, and Local service read control. </p> <p>I have checked it, and the computer that shows me the result has the same settings as the computer that saids he can't connect to remote registry.</p> <p>Also I found out if log on to the computer that doesn't want to connect to remote registry, and if I go under CONTROL PANEL --&gt; user accounts, and ADD there a domain administrator DOMAIN\Administor to be a local administrator, suddenly it shows me the results with GFI Languard. But I would need a different solutions, because I can't log in on every computer (we have more then 200 computers) and add this domain administrator to be local administrator. I thought that domain administrator is &quot;a king&quot; and that he is able to do anything on all the computers in the same domain. Soo please help me, how to solve and determine why some computers allow to connect to remote registry and others don't, but they have both this service on.</p> <p> </p> <p>Thank u</p> <p> </p> <p> </p><hr class="sig">bostjan - halcom d.d.Mon, 26 Jan 2009 22:46:13 Z2009-01-27T18:39:37Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/f9a5e934-00f1-469f-91c9-ad9d3c6ff4c3http://social.microsoft.com/Forums/en-US/interopstandards/thread/f9a5e934-00f1-469f-91c9-ad9d3c6ff4c3RobertRFreemanhttp://social.microsoft.com/Profile/en-US/?user=RobertRFreemanstsadm createssp Provisioning Failed provisioning failed:  user does not have permission to perform this action <p>We are on the last step of the <a href="http://technet.microsoft.com/en-us/library/cc262869.aspx">Deploy using DBA created databases</a> document in an environment where we do not have dbcreator or securityadmin on the SQL server.  We encounter the message above after about 10 minutes of waiting for the createssp command to complete at the command prompt.<br>Environment is Win Server 2003 x64 SP 2 (In a 2 server deployment w/ Central admin installed on both servers, 1 as Index, and 1 as Query)<br>w/SQL 2005 x64 SP 2<br>MOSS 2007 w/ SP1 (latest MSDN combined version)<br>.Net 3.5</p> <p>The result is that the SSP admin interfacece is created, but there is a red x on the central admin screen next to the shared service provider name along with the error message above (the MySites, SSP App, and Portal site are all listed under it).  In addition when accessing Search Settings, the following error is displayed:  The seach application is not provisioned because a Shared Service Provider has not been created.</p> <p>We followed the document to the T, and have provided access to the appropriate accounts to the databases as instructed.</p> <p>When running a SQL trace, we noticed the same error message happens on the following command:<br><font face=Arial>exec sp_executesql N'declare @user_name sysname select @user_name = SUSER_SNAME(@sid) if (@user_name is not null) exec<b> </b><b><font color="#ff0000">sp_grantlogin</font></b></font> <font face=Arial>@user_name declare @db_user_name sysname select @db_user_name = name from sysusers where sid = @sid if (@db_user_name is null and @user_name is not null) exec sp_grantdbaccess @user_name, @db_user_name output if not user_id(@db_user_name) in (1,0,3,4) exec sp_addrolemember @role, @db_user_name',N'@sid varbinary(28),@role nvarchar</font></p> <p><font face=Arial>It was executed against the config database by the install account.  sp_grantlogin is the problem here and this runs even though the account has already been added to the database.</font></p> <p>This could be a new bug introduced in the MOSS 2007 SP1 installer when using DBA created databases with minimal permissions.</p><hr class="sig">RobertRFreemanSat, 24 Jan 2009 02:10:48 Z2009-01-27T23:42:10Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/b30d1973-516f-4b82-9148-04586f9e482bhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/b30d1973-516f-4b82-9148-04586f9e482bJassim Rahmahttp://social.microsoft.com/Profile/en-US/?user=Jassim%20Rahmaerror in Micosoft Report Viewer.. please help<p> I am new to Microsoft Report Viewer and trying to a use for the first time. I have just created a blank report in Visual Studio and added a textbox with the valie:</p> <p>=Fields!vehicle_chassis_number.Value</p> <p> </p> <p>In Visual Studio, hee is my Code:</p><font size=2> <p>data_set = </font><font color="#0000ff" size=2><font color="#0000ff" size=2>new</font></font> <font color="#2b91af" size=2><font color="#2b91af" size=2>DataSet</font></font><font size=2>();</p> <p>reportViewer1.ProcessingMode = </font><font color="#2b91af" size=2><font color="#2b91af" size=2>ProcessingMode</font></font><font size=2>.Local;</p> <p></font><font color="#2b91af" size=2><font color="#2b91af" size=2>LocalReport</font></font><font size=2> rep = reportViewer1.LocalReport;</p> <p>rep.ReportPath = </font><font color="#a31515" size=2><font color="#a31515" size=2>@&quot;C:\Users\Jassim\Documents\Visual Studio 2008\Projects\Taajeer\Taajeer\Report1.rdlc&quot;</font></font><font size=2>;</p> <p>sql_connection = </font><font color="#0000ff" size=2><font color="#0000ff" size=2>new</font></font> <font color="#2b91af" size=2><font color="#2b91af" size=2>SqlConnection</font></font><font size=2>(</font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;Data Source=.\\SQLEXPRESS;initial catalog=rent_a_car_company;integrated security=true&quot;</font></font><font size=2>);</p> <p>sql_connection.Open();</p> <p>sql_command = </font><font color="#0000ff" size=2><font color="#0000ff" size=2>new</font></font> <font color="#2b91af" size=2><font color="#2b91af" size=2>SqlCommand</font></font><font size=2>(</font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;sp_get_agreement_by_id&quot;</font></font><font size=2>, sql_connection);</p> <p>sql_command.CommandType = </font><font color="#2b91af" size=2><font color="#2b91af" size=2>CommandType</font></font><font size=2>.StoredProcedure;</p> <p>sql_command.Parameters.Add(</font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;@vehicle_id&quot;</font></font><font size=2>, </font><font color="#2b91af" size=2><font color="#2b91af" size=2>SqlDbType</font></font><font size=2>.Int).Value = 1;</p> <p>sql_adapter = </font><font color="#0000ff" size=2><font color="#0000ff" size=2>new</font></font> <font color="#2b91af" size=2><font color="#2b91af" size=2>SqlDataAdapter</font></font><font size=2>(sql_command);</p> <p>sql_adapter.Fill(data_set);</p> <p>sql_adapter.Dispose();</p> <p></font><font color="#008000" size=2><font color="#008000" size=2>// sql_connection.Close();</p> <p></font></font><font size=2> </p> <p></font><font color="#2b91af" size=2><font color="#2b91af" size=2>ReportDataSource</font></font><font size=2> dsReport = </font><font color="#0000ff" size=2><font color="#0000ff" size=2>new</font></font> <font color="#2b91af" size=2><font color="#2b91af" size=2>ReportDataSource</font></font><font size=2>();</p> <p>dsReport.Name = </font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;Invoice_sprocInvoiceView&quot;</font></font><font size=2>;</p> <p>dsReport.Value = data_set.Tables[</font><font color="#a31515" size=2><font color="#a31515" size=2>&quot;Invoice&quot;</font></font><font size=2>];</p> <p>rep.DataSources.Add(dsReport);</p> <p>reportViewer1.LocalReport.DataSources.Clear();</p> <p>reportViewer1.LocalReport.DataSources.Add(dsReport);</p> <p>reportViewer1.RefreshReport();</p> <p>rep.Refresh(); </p> <p></p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>this</font></font><font size=2>.reportViewer1.RefreshReport();</p></font> <p> </p> <p>but I am getting this error message:</p> <p><strong>Error 1 The Value expression for the textbox ‘textbox3’ refers to the field ‘vehicle_chassis_number’.  Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope. C:\Users\Jassim\Documents\Visual Studio 2008\Projects\Taajeer\Taajeer\Report1.rdlc Taajeer<br></strong></p> <p> </p><hr class="sig">Jassim RahmaFri, 23 Jan 2009 11:43:23 Z2009-01-27T23:39:20Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/22fdc765-2aec-4088-bf60-c65a0336200ahttp://social.microsoft.com/Forums/en-US/interopstandards/thread/22fdc765-2aec-4088-bf60-c65a0336200asneakyfelinehttp://social.microsoft.com/Profile/en-US/?user=sneakyfelineVS2005 Remote Debugger failsOk, another RD issue that I can't seem to fix no matter many of the 'solutions' on the net I've tried. Here is my setup first:<br><br>Local workstation is Windows XP SP2<br>Remote server is Windows 2003 R2 SP2<br>Visual Studio 2005 (code is in C# if that matters)<br>Remote Debug Monitor is running with Windows auth. turned on. <br><br>My workstation is on the company domain (network) and the server is in our test lab (not on the domain). I can VPN to the server, open file shares, etc with no issues using the IP address and logging in as administrator.<br><br>The issue comes in when I try to use the remote debugger to step through some code in a Windows service that is running on the server. When I use 'default' as the transport and this as the qualifier, &quot;xx.xx.xx.xx\Administrator@computername&quot; I receive the following error: &quot;Unable to connect to the MS VS RD Monitor named xx.xx.xx.xx\Administrator@computername. The debugger cannot connect to the remote computer.&quot; <br><br>If I try to connect with the setup (default transport) but using just the IP as the qualifier I get the following error: &quot;Unable to connect to the MS VS RD Monitor named xx.xx.xx.xx. The MS VS RD Monitor does not appear to be running.&quot;. I have verified the monitor is running.<br><br>Now, if I change the RD Monitor to use no auth. and to allow any user to debug and then try to attach with 'Remote' as my transport and the IP as my qualifier I connect and can see the processes, including the one I need to debug. If I go ahead and attach to the service I can not hit breakpoints, &quot;No native symbols in the symbol file&quot;. If I try to manually load the symbol file I get an error saying the files don't match (even though they do).<br><br>I've looked and looked and tried what seems like a thousand things to get this working and nothing seems to have any effect. Please, please can someone point me in the right direction?<br><br>Thanks,<br>Michael<br><br><br><br><br>Wed, 21 Jan 2009 20:04:22 Z2009-01-22T10:39:03Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/3e0d99ed-a7ce-4577-a200-dc5aa9e6fac8http://social.microsoft.com/Forums/en-US/interopstandards/thread/3e0d99ed-a7ce-4577-a200-dc5aa9e6fac8WujekWacekhttp://social.microsoft.com/Profile/en-US/?user=WujekWacekVisual Studio Team System - query results window.Hello.<br>I am working now with TFS and i am wondering if is there any way to use query results tab without connection to tfs.<br>I mean that i want to feed that window with my own custom tasks.<br>Do somebody know how to display that tab and feed it with custom tasks ?Wed, 21 Jan 2009 13:23:34 Z2009-01-21T23:15:18Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/39eba2ff-2a4e-4fb5-be58-e58626f4b58dhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/39eba2ff-2a4e-4fb5-be58-e58626f4b58dMarius Vichttp://social.microsoft.com/Profile/en-US/?user=Marius%20VicMDI , and active Child form passing info and commandsHello,<br><br>I have am opened form 'frmColours' with a timer on it,  I can start the timer from the MDI but the code in the event  timer_tick has no effect at all... it is executed but there is no effect...<br>Can you please tell me why and how can i change the caption of a label or any kind change using mdi or code in the tick event?<br>Thank you<br><br>MDI Code:<br><br><div style="overflow:auto;background-color:white;line-height:100% ! important;font-family:Courier New;font-size:11px"><table style="border-width:0px;margin:2px 0px;width:99%;border-collapse:collapse;background-color:rgb(255, 255, 255)" cellpadding=0 cellspacing=0><col style="border-right:1px solid gray;font-family:Courier New;font-size:11px;background-color:rgb(238, 238, 238);padding-right:5px;padding-left:10px;width:5px;color:gray;text-align:right;vertical-align:top"><col style="font-family:Courier New;font-size:11px;padding-left:10px;white-space:nowrap"><tbody><tr><td><nobr>1</nobr></td><td><font style="font-size:11px">Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton1.Click </font></td></tr><tr><td><nobr>2</nobr></td><td style="background-color:rgb(247, 247, 247)"> </td></tr><tr><td><nobr>3</nobr></td><td>            For Each f As Form In My.Application.OpenForms </td></tr><tr><td><nobr>4</nobr></td><td style="background-color:rgb(247, 247, 247)">                If Not f.InvokeRequired Then </td></tr><tr><td><nobr>5</nobr></td><td>                    Select Case f.Name </td></tr><tr><td><nobr>6</nobr></td><td style="background-color:rgb(247, 247, 247)">                        Case &quot;frmColour&quot; </td></tr><tr><td><nobr>7</nobr></td><td> </td></tr><tr><td><nobr>8</nobr></td><td style="background-color:rgb(247, 247, 247)">                            'f.Controls.Item(&quot;txtSearchDescription&quot;)<font style="color:red">.Text</font><font style="font-size:11px"> = </font><font style="color:blue">&quot;test&quot;</font><font style="font-size:11px"> </font></td></tr><tr><td><nobr>9</nobr></td><td>                            Dim objfrmx As New frmColour </td></tr><tr><td><nobr>10</nobr></td><td style="background-color:rgb(247, 247, 247)">                            <font style="color:red">objfrmx.Timer1.Enabled</font><font style="font-size:11px"> = </font><font style="color:blue">True</font><font style="font-size:11px"> </font></td></tr><tr><td><nobr>11</nobr></td><td>                            <font style="color:red">objfrmx.txtSearchDescription.Text</font><font style="font-size:11px"> = </font><font style="color:blue">&quot;test&quot;</font><font style="font-size:11px"> </font></td></tr><tr><td><nobr>12</nobr></td><td style="background-color:rgb(247, 247, 247)"> </td></tr><tr><td><nobr>13</nobr></td><td>                    End Select </td></tr><tr><td><nobr>14</nobr></td><td style="background-color:rgb(247, 247, 247)">                End If </td></tr><tr><td><nobr>15</nobr></td><td>            Next </td></tr><tr><td><nobr>16</nobr></td><td style="background-color:rgb(247, 247, 247)">  </td></tr><tr><td><nobr>17</nobr></td><td>end sub </td></tr></tbody></table></div><br><br>frmColour Code:<br><br><div style="overflow:auto;background-color:white;line-height:100% ! important;font-family:Courier New;font-size:11px"><table style="border-width:0px;margin:2px 0px;width:99%;border-collapse:collapse;background-color:rgb(255, 255, 255)" cellpadding=0 cellspacing=0><col style="font-family:Courier New;font-size:11px;padding-left:10px;white-space:nowrap"><tbody><tr><td><font style="font-size:11px">    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)      Handles Timer1.Tick </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">        <font style="color:red">btnList.Visible</font><font style="font-size:11px"> = </font><font style="color:blue">True</font><font style="font-size:11px"> </font></td></tr><tr><td>        <font style="color:red">txtSearchDescription.Text</font><font style="font-size:11px"> = </font><font style="color:blue">&quot;test&quot;</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">    End Sub </td></tr></tbody></table></div><br> Thu, 15 Jan 2009 21:39:56 Z2009-01-16T23:46:51Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/5aad3965-5757-4bc5-8d0a-73c5711d3f70http://social.microsoft.com/Forums/en-US/interopstandards/thread/5aad3965-5757-4bc5-8d0a-73c5711d3f70nilashishttp://social.microsoft.com/Profile/en-US/?user=nilashishow to receive command line response from VB.NET?I am using Process.Start(test.exe) to start a command line .exe application. The text.exe program returns some results. How do I parse them and display them in other textboxes in my windows forms?<br><br>thank you,<br>Neil Dey<br><hr class="sig">neilThu, 15 Jan 2009 21:59:51 Z2009-01-16T22:21:03Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/25676be6-18a3-4e8e-8a51-fb6fc347a4aehttp://social.microsoft.com/Forums/en-US/interopstandards/thread/25676be6-18a3-4e8e-8a51-fb6fc347a4aeGeek_Coderhttp://social.microsoft.com/Profile/en-US/?user=Geek_CoderMicrosft.Ink.Load(bytes) Exception thrown (ASP.NET) I created a website.  We stored ink into the database.  I want to retrieve the ink and convert it to an image.  I am having trouble with it.  This is what I did.<br><br><font color="#0000ff" size=2><font color="#0000ff" size=2> <p>byte</font></font><font size=2>[] b = GetTheInkFromDB;</p> <p></font><font color="#0000ff" size=2><font color="#0000ff" size=2>if</font></font><font size=2> (b != null <font size=2>&amp;&amp; b.Length != 0)<br>{<font color="#0000ff" size=2><font color="#0000ff" size=2></p> <p></font></font><font size=2>   Microsoft.Ink.Ink ink = new Ink();<br>  <strong> ink.Load(b);</strong><br>   byte[] gifbytes = ink.Save(PersistenceFormat.Gif, CompressionMode.Maximum);<br>   ink.Dispose();<br>  MemoryStream img_stream = new MemoryStream(gifbytes);<br>  Image img = System.Drawing.Image.FromStream(img_stream);<br>  img_stream.Close();</font><font size=2></p> <p>}<br></p> <p></font><br>However, everytime it goes to ink.Load() an exception is thrown!  It says: &quot;Value does not fall within the expected range.&quot;  I am doing this in asp.net.  I don't know why I am getting this. Thank you guys!<br><br><br> </p></font></font>Thu, 15 Jan 2009 16:19:54 Z2009-01-16T15:48:47Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/16671148-7e6c-4036-b1f1-392fc68d53dbhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/16671148-7e6c-4036-b1f1-392fc68d53dbMatt Majedihttp://social.microsoft.com/Profile/en-US/?user=Matt%20MajediVisual Studio 2008 keep crashing on Vista X64 SP1 - Problem with Web Service Referencing Hi all <br><br>I just installed Vista X64 + SP1 on my new machine, and installed VS 2008 + SP1. I have a descktop application which has a reference to a XML web service, this web service was developed with VS 2005 and Framework 2. My studio just keep crashing every 5 to 10 minutes, and the error message I am getting in Vista 'Problem Reports and Solutions' is:<br><br><b><font color="#0066cc" size=1><font color="#0066cc" size=1> <b><span style="font-size:9pt;color:#0066cc;font-family:'Segoe UI','sans-serif'">Product</span></b> <p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-size:9pt;font-family:'Segoe UI','sans-serif'">Microsoft Visual Studio</span></p> <p style="margin:0cm 0cm 0pt;line-height:normal"><b><span style="font-size:9pt;color:#0066cc;font-family:'Segoe UI','sans-serif'">Problem</span></b> </p> <p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-size:9pt;font-family:'Segoe UI','sans-serif'">Stopped working</span></p> <p style="margin:0cm 0cm 0pt;line-height:normal"><b><span style="font-size:9pt;color:#0066cc;font-family:'Segoe UI','sans-serif'">Date</span></b> </p> <p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-size:9pt;font-family:'Segoe UI','sans-serif'">16/01/2009 10:18</span></p> <p style="margin:0cm 0cm 0pt;line-height:normal"><b><span style="font-size:9pt;color:#0066cc;font-family:'Segoe UI','sans-serif'">Status</span></b> </p> <p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-size:9pt;font-family:'Segoe UI','sans-serif'">Report Sent</span></p> <p style="margin:0cm 0cm 0pt;line-height:normal"><b><span style="font-size:9pt;color:#0066cc;font-family:'Segoe UI','sans-serif'">Problem signature</span></b></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Problem Event Name:      CLR20r3</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Problem Signature 01:     devenv.exe</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Problem Signature 02:     9.0.30729.1</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Problem Signature 03:     488f2b50</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Problem Signature 04:     System.ServiceModel</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Problem Signature 05:     3.0.0.0</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Problem Signature 06:     4858c423</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Problem Signature 07:     5bae</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Problem Signature 08:     4f</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Problem Signature 09:     System.InvalidOperationException</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">OS Version:        6.0.6001.2.1.0.256.1</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">Locale ID:           2057</span></p> <p style="margin:0cm 0cm 0pt;line-height:normal"><b><span style="font-size:9pt;color:#0066cc;font-family:'Segoe UI','sans-serif'">Extra information about the problem</span></b></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;color:black;font-family:'Segoe UI','sans-serif'">LCID:   1033</span></p> <p style="margin:0cm 0cm 0pt 9pt;line-height:normal"><span style="font-size:9pt;font-family:'Segoe UI','sans-serif'">Bucket ID:          354099531</span></p> <p><font style="font-size:12px"></font><font color="#000000"></font><font color="#000000">Obviously there is something wrong in System.ServiceModel which create the reference to the web service, but I cant understand why, because I was working on the same project on XP with no problem.<br></font></font></font></b><b><font size=1><br>any help would be much appreciated.<br></p> <dir></dir></font></b>Fri, 16 Jan 2009 10:42:22 Z2009-01-16T15:32:58Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/c3d81fbb-f3f9-4017-b73b-c461bd1a4d86http://social.microsoft.com/Forums/en-US/interopstandards/thread/c3d81fbb-f3f9-4017-b73b-c461bd1a4d86Alhambra Eidos Desarrollohttp://social.microsoft.com/Profile/en-US/?user=Alhambra%20Eidos%20DesarrolloCould not load file or assembly  <p><br>Hi all,<br>I use Click Once for install an application WinForms VB.NET, that use reference to thrid part component SoftekBarcodeLib.</p> <p>I reference in my project vbproj to SoftekBarcodeLib2.dll. Using Reflector, I know that SoftekBarcodeLib2.dll references Microsoft.VisualC</p> <p>I test in virtual machine VMWARE Windows XP, .NET Framework 3.0 + SP1, and acrobat reader 7.0</p> <p><br>The install of my application is ok, but when I execute application I get the following error: <br>GRUPOBACKUP.Administrador.Pantallas.IndexadoAutomatico.frmIndexadoAutomaticoComun -&gt; bgProcesamientoAutomatico_DoWork.Could not load file or assembly 'SoftekBarcodeLib2, Version=7.1.4.1, Culture=neutral, PublicKeyToken=3c09a6b205d2b618' or one of its dependencies. </p> <p>No se pudo iniciar la aplicación porque su configuración es incorrecta. Reinstalar la aplicación puede solucionar el problema. (Exception from HRESULT: 0x800736B1)<br>(not start application because the configuration not valid. Reinstall the application)</p> <p>In google search, the 0x800736B1 error references to Visual C++, but I dont know more :'( no idea about C++</p> <p>Any suggestions please ? any help will be very grateful !!!</p> <p>thanks<br></p><hr class="sig">http://www.alhambra-eidos.es/web2005/index.htmlFri, 09 Jan 2009 16:37:15 Z2009-01-21T22:52:02Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/7d859d99-2a44-478c-9ae2-2ce41c311299http://social.microsoft.com/Forums/en-US/interopstandards/thread/7d859d99-2a44-478c-9ae2-2ce41c3112992000samhttp://social.microsoft.com/Profile/en-US/?user=2000samplay video on ax shockwave flash tool visual studiohello everybody i need some help, inside my windows form application i use an axShockwaveFlash1 in order to play video from youtube. I have 5 button, each button represent a video. inside the button code i have put: axShockwaveFlash1.Movie = &quot;http://www.youtube.com/v/....&quot;;. When i click on one button it plays the video inside the tool, but when i click another button thereupon it doesn't play the other video.<br>Thu, 08 Jan 2009 20:04:29 Z2009-01-21T22:49:11Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/4dc6a4c0-8f13-4694-810c-459c25ae5378http://social.microsoft.com/Forums/en-US/interopstandards/thread/4dc6a4c0-8f13-4694-810c-459c25ae5378MSquareChttp://social.microsoft.com/Profile/en-US/?user=MSquareCLiveMesh Installs successfully but fails to startI successfully installed LM in 2 machines (Vista 32) and (Vista 64) and it works fine. I installed it successfully in a third machine (Vista 32), but it could never start. <p>Stuck in &quot;Live MEsh currently starting&quot;</p> <p>Then after a while it just says &quot;Failed to start&quot;. Same thing happens again if I click retry. I tried some of the workaround given here and there in these forums to no success. I sent an email to LMPrev with the logs.</p> <p>Thanks for this cool product</p><br><br><br>Wed, 07 Jan 2009 09:12:09 Z2009-01-21T22:46:12Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/2e477eb1-8ecf-493b-979e-7cddcdcd4022http://social.microsoft.com/Forums/en-US/interopstandards/thread/2e477eb1-8ecf-493b-979e-7cddcdcd4022Coder_Coolhttp://social.microsoft.com/Profile/en-US/?user=Coder_CoolData transfer between C# and C++ application ( Running in Same machine) Hi All , <br><br>I need to transfer data between two application one written in C# and Other written in C++ . Both application run in same machine(No server /client communication).   <br><br>For eg ; when i get some information in C# application it should pass those data to C++ application so that C++ application manipulate those data and provide the resultant in C++ Gui application .<br><br>i have seen while googling that for interprocess communication , wm_copydata message , named pipes , COM , sockets are the ways for inter process communication . But for communication between two applciation which is running in same machine which can be applicable . Please help me to proceed in this work . Thanks .<br><br>Please help me in providing some ideas .<br><br>Please help me to proceed with the work.  Thanks in advance<br><br>Thanks. Mon, 05 Jan 2009 13:59:22 Z2009-01-21T22:14:09Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/94d8f167-52db-409b-91e9-0e2024da434fhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/94d8f167-52db-409b-91e9-0e2024da434fPawan Parasharhttp://social.microsoft.com/Profile/en-US/?user=Pawan%20Parasharcoversion of Null to Datetime<p>Hi<br><br>I have a rows in webpage which contain many columns where data type is Datetime. Now the data entered in Webpage is updated to SQL Server. Now I have taken each cell value and stored in a structure. <br><br>If I fill only 1 row, then the other row datetime values are &quot;NULL&quot;. Then there is an expectional that the<strong> Datetime cannot be null</strong>. The promblem if i set the value to Min or Max or Present Time is , I will be updating all 10 rows to database (If there is ALL the fields in row are NULL ,In database the row is not inserted).<br><br>Please let me know how to proceed??? </p><hr class="sig">Pawan ParasharFri, 02 Jan 2009 00:02:20 Z2009-01-06T22:40:42Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/5d650167-52f1-4046-be34-a88ce8b6246ahttp://social.microsoft.com/Forums/en-US/interopstandards/thread/5d650167-52f1-4046-be34-a88ce8b6246abrr404http://social.microsoft.com/Profile/en-US/?user=brr404.NET Framework Initialization Error .dll could not be startedI get this error every time I turn on My pc. I uninstalled .NET framework 1.1 to try to fix My MEDIA CENTER but then i tried to update to service pack 1 and it gave me errors and could not installed .Net framework 1.1 is installed but i dont know what the problem seems to be.   screen shot <a href="http://tinypic.com"><img src="http://i44.tinypic.com/fycuit.jpg" border=0 alt="Image and video hosting by TinyPic"></a> Wed, 31 Dec 2008 21:52:52 Z2009-01-06T22:40:52Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/601f61a6-15a7-402b-b3c6-e613d3e863efhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/601f61a6-15a7-402b-b3c6-e613d3e863efAnitha Vyashttp://social.microsoft.com/Profile/en-US/?user=Anitha%20VyasUnknown SQL Exception<br>Event Type: Error<br>Event Source: Windows SharePoint Services 3<br>Event Category: Database <br>Event ID: 5586<br>Date:  12/30/2008<br>Time:  1:16:49 AM<br>User:  N/A<br>Computer: xxxxx<br>Description:<br>Unknown SQL Exception 8116 occured. Additional error information from SQL Server is included below. <p>Argument data type int is invalid for argument 2 of like function.</p> <p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.<br><br></p> <p>Event Type:     Error <br>Event Source:   Windows SharePoint Services 3 <br>Event Category: Database <br>Event ID:       5586 <br>Date:           12/10/2008 <br>Time:           12:48:31 AM <br>User:           N/A <br>Computer:  xxxxx     <br>Description: <br>Unknown SQL Exception 245 occured. Additional error information from SQL Server is included below. </p> <p>Conversion failed when converting the nvarchar value 'Engseth, Paul' to data type int. </p> <p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>. <br></p><br>These errors are occuring daily around 12.50 and 1.40 AM. Any help for above mentioned errors is appricated!Tue, 30 Dec 2008 11:02:14 Z2009-01-06T22:41:02Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/97bb17f0-e455-4f0b-8b6c-fbe3bd8cb97bhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/97bb17f0-e455-4f0b-8b6c-fbe3bd8cb97bExotic Hadronhttp://social.microsoft.com/Profile/en-US/?user=Exotic%20HadronStandalone Root CA Error 0x80070002 when Downloading Certificate Revocation List (CRL) on Windows Server 2003 R2 SP2 Dear Sirs,<br><br>I am having problem downloading latest base CRL from my CA server. The server is in Standalone Root CA mode. The CA server is running on the Windows Server 2003 R2 Enterprise Edition SP2 x86.<br>I open <a href="https://localhost/certsrv">https://localhost/certsrv</a> page and click Download a CA Certificate, certificate chain or CRL. Next, I click the <strong>Download latest base CRL</strong> link at the bottom of the <a href="https://localhost/certsrv/certcarc.asp">https://localhost/certsrv/certcarc.asp</a> page. And... instead of getting the certcrl.crl downloaded on my computer, I get the Error Contact your administrator for further assistance error.<br>The error details are:<br><br> <div style="border-right:#7f9db9 1px solid;border-top:#7f9db9 1px solid;font-size:11px;overflow:auto;border-left:#7f9db9 1px solid;line-height:100%! important;border-bottom:#7f9db9 1px solid;font-family:Courier New;background-color:white"> <table style="border-top-width:0px;border-left-width:0px;margin:2px 0px;width:99%;border-bottom:#eee 0px solid;border-collapse:collapse;background-color:#fff;border-right-width:0px" cellspacing=0 cellpadding=0> <colgroup> <col style="padding-left:10px;font-size:11px;border-bottom:#f7f7f7 1px solid;font-family:Courier New;white-space:nowrap"> <tbody> <tr> <td><font style="font-size:11px">Error    </font></td></tr> <tr> <td style="background-color:#f7f7f7"> </td></tr> <tr> <td>Contact your administrator for further assistance.   </td></tr> <tr> <td style="background-color:#f7f7f7"> </td></tr> <tr> <td>Request Mode: - (certnew.cer/certnew.p7b/certcrl.crl certificate/crl fetch)   </td></tr> <tr> <td style="background-color:#f7f7f7">Disposition:  </td></tr> <tr> <td>0 - Incomplete   </td></tr> <tr> <td style="background-color:#f7f7f7">Disposition message:(none)   </td></tr> <tr> <td>Result: The system cannot find the file specified. 0x80070002 (WIN32: 2)   </td></tr> <tr> <td style="background-color:#f7f7f7">COM Error Info: CCertRequest::GetCAProperty The system cannot find the file specified. 0x80070002 (WIN32: 2)   </td></tr> <tr> <td>LastStatus: The operation completed successfully. 0x0 (WIN32: 0)   </td></tr> <tr> <td style="background-color:#f7f7f7">Suggested Cause: No suggestions.  </td></tr></tbody></table></div><br><br>Please find attached the screenshot <a href="http://img508.imageshack.us/img508/8571/errordownloadingcrlkp9.png">http://img508.imageshack.us/img508/8571/errordownloadingcrlkp9.png</a><br><br>What am I doing wrong? What's the possible cause? Are there any ways fixing it?<br><br>Thank you.Tue, 23 Dec 2008 15:58:06 Z2009-01-21T18:09:51Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/b6ebcf57-80be-43f0-9289-59761bc40c14http://social.microsoft.com/Forums/en-US/interopstandards/thread/b6ebcf57-80be-43f0-9289-59761bc40c14nhalehttp://social.microsoft.com/Profile/en-US/?user=nhaleListView Item Selection only works in a "Window" not in a "UserControl" - SelectedIndex always 0 and SelectionChanged not firedHi,<div><br></div><div>I'm trying to add a custom UserControl containing a Sortable-ListView (Tried with my own implementation and the AvalonControlsLibrary from Codeplex).</div><div>Everything is working fine, but I can't select any Item/Row and no item/row gets highlighted as selected, when I click on it.</div><div><br></div><div>I didn't change this type of behaviour (no code, no style, no template...nothing). </div><div><span class=Apple-style-span style="font-weight:bold">When I copy exactly the same code to a &quot;Window&quot; its working without any problem.....every row is highligted after clicking and the SelectionChanged Event gets fired.....</span></div><div><span class=Apple-style-span style="font-weight:bold"><br></span></div><div>Can you tell me what Im doing wrong???</div>Wed, 17 Dec 2008 22:16:09 Z2009-01-06T22:41:20Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/ccb673f7-1ce0-46c3-91d1-476962efc720http://social.microsoft.com/Forums/en-US/interopstandards/thread/ccb673f7-1ce0-46c3-91d1-476962efc720Mazza101http://social.microsoft.com/Profile/en-US/?user=Mazza101Delaying Direct InputHey, I'm trying to use Direct Input 8 in one of my programs and have come across a problem. This is my current code:<br><br><div style="overflow:auto;background-color:white;line-height:100% ! important;font-family:Courier New;font-size:11px"><table style="border-width:0px;margin:2px 0px;border-collapse:collapse;background-color:rgb(255, 255, 255)" width=847 cellpadding=0 cellspacing=0 height=301><col style="font-family:Courier New;font-size:11px;padding-left:10px;white-space:nowrap"><tbody><tr><td><font style="font-size:11px">void detect_keys(void) </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">{ </td></tr><tr><td>    static BYTE keystate[256]; </td></tr><tr><td style="background-color:rgb(247, 247, 247)"> </td></tr><tr><td>    dinkeyboard-<font style="color:blue">&gt;</font><font style="font-size:11px">Acquire(); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)"> </td></tr><tr><td>    dinkeyboard-<font style="color:blue">&gt;</font><font style="font-size:11px">GetDeviceState(256, (LPVOID)keystate); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)"> </td></tr><tr><td>        if(keystate[DIK_DOWN] &amp; 0xD0) </td></tr><tr><td style="background-color:rgb(247, 247, 247)">        { </td></tr><tr><td>            if (gameMenuSelected != 4) </td></tr><tr><td style="background-color:rgb(247, 247, 247)">            { </td></tr><tr><td>                <font style="color:red">fPosition</font><font style="font-size:11px"></font><font style="color:blue">fPosition</font><font style="font-size:11px"> = fPosition + 50.0f; </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">                gameMenuSelected++; </td></tr><tr><td>            } </td></tr><tr><td style="background-color:rgb(247, 247, 247)">        }       </td></tr><tr><td> </td></tr><tr><td style="background-color:rgb(247, 247, 247)">    return; </td></tr><tr><td>} </td></tr><tr><td style="background-color:rgb(247, 247, 247)"> </td></tr></tbody></table></div><br>How can I make it so that the loop doesnt run so quickly that it does it several times?<br>Wed, 17 Dec 2008 10:01:24 Z2008-12-17T22:58:08Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/01b69004-bf95-41cd-9d17-fc6f6c700ddbhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/01b69004-bf95-41cd-9d17-fc6f6c700ddbachellies1http://social.microsoft.com/Profile/en-US/?user=achellies1Are there existed memory leaks in the following codes?(IXMLDOMDocument2) Dears all, i am not sure whether there exists memory leaks in the following source codes, but when i call the routine once, the memory usage for my process will grow once but when this routine is returned, the memory usage will never decrease<br><br> <p>void Getcapabilities()<br>{<br> HRESULT hr = S_OK;</p> <p> CoInitialize(NULL);</p> <p>  _variant_t varString;<br>  varString = _T(&quot;c:\\pt.xml&quot;);<br><br> // Load the PrintTicket from the local disk;<br> CComPtr&lt;IXMLDOMDocument2&gt; pNewPT(NULL);<br> VARIANT_BOOL fLoaded = VARIANT_FALSE;</p> <p> hr = pNewPT.CoCreateInstance(CLSID_DOMDocument60);<br> if (SUCCEEDED(hr = pNewPT-&gt;load(varString,&amp;fLoaded))<br>   &amp;&amp; fLoaded == VARIANT_TRUE )<br> {<br>  CComPtr&lt;IStream&gt; pPTStream(NULL);<br>  CComPtr&lt;IStream&gt; pPCStream(NULL);<br>  CComPtr&lt;IXMLDOMDocument2&gt; pNewPC(NULL);<br><br>  if (SUCCEEDED(hr = pNewPC.CoCreateInstance(CLSID_DOMDocument60)) &amp;&amp;<br>   SUCCEEDED(hr = pNewPT-&gt;QueryInterface(IID_IStream, reinterpret_cast&lt;VOID**&gt;(&amp;pPTStream))) &amp;&amp;<br>   SUCCEEDED(hr = pNewPC-&gt;QueryInterface(IID_IStream, reinterpret_cast&lt;VOID**&gt;(&amp;pPCStream))))<br>  {<br>   CComBSTR bstrErrorMessage;<br>   if (SUCCEEDED(hr = PTGetPrintCapabilities(m_hProvider,pPTStream,pPCStream,&amp;bstrErrorMessage)))<br>   {<br>    LARGE_INTEGER cbMove = {0};<br>    if (SUCCEEDED(hr = pPCStream-&gt;Seek(cbMove, STREAM_SEEK_SET, NULL)))<br>    {<br>     _variant_t varString;<br>      varString = _T(&quot;c:\\capabilities.xml&quot;);<br>     if (SUCCEEDED(hr = pNewPC-&gt;save(varString)))<br>     {}<br>    }<br>   }<br>   <br>   pPTStream.Release();<br>   pPCStream.Release();<br>   pNewPC.Release();<br>  }</p> <p>  pNewPT.Release();<br> }<br> else<br> {<br>  MessageBox(L&quot;Fail to Load the PrintTicket from the local disk, make sure the file is existed!&quot;,L&quot;Fatal Error&quot;,MB_OK);<br>  return;<br> }</p> <p> CoUninitialize();<br> return;<br>}</p><hr class="sig">To be a C++ GuruTue, 16 Dec 2008 01:48:00 Z2008-12-17T22:54:12Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/ab8d2d5b-7d13-42d9-be18-cefd970c0d8bhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/ab8d2d5b-7d13-42d9-be18-cefd970c0d8bVadim Dorogininhttp://social.microsoft.com/Profile/en-US/?user=Vadim%20DorogininHow do I enable RIP listener on Windows Server 2008?<font style="font-weight:bold"><font size=4>How do I enable RIP listener on Windows Server 2008?</font></font><div><br></div><div>The problem: there is no RIP Listener service in Services snap-in and there is no Iprip entry in HKLM\System\CCS\Services key.</div><div><br></div><div>Desired behaviour is the same that would be if you enable RIP listener in Windows XP.</div><div><br></div><div>Search gives only solutions how to enable RIP listener on Vista(through turn features on/off).</div><div><br></div><div>What I've done so far:</div><div>1. In Server Manager added role Network Policy and Access Services -&gt; RRAS.</div><div>2. Configured RRAS as custom configuration where I checked only &quot;LAN routing&quot; checkbox.</div><div>3. Added RIPv2 protocol to the IPv4 node.$0 $04. Added LAN interface to new RIP node.</div><div>5. Configured LAN interface in RIP node in the next way: outgoing protocol - silent RIP, incoming protocol - RIP v1 and v2.<font style="font-weight:bold"></font></div><div><font style="font-weight:bold">After all of this I have my routing table unchanged.</font></div><div><br></div><div>To ensure that RIP works correctly on my LAN, I've tried enable RIP listener on XP machine connected to the same switch and succeeded to observe major changes in route table.</div>Sat, 13 Dec 2008 23:53:22 Z2008-12-17T22:52:07Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/63b6067a-929f-44f3-a5d1-27801017c46ahttp://social.microsoft.com/Forums/en-US/interopstandards/thread/63b6067a-929f-44f3-a5d1-27801017c46atzvinghttp://social.microsoft.com/Profile/en-US/?user=tzvingAdd-In: How to Enable\Disable menus in Visual Studio 2008Hi all,<br>Im developing an add-in for Visual Studio 2008 (.NET 3.5) which, while running, allows a new DTE mode (additional to debug &amp; design).<br>I would like to disable some of the menus while entering this mode and enable them back afterwards.<br>for example disabling File-&gt;Open-&gt;Project.<br>I tried to do the following:<br><br>OleMenuCommandService mcs = GetService(typeof(IMenuCommandService)) as OleMenuCommandService;<br>CommandID cmdId = new CommandID(some_guid, some_id);  // one of the menus I want to disable<br>MenuCommand mc = mcs.FindCommand(cmdId);<br>mc.Enable = false<br><br>but that didn't work. Do you have any ideas as for what I might be doing wrong ?<br>Thanks<br><br>Tue, 09 Dec 2008 16:20:12 Z2008-12-15T21:09:15Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/15398f64-12fe-4c6a-9e02-1d091c92d071http://social.microsoft.com/Forums/en-US/interopstandards/thread/15398f64-12fe-4c6a-9e02-1d091c92d071shambleshttp://social.microsoft.com/Profile/en-US/?user=shamblesCMFCPropertyGridProperty float formatingHi. I'm building an MFC app with VC++ 2008, but I'm having a little trouble. I've a CDockablePane with a property list, similar to the NewControls example that comes with the MFC Feature Pack. However, some of my properties are 'float' and I would like to format them with 2 decimal number (e.g. 34.56).<br><br>It seemed that the only thing I needed to do was set the following variable:<br><br>CMFCPropertyGridProperty::m_strFormatFloat = _T(&quot;%.2f&quot;);<br><br>This works as long as the property isn't manually updated. When the value is updated it triggers a breakpoint cause of the 'invalid format'.<br><br>Here's the stack.<br><br>     msvcr90d.dll!_CrtDbgBreak()  Line 89    C<br>     msvcr90d.dll!_VCrtDbgReportW(int nRptType=2, const wchar_t * szFile=0x1020dcd0, int nLine=1379, const wchar_t * szModule=0x00000000, const wchar_t * szFormat=0x1020dda0, char * arglist=0x00123d10)  Line 505    C<br>     msvcr90d.dll!_CrtDbgReportWV(int nRptType=2, const wchar_t * szFile=0x1020dcd0, int nLine=1379, const wchar_t * szModule=0x00000000, const wchar_t * szFormat=0x1020dda0, char * arglist=0x00123d10)  Line 241 + 0x1d bytes    C++<br>     msvcr90d.dll!_CrtDbgReportW(int nRptType=2, const unsigned short * szFile=0x1020dcd0, int nLine=1379, const unsigned short * szModule=0x00000000, const unsigned short * szFormat=0x1020dda0, ...)  Line 42 + 0x1d bytes    C++<br>     msvcr90d.dll!_winput_s_l(_iobuf * stream=0x001240dc, const wchar_t * format=0x00348502, localeinfo_struct * plocinfo=0x00000000, char * arglist=0x0012413c)  Line 1379 + 0x47 bytes    C++<br>     msvcr90d.dll!vscan_fn(int (_iobuf *, const wchar_t *, localeinfo_struct *, char *)* inputfn=0x102a0bc0, const wchar_t * string=0x01052318, const wchar_t * format=0x00348500, localeinfo_struct * plocinfo=0x00000000, char * arglist=0x00124138)  Line 66 + 0x13 bytes    C<br>&gt;    msvcr90d.dll!swscanf_s(const wchar_t * string=0x01052318, const wchar_t * format=0x00348500, ...)  Line 232 + 0x18 bytes    C<br>     mfc90ud.dll!CMFCPropertyGridProperty::TextToVar(const ATL::CStringT&lt;wchar_t,StrTraitMFC_DLL&lt;wchar_t,ATL::ChTraitsCRT&lt;wchar_t&gt; &gt; &gt; &amp; strText=&quot;606.03&quot;)  Line 1192 + 0x1e bytes    C++<br>     mfc90ud.dll!CMFCPropertyGridProperty::OnUpdateValue()  Line 1140 + 0x14 bytes    C++<br>     mfc90ud.dll!CMFCPropertyGridCtrl::EndEditItem(int bUpdateData=1)  Line 3877 + 0x39 bytes    C++<br>     mfc90ud.dll!CMFCPropertyGridCtrl::OnEditKillFocus()  Line 4888 + 0x12 bytes    C++<br>     mfc90ud.dll!_AfxDispatchCmdMsg(CCmdTarget * pTarget=0x00fff72c, unsigned int nID=3, int nCode=512, void (void)* pfn=0x78cd88a0, void * pExtra=0x00000000, unsigned int nSig=57, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)  Line 82    C++<br>     mfc90ud.dll!CCmdTarget::OnCmdMsg(unsigned int nID=3, int nCode=512, void * pExtra=0x00000000, AFX_CMDHANDLERINFO * pHandlerInfo=0x00000000)  Line 381 + 0x27 bytes    C++<br>     mfc90ud.dll!CWnd::OnCommand(unsigned int wParam=33554435, long lParam=1707274)  Line 2364    C++<br>     mfc90ud.dll!CWnd::OnWndMsg(unsigned int message=273, unsigned int wParam=33554435, long lParam=1707274, long * pResult=0x00124480)  Line 1769 + 0x1e bytes    C++<br>     mfc90ud.dll!CWnd::WindowProc(unsigned int message=273, unsigned int wParam=33554435, long lParam=1707274)  Line 1755 + 0x20 bytes    C++<br>     mfc90ud.dll!AfxCallWndProc(CWnd * pWnd=0x00fff72c, HWND__ * hWnd=0x001b0d1a, unsigned int nMsg=273, unsigned int wParam=33554435, long lParam=1707274)  Line 240 + 0x1c bytes    C++<br>     mfc90ud.dll!AfxWndProc(HWND__ * hWnd=0x001b0d1a, unsigned int nMsg=273, unsigned int wParam=33554435, long lParam=1707274)  Line 403    C++<br>     mfc90ud.dll!AfxWndProcBase(HWND__ * hWnd=0x001b0d1a, unsigned int nMsg=273, unsigned int wParam=33554435, long lParam=1707274)  Line 441 + 0x15 bytes    C++<br><br>Anyone had this problem and figured out to fix it?<br> Mon, 08 Dec 2008 20:58:49 Z2008-12-15T21:07:29Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/50a3c3ed-ea49-4404-9413-56dee7a2e85ahttp://social.microsoft.com/Forums/en-US/interopstandards/thread/50a3c3ed-ea49-4404-9413-56dee7a2e85ae2008http://social.microsoft.com/Profile/en-US/?user=e2008ReportViewer, Custom print and export functions or buttonsHi, i'm customizing my toolbar, in fact i've erased it =)<br><br>I want to add images or buttons to perform print and export functions, but i dont know what methods to call =s Reportviewer1.Print(); ??? it doesn't exists =s<br><br>i'm exploring from my reportviewer instance methods, but i dont see any method to do it, how can i implement this methods? <br><br><br><br><br>Regards<br>Ricc <hr class="sig">e2008Wed, 03 Dec 2008 19:19:12 Z2008-12-04T14:21:25Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/a54156f9-cafe-4b17-ab53-8b6a2dcbc1b0http://social.microsoft.com/Forums/en-US/interopstandards/thread/a54156f9-cafe-4b17-ab53-8b6a2dcbc1b0John Heffermanhttp://social.microsoft.com/Profile/en-US/?user=John%20HeffermanUse LsaLogonUser for Protocol Transitioning and SSPI <p class=MsoNormal>Hello,<br> <br> I am wondering if the following is possible:<br> <br> 1. An account on machine A with the necessary privileges uses protocol transitioning through LsaLogonUser to acquire credentials for another user principal.<br> 2. The Token Handle acquired through the LsaLogonUser function is then used to impersonate that user, through the ImpersonateLoggedOnUser function<br> 3. AcquireCredentialsHandle and InitializeSecurityContext are then used to proove the impersonated principal's identity to another server (B).<br> <br> The main goal would be for machine B to receive the impersonated credentials from machine A, so that B could the use them to prove authenticate against another service.<br> <br> So far, I have successfully been able to use protocol transitioning with LsaLogonUser to log in with another principal. I then impersonate this principal successfully and call AcquireCredentialsHandle. All of this works fine, but when I call InitializeSecurityContext, it returns SEC_E_NO_CREDENTIALS.<br> <br> So, is something like this possible and if so, is this a valid way of doing it, or is there another way?<br> <br> Thanks for any help,<br> <br> John</p> <br><br><br><br><br> Wed, 03 Dec 2008 13:58:43 Z2008-12-15T21:03:56Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/fbdcac01-e57d-4aa1-afd4-f6b1aa835cdbhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/fbdcac01-e57d-4aa1-afd4-f6b1aa835cdbdelmonxchttp://social.microsoft.com/Profile/en-US/?user=delmonxcconverting time to secondsi was wondering how you would convert a time to seconds<br><br>i want to convert something like 6:40 when input into a textbox and have 400 seconds outputed<br><br><br> Mon, 01 Dec 2008 23:59:47 Z2008-12-15T21:01:58Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/5b6ba77b-ac0d-4921-b1ea-2e75666ecff7http://social.microsoft.com/Forums/en-US/interopstandards/thread/5b6ba77b-ac0d-4921-b1ea-2e75666ecff7Jerry Langley IIIhttp://social.microsoft.com/Profile/en-US/?user=Jerry%20Langley%20IIIConcatenate multiple reports<p>I have a task to create a Reporting Services local report which has 6 different sections 5 of which have a many to one relationship with the master record (An employee).  I have accomplished it so that when the user selects the person, 6 stored procedures are run which return 6 separate data tables which represent the 6 data sources for the report.  <br><br>It was originally presented to me as a &quot;select a person, produce one report&quot; so this seemed workable, until they decided they wanted to group the employees by cost center and product multiple pages for the report, one for each employee.<br><br>Given the data structure of 6 data sources I can not come up with a way to make it one report, so I would like to send each report to the viewer one at a time and then present the viewer at the end of all records.<br><br>Has anyone dealt with this kind of issue?  </p> <p>It would seem that I need a way to leave the stream open until I have sent multiple reports to the viewer</p>Thu, 13 Nov 2008 21:52:26 Z2008-11-20T17:24:10Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/8e1369c9-62a9-4138-85b5-a0b8ea3e971fhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/8e1369c9-62a9-4138-85b5-a0b8ea3e971fimm0r7alhttp://social.microsoft.com/Profile/en-US/?user=imm0r7alDownload Vista Homepremiumi have laptop with vista home premium! when i buy it they give me only the KEY on the bottom of my laptop but no CD with windows vista!<br>now i need to download clean copy of vista home premium to reinstall my windows! <br> Fri, 14 Nov 2008 21:07:58 Z2008-11-15T05:01:09Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/cc655241-eae8-4921-b94f-c082176d4ab3http://social.microsoft.com/Forums/en-US/interopstandards/thread/cc655241-eae8-4921-b94f-c082176d4ab3Moofoohttp://social.microsoft.com/Profile/en-US/?user=MoofooReportViewer LocalReport memory leakWe use ReportViewer control in asp.net to present rdl report by LocalReport mode, and find that the memory usage of asp.net process increasing obviously when we query report with large dataset.  As if GC doesn't work at all.<br><br>There are few discusses about the topic via google and this thread is the most detailed:<br><a href="http:///">http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/thread/d21f8b56-3123-4aff-bf84-9cce727bc2ce</a>.<br><br>However ReportViewer.LocalReport.ExecuteReportInSandboxAppDomain() doesn't work. Some microsoft supporters said the problem will be solved in visual studio 2008 sp1. <br><br>We update visual studio 2008 sp1 and reportviewer sp1, and the version of ReportViewer is updated from 8.0.0 to 9.0.0. There are some features have been improved such as print function and pdf size decreasing. However the momory leak problem doesn't be solved in terms of out testing.<br><br>It's coming to our deadline to release the product and we hope to get some help.<br><br>Thx<br>Thu, 16 Oct 2008 08:51:53 Z2008-10-21T22:51:08Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/741e0679-d369-44d8-8024-c7e301f1ad35http://social.microsoft.com/Forums/en-US/interopstandards/thread/741e0679-d369-44d8-8024-c7e301f1ad35nologinhttp://social.microsoft.com/Profile/en-US/?user=nologinHow to convert WordML files to other formats using Interop?  <p>Hi,</p> <p>I'd like to use Interop to export my WordML (docx) document to doc, rtf etc. I have seen code of creating it even to PDF with Interop (it didn't seem too complicated, unfortunately I don't have access to it) . Can you give me some advice of how to do it or where I can find any project related to it?</p> <hr align=left width="25%" size=1> AndrisMon, 13 Oct 2008 18:43:42 Z2008-10-31T16:19:25Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/ea590566-3064-47b5-85db-893a539b431chttp://social.microsoft.com/Forums/en-US/interopstandards/thread/ea590566-3064-47b5-85db-893a539b431cnologinhttp://social.microsoft.com/Profile/en-US/?user=nologinHow to call a method that takes inherited class as parameter? Hi,<br> <br>I have a base class and some classes are inherited from it. I created some overloaded methods that takes those classes as parameters. In a method I only get an instance of the base class whose type is one of its descendant. How can I call it in an easy way? (not creating a Dictionary of inherited classes with values of Type etc.) <br><br>Here is an example:<br><br>class BaseClass{}<br><br>class InheritedA:BaseClass{}<br><br>class InheritedB:BaseClass{}<br><br>methods:<br><br>void DoSthing(InheritedA inst){}<br>void DoSthing(InheritedB inst){}<br><br><br>My calling code:<br><br>private void Method1()<br>{<br>BaseClass inst=new InheritedA(); //cannot change the way it is given<br>DoSthing(inst as ???? ) //I don't know what to insert here: inst as inst.GetType().Name? I really need the instance's class type<br><br>}<br><br>Probably there is an easy way I just don't get it now :) <br><br> <hr align=left width="25%" size=1> Andris<hr size="1" align="left" width="25%">AndrisThu, 16 Oct 2008 21:56:40 Z2008-10-28T04:02:59Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/0ca444a3-a091-4951-9a69-899f4f165a70http://social.microsoft.com/Forums/en-US/interopstandards/thread/0ca444a3-a091-4951-9a69-899f4f165a70Panzertaxhttp://social.microsoft.com/Profile/en-US/?user=PanzertaxC#: Winform - Filter on DataTable in DataGridView<p>I have made a service that sends a datatable with person information to a client. In the forms init event I call the service to retreive all persons from my service and displays them in a datagridview.</p> <p>In the form I want to be able to filter on e.g. first name. I have used the select method to filter on the datatable but it only returns datarows and not datatable which I need to set as datasource in my datagridview.</p> <p>Also I can not add the datarows returned from the select statement to add to another datatable as they belong to the first datatable I created.</p><br><br> <p>Does anyone know how I can solve this problem?<br></p>Sat, 13 Sep 2008 07:57:20 Z2008-09-26T16:03:44Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/595b20d7-ec9a-416b-8ace-6939de7394a9http://social.microsoft.com/Forums/en-US/interopstandards/thread/595b20d7-ec9a-416b-8ace-6939de7394a9NoEgohttp://social.microsoft.com/Profile/en-US/?user=NoEgoCreate and Initialize Generic StackI'm trying to get around the error that my stack is null as I cannot use it until I initialize it it seems.<br><br>        private Stack&lt;int&gt; currentStep = new Stack&lt;int&gt;();<br>        currentStep.Push(1);<br><br>I get an error: Invalid Token<br><br>I can't get this to work because I have a method that is trying to increment the stack and it keeps telling me it's null:<br><br>        public static void IncrementStack(Stack&lt;int&gt; s, int numberToIncrementBy)<br>        {<br>                // gets the current value (peek) <br>                // Add the new number to the stack (push)<br>                s.Push(s.Peek() + numberToIncrementBy);  &lt;--- I get a null exception here because the stack is null<br>        }<br> <hr size="1" align="left" width="25%">C# Web DeveloperWed, 27 Aug 2008 04:10:12 Z2008-08-27T16:30:29Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/4d547860-9798-45a4-bb47-7a0f3ca845dehttp://social.microsoft.com/Forums/en-US/interopstandards/thread/4d547860-9798-45a4-bb47-7a0f3ca845deJohn Calhoonhttp://social.microsoft.com/Profile/en-US/?user=John%20CalhoonRunning Code?<p align=left><font face=Arial size=2></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3>Is “Running Code” necessary in the standardization process?  Empirically the answer is yes.  In the IETF a standards track RFC cannot achieve Draft Standard status without demonstration of at least two interoperable implementations developed from independent code bases.  For digital media CODEC standards,  reference decoders, encoders and bit streams are generally a required component of the standardization process.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3>In other cases, such as USB, PCI and WiFi the standards were developed from near production-ready technologies but not necessarily from independent, interoperable implementations.   Cases of standards developed, or are being developed , from commercially available products include ISO/IEC DIS 32000 (Adobe PDF 1.1), ISO/IEC 26300 (OpenDcument Format),ECMA 376 ( Office Open XML), JPEG XR (HD Photo) and XPS.  In these cases the Running Code consisted of pre-production  silicon, many PDF implementations, OpenOffice, Microsoft Office and Microsoft Windows.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3>Personally I can’t recall an industry standard that didn’t have some level of implementation behind it at the beginning.  Even in the cases of standards, like JPEG, that are purported to have started with a clean sheet of paper  I’ll bet the technical contributions had at least been developed and implemented at the research level.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3>Perhaps the real question is whether standards organizations should rely on the IETF definition of Running Code or whether other forms of demonstrable or theoretical interoperability are acceptable.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3> </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face=Calibri size=3>What do you think?</font></p> <p class=MsoNormal style="margin:0in 0in 0pt" align=left><font face=Calibri size=3></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt" align=left><font face=Calibri size=3>John Calhoon</font></p> <p class=MsoNormal style="margin:0in 0in 0pt" align=left><font face=Calibri size=3>Microsoft</font></p>Wed, 26 Mar 2008 20:48:06 Z2008-10-14T22:34:24Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/d90e03ac-370c-4387-a124-996af307555fhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/d90e03ac-370c-4387-a124-996af307555fDavid DoBellhttp://social.microsoft.com/Profile/en-US/?user=David%20DoBellWhat is the Interoperability Executive Customer Council?<font face=Calibri><strong>What is the IEC Council?</strong></font> <p><font face="'Calibri','sans-serif'">The Interoperability Executive Customer (IEC) Council has been mentioned several times in recent </font><a href="http://www.microsoft.com/interop/principles/default.mspx"><font face="'Calibri','sans-serif'"><font color="#013da4">announcements</font></font></a><font face="'Calibri','sans-serif'"> and </font><a href="http://blogs.msdn.com/msftisvs/archive/2008/04/02/join-the-interoperability-conversation.aspx"><font face="'Calibri','sans-serif'"><font color="#013da4">blogs</font></font></a><font face="'Calibri','sans-serif'"> on interoperability. As someone deeply involved in the IEC Council, I want to share what the </font><a href="http://www.microsoft.com/presspass/press/2006/jun06/06-13CustInteropCouncilPR.mspx"><font face="'Calibri','sans-serif'" color="#0072bc">IEC Council</font></a><font face="'Calibri','sans-serif'"> is, how it is advising Microsoft on Interoperability scenarios and issues, and what is being discussed.</font></p> <p></p> <p><font face="'Calibri','sans-serif'">I am the Technical lead on the IECC Core team at Microsoft. I lead the technical discussions within the council and work with various internal product teams to collaborate with the council and discuss solutions to interoperability issues raised by them.</font></p> <p></p> <p><font face="'Calibri','sans-serif'">The IEC Council is a customer advisory council consisting of CIOs and CTOs of about 35 large enterprises, from the public sector and private sector, and government departments from around the world. Launched almost two years ago, it has become one of our greatest sources of input on interoperability.  </font></p> <p></p> <p><b><font face="'Calibri','sans-serif'">What are the Goals of the IEC Council?</font></b> </p> <ul type=disc> <li style="margin:0in 0in 10pt;line-height:normal"><font face=Calibri>Raise awareness around interoperability issues and solutions </font></li> <li style="margin:0in 0in 10pt;line-height:normal"><font face=Calibri>Provide education on Microsoft’s interoperability strategies and programs and influence their design through customer feedback </font></li> <li style="margin:0in 0in 10pt;line-height:normal"><font face=Calibri>Create strong connections between members to share knowledge and best practices</font></li></ul> <p><b><font face="'Calibri','sans-serif'">How is the IEC Council structured?</font></b> </p> <p><font face="'Calibri','sans-serif'">The council is divided into 6 work streams covering Microsoft products and services. It has yielded a great deal of in-depth analysis and examination of interoperability scenarios and issues. The work streams are:</font></p> <p></p> <p style="margin-left:38.25pt"><font face="'Calibri','sans-serif'"><font size="+0">1.<font style="font-weight:normal;font-size:7pt;line-height:normal;font-style:normal;font-variant:normal" face="'Times New Roman'">      </font></font><font face="'Calibri','sans-serif'">Office Productivity and Collaboration Tools</font> <p></p> <p style="margin-left:38.25pt"><font face="'Calibri','sans-serif'"><font size="+0">2.<font style="font-weight:normal;font-size:7pt;line-height:normal;font-style:normal;font-variant:normal" face="'Times New Roman'">      </font></font><font face="'Calibri','sans-serif'">Developer Tools and Runtime</font> <p></p> <p style="margin-left:38.25pt"><font face="'Calibri','sans-serif'"><font size="+0">3.<font style="font-weight:normal;font-size:7pt;line-height:normal;font-style:normal;font-variant:normal" face="'Times New Roman'">      </font></font><font face="'Calibri','sans-serif'">Systems Management</font> <p></p> <p style="margin-left:38.25pt"><font face="'Calibri','sans-serif'"><font size="+0">4.<font style="font-weight:normal;font-size:7pt;line-height:normal;font-style:normal;font-variant:normal" face="'Times New Roman'">      </font></font><font face="'Calibri','sans-serif'">Security and Identity Management</font> <p></p> <p style="margin-left:38.25pt"><font face="'Calibri','sans-serif'"><font size="+0">5.<font style="font-weight:normal;font-size:7pt;line-height:normal;font-style:normal;font-variant:normal" face="'Times New Roman'">      </font></font><font face="'Calibri','sans-serif'">Business Process Modeling</font> <p></p> <p style="margin-left:38.25pt"><font face="'Calibri','sans-serif'"><font size="+0">6.<font style="font-weight:normal;font-size:7pt;line-height:normal;font-style:normal;font-variant:normal" face="'Times New Roman'">      </font></font><font face="'Calibri','sans-serif'">Public Interoperability Policy<br></font><font face="'Calibri','sans-serif'"><br></font> <p></p> <p><font face="'Calibri','sans-serif'"><font size=3><font color="#243f60"><font color="#000000"><font style="font-size:12px">In these work streams, customers tell us why they are using our products in the way they do, what are they trying to interoperate with, and what issues they run into. We discuss our strategy and goals around our products and services, collaborate to find best possible solutions, and provide guidelines for our products and policies around interoperability. Many of our recent announcements were heavily influenced by the council. In my next post, I will go into more detail about each of the six work streams.<br></font><br><font style="font-size:12px">Kamaljit Bath<br></font><font style="font-size:12px"><font face="'Calibri','sans-serif'">Principal Program Manager<br></font><font face="'Calibri','sans-serif'">Interoperability Technical Strategy</font></font></font></font></font></font></p></font> <p></p></font> <p></p></font> <p></p></font> <p></p></font> <p></p></font> Mon, 07 Jul 2008 19:04:49 Z2008-07-07T19:04:50Zhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/3b25de74-dc1c-4ea2-8395-c228b33da20dhttp://social.microsoft.com/Forums/en-US/interopstandards/thread/3b25de74-dc1c-4ea2-8395-c228b33da20dDavid DoBellhttp://social.microsoft.com/Profile/en-US/?user=David%20DoBellHow the Interoperability Executive Customer Council works <font color="#243f60">Interoperability Executive Customer (IEC) Council, Volume 2 – How it works <br></font><font face="'Calibri','sans-serif'"><br>In the post titled &quot;What is the Interoperability Executive Customer Council,&quot;  I mentioned the six IEC Council work streams. Here is a little more about each one.</font> <p></p> <p><b><font face="'Calibri','sans-serif'">Work stream #1: Office Productivity and Collaboration Tools</font></b> </p> <p></p> <p><font face="'Calibri','sans-serif'">Major interoperability scenarios discussed under this work stream are around Office file formats, Office programmability and automation, Document and Content Management Servers, Backend and Line-of-Business Apps integration, etc. Customers want their information workers to be able to use a variety of tools to manipulate back-end data in a collaborative and intuitive way to help make business decisions and to easily process business documents, etc. They also want to exchange documents across systems and platforms and manipulate those using well-documented APIs and protocols. They need to feed backend data (from databases and Line-of-Business apps) into Office documents. </font></p> <p></p> <p><font face="'Calibri','sans-serif'">Many customers are using more than one content and document management server collaboratively in their organizations or with their partners. They want to integrate Search, UI, metadata, content management, personalization and taxonomy across multiple portals. </font></p> <p><font face="'Calibri','sans-serif'">Other interoperability scenarios are around email and calendar interoperability, instant messaging, chatting, online meetings and information rights protection.</font></p> <p><b></b></p> <p><b><font face="'Calibri','sans-serif'">Work stream #2: Developer Tools and Runtime</font></b> </p> <p></p> <p><font face="'Calibri','sans-serif'">Developers want the ability to use different development tools in a distributed environment. They want to be able to develop software applications using a mix and match of various tools and programming languages and manage the whole process using some common repositories and business processes. </font></p> <p></p> <p><font face="'Calibri','sans-serif'">Demand for protocol level interoperability between .NET and Java/Mainframe apps is also very high. There is also some demand for binary interoperability between the .NET and Java/Mainframe stacks in some instances. </font></p> <p><b><font face="'Calibri','sans-serif'">Work stream #3: Business Process Modeling </font></b></p> <p></p> <p><font face="'Calibri','sans-serif'">Here we discuss how to facilitate design, development and management of business processes to run across multiple platforms and systems, with the ability to use different tools and frameworks in an interoperable way to do architecture modeling and implementation. There are many interoperability challenges and we are trying to understand how models (and modeling tools) are used in different organizations, what their lifecycle is and what standards are important for data and model interchange, etc. </font></p> <p><b></b></p> <p><b><font face="'Calibri','sans-serif'">Work stream #4: Public Interoperability Policy</font></b> </p> <p></p> <p><font face="'Calibri','sans-serif'">The goals of this work stream are to guide Microsoft in its application of Interoperability Principles and inform public policy positions related to innovation, interoperability, privacy and security. Basic discussions have been around how Microsoft can clarify its interoperability strategy and foster interoperable systems thru technology, licensing, documentation, partner ecosystem and other means.</font></p> <p><b></b></p> <p><b><font face="'Calibri','sans-serif'">Work stream #5: Systems Management</font></b> </p> <p></p> <p><font face="'Calibri','sans-serif'">Major scenarios discussed under this work stream are around IT operations management, deployment and patching of software, virtualization environments, etc. IT operations want to optimize management of heterogeneous enterprise environments while providing top-notch service to users based on their SLAs. Examples are how you use monitoring products from various vendors and make them work together to provide a reliable, integrated management experience in their data centers, use virtualization for consolidating servers and improving utilization of data centers, and automate software deployment, patching and asset inventory across their environments to lower total cost of ownership.</font></p> <p></p> <p><font face="'Calibri','sans-serif'">Examples of how the council is guiding product teams to add interoperability features will be shown in the upcoming release of Systems Center products which will contain support for managing VMWare environments in the Virtual Machine Manager and will have new connectors in Operations Manager for other 3<sup>rd</sup> party tools.</font></p> <p><b></b></p> <p><b><font face="'Calibri','sans-serif'">Work stream #6: Security and Identity Management</font></b> </p> <p><font face="'Calibri','sans-serif'">Major interoperability scenarios include identity federation for providing secure access to internal resources to partners and customers, single sign-on techniques, user-centric and claims-based authentication approaches (like infocards/CardSpace) for identity management through 3rd party providers and relying parties, and ActiveDirectory-LDAP integration etc. Other scenarios are around synchronization of items and passwords, etc., across multiple directories like ActiveDirectory and LDAP. Scenarios where applications need to continue working when one of the directories is inaccessible, by switching over transparently to get required info from another fail-over directory, were also discussed. Customers also want to streamline the process of user provisioning and want to be able to delegate that work to selected partners in some scenarios.</font></p> <p><font face="'Calibri','sans-serif'">I hope this information will provide some insight into the practical methods Microsoft is employing to deliver on interoperability principles and standards, and I welcome your input to the Interoperability Forum<br><font face="'Calibri','sans-serif'"><br>Kamaljit Bath<br></font><font face="'Calibri','sans-serif'">Principal Program Manager<br></font><font face="'Calibri','sans-serif'">Interoperability Technical Strategy</font> <p></p></font>Mon, 07 Jul 2008 19:03:24 Z2008-07-07T19:03:24Z