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: *

  • Users: Madz
  • Order by date
  1. Madz

    Delayed respone with telnet

    Hello Deak! I would recommend you to change the netsvc.conf, or create it if not available. It´t important that the order of the local, bind etc are correct, cause if you mix the them you would ending up with a system that will not boot on correct media. hosts=local,bind4,nis I hope this...
  2. Madz

    My AIX 4.3.3 box crash when swapping to disk.

    No error log is written or directed to serial port. The system just freeze and the led shows nothing. I have 256 Mb RAM and the page is 1280Mb. I cannot figure out why the system hangs when the load increases? Thanks you your support. /mats
  3. Madz

    My AIX 4.3.3 box crash when swapping to disk.

    The system does not write any logs or print to serial device. The swapping are are being used for some seconds and then the system hangs. How to prevent from hanging? Thanks in advance /mats.
  4. Madz

    How to insert/ delete a line in txt-file from a script?

    Thanks you your support bogdanc & LHLTech !! The program works fine now! It increased the numbers I wanted! /mats
  5. Madz

    How to insert/ delete a line in txt-file from a script?

    Thanks for your response! all I want to do is to increase numbers in a file. for example: Hello <- always the same 1 <- the 2:nd row should be increased to 2, and then 3,,, (I have the numbers in a variable) Hello2 <- row 3. always the same 1 <-should be increased with 1 hello3...
  6. Madz

    How to insert/ delete a line in txt-file from a script?

    Is it possible to first delete a line in a textfile and then insert a number on that row (replace the number) for example: Hello-1 1 <- change this row to 2. Hello-2 thanks in advance! /mats.
  7. Madz

    How to use sed to increase number in file?

    I am not so familiar with awk. Is 'yourfile.awk' the script file from above? I got an error that says; Cannot make assignment to tab.It is an array name. I saved the script from above to: aa.awk $awk -f aa.awk nrfile nrfile = the file that contains the numbers I want to increase How to...
  8. Madz

    How to use sed to increase number in file?

    I have a file with four numbers that I want to increase every time I run a script. How to increase the correct number and write it on correct row? (I have the correct number in an variable) The &quot;number file&quot; could for example look like this: row1 100 <- should increase by one the...
  9. Madz

    How to make script that check/unpack file10 and then file11 ?

    Is it possible to make a script that check if I have received file100.gz and then unpack it. The next time it should check if file101 have arrived and then unpack it (and so on). If not it should mail root. How do I make this in a script? Thanks in advance! /mats
  10. Madz

    simple question: How to pass textbox.text to other forms?

    I Have two forms. In one of them i load a textbox with some text (form2). I then want to make some things with the text in form1 How to pass over the information from form2 to form1 ? It doesn´t work to use form2.test.text cause all the stings that i receive are empty! thanks in advance /mats.
  11. Madz

    Read textfile and change colour if &quot;hello there&quot; apears

    I want to read a textfile and change the color of the text if; for example &quot;hello there&quot; apears then I want to change &quot;hello there&quot; to red in the textbox. Is this possible? The next line should return to black text. thanks in advance! /mats
  12. Madz

    How can you obtain the Machine Id using VB?

    Hope this is what you are looking for. It returns the network user name Public Function CStringToVBString(psCString As String) As String ' ********** ' Purpose: Convert a C string to a VB string ' Parameters: (Input Only) ' psCString - the C string to convert ' Returns: The converted...
  13. Madz

    How to print 7-bit chars?

    Thanks for your support,, I did not manage to print åäö in 7-bit. The problem is that I only can print these characters in 8-bit. Is !R! frpo u6,10; exit; some kind of script? I remember that I manually programmed a virtual canon printer so that it printed text correctly. This was on aix...
  14. Madz

    How to print 7-bit chars?

    I have a HP LaserJet III connected to the parallel port and want to print text which is in 7-bit. The part that goes wrong is the stupid charsacters: å ä ö I managed to print these in 8-bit, but how to print them in 7-bit or convert the 7-bit text to 8-bit? thanks in advance /mats
  15. Madz

    Get rid of parenthesis in scoadmin?

    I want to get rid of every parenthesis that appear in my scoadmin utility. I have root access, but can´t do nothing at all. thanks in advance. /mats
  16. Madz

    How to maximize screen?

    I am making a screensaver. How to make the screen maximize? -when I run the program from the &quot;vb environment&quot; all works fine, but when I run the exe (scr) it only minimize as a label in the left corner of the screen and maximize when I press it. how to make it maximize it when...
  17. Madz

    How to make mouse visible on picturebox?

    I am making a screensaver and want to detect the mouse.. I have a picture-box that draw some gfx. The problem is that the mouse pointer is located under the picture-box (on the form). How to make so that the pointer is located &quot;on top&quot; of the picture -box? Thanks in advance /mats...
  18. Madz

    How to read row n to row x in a textfile?

    I want to read a textfile from row n and put the rows in a string variable. I would then read until row x. the textfile look like this d:\hello1.bat d:\hello2.bat d:\hello3.bat I know how to use the Line input to take one row only, but how to start from row 3 in a file? thanks in advance! /mats
  19. Madz

    How to search for all &quot;hello&quot; stings in a big big file

    It is stantard carridge return separated
  20. Madz

    How to search for all &quot;hello&quot; stings in a big big file

    I have a huge File ~1 Gb that I want to read and find out how much data there is between for example: &quot;hello&quot; and the other statement &quot;hello&quot; The file contains only of plain text and I want to print out on which row there &quot;hello&quot; are on. Many thanks!

Part and Inventory Search

Back
Top