SolidWorks projects
Rhino3D projects
eVC,eVB Pocket PC projects

Custom projects


CAD/CAM/C++/VB/FOXPRO programming & 3D Solid Design - no shapes make us wonder 

 If you'd like to contact me, I am available through my e-mail address. Therefore, if you are interested in anything above, just drop me an email for a job you need to be done: 
e-mail:



Readme_vbsearch32.txt

Download VBsearch32.DLL with VB4/VB5 example at location 1 VBsearch32.zip (28kb)

Download VBsearch321.DLL for VB6 at location 1 VBsearch321.zip (15kb)

Readme_vbscroll.txt

Download VBscroll.exe VB5 example at location 1 VBscroll.zip (14kb)
Readme_VBMinMaxRes.txt

Download VBMinMaxRes.exe VB5 example at location 1 VBMinMaxRes.zip (13kb)
Readme_VBCapture.txt

Download VBCapture.exe VB5 example at location 1 VBCapture.zip (14kb)
Readme_SerialPort.txt

Download BARCODE.DLL with VB4 & VB5 example at location 1Barcode.zip (30kb)

Readme_tricks.txt

Download Tricks.exe VB5 example at location 1 Tricks.zip (19kb)
Readme_VBDragDropSort.txt

Download VBDragDropSort.zip with VB5 example at location 1VBDragDropSort.zip (12kb)
Readme_RunTimeResize.txt

Download RunTimeResize.zip with VB5 example at location 1 RunTimeResize.zip (14kb)
Readme_DUNOff.txt

Download dunoff.dll at location 1 DUNOff.zip (14kb)

Readme_Cursor.txt

Download Cursor.zip at location 1 Cursor.zip (15kb)
SolidWorks section
Readme_SolidWorksFeatures.txt

Download SWFeatrues.zip at location 1 SWFeatures.zip (32kb)
Download SWFeatrues_Source_Code.zip at location 1 swfeatures_source.zip (35kb)
Readme_SolidWorksAutoEnter.txt

Download SWAutoEnter.zip at location 1 SWAutoEnter.zip (32kb)
Readme_SolidWorksSysTrayAutoEnter.txt

Download SWSysTray.zip at location 1 SWSysTray.zip (32kb)

Readme_SolidWorksAutoEnter.txt

Works with SW2001Plus and probably with any future version of SW , we'll see ...
Download SWAutoEnter2.zip at location 1 SWAutoEnter.zip (35kb)


SW_systray will help us to automatize any batch process  that is involving/invoking any MessageBox or unwanted window in the main application. How? The SW_systray will run in the background and monitor for specific window to show up and execute the predetermined step automatically, so the scripting process may be continued without human intervention. For more info click in here: Readme_sw_systray.txt


Readme_SW_a_e.txt
Download SW_a_e.zip at location 1 SW_a_e.zip (32kb)
 
Readme_SolidWorksTraverseAssembly.txt

Download TraverseAssembly.zip at location 1 TraverseAssembly.zip (7kb)

Readme_SolidWorksTraverseAssembly_inv.txt

Download Traverse_Assembly_inv.zip at location 1 Traverse_Assembly_inv.zip (7kb)

VB project files, forms, exe ...= full source code download in here 

ReadMe SWDuplicate.txt

SWDuplicate.exe exacutable

SWDuplicate.dll add-on

Inserts Custom Menu in the FeatureManager, GraphicArea on selection of: FACE, CURVE or FEATUREBODY as shown below.

Download SWDuplicate.zip at location 1

SWDuplicate is not available for download yet (until I finish DEMO version) 

but it is available for purchase:

1) To own apps: $349.43 - your technical support
2) To own apps: with the source code: $647.89
3) To license apps: $221.67

FREEWARE: COMING SOON: CUSTOM SWMENU:

Click in here to see the example of the ini file

Download SWMenuini.zip at location 1


 Let include your algorithm for next file to save in the SolidWorks SaveAs Dialog box...


 


Download source code here

How to find the name of a mated component in a assembly


result: 
ecnc1-1, ecnctxt-1 
ecnctxt-1, sketch1


If we know the MATE name we do not need to do scan trough the components
 
Toggle "For Construction" option ON and OFF

Not really matter of SW API but VB(Win) API :) actually I couldn't make it with the SW API calls only ... Download fc.exe
Source code coming soon 
CAD/CAM MISC section

