Results for "Author: elias barbosa"
I have just done a major update! This Form with Scroll Bars Control has everything that you always dreamed of on a Scrolling Form and more! Following is a list of the most important features available on this versatile ActiveX Control: ____________________________________________________ (1) The Form will scroll vertically and horizontally! ____________________________________________________ (2) It will scroll automatically to the field with focus if the field is out of site. ____________________________________________________ (3) It will highlight the field or button that has the Focus (Actually, any Control inside of the Scrolling Form that can get focus). ____________________________________________________ (4) Besides been able to optimize the space on your applications by been able to scroll in any direction, you can now flip pages! This feature is much like a wizard’s page. The control will track the number of added pages and which page is currently been viewed. ____________________________________________________ (5) The control will memorize the last field selected and the scroll bars position on every page. Therefore, whenever you move to a new page, you can opt to have the Scrolling Form ActiveX automatically select the last field selected on the corresponding page or select the first field of the page. ____________________________________________________ (6) The Control can automatically select the text of every Text Box selected. ____________________________________________________ (7) You can add a background picture to the control. This picture will be set as the background picture of every added page! ____________________________________________________ (8) You can set the background color of the control. This color will be set as the background color of every added page! ____________________________________________________ All of these features are neatly packed as an ActiveX Control. It is very easy to use! What are you waiting for?!! Go ahead and download it! The Source Code of the OCX is included and is heavily commented!!
Microsoft provided a pretty lame example of saving the Form Size on Registry. This example is on the MSDN Library. In 20 minutes I was able to write a few lines of code that will save not only the Form Size but also the WindowState! The WindowState is a commonly forgotten property that should always be saved. A very surprising example of this mistake can be found on Adobe Illustrator 10! When I Maximize Illustrator's window and, then, close the application, it doesn't memorize the WindowState. When I reopen Illustrator, its window fills the entire screen but it is on Normal WindowState. Because of this, the window is always a little bit off the right position. I always end up maximizing the window. Every single time!! Don't do the same mistake! Just follow the instructions below and you will be home free! :) ============================================================ Update 05/31/02 - 3:22AM! (My wife hates me!!) :) ============================================================ I heard the crowd and made considerable changes on the code. Now it checks the screen size so, in the rare event that the user reduces the resolution of his monitor, the Form will not end up off screen or too big. I, also, fixed a little bug on the Form Unload event. (What would you expect from a code that took me only 20 minutes to write!!) :) ============================================================ Update 05/31/02 - 11:16AM! (Now, my boss hates me, too!!) :) ============================================================ I just made a few tweaks on the code. I can't help it. I am a perfectionist! :) The code will, now, use the name of the Form to create the name of the keys that are going to be created on Registry.
This is a control that will allow you to create a form that can be scrolled by the user. It is very simple to implement. This submission is heavily based on another submission by Fred_Cpp: http://www.planet-source-code.com/vb/scripts/showcode.asp?lngWId=1&txtCodeId=31896 I hope that Fred doesn't get mad at me for tweaking his code! :) My modified version has little changes. When there is no need to scroll horizontally or vertically, the scroll bar is hidden. The scroll bars do not have the annoying blinking anymore. I did a lot of clean up on the code and added a few comments in "English". I think that the example looks better, too. It would be good if you guys could give me some feedback. ============================================ I have just uploaded an ActiveX Control that is much better. The URL Is: ============================================ http://www.planet-source-code.com/vb/default.asp?lngCId=32374&lngWId=1
This ActiveX Control (OCX) will create a simple interface so the user can enter a determined time. It then validates the time entered and will always return a correct time. This control can be very useful if you are writing a program like an Alarm Clock or something like this. It can be, also, very instructive for those who want to learn how to program an ActiveX Control.
I have just done a major update! This Form with Scroll Bars Control has everything that you always dreamed of on a Scrolling Form and more! Following is a list of the most important features available on this versatile ActiveX Control: ____________________________________________________ (1) The Form will scroll vertically and horizontally! ____________________________________________________ (2) It will scroll automatically to the field with focus if the field is out of site. ____________________________________________________ (3) It will highlight the field or button that has the Focus (Actually, any Control inside of the Scrolling Form that can get focus). ____________________________________________________ (4) Besides been able to optimize the space on your applications by been able to scroll in any direction, you can now flip pages! This feature is much like a wizard’s page. The control will track the number of added pages and which page is currently been viewed. ____________________________________________________ (5) The control will memorize the last field selected and the scroll bars position on every page. Therefore, whenever you move to a new page, you can opt to have the Scrolling Form ActiveX automatically select the last field selected on the corresponding page or select the first field of the page. ____________________________________________________ (6) The Control can automatically select the text of every Text Box selected. ____________________________________________________ (7) You can add a background picture to the control. This picture will be set as the background picture of every added page! ____________________________________________________ (8) You can set the background color of the control. This color will be set as the background color of every added page! ____________________________________________________ All of these features are neatly packed as an ActiveX Control. It is very easy to use! What are you waiting for?!! Go ahead and download it! The Source Code of the OCX is included and is heavily commented!!
Microsoft provided a pretty lame example of saving the Form Size on Registry. This example is on the MSDN Library. In 20 minutes I was able to write a few lines of code that will save not only the Form Size but also the WindowState! The WindowState is a commonly forgotten property that should always be saved. A very surprising example of this mistake can be found on Adobe Illustrator 10! When I Maximize Illustrator's window and, then, close the application, it doesn't memorize the WindowState. When I reopen Illustrator, its window fills the entire screen but it is on Normal WindowState. Because of this, the window is always a little bit off the right position. I always end up maximizing the window. Every single time!! Don't do the same mistake! Just follow the instructions below and you will be home free! :) ============================================================ Update 05/31/02 - 3:22AM! (My wife hates me!!) :) ============================================================ I heard the crowd and made considerable changes on the code. Now it checks the screen size so, in the rare event that the user reduces the resolution of his monitor, the Form will not end up off screen or too big. I, also, fixed a little bug on the Form Unload event. (What would you expect from a code that took me only 20 minutes to write!!) :) ============================================================ Update 05/31/02 - 11:16AM! (Now, my boss hates me, too!!) :) ============================================================ I just made a few tweaks on the code. I can't help it. I am a perfectionist! :) The code will, now, use the name of the Form to create the name of the keys that are going to be created on Registry.
This is a control that will allow you to create a form that can be scrolled by the user. It is very simple to implement. This submission is heavily based on another submission by Fred_Cpp: http://www.planet-source-code.com/vb/scripts/showcode.asp?lngWId=1&txtCodeId=31896 I hope that Fred doesn't get mad at me for tweaking his code! :) My modified version has little changes. When there is no need to scroll horizontally or vertically, the scroll bar is hidden. The scroll bars do not have the annoying blinking anymore. I did a lot of clean up on the code and added a few comments in "English". I think that the example looks better, too. It would be good if you guys could give me some feedback. ============================================ I have just uploaded an ActiveX Control that is much better. The URL Is: ============================================ http://www.planet-source-code.com/vb/default.asp?lngCId=32374&lngWId=1
This ActiveX Control (OCX) will create a simple interface so the user can enter a determined time. It then validates the time entered and will always return a correct time. This control can be very useful if you are writing a program like an Alarm Clock or something like this. It can be, also, very instructive for those who want to learn how to program an ActiveX Control.
I have just done a major update! This Form with Scroll Bars Control has everything that you always dreamed of on a Scrolling Form and more! Following is a list of the most important features available on this versatile ActiveX Control: ____________________________________________________ (1) The Form will scroll vertically and horizontally! ____________________________________________________ (2) It will scroll automatically to the field with focus if the field is out of site. ____________________________________________________ (3) It will highlight the field or button that has the Focus (Actually, any Control inside of the Scrolling Form that can get focus). ____________________________________________________ (4) Besides been able to optimize the space on your applications by been able to scroll in any direction, you can now flip pages! This feature is much like a wizard’s page. The control will track the number of added pages and which page is currently been viewed. ____________________________________________________ (5) The control will memorize the last field selected and the scroll bars position on every page. Therefore, whenever you move to a new page, you can opt to have the Scrolling Form ActiveX automatically select the last field selected on the corresponding page or select the first field of the page. ____________________________________________________ (6) The Control can automatically select the text of every Text Box selected. ____________________________________________________ (7) You can add a background picture to the control. This picture will be set as the background picture of every added page! ____________________________________________________ (8) You can set the background color of the control. This color will be set as the background color of every added page! ____________________________________________________ All of these features are neatly packed as an ActiveX Control. It is very easy to use! What are you waiting for?!! Go ahead and download it! The Source Code of the OCX is included and is heavily commented!!
Microsoft provided a pretty lame example of saving the Form Size on Registry. This example is on the MSDN Library. In 20 minutes I was able to write a few lines of code that will save not only the Form Size but also the WindowState! The WindowState is a commonly forgotten property that should always be saved. A very surprising example of this mistake can be found on Adobe Illustrator 10! When I Maximize Illustrator's window and, then, close the application, it doesn't memorize the WindowState. When I reopen Illustrator, its window fills the entire screen but it is on Normal WindowState. Because of this, the window is always a little bit off the right position. I always end up maximizing the window. Every single time!! Don't do the same mistake! Just follow the instructions below and you will be home free! :) ============================================================ Update 05/31/02 - 3:22AM! (My wife hates me!!) :) ============================================================ I heard the crowd and made considerable changes on the code. Now it checks the screen size so, in the rare event that the user reduces the resolution of his monitor, the Form will not end up off screen or too big. I, also, fixed a little bug on the Form Unload event. (What would you expect from a code that took me only 20 minutes to write!!) :) ============================================================ Update 05/31/02 - 11:16AM! (Now, my boss hates me, too!!) :) ============================================================ I just made a few tweaks on the code. I can't help it. I am a perfectionist! :) The code will, now, use the name of the Form to create the name of the keys that are going to be created on Registry.
This is a control that will allow you to create a form that can be scrolled by the user. It is very simple to implement. This submission is heavily based on another submission by Fred_Cpp: http://www.planet-source-code.com/vb/scripts/showcode.asp?lngWId=1&txtCodeId=31896 I hope that Fred doesn't get mad at me for tweaking his code! :) My modified version has little changes. When there is no need to scroll horizontally or vertically, the scroll bar is hidden. The scroll bars do not have the annoying blinking anymore. I did a lot of clean up on the code and added a few comments in "English". I think that the example looks better, too. It would be good if you guys could give me some feedback. ============================================ I have just uploaded an ActiveX Control that is much better. The URL Is: ============================================ http://www.planet-source-code.com/vb/default.asp?lngCId=32374&lngWId=1
This ActiveX Control (OCX) will create a simple interface so the user can enter a determined time. It then validates the time entered and will always return a correct time. This control can be very useful if you are writing a program like an Alarm Clock or something like this. It can be, also, very instructive for those who want to learn how to program an ActiveX Control.
Let's say, for example, that you have a database with all your clients. Now, you want to select just a few of them and get all the information stored on the database about them. The ideal interface to solve this problem would be to have a List Box with all your clients on one side and an empty List Box on the other side. You could, then, select the clients that you wanted just by double-clicking on their name. The selected clients would move to the empty List Box. When you finished with the selections, you would be able to access a Recordset with only the clients that you selected! ____________________________________________________ Sounds good? Well, this ActiveX Control does just that! ____________________________________________________ >> If you ever tried to create an interface using two List Boxes you will truly appreciate this Control. Here is a list of the main features: ____________________________________________________ * It will connect to a password protected Database. ____________________________________________________ * The users can navigate on the Control with their keyboard. ____________________________________________________ * It will list the records according to the specified field. ____________________________________________________ * The users can select multiple items. ____________________________________________________ * A Recordset will be generated with the selected clients! ____________________________________________________ >> I worked as hard on the user interface as I did on the programmer interface. The Property Pages are very useful! ____________________________________________________ * You will be able to browse to the folder were your Database is! ____________________________________________________ * As soon as you provide a database name, the Property Page will list all Tables on a Combo Box so you can easily select a Table! ____________________________________________________ * As soon as you select the Table, the Property Page will list all the Fields from this Table on Combo Boxes so you can easily pick one Field according to the situation! ____________________________________________________ >> What you can learn from this submission: ____________________________________________________ * How to connect to a Database, a Recordset, a Table or a Query Definition. ____________________________________________________ * How to create a temporary Query Definition. ____________________________________________________ * How to create a SQL statement. ____________________________________________________ * How to sort a Recordset. ____________________________________________________ * How to list all Tables found on a Database and all Fields found on a Table! ____________________________________________________ * How to find out if a Field is a Primary Key or if it is a numeric Field! ____________________________________________________ * How to sort an array on numeric order using the "bucket sort" algorithm. ____________________________________________________ * How to sort a "two dimensional" array on alphabetical order using the "Bubble" algorithm. ____________________________________________________ * How to find the width of a string in Twips or Pixels! ____________________________________________________ * How to add a horizontal Scroll Bar to a List Box and how to find out if a List Box needs a horizontal Scroll Bar! ____________________________________________________ * This ActiveX Control comes with a nice Common Dialog Box Module! ____________________________________________________ This ActiveX Control does a few tasks that, at first glance, look very simple. However, it took me almost a month to finish it. So, please, give me your vote and post some comments. There are literally dozens of reasons to download this ActiveX Control! Go ahead and do so!!
I have just done a major update! This Form with Scroll Bars Control has everything that you always dreamed of on a Scrolling Form and more! Following is a list of the most important features available on this versatile ActiveX Control: ____________________________________________________ (1) The Form will scroll vertically and horizontally! ____________________________________________________ (2) It will scroll automatically to the field with focus if the field is out of site. ____________________________________________________ (3) It will highlight the field or button that has the Focus (Actually, any Control inside of the Scrolling Form that can get focus). ____________________________________________________ (4) Besides been able to optimize the space on your applications by been able to scroll in any direction, you can now flip pages! This feature is much like a wizard’s page. The control will track the number of added pages and which page is currently been viewed. ____________________________________________________ (5) The control will memorize the last field selected and the scroll bars position on every page. Therefore, whenever you move to a new page, you can opt to have the Scrolling Form ActiveX automatically select the last field selected on the corresponding page or select the first field of the page. ____________________________________________________ (6) The Control can automatically select the text of every Text Box selected. ____________________________________________________ (7) You can add a background picture to the control. This picture will be set as the background picture of every added page! ____________________________________________________ (8) You can set the background color of the control. This color will be set as the background color of every added page! ____________________________________________________ All of these features are neatly packed as an ActiveX Control. It is very easy to use! What are you waiting for?!! Go ahead and download it! The Source Code of the OCX is included and is heavily commented!!
This ActiveX Control (OCX) will create a simple interface so the user can enter a determined time. It then validates the time entered and will always return a correct time. This control can be very useful if you are writing a program like an Alarm Clock or something like this. It can be, also, very instructive for those who want to learn how to program an ActiveX Control.
This is a control that will allow you to create a form that can be scrolled by the user. It is very simple to implement. This submission is heavily based on another submission by Fred_Cpp: http://www.planet-source-code.com/vb/scripts/showcode.asp?lngWId=1&txtCodeId=31896 I hope that Fred doesn't get mad at me for tweaking his code! :) My modified version has little changes. When there is no need to scroll horizontally or vertically, the scroll bar is hidden. The scroll bars do not have the annoying blinking anymore. I did a lot of clean up on the code and added a few comments in "English". I think that the example looks better, too. It would be good if you guys could give me some feedback. ============================================ I have just uploaded an ActiveX Control that is much better. The URL Is: ============================================ http://www.planet-source-code.com/vb/default.asp?lngCId=32374&lngWId=1
Microsoft provided a pretty lame example of saving the Form Size on Registry. This example is on the MSDN Library. In 20 minutes I was able to write a few lines of code that will save not only the Form Size but also the WindowState! The WindowState is a commonly forgotten property that should always be saved. A very surprising example of this mistake can be found on Adobe Illustrator 10! When I Maximize Illustrator's window and, then, close the application, it doesn't memorize the WindowState. When I reopen Illustrator, its window fills the entire screen but it is on Normal WindowState. Because of this, the window is always a little bit off the right position. I always end up maximizing the window. Every single time!! Don't do the same mistake! Just follow the instructions below and you will be home free! :) ============================================================ Update 05/31/02 - 3:22AM! (My wife hates me!!) :) ============================================================ I heard the crowd and made considerable changes on the code. Now it checks the screen size so, in the rare event that the user reduces the resolution of his monitor, the Form will not end up off screen or too big. I, also, fixed a little bug on the Form Unload event. (What would you expect from a code that took me only 20 minutes to write!!) :) ============================================================ Update 05/31/02 - 11:16AM! (Now, my boss hates me, too!!) :) ============================================================ I just made a few tweaks on the code. I can't help it. I am a perfectionist! :) The code will, now, use the name of the Form to create the name of the keys that are going to be created on Registry.
This Chess Game is unlike any other here on PSC. The main difference is that it has a DLL Chess Engine. Before I continue, I have to explain that this project was not created by me. It was originally submitted by Marjan Mrak. I only painstakingly translated it from Slovenian to English. You will really admire my effort when you learn that I don't know a single word in Slovenian!! I only translated the Game project form Slovenian to English. The DLL project is still in Slovenian. However, you can, now, understand how to utilize the DLL. I am planning on translating the Chess Engine DLL, too. However, it is gonna take a while and I am planning to rewrite most of it... The great advantage of a DLL is that it will greatly facilitate the transportation of the Chess Engine form this project into your Chess Game project. I saw many Chess Game projects here on PSC that allow you to play against another human opponent on your computer or even play against an opponent via the internet. However, I hardly ever have seen a Project where you can play against your own computer. If you have programmed a Chess game that does not have the capability of playing with you, you can, now, add this feature to it. The Chess Engine is not brilliant but it is a start... ======================================================== Update 12-02-03 at 9:25 AM ======================================================== I have updated the DLL, as suggested by Norm Cook.
This is the 1st part of a 3 parts download. The tutorial has gotten pretty big (1.2 MB)! For this reason, I had to compress it with WinRAR and split the file into 3 smaller files. First, you will have to download the three files. The files' size must be 427 KB, 432 KB and 431 KB respectively. If the size of one of the files does not correspond to the mentioned values, download that file again. After that, decompress their content into the same folder and run the EXE file. I know that it is a little complicated but I’m sure that you will not regret downloading it!! ________________________________________________________________________ If you never had the chance to program an ActiveX Control before, that is your chance! You have no more excuses! This tutorial has about 25 pages packed with more then 60 screenshots!! Even the most novice programmer will be able to follow the step-by-step instructions. The more advanced programmers will, also, benefit from it. But there is more!! Included is an ActiveX Control Project that is, by itself, worth the download!! You shouldn’t waist more time!! Come and download it!! ________________________________________________________________________ When you are finished downloading and evaluating the tutorial, I will be more than glad to receive your comments and votes. But when you do it, please, make sure that you are in the THIRD and last part of the submission. ________________________________________________________________________ Happy New Year to everyone!!
This is the 2nd part of a 3 parts download. The tutorial has gotten pretty big (1.2 MB)! For this reason, I had to compress it with WinRAR and split the file into 3 smaller files. First, you will have to download the three files. The files' size must be 427 KB, 432 KB and 431 KB respectively. If the size of one of the files does not correspond to the mentioned values, download that file again. After that, decompress their content into the same folder and run the EXE file. I know that it is a little complicated but I’m sure that you will not regret downloading it!! ________________________________________________________________________ If you never had the chance to program an ActiveX Control before, that is your chance! You have no more excuses! This tutorial has about 25 pages packed with more then 60 screenshots!! Even the most novice programmer will be able to follow the step-by-step instructions. The more advanced programmers will, also, benefit from it. But there is more!! Included is an ActiveX Control Project that is, by itself, worth the download!! You shouldn’t waist more time!! Come and download it!! ________________________________________________________________________ When you are finished downloading and evaluating the tutorial, I will be more than glad to receive your comments and votes. But when you do it, please, make sure that you are in the THIRD and last part of the submission. ________________________________________________________________________ Happy New Year to everyone!!