Results for "Author: sebastian thomschke"
A friend of mine asked me about how to let excel periodically update some worksheets containing stock prices. So the first thing I did was searching the web for a solution in Visual Basic for Applications. But the only one I found was to use a 3rd party ActiveX timer control which you have to place onto a userform. Then I found the VBA command "Application.onTime" and I had an idea. Here is my solution only utilizing the VBA onTime command. NO need for ActiveX control or any other 3rd party module.
I've tried a lot of different multiple undo examples from the Inet, but every had at least one draw back. So I had to write my on solution and I think this one is quite smart. If you want to use it, you don't have to clutter your code by pasting in lots of undo-related subs, functions and variables. Everything comes within two handy class files and you only need to add three lines of code to your VB projects. -- I didn't test the code on VB5.0, would be cool if anybody can give a feedback on that. -- NEW: a single undoitem now stores only the modifications and not the whole text --> that is important when working with bigger files. -- NEW: now you can turn off the automatical tracking of text changes --> may be useful on automated text operations. -- NEW: Speed improvements. New properties getUndoCount and getRedoCount. Now you can undo/redo multiple changes with one function call. -- Thanks to MrBobo for his ideas and suggestions. -- -- Have a look at the latest version supporting standard textboxes too: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=34335&lngWId=1
This is an advanced version of my last month's submission. Now supports richtextboxes AND textboxes. You still only need to add two class files and a few lines of code to your VB project to add the multiple undo feature to any richtextbox or textbox. For more information read the readme.txt included in the zip file, please. -- Again, thanks to MrBobo for his ideas and suggestions. -- NEW: Time and Type (deletion, modification, addition)of an undo snapshot is tracked. Thanks to Andrea Moro for this idea.
This code is a VB implementation of the high precision multimedia timer which can be found in the winmm.dll. ---- I wrote this code because of the same reason I created my multiple undo implementation: I wanted to have a smart solution that can be easily added to different VB projects, that doesn't clutter the code, that doesn't let depend my project on another custom OCX or DLL file and that is object oriented as much as possible. ---- The demo project's intension is NOT to show that the multimedia timer is or is not more accurate than the standard VB timer. It's primary task is just to show how to use the timer class and how to instantiate and handle more than one timer object. ---- For more information have a look at the readme.txt please. -- NEW: I added a high precision profiler class. -- NEW: UserControl instead of class file. Doesn't crash anymore when run compiled. Much easier handling.
A friend of mine asked me about how to let excel periodically update some worksheets containing stock prices. So the first thing I did was searching the web for a solution in Visual Basic for Applications. But the only one I found was to use a 3rd party ActiveX timer control which you have to place onto a userform. Then I found the VBA command "Application.onTime" and I had an idea. Here is my solution only utilizing the VBA onTime command. NO need for ActiveX control or any other 3rd party module.
I've tried a lot of different multiple undo examples from the Inet, but every had at least one draw back. So I had to write my on solution and I think this one is quite smart. If you want to use it, you don't have to clutter your code by pasting in lots of undo-related subs, functions and variables. Everything comes within two handy class files and you only need to add three lines of code to your VB projects. -- I didn't test the code on VB5.0, would be cool if anybody can give a feedback on that. -- NEW: a single undoitem now stores only the modifications and not the whole text --> that is important when working with bigger files. -- NEW: now you can turn off the automatical tracking of text changes --> may be useful on automated text operations. -- NEW: Speed improvements. New properties getUndoCount and getRedoCount. Now you can undo/redo multiple changes with one function call. -- Thanks to MrBobo for his ideas and suggestions. -- -- Have a look at the latest version supporting standard textboxes too: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=34335&lngWId=1
This is an advanced version of my last month's submission. Now supports richtextboxes AND textboxes. You still only need to add two class files and a few lines of code to your VB project to add the multiple undo feature to any richtextbox or textbox. For more information read the readme.txt included in the zip file, please. -- Again, thanks to MrBobo for his ideas and suggestions. -- NEW: Time and Type (deletion, modification, addition)of an undo snapshot is tracked. Thanks to Andrea Moro for this idea.
This code is a VB implementation of the high precision multimedia timer which can be found in the winmm.dll. ---- I wrote this code because of the same reason I created my multiple undo implementation: I wanted to have a smart solution that can be easily added to different VB projects, that doesn't clutter the code, that doesn't let depend my project on another custom OCX or DLL file and that is object oriented as much as possible. ---- The demo project's intension is NOT to show that the multimedia timer is or is not more accurate than the standard VB timer. It's primary task is just to show how to use the timer class and how to instantiate and handle more than one timer object. ---- For more information have a look at the readme.txt please. -- NEW: I added a high precision profiler class. -- NEW: UserControl instead of class file. Doesn't crash anymore when run compiled. Much easier handling.
A friend of mine asked me about how to let excel periodically update some worksheets containing stock prices. So the first thing I did was searching the web for a solution in Visual Basic for Applications. But the only one I found was to use a 3rd party ActiveX timer control which you have to place onto a userform. Then I found the VBA command "Application.onTime" and I had an idea. Here is my solution only utilizing the VBA onTime command. NO need for ActiveX control or any other 3rd party module.
I've tried a lot of different multiple undo examples from the Inet, but every had at least one draw back. So I had to write my on solution and I think this one is quite smart. If you want to use it, you don't have to clutter your code by pasting in lots of undo-related subs, functions and variables. Everything comes within two handy class files and you only need to add three lines of code to your VB projects. -- I didn't test the code on VB5.0, would be cool if anybody can give a feedback on that. -- NEW: a single undoitem now stores only the modifications and not the whole text --> that is important when working with bigger files. -- NEW: now you can turn off the automatical tracking of text changes --> may be useful on automated text operations. -- NEW: Speed improvements. New properties getUndoCount and getRedoCount. Now you can undo/redo multiple changes with one function call. -- Thanks to MrBobo for his ideas and suggestions. -- -- Have a look at the latest version supporting standard textboxes too: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=34335&lngWId=1
This is an advanced version of my last month's submission. Now supports richtextboxes AND textboxes. You still only need to add two class files and a few lines of code to your VB project to add the multiple undo feature to any richtextbox or textbox. For more information read the readme.txt included in the zip file, please. -- Again, thanks to MrBobo for his ideas and suggestions. -- NEW: Time and Type (deletion, modification, addition)of an undo snapshot is tracked. Thanks to Andrea Moro for this idea.
This code is a VB implementation of the high precision multimedia timer which can be found in the winmm.dll. ---- I wrote this code because of the same reason I created my multiple undo implementation: I wanted to have a smart solution that can be easily added to different VB projects, that doesn't clutter the code, that doesn't let depend my project on another custom OCX or DLL file and that is object oriented as much as possible. ---- The demo project's intension is NOT to show that the multimedia timer is or is not more accurate than the standard VB timer. It's primary task is just to show how to use the timer class and how to instantiate and handle more than one timer object. ---- For more information have a look at the readme.txt please. -- NEW: I added a high precision profiler class. -- NEW: UserControl instead of class file. Doesn't crash anymore when run compiled. Much easier handling.
This is an advanced version of my last month's submission. Now supports richtextboxes AND textboxes. You still only need to add two class files and a few lines of code to your VB project to add the multiple undo feature to any richtextbox or textbox. For more information read the readme.txt included in the zip file, please. -- Again, thanks to MrBobo for his ideas and suggestions. -- Time and Type (deletion, modification, addition)of an undo snapshot is tracked. Thanks to Andrea Moro for this idea.
I've tried a lot of different multiple undo examples from the Inet, but every had at least one draw back. So I had to write my on solution and I think this one is quite smart. If you want to use it, you don't have to clutter your code by pasting in lots of undo-related subs, functions and variables. Everything comes within two handy class files and you only need to add three lines of code to your VB projects. -- I didn't test the code on VB5.0, would be cool if anybody can give a feedback on that. -- NEW: a single undoitem now stores only the modifications and not the whole text --> that is important when working with bigger files. -- NEW: now you can turn off the automatical tracking of text changes --> may be useful on automated text operations. -- NEW: Speed improvements. New properties getUndoCount and getRedoCount. Now you can undo/redo multiple changes with one function call. -- Thanks to MrBobo for his ideas and suggestions. -- -- Have a look at the latest version supporting standard textboxes too: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=34335&lngWId=1
This code is a VB implementation of the high precision multimedia timer which can be found in the winmm.dll. ---- I wrote this code because of the same reason I created my multiple undo implementation: I wanted to have a smart solution that can be easily added to different VB projects, that doesn't clutter the code, that doesn't let depend my project on another custom OCX or DLL file and that is object oriented as much as possible. ---- The demo project's intension is NOT to show that the multimedia timer is or is not more accurate than the standard VB timer. It's primary task is just to show how to use the timer class and how to instantiate and handle more than one timer object. ---- For more information have a look at the readme.txt please. -- NEW: I added a high precision profiler class. -- NEW: UserControl instead of class file. Doesn't crash anymore when run compiled. Much easier handling.
A friend of mine asked me about how to let excel periodically update some worksheets containing stock prices. So the first thing I did was searching the web for a solution in Visual Basic for Applications. But the only one I found was to use a 3rd party ActiveX timer control which you have to place onto a userform. Then I found the VBA command "Application.onTime" and I had an idea. Here is my solution only utilizing the VBA onTime command. NO need for ActiveX control or any other 3rd party module.
MyPad is an PHP editor with the following features: PHP/HTML Syntax Colorizing (written in VB only and still fast, NO ADDITIONAL OCXs NEEDED!) * line numbering * unlimited Undo/Redo * INI File Support * Search and Replace * MRU file list * Single Document Interface for better use with your favorite file manager * command line support * read only mode * support for the PHP online help-system. See the readme.txt for credits! If you just want to have the binaries, get a setup file from my homepage: http://www.sebthom.de
This is an advanced version of my last month's submission. Now supports richtextboxes AND textboxes. You still only need to add two class files and a few lines of code to your VB project to add the multiple undo feature to any richtextbox or textbox. For more information read the readme.txt included in the zip file, please. -- Again, thanks to MrBobo for his ideas and suggestions. -- Time and Type (deletion, modification, addition)of an undo snapshot is tracked. Thanks to Andrea Moro for this idea.
I've tried a lot of different multiple undo examples from the Inet, but every had at least one draw back. So I had to write my on solution and I think this one is quite smart. If you want to use it, you don't have to clutter your code by pasting in lots of undo-related subs, functions and variables. Everything comes within two handy class files and you only need to add three lines of code to your VB projects. -- I didn't test the code on VB5.0, would be cool if anybody can give a feedback on that. -- NEW: a single undoitem now stores only the modifications and not the whole text --> that is important when working with bigger files. -- NEW: now you can turn off the automatical tracking of text changes --> may be useful on automated text operations. -- NEW: Speed improvements. New properties getUndoCount and getRedoCount. Now you can undo/redo multiple changes with one function call. -- Thanks to MrBobo for his ideas and suggestions. -- -- Have a look at the latest version supporting standard textboxes too: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=34335&lngWId=1
This code is a VB implementation of the high precision multimedia timer which can be found in the winmm.dll. ---- I wrote this code because of the same reason I created my multiple undo implementation: I wanted to have a smart solution that can be easily added to different VB projects, that doesn't clutter the code, that doesn't let depend my project on another custom OCX or DLL file and that is object oriented as much as possible. ---- The demo project's intension is NOT to show that the multimedia timer is or is not more accurate than the standard VB timer. It's primary task is just to show how to use the timer class and how to instantiate and handle more than one timer object. ---- For more information have a look at the readme.txt please. -- NEW: I added a high precision profiler class. -- NEW: UserControl instead of class file. Doesn't crash anymore when run compiled. Much easier handling.