dcsimg

Search:

Type: Posts; User: MerrionComputin

Page 1 of 13 1 2 3 4

Search: Search took 0.64 seconds.

  1. New version - comments, defects etc?

    New version - comments, defects etc?
  2. Replies
    3
    Views
    405

    The best MS bug ever...

    Sometimes Barney plays peek-a-boo with himself - makes my issue slist look distinctly dull
  3. Replies
    3
    Views
    482

    Is the printer handle non zero? Most likely you...

    Is the printer handle non zero?
    Most likely you haven't requested

    SERVER_ALL_ACCESS = &HF0003
    in the PRINTER_DEFAULTS parameter you are passing to OpenPrinter?
  4. rev.res.server

    rev.res.server
  5. Replies
    13
    Views
    760

    Get the book The Visual Basic programmer's guide...

    Get the book The Visual Basic programmer's guide to the Win32 API by Daniel Appleman and start from there...
  6. Replies
    51
    Views
    1,336

    Whom do I invoice for this tiresome waste of my...

    Whom do I invoice for this tiresome waste of my time?
    I would be obliged if this board could be kept for programming questions rather than whatever the last 20 or so posts were all about.

    The...
  7. Replies
    2
    Views
    505

    Access control in .NET framework?

    Anybody know if the functionality of the discretionary access control lists is in the .NET managed framework anywhere --- i.e. can I programatically add or remove user permissions for a given shared...
  8. Draw database schema diagram from any ODBC...

    Draw database schema diagram from any ODBC connected database - I could use something like that...
  9. IT's worse than drikning and driving...

    Did a 14 hour sess in front of the monitor today (end of year and there's several hundred thousand euro in the wrong reconcilliation accounts...) and when I left I cycled straight under a truck. ...
  10. Replies
    4
    Views
    640

    This is ture - but I share the source code...

    This is ture - but I share the source code between many developers and it doesn't make sense to force all of us to use the same path structure.
  11. Replies
    4
    Views
    640

    Strong name key files?

    Is there any way to use a relative path for your strong name key file for an assembly? I currently have:


    <Assembly: AssemblyKeyFile("C:\Merrion...
  12. Replies
    0
    Views
    375

    Printer control languages

    Am I missing any major ones?
    I have:

    PostScript
    HP PCL/PJL
    EMF
  13. Thread-safe means that the process will work...

    Thread-safe means that the process will work correctly in a multithreaded application.

    The reason that iterating through a collection is noth thread safe is that it doesn't lock the collection so...
  14. Replies
    8
    Views
    1,440

    Your best bet would be to make a small app that...

    Your best bet would be to make a small app that installs the hook but doesn't do anything much with it and see what happens to your PC memory/CPU usage etc. with it running.
  15. Replies
    0
    Views
    473

    Evolutionary computint framework

    See the GotDotNet workspace - contributors wanted...
  16. Replies
    0
    Views
    443

    "Application blocks" - ced seo?

    When does something become an "application block" - is there a special requirement or test? In fact any documentation on this that I should read before I go off pretending I know what I'm talking...
  17. Replies
    6
    Views
    13,729

    The gory details are in: Advanced .NET archives...

    The gory details are in: Advanced .NET archives
  18. Replies
    6
    Views
    13,729

    The .NET documentation would seem to indicate...

    The .NET documentation would seem to indicate that if you want to invoke an event asynchronously in "fire and forget" mode you can do this by calling the .BeginInvoke method and not passing any...
  19. Replies
    3
    Views
    556

    There are a number of API calls provided by the...

    There are a number of API calls provided by the spooler subsystem that allow you to do this. GetPrinter and SetPrinter would be a good place to start...
  20. You're going to have to muddle through some API -...

    You're going to have to muddle through some API - GetPrinter and SetPrinter calls seem favourable?
  21. Replies
    2
    Views
    320

    Set the common dialog's CancelError property to...

    Set the common dialog's CancelError property to true and put an error trap in the code - then if the user presses cancel execution will jump to the error handler.
  22. Replies
    8
    Views
    8,152

    You need to set papersource to be custom or the...

    You need to set papersource to be custom or the width parameter (and height) is effectively ignored.

    Not all printers support custom paper sizes so error handling is required.

    To set the...
  23. Replies
    7
    Views
    964

    Cause of problem: Machine fell off desk. I'm...

    Cause of problem: Machine fell off desk.

    I'm guessing it is a hardware fault. Note that the muppet thinks the machine "fell off" rather than was knocked off by cack-handed muppet(s)...
  24. There's source code too - bit scary but if you...

    There's source code too - bit scary but if you trace through it you should see how it all hangs together.

    Note : do not debug apps without saving your work first - this can lead to things falling...
  25. Replies
    4
    Views
    438

    Cad seo?

    Any idea what make and model this car is?
  26. Replies
    6
    Views
    396

    It goes both ways.....

    It goes both ways..
  27. Replies
    17
    Views
    1,565

    I have discovered that you can pass a null string...

    I have discovered that you can pass a null string using String.Empty instead of using an IntPtr e.g.:-


    If Not EnumPrinterDrivers(String.Empty, String.Empty, 3, pDriverInfo, 0, pcbNeeded,...
  28. Thus if the config file is like:

    Thus if the config file is like:


    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <configSections>
    <!-- Extra custom configuration sections -->
    <section...
  29. Replies
    4
    Views
    641

    It is a historical throwback - once it meant word...

    It is a historical throwback - once it meant word and long parameter - but since Win32 they are both LONG (32 bit) parameters.
  30. Instantiate a class by its type name??

    OK - I have a plug in framework where my application can have 3rd party plug-ins added via the .config file (provided they confrom to the IPlugIn interface...)

    What I have so far reads the Type...
  31. Replies
    16
    Views
    876

    You'd be wrong. You need to use the API call...

    You'd be wrong. You need to use the API call TrackMouseEvent and subclass the relevent control to look out for the messages WM_MOUSEHOVER and WM_MOUSELEAVE respectively...
  32. Replies
    9
    Views
    451

    Press CTRL+G

    Press CTRL+G
  33. Yes - I can only boycott them once I'v dispersed...

    Yes - I can only boycott them once I'v dispersed of the fundibles...I think I might go on an eBay spree.
  34. Replies
    15
    Views
    626

    Your API function returns a long - you must pick...

    Your API function returns a long - you must pick this up off the stack even if you aren't using it or the stack pointer will be pointing at the wrong space and you get the bad DLL calling convention...
  35. Replies
    2
    Views
    9,961

    To ask the process nicely to close use If...

    To ask the process nicely to close use

    If Process.CloseMainWindow Then
    '\\ Process closed itself
    End If


    To force it to die use:

    Process.Kill
  36. Look on MSDN (http://msdn.microsoft.com/) for the...

    Look on MSDN for the TrackMouseEvent API call. Using this sends the Wm_MOUSEHOVER and WM_MOUSELEAVE messages to your window.

    Alternatively using the EventVB.dll you could use the ApiWindow...
  37. Storing an reading a collection of App Settings...

    OK - I have an App.config file and am able to read single items in name/value pairs thus:


    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <appSettings>
    <!-- Monitor...
  38. Replies
    10
    Views
    1,791

    And how do they differentiate this from the...

    And how do they differentiate this from the Command Button control then?
  39. Replies
    2
    Views
    383

    You could use the System Wide hotkey control...

    You could use the System Wide hotkey control
  40. Replies
    3
    Views
    373

    The money is coming from the Bank of Ireland bad...

    The money is coming from the Bank of Ireland bad loans portfolio, and the photos will be a long time coming as some skanger stole by scanner....
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width