Posts

Showing posts from July, 2010

VB Repeaters and Textboxes

Made your repeaters hidden and then you get an index error within Visual Studio? 1. The repeater needs to be visible to bind data to the textboxes. 2. You cannot extract text from a textbox repeater once the website is running. - The way around this is to copy the contents of the textbox repeater to another textbox object. You can also use validation instead of manually creating validation as textboxes within repeater controls are not visable and the find control code has to be utilized. See code below to extract contents of textbox within repeater. Change name of textbox control to read contents of a button control. rptYourRepeater.Items[0].FindControl("txtYourTextBox")

How to copy NK2 to DAT for Microsoft Office 2010 (AutoComplete)

Before attemping this, ensure Outlook 2010 is closed. This method is only really necessary if you are installing Office 2010 from scratch on a new machine. If you are installing over Office 2007, as far as I am aware the installer will convert the NK2 into a DAT file. 1. Download NK2Edit from http://www.nirsoft.net 2. Open the old Nk2 file (associating the file with NK2 does not work with version v1.12 3. Click Save As, Change the Save as type to "Outlook 2010 AutoComplete .dat file". 4. Navigate to the following directory in the address bar within the Save As Window. %AppData%\Local\Microsoft\Outlook\RoamCache 5. Save over the current Stream_Autocomplete file. 6. Test the AutoComplete feature. Provided with no Warranty.