'version 0.10
'Standard To Pro bevets@speedlink.com.au 29/12/2003
'Updated 31/12/03 version 0.11
'Reworked the Control converting routine
'Added About Box
'Updated 31/12/03 version 0.12
'Added ContextMenu Support
'Reworked the Dialog converting routine
'Reworked the Control converting routine again
'Updated 2/01/04 version 0.13
'Added Instr conversion
'Added pasted text converting
'Added &H to 0x conversion
'Fancied up the About Dialog (a break from doing the Instr routine :)
'Updated 4/01/04 version 0.14
'Added Append$ conversion
'Added Chr$() conversion for \n \t \" 
'Added automated Groupbox Checkbox selection if it can determine it,
'      otherwise a requestor pops up asking you which one it should be
'Added Menu's to GUI
'increased amount of code that can be pasted into Edit Control
'Increased memory buffer size
'Updated 4/01/04 version 0.15
'Changed to a window
'Removed top buttons you can now grab between the controls
'Updated 7/01/04 version 0.16
'Added backslash conversion
'Added conversion of SetID To Const, searches through the code and removes @ from constant  name

Quick docs.

Press Load button and select a IBasic Standard File.
Press the Convert Button to start conversion
Press Save button to save the converted file (Prompted for file name)
(Don't overwrite your original just in case :)
You can also cut and paste the code from either Control
To convert pasted code, paste it into the Standard source edit control and
select the Convert Pasted Code radio button then press convert

Converts Window and Dialog commands adds '&' to handler name.
Converts Control commands.
  If you have a Groupbox or Checkbox in the code you'll get a requestor
  asking which you want, because they both use 'C' as the control type.
Converts Menu commands.
Converts InsertMenu commands.
Converts ContextMenu commands
Converts Instr commands not heavily tested but converted what i threw at it
eg: If Instr(someVar,Left$(textVar,Len(otherVar)+5),Chr$(13)+Chr$(10))
to  If Instr(Left$(textVar,Len(otherVar)+5),Chr$(13)+Chr$(10),someVar)
Adds EndSub to end of subroutines.
Converts the Append$() function
Converts Chr$() function to escape sequences for \r \n \t \"


Works with code done in a structured style.

If you try it and it dosen't work for your style of coding
then email me a part of the code that didn't convert and
i'll see what i can do with it.

It dosen't convert all the changes necessary but it's a start.
I have a Standard source file with over 100 Control statements
and it converts them in under a second.

As always use at your own risk.

Steveb aka bevets
