Adding a Haptek Player to a Visual Basic project.
This is a short tutorial which covers a method of adding the Haptek Player to Visual Basic projects.
I have assumed that you have already installed the Haptek Player and Visual Basic Express and have a rough idea of how to use the VB environment.
1. Get VB up and running and start a new project. Name your project and sort yourself out so you get your basic Form1 showing.
Go to 'Tools' and select 'Choose Toolbox Items' - this will take a while to load depending on what you have installed on your computer.
2. Click on the 'COM Components' Tab and wait a while for them all to load. Near the top you should find 'ActiveHaptekX Control'. Click on the tick box and select it, then press OK.
3. Now if you go to your toolbox you should be able to find the Haptek entry - mine appears under 'All Windows Forms'.
4. Click on the 'ActiveHaptekX Control' item in the tool box and then go across and click on your Form1 some place. A Haptek window should appear and you can then adjust it's size as you wish. Congratulations you now have a Haptek player in your project.
5.Optional : you can scale the Haptek player to the size of it's containing window by 'docking' it fully. To do this select the Haptek control on your form and look in the 'Properties' menu for 'Dock'. Click on the small menu arrow beside it and a little submenu will pop up with squares on it...
6. Click the larger central square and it will set dock to 'fill'. Now your player occupies the form fully which means it will expand and contract with the window.
Okay great now what do I do with it you ask ?
I've put together a simple example project to show some of the ways you can control the player. It can be found here : HaptekDemo1 Just unzip it and drop the resulting folder in yourVB 'Projects' folder and then you can load it when you are ready.
Then the rest is up to you ! Get yourself the Haptek SDK or Dr Benway's guide (near the bottom of the first page) and familiarise yourself with Haptek commands. The demo project shows a few examples of sending things to the Haptek control. Good luck !
Hi IM BAA---AAACK!! by MagnusWootton (Home Made Robots) |
Project Acuitas by MagnusWootton (General Project Discussion) |
Attempting Hydraulics by MagnusWootton (Home Made Robots) |
Server Upgrade by Freddy (Welcome to AI Dreams forum.) |
Reasoner.js: a framework for generalized theory synthesis by ivan.moony (General Project Discussion) |
Haptek rises from the ashes by 8pla.net (Haptek) |
Butler In A Box (1983) by MikeB (General Hardware Talk) |
The Action Lab - I Broke ChatGPT With This Paradox by ivan.moony (Video) |
LLaMA2 Meta's chatbot released by spydaz (AI News ) |
ollama and llama3 by spydaz (AI News ) |
AI controlled F-16, for real! by frankinstien (AI News ) |
Open AI GPT-4o - audio, vision, text combined reasoning by MikeB (AI News ) |
OpenAI Speech-to-Speech Reasoning Demo by MikeB (AI News ) |
Say good-bye to GPUs... by MikeB (AI News ) |
Google Bard report by ivan.moony (AI News ) |
Elon Musk's xAI Grok Chatbot by MikeB (AI News ) |
Most Online Today: 515. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)