Skip to main content

Clock - My 2nd Vb6 application



This one is my 2nd application called clock. I think most of the beginners in VB or other platform surely make a clock program by curiosity and to learn more, so do I have done one. I learnt many things while programming this one. Its color changing capability is I think cool and one should give it a try n try make a great color combination.






The biggest challenge while programming this one was making the border less form movable by user click and drag. I could not create logic well and coded something bizarre that was moving the form out of the screen!!! Anyways to tackle with this problem I searched a VB coding forum and found a nice code that just worked amazingly. Thanks to the person for that code and making me realize I have a long way to go and learn.

Anyways, greets to all.

Download From 4Shared

DOWNLOAD

Download free. Thank you for downloading...

Sachin Kharat

Comments

Popular posts from this blog

How to load a program each time AutoCAD starts up

Hello friends, Finally I have some free time to continue my blogging...so I am continuing my thread on Programming a Structural Section Drafting Program in VBA for AutoCAD. Remember the questions that I raised in previous thread about program....( Here )... I am going to demonstrate the (4) th question's solution which is pretty simple but very important for newbies.... How to load a program each time AutoCAD starts up and avoid loading the program each time you restart AutoCAD. 1. Go to Tools---AutoLISP----Load Application submenu or Tools---Load Application submenu Alternatively you can use the command line appload 2. You will see a file browse dialog box asking you to locate the application file...similar to image below: 3. Now observe, Red box number 1   Note: a. The type of files you can load into AutoCAD in red box number 1 in image above. Note: b. We use file with extension .dvb for loading a VBA program file which contains our code n ...

VBA to AutoCAD simple program

hello friends, was just wondering it would be gr8 to make a VB program which controls what is drawn in AutoCAD ...... hmmmm interesting.....So i went through developer help in AutoCAD and finally managed to have a basic level of AutoCAD customization and some VB coding which i like to do... So here is the pie.... 1. Tools used were: AutoCAD2010 and VBAIDE which now we need to download from Autodesk website: http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=12715668&linkID=9240618 which enables VBA in AutoCAD2010... Objectives: adding a tool menu in AutoCAD called ICS and put a button as sub menu called 'circle' which when selected will trigger the VB program and i could do some simple stuff in AutoCAD using that VB program... Firstly, how to add a menu in existing AutoCAD window.....i.e. things like File, Edit, View.......Help, Express.....and my own ICS ..... :) For this just give a simple command 'CUI' at the command prompt of the AutoCAD.... window...

Getting Thumbnail of images, Pdfs and DWG files

Its very much easy to get the thumbnail of the files supporting the thumbnail view like image files, Dwg files, pdf files........many programs need such kind of thumbnails. in VBA or VB6 projects you just need to add a simple control and set the filepath and thats it it is done!!!....i explain it below.... 5 easy steps to go so be patient.... :) 1. Go to Toolbox where general controls lie like textbox, label, button etc..... 2. right click over toolbox and go to Components........... 3. Select the following type library from controls.......if its not there in list go to browse and add it from system32 folder........add webvw.dll and u ll see this control in list....... if using VBA u might have this library alreay loaded and named " thmb ctrl "........ 4. u ll see a blank white control added to your toolbox..... 5. Just put that control on the form and in the code set thumbctl1.displayFile = "path of the file" 5. you could use common dialog to get th...