FREEWARE!
Convert adapt G-code from Fanuc6 control to the Fanuc 5

Download Fanuc6to5.zip


Got tired of sw macro icons :)

How I did it take a look in here

Question from the SW news group:
Does anyone know if it's possible to insert a directory list box on a form using the VBA editor in SW?

Look in here to see how it has been accomplished

or download the controls in here: ECNC_VBA.zip
ECNC_VBA_DirList.ocx,  ECNC_VBA_Drive.ocx and ECNC_VBA_FileList.ocx
 


SolidWorks MENU challenge :)

Can we disable the "Close" button on a form in VBA?

Yes, we can. Look in here to see how it has been accomplished

CAD/CAM/C++/VB/FOXPRO programming & 3D Solid Design - no shapes make us wonder

If you'd like to contact me, I am available through my e-mail address. Therefore, if you are interested in anything above, just drop me an email for a job you need to be done:

e-mail:

Everything above in one ZIP(230kb)

Recently you can experience problem with a computer that was using an older version of the common 
dialog dlls, "Unexpected Error" for above VB examples. Download newest common dialog files freely 
available on the NET 

BOLD = new things (not in the .ZIPs) 
Everything below in one ZIP(60kb)
vb4aboutsystem
vb4apiexitwindowsex
vb4apigetlocaltime
vb4centerform
vb4centerforms
vb4extracticon
vb4findfile
vb4getsubdirectorys
vb4gettingdiskinfo
vb4gettingfreespaceondisk
vb4gettingtheusername
vb4horizontalscrollbarlistbox
vb4icononsystemtray
vb4minimizeallforms
vb4moveform
vb4playwav
vb4startingbrowserwithurl
vb4startupexe
vb4stayontop
vb4systeminformation
vb4url2
vb4usecommondialog
vb4usinghelp
vb4usingtheregistry
vb4werkenmetacces
vb4workingwithtextboxen
vbalopgestart
vbbestaatfile
vbconnecturl
vbconvertbintohex
vbconvertingtexttotime
vbdraganddrop
vbloadcontrolsatruntime
vbpause
vbsearch&replace
vbsetselected
vbsplashscreen
vbtextfile
vbtooltips
hotkey
Add and remove images in an imagelist assigned to a toolbar
Be sure to Close all Data Objects upon Exit
Clearing all fields and combo boxes on a form
Clearing all text boxes on your form
Code After a Call to Form Unload will Prevent the Form from Closing
Confirm Screen Resolution
Creating a incrementing number box
Creating a new context menu in editable controls
Creating Short Arrays Using the Variant Data Type
Creating a ScreenSaver
Creating Win32 region windows
Customizing a text box's pop-up menu
dd Dithered Backgrounds to your VB Forms
Dealing with Null strings in Access database fields
Dragging items from one list to another
Easily generating random numbers
Enabling-disabling all of the controls in a control array
Finding the CD-ROM drive's letter
Getting the backslashes right when using App.Path
Getting sensible Win32 API call errors
Importing Registry settings
Increment and decrement dates with the [+] and [-] keys
Labeling your forms
Limiting the field length for unbound combo boxes
Manipulate your controls from the keyboard
Measuring a text extent
Opening a browser to your homepage
Only allowing numbers into a text box
Quick Custom Dialogs for DBGrid Cells
Quick Text Select On GotFocus
Quickly switching an object's Enabled property
Selecting all text when a TextBox gets focus
Setting the TabIndex property of every control on a form
Setting Style Property of OptionButton and CheckBox at Runtime
Showing long ListBox entries as a ToolTip
Simple file checking from anywhere
Simple input validation
Simplying the addition of items to ComboBoxes
Sorting numbered items in a Listbox
Specifying maximum lengths in a ComboBox
Sure-Fire Way to Allow Users to Cancel Form Unloads
Use FileDSNs to ease ODBC Installs
Use FreeFile to Prevent File Open Conflicts
Use ParamArray to Accept an Arbitrary Number of Parameters
Use the DEFAULT and CANCEL Properties of a Command Button
Using the Date type with an ADO source
Using the DEFAULT property with multiple-line text boxes
Using GetRows to Quickly Save Data Fields to Memory Variables
Using the Alias Option to Prevent API Crashes
Using WithEvents to add features to a textbox

