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 TouchToneTommy 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 benlogan1981

  1. benlogan1981

    sending email from my .net app

    I have a requirement to include some basic email functionality into a windows desktop application - simple enough! The problem is that I can't use the standard SMTP stuff in .NET as we need the application to work accross multiple users desktops without seperate configuration. So I have no SMTP...
  2. benlogan1981

    .NET Timer Problems

    I am not sure I follow. If you have a play with the MSDN demo app you will see that for an interval of 1ms the events are raised far less than every 1/1000th of a second. That is what I dont understand; in other words how do I get my application to perform a simple operation every millisecond. I...
  3. benlogan1981

    sending email from my .net application

    I have a requirement to include some basic email functionality into a windows desktop application - simple enough! The problem is that I can't use the standard SMTP stuff in .NET as we need the application to work accross multiple users desktops without seperate configuration. So I have no SMTP...
  4. benlogan1981

    .NET Timer Problems

    Why can I not get my .net c# program to execute a function every MS. Using the timers here... http://msdn.microsoft.com/msdnmag/issues/04/02/TimersinNET/ Why if I run a timer over 20 seconds and try to increment a counter every millisecond does the timer end up at about 1300 instead of about...
  5. benlogan1981

    unpredictable behavior (exceptions?)

    Guys and Gals... Ive been programming in Java for years, but I have never really fully understood why some method execution, (or at least debugging statements to the console) seems to take place/appear almost at random. This has been highlighted again recently with a small app im developing...
  6. benlogan1981

    registry updates through .net apps

    Thanks very much for that - I was completly stumped;) Problem sorted now...for anyone having similar trouble I will show you my example... int nResult = WinAPI.SystemParametersInfo(WinAPI.SPI_SETMOUSESPEED,0,mouseSpeed,WinAPI.SPIF_SENDCHANGE); the important thing to note is that lpvParam is...
  7. benlogan1981

    registry updates through .net apps

    Hi I am trying to enable my application to control certain elements of the control panel, like for example the mouse speed. I can find this in the registry and change the values ok, but a system restart is required in order for them to take effect. When you modify mouse speed in the control...
  8. benlogan1981

    Positioning the cursor using Cursor.Position

    Hi I am trying to set the position of the cursor manually using the following code... Cursor.Position = new Point(screenX, screenY); The idea is to basically move the mouse pointer inline with the movement of a human player in a game. The problem is when I use this call it messes everything...
  9. benlogan1981

    datagrid problems

    Hi (I am coding in VB.net but believe datagrids are fairly consistent within .net - hence this post as well as the vb one) Ok, I have a problem with datagrids - been battling with them for a few days now. I have an uneditable datagrid displaying some data out of my postgres db. That is fine...
  10. benlogan1981

    datagrid problems , preventing content selection

    Hi Ok, I have a problem with datagrids - been battling with them for a few days now. I have an uneditable datagrid displaying some data out of my postgres db. That is fine and everything is working ok - the problem is that I dont want the user to be able to select the contents of a cell either...
  11. benlogan1981

    BITS & BYTES???

    OK, I'm having a few difficulties here. New to C++! I have an input file of 0s and 1s, which are meant to represent bits. I want to read 10 of these characters in and create a 10 bit byte with them. Then I store this byte into an array to represent memory[256]. And then read another 10 'bits'...
  12. benlogan1981

    BITS & BYTES???

    OK, I'm having a few difficulties here. New to C++! I have an input file of 0s and 1s, which are meant to represent bits. I want to read 10 of these characters in and create a 10 bit byte with them. Then I store this byte into an array to represent memory[256]. And then read another 10 'bits'...
  13. benlogan1981

    BITS & BYTES???

    OK, I'm having a few difficulties here. New to C++! I have an input file of 0s and 1s, which are meant to represent bits. I want to read 10 of these characters in and create a 10 bit byte with them. Then I store this byte into an array to represent memory[256]. And then read another 10 'bits'...
  14. benlogan1981

    BITS & BYTES

    OK, I'm having a few difficulties here. New to C++! I have an input file of 0s and 1s, which are meant to represent bits. I want to read 10 of these characters in and create a 10 bit byte with them. Then I store this byte into an array to represent memory[256]. And then read another 10 'bits'...

Part and Inventory Search

Back
Top