Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 28, 2012, 01:30:04 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
VB and the development of wizards
Want help for VBS in Mach3
Pages:
1
Go Down
« previous
next »
Author
Topic: Want help for VBS in Mach3 (Read 512 times)
0 Members and 1 Guest are viewing this topic.
wyb_506
Active Member
Offline
Posts: 16
Want help for VBS in Mach3
«
on:
July 06, 2011, 02:36:49 AM »
I want to implament a function: wait user input name and password, so I write a code like follow:
Sub Main ()
Begin Dialog DialogName1 60, 60, 160, 70, "ASC - Hello"
TEXT 10, 10, 28, 12, "Name and password:"
TEXTBOX 42, 10, 108, 12, .strName
TEXTBOX 42, 24, 108, 12, .strPass
OKBUTTON 42, 54, 40, 12
End Dialog
Dim Dlg1 As DialogName1
Dialog Dlg1
End Sub
for the password ,I know Textbox in VB can support a property named "Passwordchar" , when I use VB and other program language, I write TextBox1.PasswordChar="*",
it will be work ,but in Mach3 VBS I don't know where can I write this code
thank you!!!
Logged
Sargon
Active Member
Offline
Posts: 99
Re: Want help for VBS in Mach3
«
Reply #1 on:
July 06, 2011, 05:29:20 AM »
Mach3 doesn't actually use VB, even though that's what most people have been calling it. Mach3 really uses CB, Cypress Basic, which is very similar to VB because they are both Basic languages. Just like different versions of C/C++ - not all are created equal. I've used quite a few different flavours of Basic, and all of them have slightly different features.
To my knowledge CB doesn't have a "Passwordchar" property, or any password support that I'm aware of. You will have to be creative if you want to implement password obfuscation (printing * on the screen to protect the password).
I would take a look at AutoHotkey. You could actually have the function call the autohotkey script (using a shell statement to execute your compiled .exe from autohotkey) and the autohotkey script could be used to control the username and password, and it does support password obfuscation.
Maybe there's a better solution, this is just what came to mind off the top of my head.
Hope this helps a little,
Chris
Logged
wyb_506
Active Member
Offline
Posts: 16
Re: Want help for VBS in Mach3
«
Reply #2 on:
July 06, 2011, 06:48:52 PM »
thank you Sargon ,I first hear about CB ,so many thanks! I will learn some for it.
if I only can use SDK to write code to do so?
Logged
Sargon
Active Member
Offline
Posts: 99
Re: Want help for VBS in Mach3
«
Reply #3 on:
July 06, 2011, 07:38:55 PM »
Mach3 supports CB scripting as well as C++ plugins. You can see all the details and specifications in the documentation at
http://www.machsupport.com/documentation.php
.
Also check out the Mach3 wiki at
http://www.machsupport.com/MachCustomizeWiki/index.php?title=Main_Page
Logged
Pages:
1
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...