BronwenWeeGo.jpgIf you've modified your form.xsd file and want to get those nodes into your template and sample data files in Infopath 2003...best way i've found is:

1. Only works on mandatory items (so you can always make sure the item is mandatory (usage min 1) first and change it back afterwards)

 2. Open your form

3. Choose any control that's already bound that has a default value e.g. a text box

 4. Choose Properties

5. Alter the default value, and change it back.

The files should be regenerated.  Stops you getting the unbound control errors and having to manually re-create the nodes.

BronwenWeeGo.jpgAlways forget what number is what version of SQL Server so here's list of the ones I commonly run into


SELECT SERVERPROPERTY('ProductLevel')
GO


or
 
SELECT @@VERSION
GO

SQL 2005

Release 9.00.1399.06
SP1 9.00.2047
Hotfix918222 9.00.2153
SP2 9.00.3042

SQL 2000

release 8.00.194
sp1 8.00.384
sp2 8.00.534
sp3/3a 8.0.760
sp4 8.00.2039


 

BronwenWeeGo.jpgI didn't take my 350D to Tech.Ed with me cause I didn't feel like lugging my camera equipment around with me, so we took the old 2 MP Canon IXUS.  Unfortunatly i couldn't find the charger before we left, so only got to take 1 photo with it.  We got our pici taken with my M/soft buddy Frank.

Techedus.jpg

After a long search we finally found our names on the wall, so then i believed that it was really made up of participant names.  Before that, there were a lot of tech.john, tech.david etc that coulda just been made up.  The likelyhood of Tech.John, Tech.Bronwen and Tech.Rod appearing in that order randomly is pretty slight.  Unfortunatly, we found it so late and by the time we found a camera to take a pic with, the security guy wouldn't let us back in to take a quick photo, so no proof to show

To prove we were actually there, we've got our personalised Tech.Ed shirts with our names embroidered on it

techedus_small.jpg

So now that I'm home I had a chance to lay out all the freebies I got.  I have: 1 tec.ed backpack, dev garten shirt, dev garten bracelet, tec.ed shirt, 7 pens, 4 fling things, forefront shirt, forefront cap, travel mug, mini footy, calico bag, mouse pad, headphones with retractable chord, radio, some sock type thing, squishy pill, squishy lightbulb, squishy lego blocks (very cool), squishy throwing thing, intel blowup thing

techedhaul_small.jpg

I entered every competition possible (and signed up for a lifetime of spam), but as with my luck, didn't win a thing.

BronwenWeeGo.jpgWe got up bright and early and headed off to the exhibition centre.  Picked up our Tech.Ed bag, and our ticket for our free shirt.  Love the bag, and love the touch of having your name on the shirt.

Opening keynote was really cool.  Cultural anthropologist talking about her experience with using beta's on REAL people.  She was awesome, and learnt some new words..Digital Immigrant and Digital Native.

Ran into a few people I know, so hello to Phillip, Pagey, Joe, Smiffy, Daniel, Joel, Geoff, Rod, Zac, Frank, Chuck and anyone else i forgot.  It's quite a sight to see 2000 of the exact same backpack wandering around.

Mental note for the future...if you're a girl and you forget your in the 4% of the populatation at a conference, it's MUCH harder to double dip on the free stuff...ppl seem to remember me...no fair.

Day 1 was pretty good.  We'd planned to do some exercise and play tennis at the hotel, we brought our rackets, tennis balls and even had 4 players, but who woulda guessed that you have to book the stupid court, and that you can book it for 2 hrs!  So that planned failed, we wandered back to Tech.Ed and played on the xboxes and ran into a few other people.

BronwenWeeGo.jpgWe musta picked a good time to fly outta Brisbane (or maybe it was just cause it was a Tuesday)  but we made great time to the airport, plane wasn't too crowded and got a cab pretty quick.  Got to the hotel, and realised we were in a different class of hotel straight away, when they take your bags outta the cab for you and take them up to your room.

All was fine till we discover that we're in a double instead of a queen so we made the sacrifice and moved to the harbour view room to get a queen, but had to handle the smoking room.  So off we went to woolies to get stuff we forgot and some serious room deodoriser.   Hotel was very full of people with Tech.Ed bags so we knew we were in the right spot.

BronwenWeeGo.jpg We're off to Tech Ed in Sydney tomorrow afternoon, for 3 jam-packed days of information overload.  So probably no news from us till next week.  Hope to catch up with quite a few people in the next fews days.  Looking forward to it.  See a few of you there.

BronwenWeeGo.jpg Spotted this article in TechNet today.  Thought it looked interesting and will have to read it a bit better later.  So now I can play with my iPod (code name Darth Pod)

BronwenWeeGo.jpgWhen i started using the finder in the new generic lists I couldn't find a good e.g of how to write the find function.  So here's a cut down version of one that i ended up writing.

First I needed a class that could work out if a supplied item was equal to something in my list e.g.


using System;
using System.Collections.Generic;
using System.Text
namespace SoulSolutions.Test
{
    /// 
    /// Provides generic functionality to find an object in collection.
    /// 
    public class FindObject
    {
        private int id;
        
        /// 
        /// Constructor
        /// 
        /// The unique identifier for the object.
        public FindObject(int id)
        {
            this.id = id;
        }
        
        /// 
        /// Predicate to use to find a item in a list based on the 
        /// id
        /// 
        /// The object to compare to
        /// true if found/false otherwise
        public bool FindByIdPredicate(PersonObject objectData)
        {
            return objectData.ItemId == id;
        }
    }
}

Then to use it:

Need to create my FindObject class giving it the value i'm looking for.  Then using the list that i want to search, call the find giving it the findobject class with the function that i want to use to find.


List items;
FindObject objectToFind = new FindObject(2);
PersonObject person = items.Find(new Predicate(objectToFind.FindByIdPredicate));

BronwenWeeGo.jpg So I've been using InfoPath as a development tool for a couple of months now.  So here's the top 5 things that annoy me about infopath 2003, or that i haven't found an easy answer for.

1. Regeneration of template/sampledata.xml - If you add new nodes into your form xsd file there's no easy way to get them added to your template.xml or your sampledata.xml.  The only sure way to ensure they're there is to add them manually which of course if very tedioius.

2. No common rule definiton -if you use the same rule on more than 1 control on the infopath form, you have to create it from scratch (unless you know how to hack the manifest file).

3. No Common Controls - If you use the same combination of controls (e.g. Suburb ddl, state ddl and postcode text box) in a lot of places, no easy way just to make it a common control.

4. No section footers -   As it's very Word like, you'd expect it to behave like Word.  There's no way to have a page header/footer on a section, only for the whole of the document.

5. No batch publishing - Doesn't seem to be an easy way to publish a bunch of forms to  a web server in a batch (or using a batch file to publish)

johnWeeGo.jpgThere have been many posts recently about how to change the popup styles in Virtual Earth.
I'm no designer but these are the pieces that you need.

Read article...

Copyright © 2002-2009 Soul Solutions Pty Ltd. | Login