Archive | Tech Tips RSS feed for this section

Marking All Messages Read in Lotus Notes

24. June 2009

16 Comments

To Mark All Messages Read: – In the Edit Menu, click Unread Marks, then Mark All Read The shortcut to mark individual or selected messages read is the Insert key. When Does this Work? This worked for Lotus Notes 6.5 and I read it should work for 7. When Will This Help? If you are […]

Continue reading...

Formatting Columns in an ASP.Net GridView Control

23. June 2009

1 Comment

To format columns in a GridView control, you can use the FormatString property: //Formatting Currency <asp:GridView id="grid" Runat="Server" > <Columns> <asp:BoundField HeaderText="Amount" DataField="amt" FormatString="{0:c}"/> </Columns> </asp:GridView> To format a Date column, you must also set the HTMLEncode property to “False”. //Formatting a date column <asp:BoundField HeaderText="Amount" DataField="date1" FormatString="{0:d}" HTMLEncode="False" /> To format a Currency with […]

Continue reading...

Setting MimeType in PHP

22. June 2009

Comments Off on Setting MimeType in PHP

Setting the Mime Type allows you to tell the browser what type of response that it is going to receive. This is useful for returning non html results like file downloads, xml and JSON. //Setting a XML File Type in PHP $mtype = "text/xml"; header("Content-Type: " . $mtype); //Setting a File Download Type in PHP […]

Continue reading...

How to Install PHP CURL on IIS

21. June 2009

3 Comments

Are you getting this error: Fatal error: Call to undefined function curl_init() in C:\myfile.php on line 100 A quick overview on how to get the php_curl.dll working on IIS. This works with PHP 5.x on Windows. Most likely you did not install the CURL extension when you first installed PHP on your machine. Below is […]

Continue reading...

View, Browse, and Edit JSON Objects Visually

20. June 2009

Comments Off on View, Browse, and Edit JSON Objects Visually

Here are some helper applications that let you view, browse and edit JSON objects. When I am first working with a web service that returns JSON, I like a quick overview of what it includes. Having a navigable treeview helps find the properties that you need and get them quickly integrated into your code. Here […]

Continue reading...