Code center > Suggestions

The new 'Safe mode' idea

<< < (2/2)

Botsareus:
[Bump]

Nearly done with safe mode for 'Options > Start New' just need to mod the load (.set & .sim) files and do some unit tests.

Botsareus:
[Bump] This is very ugly code I need to replace it with something better:


--- Code: ---    'this little snippet insures that Prsn828 can run his code alright
  If Left(MDIForm1.MainDir, 51) = "C:\Repositories\DarwinbotsVB\trunk" Then _
    MDIForm1.MainDir = "C:\Program Files\DarwinBotsII"
   
    'Numsgil code
  If Left(MDIForm1.MainDir, 15) = "C:\darwinsource" Then _
    MDIForm1.MainDir = "C:\DarwinbotsII"
   
  ' Here's another hack like the above so that EricL can run in VB
  If Left(MDIForm1.MainDir, 51) = "C:\Documents and Settings\Eric\Desktop\DB VB Source" Then _
    MDIForm1.MainDir = "C:\Program Files\DarwinBotsII"
--- End code ---

Peter:
 :rolleyes: Ingenious.  8)

Botsareus:
[Bump]

done.

Testing safemode on sat.

edit: Change of plans. I got a job interview. I will need to study up on my COMPONENT OBJECT MODEL and DATABASE.

Navigation

[0] Message Index

[*] Previous page

Go to full version