![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Mastercam Discuss Mastercam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I am using vba to give the printscreen output of mastercam to an excel file but still i am not having success i tried send keys it dont work either any one done or there be any mastercam viewver ocx anyone know anything in this regard... |
|
#3
| |||
| |||
| http://www.diycalculator.com/imgs/codes-05.gif see the table std ascii i used msgbox char$(42) it shows "*" which is given in table so... |
|
#7
| |||
| |||
| The Book 'Visual Basic Answers!' ISBN 0-07-211895-4. Here is some code that will capture your screen. Too advanced for me to explain the detail. You will need to paste your 'capture' to your program. This works with VB6, unsure if about VBA. Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal _ bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long) Private Const VK_SNAPSHOT = &H2C ------------------------------------------------- Private Sub Command1_Click() keybd_event VK_SNAPSHOT, 0, 0, 0 End Sub Last edited by Kiwi; 12-16-2008 at 05:00 PM. Reason: deleted unnessary code |
|
#10
| |||
| |||
| Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long) Private Const VK_SNAPSHOT = &H2C '///////////////// My Global Variables ////////// ' -- Start Script Call Main() ' //////////////////// ' Sub Declaration ' //////////////////// Sub Main() keybd_event VK_SNAPSHOT, 0, 0, 0 End Sub |
| Sponsored Links |
|
#11
| |||
| |||
| even this dont work http://word.mvps.org/faqs/MacrosVBA/PrtSc.htm |
![]() |
| Tags |
| excel setupsheet |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need a simple setup sheet for X3 | foxsquirrel | Mastercam | 9 | 11-21-2008 10:08 AM |
| Need Help!- MCX2 setup sheet???? | QMI2007 | Mastercam | 5 | 07-10-2008 08:41 AM |
| Setup sheet in Gibbs cam | binzer | GibbsCAM | 2 | 08-23-2007 08:52 AM |
| Setup Sheet Problem | StormWerkz | Mastercam | 1 | 03-21-2007 10:24 AM |
| Mastercam Setup Sheet Help | stampman | Mastercam | 6 | 02-26-2005 07:54 PM |