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 Mike Lewis 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. djburnheim

    Automatically create and organise controls

    Thanks, I'm also worried about how many the Max is. I've gone with my 1st thought which is a little dirty but it works... On my form I've created 60 checkboxes and have set them to visible=false, I've then used the code below to make them visible and change the caption...if I ever get more...
  2. djburnheim

    Automatically create and organise controls

    Hi, I'm trying to automatically create a number of checkboxex on a form when it initialises based on data in sheet. The number of checkboxex will vary depending on how many cells in the sheet have values in them. The only way I can think to do it is to create a whole heap of genric checkboxex...
  3. djburnheim

    Add extra fields in MS Word Forms

    I'm using the built in "Forms" tool in MS Word to create a report template. The template has several tables in it that could be anywhere from 1 row to 50. Rather than create 50 rows straight off I'm trying to dynamacly create rows as they are needed. The last cell in each row has a Text Form...
  4. djburnheim

    Zenworks Application Reporting

    We are runnning NW6 with Zen 4 and I'm trying to produce a report that lists users, the application objects that associated to them and the last time the user actually used each application. I have setup the Zenworks ODBC but can not find any tables that give the info I need.
  5. djburnheim

    Change default print driver settings in iPrint

    I'm trying to set the default driver settings to include duplex settings etc. I've found a TID on Novell (10083141) that says it can be done through HTML code but to date I'm unbale to get this to work (see below). We are running NW6 and HP printers, has anybody been able to acheive this or...
  6. djburnheim

    Check a form to make sure it's completed

    thanks PH but still doesn't work and I also need to be able to determine if the user has answered NO to any questions. I'm trying different things but if anybody has got any suggestions it would be great. many thanks Dave
  7. djburnheim

    Check a form to make sure it's completed

    I have a form with about 20 questions and Yes/No option buttons...when the user clicks OK I want to call a procedure to check that all questions have been answered and if there are any "No" answers...I have code that will check all the option buttons but it only works if the user has answered...
  8. djburnheim

    Grouping checkboxes so only one can be checked

    I'm sure this is very easy but I just can't find a way to do it....I have 4 checkboxes in a frame on a form, 2 lots of YES/NO. I want the user to be only able to check one, ie yes or no. I've tried using if then for the click event but this doesn't seem to work properly and actually crashes my...
  9. djburnheim

    Chech for changes in a form

    I've got a simple form that displays values from cells in an excel workbook and I'm trying to find a simple way of checking to see if a user makes any changes in the form so I can update the workbook if needed. I can think of 2 ways of doing it but both seem long winded any other suggestions...
  10. djburnheim

    What path is used when Shell is called

    I have it working!! I changed the way shell was called using a way I found in another post and also added a pause (Don suggested this sometime ago)...it seems to of fixed all my problems! Thanks everybody for their help..working code is below. Now to work out how to package it! [wavey3]...
  11. djburnheim

    What path is used when Shell is called

    AkutaSame, my problem is that I didn't write the generator.exe, I have no idea where it came from but it's been used to generate passwords based on machine names and I'm just trying to make it so you don't have to go into DOS each time you want to get a password. Dave
  12. djburnheim

    What path is used when Shell is called

    Thanks I guess we hadn't actually posted the answer but Andy's code in the 3rd posting provided the path. I was hoping once I found what directory path was used when calling Shell I could fix my problem by putting the DAT file there but it doesn't so I'm really struggling to workout why I can...
  13. djburnheim

    What path is used when Shell is called

    I'm working on XP and have tried that syntax for DEBUG.EXE but get "file not found". I think .Net Studio can open exe files but I only have VB 6.
  14. djburnheim

    What path is used when Shell is called

    It runs and finishes almost straight away...If I check the txt file after the code has finished it isn't changed either. I've been trying to work our how to "load the generator app into DEBUG.EXE" but have never used it before and can't work it out. Dave
  15. djburnheim

    What path is used when Shell is called

    Hi Don, txtMachineName is alphanumeric entry. eg txtMachineName = ab12345 strTemp = D:\PGen\Generator ab12345>D:\Pgen\pw.txt If I go into DOS and change directories to the app path (I've added this line after Andy's suggestions) and copy the value of strTemp it works.
  16. djburnheim

    What path is used when Shell is called

    Tried changing to original location too but no go. The generator "app" was emailed to me...I don't know where it came from originally and all it is, is the exe file & dat file. Dave
  17. djburnheim

    What path is used when Shell is called

    Andy thanks for your suggestions. I've already tried having the DAT file in D:\PGen and I tried your suggestion of having in the App.Path folder and changing directory before calling Shell but same result (I added those couple of lines to check the path and I've got it in the directory given in...
  18. djburnheim

    What path is used when Shell is called

    I've been working on a small app that calls a command line exe file (see thread222-681160) and I almost have it working now but am running into two problems. Firstly the command line exe file needs to be run from the same location as a DAT file and I've tried copying this DAT file to all the...
  19. djburnheim

    Execute a command line exe file and get result

    After more testing... It actually isn't working to well. Originally I was testing the string that was being passed to DOS in DOS and it works like a charm..if pw.txt doesn't exsist it creates it, if it does it overwrites it. But when I run it through VB if the file doesn't exsist it is not...
  20. djburnheim

    Execute a command line exe file and get result

    Sorry my mistake....code does work I just needed to remove the .exe extension in the string that is passed to the shell. Still have a problem if the txt file doesn't exsist and becuase it is killed each time (which is preferable) I can only use it once...any ideas??

Part and Inventory Search

Back
Top