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...
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
I need to build a string based on some input data. 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...
I am new to C and I'm having a problem with something I thought would be relatively simple.
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...
I am having a problem reading a 'character' string into a 'real' variable. The only way I know how to do it is:
character cstr
real realva
read(cstr,'(f8.3)') realva
I think that's what I have employed below, but as you can tell from the 'output', I am not getting what I'm expecting...
Help....
I am constructing a entity name in and 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'...
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...
Hi,
I am FTP-ing a file from the PC world to the UNIX world using an FTP command. Right now I am using a Shell command to accomplish this FTP:
Call Shell(stSYSDIR & "ftp.exe -s:" & "c:\temp\ftpinput.txt", vbNormalFocus)
where
"stSYSDIR" is c:\winnt\system32\ and...
I am a new C++ programmer that has been thrust into the belly of the C++ beast. I am having problems with trying to extract a substring from a string. The string and substrings will be of varying length, what I do know is I want to start grabbing the text after the last '\' until and keep...
Catgeo call is:
GCWFAC(MNUM, NDOM, NBEDG, JEDG, JFAC, IER, *)
where input:
NDOM I4 # of domains
NBEDE(NDOM) I4 # of edges / domain
JEDG(NBEDGT) I4 Addr of each edge/domain
where (NBEDGT =...
I am trying to open multiple files, 1 at a time, and pull data. I am not having any success. I can read the data from a file by hardcoding the file name, but I have been unable to read all the files in a directory until no more files exist. Can anyone advise me a path I should take??
Is there a IUA call similar to GIRDAS (for 2D axis systems) to read the origin and vectors for a 3D axis system. I have looked thru the online Catia documentation until my eyeballs are falling out. Any help would be appreciated.