Type: Posts; User: hyarion
Search took 0.01 seconds.
June 18th, 2012, 04:58 AM
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...
January 19th, 2011, 07:12 AM
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...
January 19th, 2011, 06:27 AM
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...
January 19th, 2011, 06:02 AM
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:
January 19th, 2011, 01:17 AM
CreganTur's solution is the best, but for interest, this would be the other ways to do it:
int diceValue = RollDice(1,5);
if (diceValue == 1)
set your picture to 1
January 18th, 2011, 08:17 AM
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...
January 18th, 2011, 08:09 AM
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...
February 12th, 2008, 09:23 AM
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"
February 12th, 2008, 01:59 AM
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... :(
February 8th, 2008, 08:01 AM
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...
February 4th, 2008, 09:33 AM
I had a similar problem, altho I also wanted a "global" function or object of sorts. I found this page to be extremely useful:
February 4th, 2008, 07:05 AM
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.
January 31st, 2008, 10:21 AM
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...
January 31st, 2008, 09:02 AM
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...
January 31st, 2008, 06:59 AM
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...
November 16th, 2007, 09:34 AM
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...
November 16th, 2007, 08:27 AM
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,...
November 16th, 2007, 03:28 AM
Thank you, yes I know my test was completely wrong. The problem is I cannot work out what value to insert for IP.Filters.Properties as it does not accept an int or long or anything like that. ...
November 15th, 2007, 06:27 AM
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...
November 15th, 2007, 02:02 AM
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...
November 1st, 2007, 09:54 AM
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...
November 1st, 2007, 07:17 AM
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...
October 29th, 2007, 06:00 AM
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...
October 26th, 2007, 11:28 AM
October 26th, 2007, 05:16 AM
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...
Click Here to Expand Forum to Full Width