More interesting examples are coming...

Mike's custom made applications

Programming links

Reverse Engineering

Data extract

Books and Software for SALE



Mail to:




DISCLAIMER:Since the THIS service is provided free of charge, E-CNC,Inc shall not be heldresponsible for any damages arising from the use of the service. The service is provided on an ""AS IS"" basis, without warrantyof any kind, including without limitation the warranties of merchantability, fitness for a particular purpose and non-infringement.

Userid:

Password:

Cool

Believe It or Not :):)

Micro$oft today [11.27.2001] announced that it will be changing its name to "Moft", which will clear up space on users' hard disks. It is estimated that a typical Windows 95/98/ME/2000/XP installation contains about 2,842,597 iterations of the word "Microsoft", in copyright notices, end-user license agreements, 'About' screens, as well as several multi-megabyte files containing nothing else (the so-called ego.dll series), etc. So, after the change, a user will have about 14 MBytes more disk space. Stock prices of hard-disk manufacturers dipped slightly after the announcement. "Well, the programs will take up less space on the user's disk," said Gill Bates, CEO of Moft." But we have never cared about that. The change will allow us to ship Windows 95/98/ME/2000/XP on 13 disks instead of 14, thus saving about $50 million a year in media costs. We are also looking at shortening the names of some of our software products; for instance 'The Microsoft Exchange' may be changed to 'The Moft Pit'. Bates denied that the move was because of problems with the alleged long filename support in 95/98/ME/2000/XP which still uses 8.3 filenames underneath. He did admit, however, that "MICROSO~1" did look a little ugly. Gill Bates added that the junior programmer who discovered the potential savings has been rewarded with a free copy of 'Moft Off for Moft Win 95/98/ME/2000/XP mommy'.

 

Technical support request:

Q: Last year I upgraded Girlfriend 1.0 to Wife 1.0 and noticed that the new program began unexpected child processing that took up a lot of space and valuable resources. No mention of this phenomenon was included in the product brochure. In addition, Wife 1.0 installs itself into all other programs and launches during
system initialization. Applications such as Pokernight 10.3 and Beerbash 2.5 no longer run, crashing the system whenever selected. I can not seem to purge Wife 1.0 from my system. I am thinking about going back to Girlfriend 1.0 but UNINSTALL does not work on this program. Can you help me?

A: Dear User, this is a very common problem. Many people upgrade from Girlfriend 1.0 to Wife 1.0 with the idea that this is merely a utilities & entertainment program. Wife 1.0 is an operating system and designed to run everything. Do not try to install the program! Trying to remove Wife 1.0 later on, would destroy valuable system resources. Some have tried to install Girlfriend 2.0 or Wife 2.0 but end up with more problems than the original system. Others have tried to run Girlfriend 1.0 in the background, while Wife 1.0 is running. Eventually Wife 1.0 detects Girlfriend 1.0 and a system conflict occurs, this can lead to a system crash. The best way of avoiding problems is not to install any version of software Wife, but only Girlfriend. Girlfriend 1.0, 2.0, 3.0 etc. are fully compatible and can be run together.

That's Not My Job

This is a story about four people named Everybody, Somebody, Anybody, and Nobody. There was and important job to be done and Everybody was sure Somebody would do it. Anybody could have done it but Nobody did. Somebody got angry about that because it was Everybody's job. Everybody thought Anybody could it, but Nobody realized that Everybody wouldn't do it. It ended up that Everybody blamed Somebody when Nobody did what Anybody could have...

Untitled

PCMCIA - People Can't Memorize Computer Industry Acronyms
APPLE - Arrogance Produces Profit-Losing Entity
SCSI - System Can't See It
DOS - Defective Operating System
BASIC - Bill's Attempt to Seize Industry Control
IBM - I Blame Micro$oft
DEC - Do Expect Cuts
CD-ROM - Consumer Device -- Rendered Obsolete in Months
OS/2 - Obsolete Soon, Too
WWW - World Wide Wait
MACINTOSH - Most Applications Crash: If Not, The Operating System Hangs
PENTIUM - Produces Erroneous Numbers Through Incorrect Unterstanding of Mathematics
COBOL - Completely Obsolete Business Oriented Language
AMIGA - A Merely Insignificant Game Addiction
LISP - Lots of Infuriating & Silly Parentheses
MIPS - Meaningless Indication of Processor Speed
WINDOWS - Will Install Needless Data On Whole System
GIRO - Garbage In Rubbish Out
MICROSOFT - Most Intelligent Customers Realize Our Software Only Feels Tested

