I am trying to print an existing Word document (or excel, or wordpad), from a VB.net application. I am not interested in opening the document. I just want to pass a subroutine a document name and print it while the application continues on it's merry way.
Any help or hints would be...
To anyone interested.
I did find the solution to my problem - I was using the wrong delete command. I used the:
mydataset.tables(tablename).rows.remove command and needed the
mydataset.tables(tablename).rows.delete command.
-mjs84
I am a newbie with vb.net and SQL and I have run into a bit of a snag.
I have written code to manipulate an SQL database. I have routines to connect, read, query, edit, add, delete and update data to the database.
Everything seems to be working just fine, except the delete function. I am...
Does anyone have an example clfile from Catia V4 or V5 that has circular interpolation in it. If so, I would really appreciate the file, or at least a snippet of it that contains the circular interpolation piece of it.
Thanks
...The data is coming from user input from a motif application so I don't know the length of any piece of data.
Here is my code:
character*50 str0,s0
character*50 str1,s1
character*50 str2,s2
character*50 str3,s3
character*10 str4,s4
character*10...
oops again.
I had initialized it
char c[10+1];
I did get this to work by writing my string into a temporary file and using the getc() function to read each character of the file.
This seems to work okay.
If there are any better ideas, I would sure like to hear them.
Regards,
mjs84
...I am trying to read a character at a time from a string, using the getchar() function, and I seem to be having alot of trouble.
Below is my code:
*---------------------------------------------------------
FILE *fp0;
char c(10+1);
int j, ch;
fopen(fp0...
...I am not getting what I'm expecting.
If anyone can see a problem with this code, I would surely appreciate it.
Thanks, mjs84
CHARACTER*42 LIDEN
REAL*8 TMPVAR
LIDEN = 'MIN.375/MAX.378_1'
WRITE(7,'(2A)') 'Element ID is: ', LIDEN
WRITE(7,'(2A)') 'chrs 4:7 are: ', LIDEN(4:7)...
...I need to construct the name from strings and integers. This I know how to do, but I don't know how to get the leading zeros. For example:
integer*4 val1
character*3 chr1
character*3 chr2
character*10 ans
val1 = 1
chr1 = 'LST'
write(chr2,*) val1
ans = val1 // chr2 !gives me...
Hello all,
I need to execute a Unix script from VB. Manually, I would open a shell using the dos 'cmd' command, and telnet to my unix site, then run the unix command. The problem with doing this programmatically is unlike it's ftp cousin, which has a -s parameter that allows you to use a text...
Hello all,
I need to execute a Unix script from VB. Manually, I would open a shell using the dos 'cmd' command, and telnet to my unix site, then run the unix command. The problem with doing this programmatically is unlike it's ftp cousin, which has a -s parameter that allows you to use a text...
Hello all,
I have a very interesting plotting problem I need to solve. First, let me set up the environment and model for you.
Catia V4 on a Unix workstation. I have a page template on layer 0. I have a filter defined that activates layer 0 only. On layers 1 thru 10, I have text and...
I was tasked to find a way to plot sheets to a plotter using a script file or IUA.
The process being used currently is a template sheet is created on layer 0 then subsequent layers (1,2,3,...) contain the text/graphics for different operations. The operator then applies a filter that...
CajunCenturion,
Thank you so much for your help. I found for my application, the best solution was the ShellandWait function. It works like a charm. Thanks a ton to all you experts that help a dummy like me. This forum has been a tremendous help to me.
mjs