|
jacal99 wrote:
in my mind this was for only for learning pourpose
If you can explain why you would need to learn this, if not for learning to creating spyware, then someone might help.
Perhaps your goal is to learn how to use Windows Services (rather than capturing keys). If that is the case then there are many other things a service could be doing that would teach you how they work.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
hi
i want design setup for my program.but i dont know what i do?
please help me
thanks
|
|
|
|
|
Hi,
You mean that you want to create a setup file for your program.Am i right ?
In VS.Net you can see Setup and Deployment once you start a new project. ie, File -> New Project -> setup and deployement. Form there you can choose setup project template. Once you choose this template then IDE will give you a file system tab with three folder called application folder, user desktop and user program menu.
Once you seen this much information then you can add your project(application ) into this using File ->Add -> projects -> Existing project.
Here you need to mention the directory where you kept your project and select the solution file and press ok once you locate the solution file.
Now you added your project file to the setup project. You can see the project file if you click on the solution explorer.
Now right click the application folder which is listed in the file system tab and choose add then the project output.
Application Folder -> Add -> project output. Hold the ctrl key and select all information except Debug symbol and source files. Then click ok to continue.
Then use ctrl+F5 to build your setup. Now you can view the setup file is there in Debug folder of your setup project. I know that this is not sufficient. But still you need to adjust with this. Better go for microsoft site their you will get step by step explanation with screen shots.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
Can anyone give me a simple example of how to send information (eg the data stored in a Color variable) from an MDIChild to an MDI Parent?
THanks
Finn
|
|
|
|
|
Forms have a property called MdiParent . When the form is being used as an MDI Child it is used to access the parent. You must cast the value returned to the correct class, unless all you are interested in is only the functionality exposed by .NET.
Assuming your parent form class is called MyForm , and the value is accessed through a property called SomeProperty the code might look something like this:
MyForm parent = (MyForm)this.MdiParent;
parent.SomeProperty = someValue;
Does this help?
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
yes it does!
thanks!
|
|
|
|
|
i'm looking for e component in c# that in like a textbox but it just accept 0 and 1 input's .
|
|
|
|
|
catch the keypress event and discard all keys that are not 1 and 0 by setting Handled to true. look her for more information: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsControlClassKeyPressTopic.asp
|
|
|
|
|
hi.
started with a little hyperlink import tool 2 my mysql db ... now i am stocked.
problem :
i have an string[] with paths of the *.url files my prog found in a given directory. now i would like
to read out the title/name of the hyperlink an also its webadress so i can later import those infos. all things i´ve tried didnt really solve my wishes or went completly wrong.
anyone out here, who can give me a hint ? for me, it looks like i didnt find the right class/method to manage the url/bookmark file handling. tried also google and different c# sites but seems no one ever works with urls or its so easy ...
any help or idea very welcome
|
|
|
|
|
The file is quite a simple format, based on the same format of the Windows 3.1 (remember that far back??) .ini files.
The contents of url file to, say, my blog would look like this:
[DEFAULT]
BASEURL=http:
[InternetShortcut]
URL=http:
Modified=D077362AE99DC401F2
As you can see the title isn't here, that's because it is the same as the .url filename (without the .url extension).
So, all you need to do is to open the .url file as a text file, read until the line
[InternetShortcut] and then look for a line starting "URL=", everything after that on that line is the URL you are looking for.
I would give you a link, but for some reason the MSDN website is playing up at the moment, so I cannot find what I'm looking for.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
damn it ... until the [Default] i was already but it seems wrong to me so i deleted the code and try another way
thx for the clearance.
|
|
|
|
|
I have a rich textbox with bold text on my form and I want to copy it over into a textbox in a word document. The problem is that when I do it, it looses it's formating and is not bold anymore.
How would I go about copying text while preserving the same style that it had.
Also, how would I store Rich text in access database and not have it loose the formating.
Thanks
|
|
|
|
|
IIRC, there's no direct way to insert RTF text into a word document.
I had to perform a similar task once and had to resort to copying the RTF from the RichTextBox to the clipboard, set the target Range in the Word document and then perform a Paste to insert the RTF.
Afterwards, I've restored the clipboard contents.
Regards,
mav
|
|
|
|
|
right hello
I have loaded the contents of a picturebox into a bitmap variable...
Bitmap bmp = new Bitmap(pictureBox1.Image);
like so...
when someone clicks on the image how can i get the XY coordinates of the pixel that was clicked.. and then do a GetPixel on the location?
I cant use Mouse event args e.x/e.y because that gives me the position of the click on the whole screen... not the position of the click on the picturebox...
any ideas?
ps. i cant just find the xy position of the click on the screen and then trace it back to the form and the position of the picturebox becase of form borders and different XP Styles...
Thanks in advanced.
Finn
|
|
|
|
|
If you're handling the MouseDown event of the PictureBox control, the X and Y properties return corrdinates relative to the upper left corner of the PictureBox , not the screen. If you're accessing the static X and Y properties of the MousePosition class, you can translate them in to coordinates on your PictureBox by calling the PictureBox 's PointToClient method (inherited from Control ). There is also a PointToScreen to translate the other way.
Charlie
if(!curlies){ return; }
|
|
|
|
|
d'oh ! stupid me :p
thanks
|
|
|
|
|
I want to know that how a canvas should be made which have ability to manipulate bitmaps and handle reactanlges. My abjective is to put in rctangles in which i can put bitmaps and then i could resize them, and after doing this working i store them all bitmaps as one image and as a template in a XML file.
Thanks & Regards
Sheraz Saeedy
|
|
|
|
|
Sheraz Saeedy wrote:
My abjective is...
Do you mean "objective"? "Abjective", while not strictly a word in the English language, would imply that you are looking for a hopeless, unfortuanate or miserable solution.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
Oh, and welcome to www.SpellingProject.com
Charlie
if(!curlies){ return; }
|
|
|
|
|
question was'nt put for the english teachers. well any C# expert can comment.
|
|
|
|
|
It was meant as a joke. I don't normally correct people's English language skills, as (1) I know there are many people here that have English as a second language and (2) I make mistakes myself from time-to-time. However, I found the misspelling to be somewhat ironic.
Do you want to know more?
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
obviously no one expect answers like that. when u r dealing in a technical forum there are so many other things to be obsereved, if someone can ...
|
|
|
|
|
|
Hi Duell
I don't know how to contact you
Derrick
|
|
|
|
|
Anonymous wrote:
I don't know how to contact you
That makes two of us. Neither do I.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|