devxlogo

June 26, 1998

Converting long to two integers

Question: How do you convert a long integer to two integer values (that is, get the low word and high word contained in a long integer)?Danial Appleman’s API Guide discusses

Determining time zone setting

Question: How can I find the Active Time Zone offset from UTC that the computer clock is set to? This value changes when going from Standard to Daylight Savings Time.

Find if directory exists

Question: We would like to find out if a directory that was typed exists. Furthermore, we prefer not to use a list box control or getFileOpenName. Answer: To do this

DPB and DCOM with Active Server Pages

Question: What threading model does DPB use? Apartment? I’d like to use PB to create MTS components for an Active Server Pages project. Do you foresee any problems? Any advice?

Problems with TypeOf

Question: Given: Dim oX as Object Set oX = optChoice1 If TypeOf oX is CheckBox Then… If optChoice1 is a CheckBox the If… will be true unless optChoice1 is an

Controlling other programs

Question: How can I make a program that controls other programs? For example, I’ve seen programs that can change the text in a text box of another program. Answer: Sounds

Identity column in SQL server database

Question: I inserted a new row in a table with Identity column, and saved it by calling update function. Then I immediatly tried to modify this record and update again.