Hello
Guest
it is
May 12, 2025, 07:54:31 PM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
VB and the development of wizards
/
SetToolDesc problem
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: SetToolDesc problem (Read 5261 times)
0 Members and 1 Guest are viewing this topic.
TPS
2,577
SetToolDesc problem
«
on:
July 26, 2012, 04:00:25 AM »
hi all,
tryed the example from
Mach3 Version 3.x
Macro Programmers Reference Manual
to set tool description.
Sub Main
Dim TNum As Integer
Dim TDesc As String
TNum = 1 ' want to set description for tool # 1
TDesc = "1/4 135 degree split point drill"
If SetToolDescription(TNum, TDesc) Then
Message "Tool description was set"
Else
Message "Error setting Tool description"
End If
End Sub
geting errormessage in VB Scripter : Sub or function not defined:SetToolDescription
any ideas how to fix ?
Thanks Thomas
Logged
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Klaus1311
531
Re: SetToolDesc problem
«
Reply #1 on:
July 26, 2012, 07:10:08 AM »
Hi Thomas
what Mach3 version are you using. This function needs at least V3.42.30
Klaus
Logged
The brain isn't a soap, it doesn't shrink when used.
TPS
2,577
Re: SetToolDesc problem
«
Reply #2 on:
July 26, 2012, 09:15:56 AM »
Hi Klaus,
version is: R3.043.058, but i found the problem 5 minutes ago:
If SetToolDescription(TNum, TDesc) Then 'this is wrong in the example
must be:
If SetToolDesc(TNum, TDesc) Then
now it works.
regards Thomas
Logged
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Print
Pages:
1
Go Up
« previous
next »