SearchDomino.com
September 17, 2001
Developer Tip
================================================= 
------------------------------------------------- 
Sponsored By: SWING Software
------------------------------------------------- 
************* MS OFFICE INTEGRATION ************* 
Integrate your applications with Microsoft Office using new SWING
Integrator v2.1. Create, save, edit Office documents as attachments;
field exchange, mail-merge, labels, templates... Now there's no
easier way. No DLLs -- no end-user licenses -- unlimited distribution
(ROYALTY-FREE)! Learn what hundreds of developers and thousands of
end-users already know. http://www.swingsoftware.com/searchdomino.htm

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
================================================= 
JULY'S TIP PRIZE WINNER:

Congratulations to our July tips winner, Aram Hovhannisyan, and now
our newest Dog Pound member!  Aram won the Olympus Stylus Epic Zoom
80 QD CG Camera.  

Tip:  Rollover buttons and @formulas
http://www.searchDomino.com/tip/1,289483,sid4_gci753493,00.html

================================================= 
Feature Tip
================================================= 
Title: Getting the client time zone info

This tip was submitted by Procopio Caceres, a programmer in Houston,
TX.

Here's a way of getting/setting time zone information from a Lotus
Notes Client using Win32 API calls with GetTimeZoneInformation and
SetTimeZoneInformation from the kernel32.dll. An office wanted to
know a way of finding a client's time zone for a global application
being currently developed.

CODE: 
'type declarations for System time and timezoneinfo structures
Type SYSTEMTIME
 wYear As Integer
 wMonth As Integer 
 wDayOfWeek As Integer 
 wDay As Integer
 wHour As Integer 
 wMinute As Integer
 wSecond As Integer
 wMilliseconds As Integer
End Type
Type TIMEZONEINFO
 Bias As Long 
 StandardName As  String * 32
 StandardDate As SYSTEMTIME
 StandardBias As Long 
 DaylightName As String * 32
 DaylightDate As SYSTEMTIME
 DaylightBias As Long 
End Type

'win32 API calls. needed to declare timezoneinfo as unicode to 
     translate return string to wchar
Declare Function getTimeZoneInfo& Lib "kernel32" Alias 
     "GetTimeZoneInformation" (tzs As Unicode TIMEZONEINFO)
Declare Function setTimeZoneInfo% Lib "kernel32" Alias 
     "SetTimeZoneInformation" (tzs As Unicode TIMEZONEINFO)

Sub Click(Source As Button)
        'declare a timezoneinfo structure
 Dim tz As TIMEZONEINFO
        'call c call
 rc&=getTimeZoneInfo(tz)
        'display time zone
 Msgbox tz.StandardName
End Sub

END CODE

http://searchdomino.techtarget.com/tip/1,289483,sid4_gci754787,00.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
================================================= 
DID THIS TIP WORK FOR YOU? Send us your feedback, and we'll add it to
the tip posted on searchDomino.com. Send you comments and feedback to
[EMAIL PROTECTED] 

OR SEND US YOUR FEEDBACK TO BE POSTED ON THIS TIP TO:
[EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
================================================= 
NEWLY POSTED DEVELOPER TIPS: 
================================================= 
We posted 12 new tips last week. Thanks for all your tips and keep
them coming!

Domino Category:
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283837_alpD_idx0,00.html
[1] Find those nasty Web server LotusScript errors

Formula Category:
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283836_alpD_idx0,00.html
[1] Last day of a month redux (any location)
[2] Use copy/paste to make new documents
[3] Rich Text to plain text conversion with Formula
[4] Create a button to a file on the network

HTML Category:
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283838_alpD_idx0,00.html
[1] Removing PRE and TT formatting created by Domino

JavaScript Category:
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283840_alpD_idx0,00.html
[1] Fully customizable actionbar on the Web

Script Category:
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283841_alpD_idx0,00.html
[1] LotusScript agent to send field values, sorted by field
[2] Using a bubble sort algorithm
[3] Archiving - CopyToDatabase method with child documents
[4] Exporting nsf objects - deep under the covers
[5] Day of Week (Gregorian || Julian)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
================================================= 
FEATURE BOOK
------------------------------------------------- 
Notes and Domino R5 Developer's Guide to Building Applications    
By Matt Riggsby

Notes and Domino provide the technology to solve pressing business
problems. But you have to provide the know-how, and this book gives
you just that--the hands-on knowledge you need to put the powerful
features of R5 to work in effective, fine-tuned solutions that
improve the way your organization shares information.

http://www.digitalguru.com/DigitalGuru/product_detail.asp?catalog%5Fname=Books&product%5Fid=0782128246&partner_id=60

================================================= 
Win September's Tip Prize: 
------------------------------------------------- 
Submit a developer tip in September and you could win a Pen Cam Mini
Digital Camera.  This mini digital camera is no bigger than a cigar
lighter; the Pen Cam is tiny but a mighty 5 inches tall.  Take
quality pictures with this sleek device.

http://searchdomino.techtarget.com/tipsPrize/0,289492,sid4_prz764172_cts764173,00.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
================================================= 
Disclaimer: These tips are submitted by your Domino peers. Our tips
services and online tips exchange are a way for you to learn from
other IT professionals and share technical advice and expertise with
your peers. Techtarget.com provides the infrastructure to facilitate
this sharing of information. However, we can't guarantee the accuracy
and validity of the material submitted. You agree that your use of
the searchDomino.com tips services and your reliance on any
questions, answers, information or other materials received through
searchDomino.com will be at your own risk.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
================================================= 
If you would like to sponsor this or any TechTarget newsletter,
please contact Gabrielle DeRussy at [EMAIL PROTECTED]

================================================= 



If you no longer wish to receive this newsletter simply reply to 
this message with "REMOVE" in the subject line.  Or, visit 
http://searchDomino.techtarget.com/register 
and adjust your subscriptions accordingly. 

If you choose to unsubscribe using our automated processing, you 
must send the "REMOVE" request from the email account to which 
this newsletter was delivered.  Please allow 24 hours for your 
"REMOVE" request to be processed.

Reply via email to