February 2009 - Posts
Due to the fact that I still program for “Older” systems like Moss2007 , but still want the development ease and speed of visual studio 2008 , I had to write my own code snippet for support of “old style”
prop code snippet
1: <?xml version="1.0" encoding="utf-8" ?>
2: <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3: <CodeSnippet Format="1.0.0">
4: <Header>
5: <Title>prop .NET 2.0</Title>
6: <Shortcut>prop2005</Shortcut>
7: <Description>Code snippet for an automatically implemented property</Description>
8: <Author>Adlai Maschiach</Author>
9: <SnippetTypes>
10: <SnippetType>Expansion</SnippetType>
11: </SnippetTypes>
12: </Header>
13: <Snippet>
14: <Declarations>
15: <Literal>
16: <ID>type</ID>
17: <ToolTip>Property type</ToolTip>
18: <Default>int</Default>
19: </Literal>
20: <Literal>
21: <ID>property</ID>
22: <ToolTip>Property name</ToolTip>
23: <Default>MyProperty</Default>
24: </Literal>
25: </Declarations>
26: <Code Language="csharp">
27: <![CDATA[
28: #region $property$
29: [System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]
30: private $type$ _$property$;
31:
32: public $type$ $property$
33: {
34: [System.Diagnostics.DebuggerStepThrough()]
35: get
36: {
37: return _$property$;
38: }
39: set
40: {
41: _$property$ = value;
42: }
43: }
44: #endregion
45:
46: $end$]]>
47: </Code>
48: </Snippet>
49: </CodeSnippet>
50: </CodeSnippets>
The snippet can be downloaded from here
Ok, after the my lecture yesterday (מפגש קהילת Office System – פברואר 2009 – Office System User Group ) I understood that people don’t know what is InfoPath.
And Why do I say such a thing ? because mainly due to the fact that InfoPath2003 & InfoPath 2007 look very similar from a Office Desktop Client point of view, the main difference is the InfoPath2007 really works and it is has Web Browser Capability ( which is THE thing about it ).
Ok, change of plan, though I have 3 FINISHED WebCasts ( and 2 which need the introductory slides ) on Entity Framework from over three weeks ago, my next WebCast series would be an introductory to InfoPath – when both of them ( EF & IP WebCasts ) will be reviewed before upload ( the EF is already there and might change ), which means: better Webcasts than before :)
So, wait for it, you know I can do it ;)
Ahh, BTW, the lecture was great, I got great feedback :)
IE Crash when opening an Office document from SharePoint (Moss)
Problem
Now, first of all take into consideration the fact that this ALSO includes the following scenario: You have a SqlServer Reporting Services Website, and you created a SharePoint list which contain links to the reports, now the links are really to the EXCEL export type of the report, so in essence their like Office Excel documents ( go figure :( )
Solution 1:
-
Do a search for "owssupp.dll". There should be more than one instance of it on the C:
-
Delete all instances of this file from the hard drive (You will need administrator rights)
-
Go to the Control Panel>Internet Options>Advanced {tab} > Reset Internet Explorer settings (click reset)
-
Run the Office Diagnostic Tool: Start>Programs> Microsoft Office > Microsoft Office Tools > Microsoft Office Diagnostic Run the tool When the tool is finished running, you should be able to open Microsoft Office documents in SharePoint
Solution 2:
The official MS KB's are http://support.microsoft.com/kb/833714 (can't open, no compat app), http://support.microsoft.com/kb/938888 (IE crash).
Some of my colleges have told me that my “tagging” is somewhat misleading, meaning that from my posts you can’t really understand what is my REAL MAIN TAG – Well, there are two of them :
- Big Servers - Moss / BizTalk / Architecture … ( my “/adlaim” blog ) = My Work
- Free Software / Freelancing / Development For Fun – Visual Studio Express ( my “/dotNetExpress” blog ) = My “hobby”
The point is that meron posted about this month’s User Group, and the 2nd part of the meeting would be about InfoPath. Now, considering the fact that I have been programming for over half a year in InfoPath 2007 ( yes you’ve head me right – programming ) I was curious as to who is giving the lecture. So I called meron to ask him who is giving the lecture, and without flinching an eye he said “I was hoping you would :)” . My first reaction was “OK, that’s kinda sudden, knowing the you have to prepare a lecture in less than a week’s notice ?!?”, but after 2 seconds I did a flip “but heck this is you bread and butter, you can do this with almost Zero preparation”.
So incase you missed the point in the paragraph – I’m giving a lecture on InfoPath2007 Browser Capable Forms this Monday. Nothing fancy, some of you might already know some of the tricks, and some might not.
Ahh, BTW, the samples won’t have any code ( unlike my everyday work ) for time limitation reasons.
Undelivered Package from Amazon ?
Well, here’s the link
https://www.amazon.com/gp/a-z-guarantee/submit-claim.html
I’ve been searching for this for over two weeks :(
And in the beginning there was Word – Intro to Word Forms [AKA “Not InfoPath forms”]
Ok, so most of us already know how to create a simple InfoPath form, but do we know how to create a word form ? well it seems that sometimes we need it in an Word format because “it looks familiar” , “we have office 2003 installed, will it work ?” …..
So the question is , how do start building a Word form ? ( the conversion to InfoPath is simple )
Well here are the starting steps:
- Right click the top bar
- Choose the Developer option
- Choose the “Legacy Form” option because we have Office 2003 users :(
- From here one you should manage ;)