Subliminal Correspondence

Dear Dad, $chool i$ really great. I am making lot$ of friend$ and
$tudying very hard. With all my $tuff, I $imply can`t
think of anything I need, $o if you would like, you can
ju$t $end me a card, a$ I would love to hear from you.

Love,
Your $on

The Reply:
----------
Dear Son,

I kNOw that astroNOmy, ecoNOmics, and oceaNOgraphy
are eNOugh to keep even an hoNOr student busy. Do
NOt forget that the pursuit of kNOwledge is a NOble
task, and you can never study eNOugh.

Love,
Dad

Salary Theorem

"Salary Theorem" states that "Engineers and Scientists can never earn as much as Business Executives and Sales people." This theorem can now be supported by a mathematical equation based on the following two postulates:

Postulate 1:
Knowledge is Power.

Postulate 2:
Time is Money.

And as every Engineer knows:
Power = Work / Time

Since:
Knowledge = Power
&
Power = Work / Time

Therefore:
Knowledge = = Work / Time

Since:
Time = Money

Knowledge = Work / Money

Solving for Money we get:
Money = Work / Knowledge

Thus, as Knowledge approaches zero, Money approaches infinity, regardless of
the amount of Work.

Conclusion:
The less you know, the more you make - it's scientific.

With lots of Sorrow
ENGINEERs :(

Is Hell exothermic or endothermic

The following is an actual question given on a University of Washington
chemistry mid term. The answer was so "profound" that the professor shared
it with colleagues, which is why we now have the pleasure of enjoying it
as well. 

Bonus Question: Is Hell exothermic or endothermic? Most of the students wrote
proofs of their beliefs using Boyle's Law, (gas cools off when it expands and
heats up when it is compressed) or some variant. One student, however, wrote the
following:
First, we need to know how the mass of Hell is changing in
time. So we need to know the rate that souls are moving into Hell and the
rate they are leaving. I think that we can safely assume that once a soul
gets to Hell, it will not leave. Therefore, no souls are leaving. As for how
many souls are entering Hell, lets look at the different religions that exist
in the world today. Some of these religions state that if you are not a
member of their religion, you will go to Hell. Since there are more than one
of these religions and since people do not belong to more than one religion,
we can project that all souls go to Hell. With birth
and death rates as they are, we can expect the number of souls in Hell to
increase exponentially. Now, we look at the rate of change of the volume in
Hell because Boyle's Law states that in order for the temperature and
pressure in Hell to stay the same, the volume of Hell has to expand as souls
are added. This gives two possibilities:
1. If Hell is expanding at a slower rate than the rate at which souls
enter Hell, then the temperature and pressure in Hell will increase until all
Hell breaks loose.
2. Of course, if Hell is expanding at a rate faster than the increase of
souls in Hell, then the temperature and pressure will drop until Hell freezes
over.
So which is it? If we accept the postulate given to me by Ms. Teresa
Banyan during my Freshman year, "...that it will be a cold day in Hell
before I sleep with you.", and take into account the fact that I still
have not succeeded in having sexual relations with her, then, #2 cannot be
true, and thus I am sure that Hell is exothermic and will not freeze.

The student received the only "A" given.
 

Need a job?

It's me l'Clerck?


A man suspected his wife was seeing another man, so he hired the famous Chinese detective, Chen Lee, to watch and report any activities while he was gone.
A few days later, he received this report:
MOST HONORABLE SIR:
YOU LEAVE HOUSE. I WATCH HOUSE.
HE COME TO HOUSE. I WATCH. HE AND SHE LEAVE HOUSE.
I FOLLOW.
HE AND SHE GO IN HOTEL. I CLIMB TREE.
I LOOK IN WINDOW.
HE KISS SHE. SHE KISS HE.
HE STRIP SHE. SHE STRIP HE.
HE PLAY WITH SHE. SHE PLAY WITH HE.
I PLAY WITH ME. I FALL OFF TREE.
I NOT SEE.
NO FEE,
CHEN LEE.