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 Wanet Telecoms Ltd 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 KempCGDR

  1. KempCGDR

    Client not reading from named pipe

    I have tried this, and still nothing is received by the client. No matter how long the timeout period is set it still returns straight away with no data, which is impossible as far as I know what with it being set to blocking. I find it really strange as the code to send to the server and for...
  2. KempCGDR

    Create a new String type

    You've never really mentioned why you need an overloaded function, especially as they both just deal with a string. Why not just have one function? There is, after all, no point in using a feature of the language just purely for the fact that it's there. I would consider function Concise(AStr...
  3. KempCGDR

    Implementing NET SEND command in my application

    Well, I have to admit that it was adapted from something else I was using, but that was also one of the NET commands, so I don't see why that should work and this not. The appropriate service is running on your machine, correct?
  4. KempCGDR

    how do i disable window-closing?

    There's also the biSystemMenu property under BorderIcons in the object inspector if you don't want the button at all, but towerbase's way lets you choose.
  5. KempCGDR

    Implementing NET SEND command in my application

    It is quite simple to use WinExec: WinExec(PChar('NET SEND whatever'), 0); Change the 0 to a 1 to hide the console box that flashes up for a moment. The cast to a PChar is in case you want to replace any part of the string with a variable, eg: WinExec(PChar('NET SEND ' + address + ' ' +...
  6. KempCGDR

    Difference between int and long

    cpjust: That's the sizes MS have defined for their compilers running under those OSes on x86 machines. Other environments may be different.
  7. KempCGDR

    Client not reading from named pipe

    Hi, I've been putting together a server and client that use a named pipe to communicate (they both run on the same machine). The server creates the pipe and the client connects fine, then the client sends a message to the server which works fine as well (the server can print the message as it...
  8. KempCGDR

    point an event to a function !

    newComboBox.onChange := functionName The function must have exactly the same parameters as the event handlers delphi generates for you.
  9. KempCGDR

    Reset issues for textfile

    Thanks, that worked fine. Kinda confusing though as I always used reset before :S
  10. KempCGDR

    Reset issues for textfile

    This problem is really annoying me because as far as I can tell, this is the same code I've used a million times. I have the following code filename := extractFilePath(application.exeName) + 'log.txt'; assignFile(log, filename); if fileExists(filename) then reset(log) else rewrite(log)...
  11. KempCGDR

    Transparent form... but not quite

    Don't worry, fixed it now, had to use a different method.
  12. KempCGDR

    Transparent form... but not quite

    Hi, I need to have a form in my application transparent so I did a quick search and came up with the method of setting the brush style to bsClear. This works fine except that if the form is moved then the area the form occupies still shows whatever the form used to be over the top of, which...
  13. KempCGDR

    Text operations problem :/

    Maybe not a single function for them, but they're not much harder. Getting can be done with a loop using IsDelimiter and then using Copy to get it out once you're at the right one. Deleting can be a similar loop but using Delete. Moving can be a get and a delete followed by using a combo of the...
  14. KempCGDR

    Sql using PHP ? PLEASE HELP

    You get returned a handle to the results, you can use mysql_fetch_array($result) to get individual rows.
  15. KempCGDR

    New to php, standard questions

    sleipnir214: I didn't know that actually (standalone), though I'm not surprised that it was done.

Part and Inventory Search

Back
Top