Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Recent content by SteveJR

  1. SteveJR

    Setting string length in a Type Statement using a VBCrLf

    Hi, Can someone please advise if you can set a string length in a Type Statement by using a VBCrLf? For example, instead of Type exampleType myString as String * 100 End Type Can you do: Type exampleType myString as String Until VBCrLf 'allows for a variable length string terminated by...
  2. SteveJR

    Regex to add 2 point decimalisation

    Hi, Could someone please provide a regex that can convert a string of numbers into a 2 point decimalisation. For example, convert 100 into 1.00, convert 100000 into 1000.00 I have searched on the forums but could not find a regex that does a search/replace for my needs. Many thanks for your...
  3. SteveJR

    WSDL Message definition and elements - what are the rules???

    Thanks Dian. I assumed that would be the case but wasn't sure if there were rules that said the client could still accept a response where the top level was different but then I guess it could not confirm it was getting the right response. Steve
  4. SteveJR

    WSDL Message definition and elements - what are the rules???

    Hi, Would someone be able to tell me if there is a requirement in XML/WSDL/SOAP rules which means an application must return a response message with the same top-level element as defined in the WSDL thata client would use? For example, if I have a WSDL that contains the following...
  5. SteveJR

    Script to extract text from a log file based on start/end position

    Hi, Would someone be able to supply a simple PERL script that can parse a log file and extract or print out text found between a start and end point supplied by the user so basically any lines logged after start time and before end time.? The start/end points would be a timestamp in the format...
  6. SteveJR

    Create Form Textboxes based on a User Defined Type

    Hi, Does anyone know if it is possible to create a form with text boxes from a UDT? For example: Public Type a_UDT a as string * 1 b as string *1 End Type The above would create a form with 2 text boxes called a_UDT.a and a_UDT.b. Furthermore, is it possible to loop through the elements...
  7. SteveJR

    IO::SOCKET and AutoFlush - not working

    Solved - client was expecting a length at the beginning of the response message so that it could calculate the buffer size it was to receive. Note to self - RTFM :)
  8. SteveJR

    IO::SOCKET and AutoFlush - not working

    Hi, Noobie Perl programmer here so please go easy on me! I am trying to create a simple Perl Server that uses IO::Socket. I want it to take a message from the client, check if the message contains a piece of text, do something and then reply. I do not want the client connection closed after...
  9. SteveJR

    Listing linked/referenced files from Object

    Hi, Is there a compiler or Solaris command that can list all the files that have been linked/referenced in the final object? I want to see what source files/objects were pulled in at compile time to create the final object. Ideally I need to see the source file/object last modified timestamp...
  10. SteveJR

    Comparing Directories

    Thanks Annihilannic. Maybe the script can be altered to cater for spaces in directories and filenames? Good point on the spaces - have changed all my directories with spaces in to have an _ instead. Steve
  11. SteveJR

    Comparing Directories

    Annihilannic - is dircmp recursive? Steve
  12. SteveJR

    Comparing Directories

    Ok, cracked it. Need to put double quotes around the variable within the script. Should have guessed that :~/ So, script posted by motoslide is now working but the output file diff.list still shows all the differences. All I need to know is the files that differ. The list needs to show the full...
  13. SteveJR

    Comparing Directories

    Hi Guys, Just tried the script and I apologise up front as my scripting knowledge is not very good at all but it doesn't seem to work because one of the directory names I passing in contains a space in it. This means that the cd part is not being executed correctly. When I run the script I...
  14. SteveJR

    Comparing Directories

    Oops! Thanks for reminding me it was motoslides script. Steve
  15. SteveJR

    Comparing Directories

    Thanks for the above replies guys. Annihilannic - will give your little script a go today and post up the results. I did try dircmp but it didn't seem to give the results I needed. Steve

Part and Inventory Search

Back
Top