Showing posts with label Visual Basic. Show all posts
Showing posts with label Visual Basic. Show all posts

Store data in windows resource files

0 comments
Have you ever wondered where the icons, pictures, cursors etc. from your forms are stored when Visual Basic isn't open? They are stored in form's .frx-file. All the infomation is stored in binary format using a method called property bags, and you can also use this extremely simple interface to store and extract multiple sources of data.

Adding Menus at runtime

0 comments

Introduction

In Visual Basic, adding menus at runtime is handled in the exact same way as adding any control at runtime. First you have to create a control array at design time, then at runtime you just load the new controls into the array. Here is the discussion to show you all the steps to handle this.

Creating a graphic tic tac toe game in VB6

0 comments
Requirements

The application should begin with a form that contains the following elements:
-          A label saying "Welcome to Tic-Tac-Toe"
-          Two option buttons enclosed in a frame. The captions for the option buttons should be        "X" and "O". The caption for the frame should be "Select 'X' or 'O' and click OK".
-          A command button with the caption "OK".
When the user clicks OK, exit this form and display the main form (the game board).