Hello Guest it is April 23, 2024, 09:10:29 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Davek0974

511
General Mach Discussion / Re: G49 on Mach3 Mill
« on: February 06, 2018, 04:04:57 AM »
Aaah nice but,,,

The load is now 100% sensible but Its broken the cancel buttons again :(

Pressing cancel is the same as pressing load.

512
General Mach Discussion / Re: G49 on Mach3 Mill
« on: February 06, 2018, 03:44:35 AM »
Almost :)

The first dialogue still retains the last file name but the second is blank, I think what it should do is ...

First dialogue = empty but retains path chosen last - ready to select a new file
Second dialogue = Filename chosen in first dialogue but in path selected in second dialogue - usually would save with same name as loaded


dave

513
General Mach Discussion / Re: G49 on Mach3 Mill
« on: February 06, 2018, 03:08:18 AM »
Nice one:) Nailed that bit.

Ok, how about this...  ;)

where you have it remembering the file/path that was last loaded, is there a way to make it only remember the actual path not the file?
what happens is, you load the first time and its all 100% but second file load goes to the correct folder but also has the last file name pre-loaded where it should be blank :)

Getting down to the nitty-gritty now :)
Don't forget to add a block of comments at the top showing who developed it and when - its a great bit of code i think.

514
General Mach Discussion / Re: G49 on Mach3 Mill
« on: February 05, 2018, 02:34:16 PM »
Ah, ok.

I'm unsure how the dialogues you are using function, in VB6 they have a return value which is either false if cancel is pressed or contains a string if a target is entered and ok pressed. I also test for null strings incase user presses ok but does not enter a filename.

No worries, its damn good and very tidy, thanks so far for the massive effort.

515
General Mach Discussion / Re: G49 on Mach3 Mill
« on: February 05, 2018, 01:52:14 PM »
Persistent file dialogues look good, however the cancel buttons appear to have the same effect as the ok buttons ;)


Getting there though :)

516
General Mach Discussion / Re: G49 on Mach3 Mill
« on: February 05, 2018, 12:41:59 PM »
WOW, now that is getting slick ;)

Nicely done there.


Without taking the P which is totally not my intention, can i suggest a luxury add-on, only if it is possible of course?...

Is there a way that when you set the file dialogues, it sets a variable that would remember the path to each dialogue chosen so on the next file it opens in that directory?

Purely a luxury and i know how dodgy variables are in Mach but... ;)




One other tiny little thing - when in the file dialogues if you press "cancel", make it abort the whole loop. ;)

517
General Mach Discussion / Re: G49 on Mach3 Mill
« on: February 05, 2018, 10:53:32 AM »
Very nicely done :)
Much appreciated BTW


Can you go a step further ? :)

Add in a "save as" dialogue box so we can choose to put file anywhere - some of my jobs consist of multiple files within a job folder, cant have them piled into Code folder alone :)


518
General Mach Discussion / Re: G49 on Mach3 Mill
« on: February 05, 2018, 09:51:10 AM »
Now, that is outstanding :)

Nicely done.

Ok, so next mini-bug fix is to make the import/load skip straight to the LoadFile part IF the file selected already has "_filtered" in the name - what happens is, next time it is loaded, you get "_filtered_filtered"  and so on :)

Looking damn good though, many thanks.

519
General Mach Discussion / Re: G49 on Mach3 Mill
« on: February 05, 2018, 08:20:37 AM »
Win7 & XP

520
General Mach Discussion / Re: G49 on Mach3 Mill
« on: February 05, 2018, 08:18:13 AM »
Hmm, ok my thoughts on it running using VB6 core did not work, is there a way to make this work if you have no Excel etc installed??