Windmill Software Ltd |
April 2000 |
Monitor Newsletter Archive |
Issue 21: Using Windmill with Access; Visual Basic ResourcesCONTENTSWindmill News | Exhibition News | Using Windmill with Microsoft Access | VB Corner WINDMILL NEWS: MORE TECHNICAL SUPPORTWe've updated 2 sections of the Windmill web site with information to help you use your free Windmill software.
* Coming Soon EXHIBITION NEWS: THE END FOR C&IThe Control & Instrumentation Exhibition, which was due to take place in May at the NEC (Birmingham) UK, has been cancelled. Centaur, the show organisers, are replacing next year's C&I with a new "Integrated Manufacturing Solutions" show. Previously advertised as the UK's largest forum for industrial and process measurement, instrumentation and automation, C&I would have reached its 29th birthday this year. An undignified demise for a once popular event. However, as companies now proudly exhibit their products on their web sites, perhaps more large exhibitions will go the way of C&I. For coverage (in 11 languages) of other British engineering and manufacturing exhibitions still taking place, see http://www.exhibitions.co.uk/xnet13.html USING WINDMILL WITH AN ACCESS DATABASELogging Data Continuously to a Series of Files However, you may want to use the data you get through Windmill in other applications like Microsoft Excel or Access. We've covered Excel in Issue 13 of this newsletter. This article concentrates on Access. * DDE Links
How to Update Data in Access Every Time you Click a Button
Private Sub Command7_Click
Dim myDDE
myField.SetFocus
myDDE=DDEInitiate("WINDMILL", "Data")
myField.Text=DDERequest(myDDE, "InputA")
End Sub
Assuming:
Everytime you click the button in Access, the reading updates. Displaying Information Other Than Data Readings
For more details on DDE topics open the DDE Panel on-line Help, and go to the section entitled "Types of Information: DDE Topics". * We hope this brief guide helps you get started with Windmill and Access. Once you've used the on-click button, you can experiment with different Access controls: for example using a Timer control to periodically update readings without your intervention. For an example of how Windmill is being used with Access to capture data from a torque meter, see our Applications section. GETTING HINTS, TIPS AND TUTORIALS ON VISUAL BASICMicrosoft claim that Visual Basic is the world's most used programming language, regularly utilised by 3.2 million people. Statistics aside, it is a language growing in popularity, increasingly taught at universities. The package is easy to get to grips with and provides enough power to obtain significant results quickly, which makes it a favourite for newcomers to programming. Microsoft's stated intention is to make future releases of VB as versatile as Visual C++. The number of web sites dedicated to VB, or which have VB issues as a significant part of their content, is staggering. If you are a regular programmer doubtless you will already have preferred sites and be subscribed to one or more of the many newsgroups. For comparative newcomers the following handful of suggestions may be interesting places from which to commence a web search. They are all well put together, are regularly updated and have been easy to access and download pages, even at peak times. A recurring feature is the tip of the week or month. *
The following sites offer to e-mail you newsletters with programming tips * Further Reading
Recommended book for beginners:
Recommended books for more experienced programmers: Visual Basic 6 Business Objects, by Rockford Lhotka, ISBN : 1-861001-07-X, Wrox Press * Main research and article by John Bushby, Technical Author. John may be contacted at jbushby@bigfoot.com.
* Copyright Windmill Software Ltd * Reprinting permitted with this notice included * For more articles see http://www.windmill.co.uk We are happy for you to copy and distribute this newsletter, and use extracts from it on your own web site or publication, providing the above notice is included and a link back to our website is in place. SubscribingTo receive Monitor every month please fill in your e-mail address below. We will not pass your address to any third parties, nor send you any unsolicited e-mail. | |
Recommend this Monitor newsletter to a Friend
Home | On-Line Shop | Free Literature and Software Demos | Contents | Search
| Copyright Windmill Software Ltd 2001 PO Box 58, North District Office, Manchester, M8 8QR, UK. E-mail: monitor@windmill.co.uk, Tel:+44 161 833 2782 By Jill Studholme http://www.windmill.co.uk/ Designed by Studholme.net |