Hello,
Does anyone have any good examples
of editing TEXT within a DWG file
using VB 2005 & DWGeditor API?
It's easy to control layers and
others but we cannot find a way
to update TEXT.
EX:
change string from from "Hi" to "Hello"
where text handle = "2ABF"
Any help would be greatly...
Hello,
We are looking for a package that will
allow us to edit DWG files within our
VB 2005 projects and distribute to
our reps WITHOUT having AutoCad or any
other drawing software installed on the
client machine.
Specifically, we need to:
1) Turn Layers On/Off
2) Save DWG files AS NEW
3)...
Hi,
First off thank you for looking @ the post
and any feedback you have to offer.
I am getting ready to compile a selection
program for our reps and would like to add
the ability to EDIT .DWG files based on
various selections within the program.
NONE of our reps have ACAD loaded on
their...
Hello,
I am currently working on a VB project to automate
the design of a few parts. Everything was working
great until I decided to start using equations in
Solidworks to help speed up the process...
The first two automated parts in this project there
were only a couple of integrated...
Hi,
We have standard sheet metal templates set
up for 10ga, 12ga, etc in solidworks for our
new parts. I've automated the design process
& part creation through solidworks on several
of our company parts/assemblies.
I've come to some parts that need to be available
in multiple gauges of...
'Add attachment(s) - ALL .PDF files within app.path directory - destroy file after adding as attachment and copying to fileserver
Dim g_AttPass% '// Attacment Index
Dim New_File3$ '// File string
g_AttPass = -1
Do while dir(app.path & "\*.PDF") > ""
New_File3 = Dir(App.Path & "\*.PDF")...
'Add attachment(s) - ALL .PDF files within app.path directory - destroy file after adding as attachment and copying to fileserver
Dim g_AttPass% '// Attacment Index
Dim New_File3$ '// File string
g_AttPass = -1
Do while dir(app.path & "\*.PDF") > ""
New_File3 = Dir(App.Path & "\*.PDF")...
I think the reason your code errors in the module is
because the mapi control instance is specific to the
form on which it is placed. If you referenced the form
then the code would work in a module.
ex:
'**** MODULE CODE ****
Public Sub Send_Email(ByVal ReferenceForm as Form)
'Sign On
If...
>> The only way I've found to avoid getting the pop up
>> question is to already have Outlook running at the
>> time you send an email. You can always check to see
>> if Outlook is running and shell it if it is not, but
>> we just have our users keep Outlook running while they
>> work...
FaxFolder
I had the 'question' problem as well. The only way I've
found to avoid getting the pop up question is to already
have Outlook running at the time you send an email. You can always check to see if Outlook is running and shell it
if it is not, but we just have our users keep Outlook...
Here's the code to get SolidWorks to make a PDF file in the same location as SolidWorks drawing if anyone is interested.
Put this in a module and call from VB app:
GENERAL DECLARATIONS
Option Explicit
Const vbPRORPortrait As Long = 1
Const vbPRORLandscape...
msmith,
Thanks for the tip. You were right about the indexing, but this was not my only problem. I also needed to set the attachment position to an incremented variable because each pass the .AttachmentPosition defaults to zero. I used your tip on setting the .AttachmentIndex =...
I forgot to mention that you have to have Adobe Acrobat 5.0 and not just Adobe Reader to print to either the Adobe Distiller(for more detail) or Adobe PDFWriter(for mainly text documents).
Thanks,
Josh
Here's the code to get SolidWorks to make a PDF file in the same location as SolidWorks drawing if anyone is interested.
Put this in a module and call from VB app:
GENERAL DECLARATIONS
Option Explicit
Const vbPRORPortrait As Long = 1
Const vbPRORLandscape...