Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK 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
  • 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.

    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
  3. 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...
  4. 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
  5. 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
  6. mjs84

    Reading single Char from String in C.

    richs Thanks for the help. I'll try it and let you know if that does it. Thanks to all who give this valuable advice. mjs84
  7. mjs84

    Concatenting Strings Help

    DickRussell, Thanks for your help. mjs84
  8. 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...
  9. mjs84

    Reading single Char from String in C.

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

    Reading single Char from String in C.

    Oops: I forgot to mention. The string I am trying to read is in a string variable. char str1[10+1]; str1 = "123H.456";
  11. 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...
  12. 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...
  13. 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
  14. mjs84

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

    toog Thanks a ton!!!!! mjs84
  15. 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'...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. mjs84

    FTP code in VB

    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

Part and Inventory Search