Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: edago on February 12, 2012, 01:12:18 PM

Title: check username in a script
Post by: edago on February 12, 2012, 01:12:18 PM
Hello everybody,

I'm a German Mach3-User and I've build my own Mach3-Screen.
Some people ask me: is it run with the "Ivan-lic"? Are they stupid!? I've spend a lot of time in my scripts and I don't will work for this people.

My question is: is it possible to check the UserName in the script? If yes, how to?

Sorry for my bad english. I can read english good but speak and write is very slow.

Greeting from Germany/Cologne
Manfred

If you interestet of my screen, you can look it at: www.machschmidt.de
But it's in german language only.
Title: Re: check username in a script
Post by: ger21 on February 12, 2012, 01:23:52 PM
That's a very good idea. But, I don't think it's possible.
Title: Re: check username in a script
Post by: edago on February 12, 2012, 01:44:04 PM
ohh, this is not the answer I hope to read.
I think every think it's possible.;-) ( I hope so)
In my Screen, I've build a function to check the User and Password, but it's work for my Screen only.

Greetings
Manfred
Title: Re: check username in a script
Post by: stirling on February 13, 2012, 06:48:04 AM
Manfred - I have written code that can do this for much the same reason as you. If you ask Scott (Mach licencing) to confirm to me that you are a licenced user I can PM you a code fragment that demonstrates the basic principle. I don't want to post licence based things on open forum.

Ian
Title: Re: check username in a script
Post by: edago on February 13, 2012, 09:22:00 AM
Hello Ian,
I have written to Scott, I hope he confirm my licence to you.
I'm glad to that you can tell me a reason for my problem.

Manfred
Title: Re: check username in a script
Post by: stirling on February 13, 2012, 10:00:43 AM
Hi Manfred - I've sent you a PM.

Have fun

Ian
Title: Re: check username in a script
Post by: edago on February 13, 2012, 11:47:23 AM
Hi Ian,

thank you for the example. I will test it in a few days and give you a feedback.
In the next time I will try out my homepage in english, but it's a big challange for me.

Manfred
Title: Re: check username in a script
Post by: edago on February 15, 2012, 05:08:37 PM
Yes, everything is possible:-)

Thank you Ian!

I must cool my Brain now;-)