Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mjs84
  • Content: Threads
  • Order by date
  1. mjs84

    Printing a Word document from a VB.net application

    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...
  2. mjs84

    Problem with deleting a datarow in an SQL database using VB.NET.

    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...
  3. mjs84

    Catia V4 CL File Example w/ Circular Interp???

    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
  4. mjs84

    Need Catia V4 IUA documentation!

    Does anyone have or know where I can get Catia V4 documentation for IUA's? (either online or hardcopy) Thanks
  5. mjs84

    Concatenting Strings Help

    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...
  6. mjs84

    Reading single Char from String in C.

    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...
  7. mjs84

    Problem with READing char into real variable!!!

    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...
  8. mjs84

    Date and Time in Fortran77??

    Is there a function in Fortran77 to get the date and time? Thanks in advance for your help. mjs84
  9. mjs84

    How to write an integer value into a string with leading zeros?

    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'...
  10. mjs84

    Executing a Unix command from VB

    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...
  11. mjs84

    Execute a Unix command from VB

    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...
  12. mjs84

    Interesting V4 Plotting Problem

    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...
  13. mjs84

    Plotting with a script or IUA

    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...
  14. mjs84

    FTP code in VB

    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...
  15. mjs84

    C++ String Manipulation Question

    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...
  16. mjs84

    Catia IUA GCWFAC, create a face from edges

    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 =...
  17. mjs84

    Opening multiple files???

    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??
  18. mjs84

    Catia IUA Call for 3D-Axis

    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.

Part and Inventory Search