Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: hyarion

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    51,945

    Re: Windows Image Acquisition (WIA) Code

    I'm afraid I'm not really able to answer that.

    It's been 5 years since I posted the original info and not long after I switched to Java and php for coding predominantly, so my c# is a bit out of...
  2. Replies
    4
    Views
    1,744

    Re: Trouble with struct and delphi dll

    Ok, well after pulling my hair out for long enough, I've got enough of a working piece of code to do what I need. It's not great but it works for my purposes and perhaps will help someone in the...
  3. Replies
    4
    Views
    1,744

    Re: Trouble with struct and delphi dll

    hehe, yeah thanks. I was aware of that, forgot to mention it.

    When set to the same numbers as the delphi code it doesn't work, according to a website (can't find it atm) the delphi variables are...
  4. Replies
    4
    Views
    1,744

    Re: Trouble with struct and delphi dll

    Got an update, nearly got the problem sorted, but still having an issue.

    Seems that the "char" variables needed a size constraint of 2 not 1, however I get the following weird issue:

    It cuts...
  5. Replies
    8
    Views
    653

    Re: Problems with IF sectence

    CreganTur's solution is the best, but for interest, this would be the other ways to do it:

    Using If's:

    int diceValue = RollDice(1,5);
    if (diceValue == 1)
    {
    set your picture to 1
    } ...
  6. Re: Detecting Unique combinations of sequential numbers

    I'm sure there's a nice mathematical way of doing this, but since no-one has replied with one yet, here's a brute-force type of way to deal with it.

    Do a loop through the pool of numbers, for each...
  7. Replies
    4
    Views
    1,744

    Trouble with struct and delphi dll

    I'm coding a csharp program which needs to read values from a dll coded in delphi. I've got it working for the most part but am still having an issue with certain values.

    The example code given...
  8. Re: Strange Error loading image into PictureBox

    Ok, I found the problem. In the windows system logs there was one of these errors corresponding to each time I encountered a problem:

    "The redirector failed to determine the connection type"
    ...
  9. Re: Strange Error loading image into PictureBox

    I've tried this now after your suggestion and I still have the same problem.

    Works every second time only...

    I'm running out of things to try... :(
  10. [RESOLVED] Strange Error loading image into PictureBox

    I'm experiencing a very strange error that I can't manage to fix and need some help from anyone with suggestions please.

    I have a PictureBox on my main form. When a user clicks an entry on a...
  11. Re: how would you share a variable between 2 classes?

    I had a similar problem, altho I also wanted a "global" function or object of sorts. I found this page to be extremely useful:

    http://www.yoda.arachsys.com/csharp/singleton.html
  12. Re: Running program with full rights in Limited User Profile

    Thank you for all your suggestions.

    Writing the program as a service with a seperate GUI interface is obviously the better option.

    Unfortunately I am not able to go that route at this time.
    ...
  13. Re: Count number of Records which have x fields completed

    Thank you, sorry I havn't explained it quite well enough. Let me try explain more.

    There are multiple users who input data into the system. The data comprises of clients details. At the end of...
  14. Count number of Records which have x fields completed

    I have a MySQL database with these 3 fields in one of the tables:

    Cell_No, Work_No, Home_No

    I need to calculate how many records have only 1 of the fields completed.

    E.g. Some example...
  15. [RESOLVED] Running program with full rights in Limited User Profile

    I need a way to run my program with full user rights on XP.

    The current situation though is that almost all the users will be running under a "limited account" on XP Home. Those that are running...
  16. Replies
    5
    Views
    3,471

    Re: WIA Image Processing Help

    Thank you for helping, and yes I did try that. This is what frustrated me the most. The example does not match the practice. :(

    Prp does not have a ".Value" property. I also cannot put anything...
  17. Replies
    5
    Views
    51,945

    Windows Image Acquisition (WIA) Code

    I would like to give back to the community here by posting some code on how to use WIA for an ADF scanner.

    The lack of C# examples makes it difficult for the average coder to figure out. Firstly,...
  18. Replies
    5
    Views
    3,471

    Re: WIA Image Processing Help

    Thank you, yes I know my test was completely wrong. The problem is I cannot work out what value to insert for IP.Filters[1].Properties[] as it does not accept an int or long or anything like that. ...
  19. Re: Interface Digital Camera to Windows C# Application.

    Basically there are 2 different ways to go: TWAIN and WIA (Windows Image Acquisition).

    TWAIN is the older method which has been around for quite some time, while I don't know much about...
  20. Replies
    5
    Views
    3,471

    WIA Image Processing Help

    I've struggled with the limited csharp examples and documentation for WIA for a while now, but I finally have it scanning from an ADF scanner (I will be posting finished code soon as a reference for...
  21. Replies
    7
    Views
    834

    Re: Automatic Updates for Program

    Code for using a Mutex to check whether a program is running in order to replace exe file:

    In the Main Program's code insert the following - please excuse the tab formatting, I can't seem to get...
  22. Replies
    7
    Views
    834

    Re: Automatic Updates for Program

    Thank you for the help. A Mutex is definately going to be the way. I'm busy experimenting with it at the moment.

    For Anupam kant:

    I havn't implemented all of this yet, but this is how most of...
  23. Replies
    7
    Views
    834

    [RESOLVED] Automatic Updates for Program

    I'm needing to be able to update my database program with newer versions. The updates would be via a network, not over internet.

    I've tried to find an example or tutorial but it doesn't seem to...
  24. Re: Unable to connect to database when running via mapped drive

    Thank you :)
  25. [RESOLVED] Unable to connect to database when running via mapped drive

    I've got a weird problem, it's probably related to the way Windows manages security.

    I have an application that connects to a mysql database. If the exe file is copied to a computer and run it...
Results 1 to 25 of 25


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center