Results for "Volume: 7_2009-2012"
Calculates the montly cost of a grow room depending on how many lights there are and the wattage of the light
FOUND OUT HOW TO FIX THE COLOR PALETTE IN THE MANIFEST FILE.
THis program translates a subset of C into asm, currently, it supports looping (for, while), conditions (if), maths (+,*,-,/), boolean operators (&&, ||), arrays(partly) This outputs asm code that should work, the output is currently generic asm code, without conforming to the rules of any specific asm compiler, but that can be easily taken care of. THis program is written in excel Visual basic, because my version of Visual basic was deleted, and i lost my visual basic installation cd. anyway, you can still run it. TO view the source code, press ALT+F11 to enter a editor, much like the normal VB editor (sorry about that...) Sample Code Translation is below (in the "Windows API section" below):
Did you make a usercontrol Before ? if Yes , then i think you got so bored each time you make a new one you have to write codes of properties in various Events .. So i made them to save time and energy and Just enter properties and other options then Click Generate .. You Will see the first code of the UserControl ;) .. Please vote form me ..
THis is a scripting language which uses all the stages of proper compilation: first tokenisation, then tree building, (type checking is not implemented yet), then finally conversion of tree into specified language. THis uses a stack machine type language. It can execute loops, conditions, maths etc.
It creates a picture which contains a visible picture and a invisible picture. when it is highlighted in a web browser it will reveal the hidden picture. This is the upgraded version of the my old submition. It uses setpixel and get pixel api so, it is a lot faster than the old one. Please leave me a comment..i also need some one to help me with a problem regarding the setpixel api; the api uses pixel while the vb uses point.. so how do i make the progressbar accurate.
x86 cpu's have the ability to self-report their make, model, family, features, cache details etc. The included cCPUID class allows the programmer to execute this instruction and retrieve the results. To abstract the complexities of decoding the CPUID data, the included cCpuInfo class presents the programmer with a series of read-only properties. As an example of this, the included VBCPUID application displays the information presented by the cCpuInfo class. If you are wondering why the 'Real Time Speed' display - try running the VBCPUID app on a SpeedStep cpu. If you own an unusual cpu, such as an Athlon 64/Opteron, Cyrix etc... I'd be gratefull if you'd go to the 'Actions' tab, 'Save Data...' and email the file to me.
Dasith, Basically checks spellings and gives suggestions if the word is not found on the list. I rewrote the whole programme and it's much faster and now has suggestions. The word.lst now has over 32,000 words.
This is just a Simple example of pinging using RAW sockets. The idea of this code it to be used in multi-instancing of ICMP requests (Used for Ping Sweeping ect.). Also shows use of Subclassing. Please Comment and vote.
This code floodfills Forms, PictureBoxes (and everything with a hDC) with an image. Works every time, using a special workaround for Stack Overflow. For more description, see inside. *Corrected*
This code is for people who want to make skin in an easy way, and it demonstrate a way to do a custom message box with the Msgbox command (msgbox "the message","the title"). Also, my code teach how to do a transparent control (like commandbutton or textbox or FORM), please rate it good, I take several days searching API'S
If you want to create a program with text appearing character-by-character by cannot do that yet, then this code is you solution. Leave comments + vote (of you like).
Do you ever think about making a form with 3D appearance? If you are, then this code is what you are looking for. Leave comments + vote (if you think this is helpful).
Similar to my Mathematical Equation Evaluator, only now with variables, and a spiffy interface. Supports custom variable types, multi dimensional arrays, custom functions (ie: y=x+2) by using other variables in a new one
This Code is the Updated Version of My Last Submission of How to Add ScrollBars in the Form. The Last Code does not Synchronize the Contols Added in other Containers like if we add TextBox or Option Buttons in Panels It does not Synchronize by the Last Code But this Bug is Fixed Now. No API Functions are Used Simple ScrollBar Controls. If you need support or to give suggestions to improve, you can email me at [email protected] or thru yahoo messenger [email protected] If U Like the Code Then Please Vote for Me!!!. Because It Encourages us to Submit more Good Codes to Help People.
Recording and playing sound get easier by using API call. Only 2 API call to record and play sound. Please leave comments. Also, don't forget to vote.
Tow functions provide to convert the number or currency into English Text.
This is an add-in for adding resizing capabilities to your projects. It is based on the add-in "4 mode Resizer" by PeYTaN (you can find it on http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=46731&lngWId=1) which is based on the class ControlResizer by Edward Catchpole (you can find it on http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=46203&lngWId=1) The (GREAT!!) combined work of the two authors spared me *a lot* of coding time, still I had some complex forms on which i wanted to optimize the resizing to the last twip, and the available modes weren't always enough for me. So I ended up extending both the class and the add-in to support anchoring and resizing a control with regard to another control, not just to the form. I also added a small demo project that (I hope!) gives the idea of the various and complex arrangements you can achieve by combining the available modes; just resize the two example forms at will and see how the controls behave. These are the enhancements: 1. More freedom Someone commented on the original class that it had the flaw to reserve tag usage for itself, whereas the developer may want to use control tags for their own purposes. This version is tag-friendly: it doesn't replace the previously designed tag, it appends the designed tag after the resizing data and a custom separator. When the form is loaded and the class initialized, the resizing data are retrieved from the tags and stored in an internal array; the originally designed tags are then restored and no longer needed by the class, as the resizing code will work on the array. 2. More speed Cycling on the internal array, which only stores info for the controls that will be resized, is faster than cycling everytime on the whole array of form controls, in case at least some controls won't need resizing. Besides, the original class used to set the 4 properties (Left Top Width and Height) separately; this version calculates them all and touches the control only once, via the Move method. (A SetWindowPos API call might be even faster, in case you want to try it) 3. More options The new modes allow you to anchor a control to another, so that the gap between those controls stays constant, whereas it grows if both controls grow and move proportionally. A control can now be aligned to another control (Left, Right, Top and Bottom), stretched (Width, Height) to align its right or bottom edge to the latter, or stretched to the same size (Width, Height) of the latter. Relating a control to another requires that the latter has already been resized, but the modified class takes care of it by sorting the data after assigning a priority to each control, requiring no extra effort from the developer. Filling and sorting the array will marginally impact on the form startup time, but as said the runtime resizing tends to be faster. 4. More bugs? Most likely, as there's more code! (I had noticed no bugs in the previous version, just a lacking feature in handling arrays of controls, now properly dealt with) So if you find any, please inform me so that they can be fixed; even better if you send me a fixed version yourself ;)
Adding SSL to your network communcations in VB is usally an expensive proposition both in terms of time and money. There are a handful of ActiveX controls out there to help you do it most with quite different programming models and some costing up to $1000. ChilkatSSL is a free open source component based around the OPENSSL libraries that lets you add SSL enabled communications to your projects relativly easily. The trick is, ChilkatSSL was designed for use in C++ and does not directly support VB... This code will show you how to get it to work with VB through the use of an external VBized type library.
This function will return whether your program is running in Visual Basic Or it is running from the compiled EXE. This Function tries to print in the immediate window using the Debug.print method, which is available only in VB IDE and will be removed while compiling the code to EXE (or dll or ocx). The value being print using Debug.print method the raises a division by zero error and the error handler set the InIDE function to TRUE. I saw another code in Planet source code doing the same thing using a static variable and also calling the same function recursively. but this code is smaller than that.