<feed version="0.3" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns="http://purl.org/atom/ns#" xml:lang="de-DE"><title>Patrick Gugel</title><link rel="alternate" type="text/html" href="http://thespoke.net/blogs/patrick_gugel/default.aspx" /><tagline type="text/html" /><id>http://thespoke.net/blogs/patrick_gugel/default.aspx</id><author><url>http://thespoke.net/blogs/patrick_gugel/default.aspx</url></author><generator url="http://communityserver.org" version="1.1.0.50602">Community Server</generator><modified>2006-01-26T21:37:00Z</modified><entry><title>.Value vs. .FormulaLocal Excel (VBA)</title><link rel="alternate" type="text/html" href="http://thespoke.net/blogs/patrick_gugel/archive/2006/01/31/934898.aspx" /><id>b2b995b1-9c1d-4d25-9f9c-28d53840b74c:934898</id><created>2006-01-31T16:05:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Und da ist es wieder, diese "simple Anforderung" :).&lt;/P&gt;
&lt;P&gt;Per VBA in eine Excelzelle eine Formel schreiben:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color=#000000 size=2&gt;&lt;STRONG&gt;...cells(2,3).&lt;FONT color=#ff0000&gt;Value&lt;/FONT&gt; = "=SUMME(E3:E6)"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;geht nicht. Ganz versteckt in der Hilfe die Lösung:&lt;/P&gt;
&lt;P&gt;um Formeln in eine Zelle zu schreiben muss man die Eigenschaft "FormulaLocal" verwenden:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color=#000000 size=2&gt;&lt;STRONG&gt;...cells(2,3).&lt;FONT color=#ff0000&gt;FormulaLocal&lt;/FONT&gt; = "=Summe(E3:E6)"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bitte fragt mich jetzt aber nicht, wann man ein solches Konstrukt denn braucht.&lt;BR&gt;Ich persönlich weiß es nicht :).&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=934898" width="1" height="1"&gt;</content><slash:comments>2</slash:comments><wfw:commentRss>http://thespoke.net/blogs/patrick_gugel/commentrss.aspx?PostID=934898</wfw:commentRss></entry><entry><title>@ vs. ? - SQL Parameter ODBCCommand</title><link rel="alternate" type="text/html" href="http://thespoke.net/blogs/patrick_gugel/archive/2006/01/30/934734.aspx" /><id>b2b995b1-9c1d-4d25-9f9c-28d53840b74c:934734</id><created>2006-01-30T19:03:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Heute hatte ich ein sehr einfaches und eigentlich recht simples Problem zu lösen.&lt;/P&gt;
&lt;P&gt;Via ODBCCommand eine parametrisierte Anweisung absetzen. Schnell gedacht, und auch gemacht:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;OdbcCommand cmd = new OdbcCommand();&lt;BR&gt;cmd.Connection = connection;&lt;BR&gt;cmd.CommandText = "select * from Product where ProductId = @id"; &lt;BR&gt;cmd.Parameters.Add("@id", OdbcType.UniqueIdentifier).Value = Guid.NewGuid();&lt;BR&gt;cmd.ExecuteReader();&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Schade leider nicht ganz so einfach:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;Unbehandelte Ausnahme: 'test.exe': 'c:\windows\assembly\gac\system.data.resources\1.0.5000.0_de_b77a5c561934e089\system.data.resources.dll' geladen, keine Symbole geladen.&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;System.Data.Odbc.OdbcException: ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Must declare the scalar variable "@id".&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Der Fehler liegt im Detail. Nach freundlicher Unterstützung vieler SP-Kollegen dann die Lösung:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;...Parameter für Abfragen in Zusammenhang mit &lt;B&gt;OleDbCommand&lt;/B&gt;-Objekten und &lt;B&gt;OdbcCommand&lt;/B&gt;-Objekten verwenden &lt;FONT color=#ff0000&gt;Fragezeichen&lt;/FONT&gt;. Abfragen in Zusammenhang mit &lt;B&gt;SqlCommand&lt;/B&gt;-Objekten verwenden benannte Parameter, die mit dem &lt;FONT color=#ff0000&gt;Symbol @&lt;/FONT&gt; anfangen...&lt;BR&gt;-&amp;gt; &lt;A href="http://msdn.microsoft.com/library/deu/default.asp?url=/library/deu/vbcon/html/vbconparametersindataadaptercommands.asp" target=_blank&gt;&lt;FONT face=Arial size=2&gt;http://msdn.microsoft.com/library/deu/default.asp?url=/library/deu/vbcon/html/vbconparametersindataadaptercommands.asp&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Nachmittag gerettet :).&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=934734" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://thespoke.net/blogs/patrick_gugel/commentrss.aspx?PostID=934734</wfw:commentRss></entry><entry><title>Sharepoint Links</title><link rel="alternate" type="text/html" href="http://thespoke.net/blogs/patrick_gugel/archive/2006/01/26/934001.aspx" /><id>b2b995b1-9c1d-4d25-9f9c-28d53840b74c:934001</id><created>2006-01-26T20:37:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Nach einer Anfrage von einem Studenten bezüglich Sharepoint, habe ich mich mal auf die Suche nach Infos gemacht:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size=4&gt;Windows® SharePoint Services:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href=" http://office.microsoft.com/de-de/FX011204871031.aspx"&gt;Homepage (Deutschland)&lt;/A&gt;&lt;BR&gt;&lt;A href=" http://www.microsoft.com/switzerland/office/de/system/sharepoint/wss.mspx"&gt;Homepage (Schweiz)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/germany/office/wss/leistungsmerkmale/default.mspx"&gt;was leisten WSS&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Downloads:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=B922B28D-806A-427B-A4C5-AB0F1AA0F7F9&amp;amp;displaylang=de"&gt;Windows SharePoint Services (inkl. SP2)&lt;BR&gt;&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;stehen Anwendern des Windows Servers 2003&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;kostenlos zur Verfügung (müssen Nachinstalliert werden)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size=4&gt;Share Point Portal Server&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://office.microsoft.com/de-de/FX010909721031.aspx"&gt;Homepage (Deutschland)&lt;/A&gt;&amp;nbsp;&lt;BR&gt;&lt;A href="http://www.microsoft.com/switzerland/office/de/system/sharepoint/spps.mspx"&gt;Homepage (Schweiz)&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://download.microsoft.com/download/6/1/5/615c50c0-7813-4c23-a7f1-a215715de30b/vergleich_wss_vs_spps.pdf"&gt;was&amp;nbsp;leistet der SPPS mehr als die WSS&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Downloads:&lt;BR&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=47405143-F586-4941-92F5-048BF00CF332&amp;amp;displaylang=de"&gt;Administratorhandbuch für Microsoft Office SharePoint Server 2003&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=5a8f197f-7796-46f8-987b-fb94ef98a596&amp;amp;DisplayLang=de"&gt;Hilfe zu Microsoft Office SharePoint Server 2003&lt;BR&gt;&lt;/A&gt;&lt;/P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size=4&gt;Tipps, Tutorials &amp;amp; Trainings (Links)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&amp;nbsp;&lt;/FONT&gt;&lt;A href="http://www.microsoft.com/switzerland/office/de/system/sharepoint/trainings.mspx"&gt;&lt;FONT size=1&gt;http://www.microsoft.com/switzerland/office/de/system/sharepoint/trainings.mspx&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;&lt;FONT size=1&gt;&amp;nbsp;&lt;/FONT&gt;&lt;A href="http://www.mysharepoint.de/"&gt;&lt;FONT size=1&gt;http://www.mysharepoint.de/&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;&lt;FONT size=1&gt;&amp;nbsp;&lt;/FONT&gt;&lt;A href="http://www.sharepointcustomization.com/default.aspx"&gt;&lt;FONT size=1&gt;http://www.sharepointcustomization.com/default.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://thespoke.net/aggbug.aspx?PostID=934001" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://thespoke.net/blogs/patrick_gugel/commentrss.aspx?PostID=934001</wfw:commentRss></entry></feed>