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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mikeprestim

    Darg and drop attachents from outlook

    Hi, I am trying to create a script to process file attachments from an email. I want to be able to drag the attachment from the email and drop it over the shortcut to the script. This will fire up the script and pass the attachment as a parameter. My script then processes the attachment. I have...
  2. mikeprestim

    TK Entry , color issue

    Thanks PinkeyNBrain You got it spot on. whilst i set the color for the main workarea i had not set it for the left and right frame. So simple just needed another pair of eyes. All working good now
  3. mikeprestim

    TK Entry , color issue

    Hi I am not sure if any one can help me. I am creating a simple GUI to interface with another CAM tool. I need to make the interface have the same look and feel as the main CAM product. Everything looks fine apart from the 4 entry widgets which have a grey block around them which i cannot get...
  4. mikeprestim

    Database object not found error on msql

    I have spent hours on this. got it sorted at last. In the prepare statement I needed to define the table name as database.owner.table as follows test.dbo.sImp then it all works ok. i started to play with the SQL Query Analyser and started to get similar errors Thanks anyway Mike
  5. mikeprestim

    Database object not found error on msql

    Thanks, forgot to put that one in. Yes i set up a DSN 1st. My code works fine for the default tables which were set up when the database called test was created. For example the table called sysusers diplays the 1st two columns to STDOUT
  6. mikeprestim

    Database object not found error on msql

    Hi I have installed MS SQL server on my pc and created DB called test. I have also created my table to it. When i try and query the table i get an invalid object name error refering to my table. I know my table is spelt correctly and i can see the table in Enterprise manager. If i change the...
  7. mikeprestim

    c-shell editor

    Does any one know of a good text editor with c-shell syntax checking for windoze. Similar to kate on linux I have inherited an old large c-shell script to which i have modified however it runs wild. I am sure that somewhere an endif is missing but i cant find it. Some form of editor with...
  8. mikeprestim

    matching an expression with grep

    Thanks Mike. Sorted works a treat. Only one small typo Infile instead of InFile in the test condition at the end. Its useful code as it helps out in the next part of the project. Its just error trapping stuff in a programmable CAM environment Thanks again Mike
  9. mikeprestim

    matching an expression with grep

    Hi I have an external file from which i need to see if the file contains the chrs $$exp. My code line is my $i = system "grep '$$exp' $ARGV[0]"; $i is 0 if true fails because $exp is not defined, but i do not want to i am checking for an explicit existance of $$exp in an external file. I...
  10. mikeprestim

    making a variable from another in C-shell

    Thanks. Simple
  11. mikeprestim

    making a variable from another in C-shell

    Hi this is stupid i know but the syntax is killing me. I don't do much c-shell. Below is a small bit of code to simulate my problem. I am sourcing a much larger file that contains all the feeds and speeds for a CNC drill machine. I know the diameter as $RD_SZE I just need to match the line...
  12. mikeprestim

    Win32::Gui how to change font in DC?

    Thanks for the reply dmazzini. I've been off sick for a few days so only just got back to it. SetFont is a no go it reports object not found. but I have had another go today and cracked it and below works $Screen->SelectObject($Font_6); SelectObject was one of those TBD in the win32...
  13. mikeprestim

    Win32::Gui how to change font in DC?

    Hi I have been away from perl programming for a long while now and have started to look at win32::gui. I am creating a drawing application using DC. I can draw, add text etc, etc with no worries. My question is how do you set or change the text font before calling: $Screen->TextOut($txt_st...
  14. mikeprestim

    XP having problems connecting to samba

    Hi, what version of samba are you using? I had something similar with 2.04 and upgraded to 2.07 and all was ok after that Regards Mike
  15. mikeprestim

    Unable to Compile 2.2.8a for UP10.2

    I am trying to install 2.2.8a on an HP10.2 machine. I currently run 2.07 but installed it from a binary, this is the first time I have tried to install from source. When I run the configure script after a few mins of what looks like positive activity I get the message ERROR: No locking...
  16. mikeprestim

    Reporting on xml files

    Thanks synapsevampire. I gave it one last try on reading the xml in before going the formula route and this time it worked. I had not set up the xml driver correctly in the ODBC Admin. For ref to get what I needed in the advanced tab the table hint needed to be set as /part_data/form nad the...
  17. mikeprestim

    Reporting on xml files

    I have an xml file please see below. <part_data> <form> <sb_circuit_size> <circuit_dim_type> 2 </circuit_dim_type> <circuit_width> 219840000 </circuit_width> <circuit_length> 251430000...
  18. mikeprestim

    MAP network drive

    Is there a perl module or is there a way to map a network share using perl ?. even better also allowing connection with a different user name. I want to put this on a win98 setup. I do not want to do a system call to net Thanks Mike McMahon
  19. mikeprestim

    Routing and proxy server problem

    I have just added a win2000 server to our existing network. It has two NIC cards. One connected to our existing 10base T network on 10.0.0.13 address and the other to the new 100mb network as 10.0.10.1. All appears to work well until the proxy server on the existing nt server on ip 10.0.0.2...
  20. mikeprestim

    Finding PID of all processes running

    Jay thanks for code. I have not had much luck with it as of yet. I am returning an undefined value on $CreateToolhelp32Snapshot $ProcessFirst $ProcessNext so I the script fails when it tries the call. I have not done to much with win32::api yet so it is time to read the help pages on it...

Part and Inventory Search

Back
Top