blah blah blah is here! blah blah » Close

0
votes
1 answers

Settings in C# not working

Hi, I have a lot of settings in the Settings.settings file in C#, but when I use a Colour setting and set it to User (instead of Application), then my program ignores any changes, and always uses the last value from when it was set to ap ...

0
votes
1 answers

Get decimal value of a character

Hi, I'm wanting to get the decimal value of a character. Seems like a simple task, and for ages I've been doing it with no problems. However, I now have a string of characters loaded from a database which are a password that's encrypted. I ...

0
votes
1 answers

One class using other? :S

Hi, I'm still learning C#, but I've come across a problem that I can't get my head around. Consider the following example (the C# might not be perfect)... public class FirstClass { public static int nVarOne; public static int nVarTwo; ...

0
votes
1 answers

Passing Message between Applications

Hi, I have an application running in the background, that I want to activate when a taskbar icon is pressed. The only way I can think of doing this is to have a link to a small program on the taskbar, which sends a message to the backgroun ...

0
votes
1 answers

Finding when the start button has been pressed

Hi, I would like to make a program I have written appear when the start menu is pressed. I didn't think it was possible, until earlier when I saw a program do it. It had a program running in the background, and a dll file called hook32.dll ...

0
votes
1 answers

Extracting a string from a DLL

Hi, I'm trying to use Desktop.ini to extract the localized names of programs from the relevant file (which is quite often a DLL file). However, I have no idea how to go about this. All I have is the name of a file, and an integer which sup ...

0
votes
1 answers

What to learn next?

I'm 16 years old and I'm slowly teaching myself C# in my free time. So far I have learnt about: Variables Arrays Classes Windows Forms Loops And I'm sure there's quite a bit I've missed. The last (useless) program I created could enc ...

0
votes
1 answers

Forms

Hi, Sorry if this is a repeated question... but search doesn't seem to work for me. I'm making a programe that has 2 dialog boxes already created, but when the programme is built only one comes up by default, which is what I want. But I ...

0
votes
1 answers

Microwave Worker-Outererer

Ok... Each microwave has different power (like 650W and 850W) , and on the back of microwave food they never state how long to do it for for each different microwave. So the idea of my programme is that you enter one time, and the power tha ...

0
votes
1 answers

Newbies Problem! Local Variables already defined?

Hi, I'm a newbie trying to learn C#, and decided to create a programme where you enter a year and it tells you wheter it is a leap year or not. I had it all working perfectly but I decided it could do with improving, because it said "Y ...

Feedback