blah blah blah is here! blah blah » Close

0
votes
1 answers

deleting multiple selected files

First I load up LISTVIEW1 box with files using GetFiles(). Then I can SELECT a few files at once and then delete them all at once with the code below. int i = 0; foreach (ListViewItem eachItem in this.listView1.Select ...

0
votes
1 answers

MouseClick event

With the code below, if you mouse_click on the FORM, a message box will pop up saying HELLO, which is no surprise of course. private void Form1_MouseClick(object sender, MouseEventArgs e) { MessageBox.Show(" ...

0
votes
1 answers

breaking out of a loop early

Does C# have a way of breaking out of a loop early by the user? For exampe: for(int i=0; i<9000; i++) If the user at the last minute decides after 3000 cycles to stop the loop (by clicking a button), what code would be needed, pe ...

0
votes
1 answers

directory tree

II work with files quite a bit and have used GetDirectories, GetFiles, AllDirectories etc to load files and directories but can't seem to find how to do it like microsoft explorer does it on it left hand column. with the little plus and mi ...

0
votes
1 answers

save in color

When I select a portion of text in a richtextbox and then use colordialog to color that part, is there a way to save the file that way so that the next time I load it, it will have kept the colored part? Thanks

0
votes
1 answers

Text on a Picture?

The code below will put a picture in a richTextBox. private void button1_Click(object sender, EventArgs e) { Graphics g = this.richTextBox1.CreateGraphics(); //in a richTextBox Bitmap img = new Bitmap(&qu ...

0
votes
1 answers

Getting kilobyte size of a picture

This will get the a pic file Image myimg = Image.FromFile(@"C:\cars\test.jpeg)" Of course then... DrawImage will display it This will then display the kb size in label3 label3.Text = " ...

0
votes
1 answers

view ip jpg files

With LISTDIRECTORY I can view my files located at my internet providers computer. But now is there a way then to click on a jpg filename located there and have that pic be drawn to a richtextbox .........with out first down loadng it to ...

0
votes
1 answers

updating news channel

Is there a way to prevent the START PAGE where it says UPDATING THE NEWS CAHNNEL from appearing every time one starts up C# EXPRESS ? Thanks

0
votes
1 answers

duplicate a program

You know how Notepad will make a completely new file when a person uses SAVEAS and then types a new name, Then you have two completely different files but they can be identical as to contents if they were not changed. Well, I used SAVEAS ...

0
votes
1 answers

tooltip delay

Is there a way to set the tooltip to STAY ON until the button is pressed?

0
votes
1 answers

button hidden under rtb

When I put a button on a richtextBox, why is it that sometimes the rtb wil cover up the button and sometimes the button will stay visible on top ot it? Thanks

0
votes
1 answers

Creating dlls

I''ve created dlls from the DOS PROMPT below like this: csc /target:library /out:Temperature.dll TemperatureUnit.cs Temperature.cs But my question is: Does the C# 2005 EXPRESS GUI bave a way to create a DLL, same as you would hit ...

0
votes
1 answers

shortcut

This will make a shortcut on the desktop, string deskDir = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory); but how does one put shortcut FILES in a folder that one makes himself? Then when one clicks the filename ...

0
votes
1 answers

toolTip1.IsBalloon

Does C# have an IsBalloon property? When I set the tooltip property to IsBalloon as below, even my rectangle popups fail to appear. For example in form load I put this: toolTip1.IsBalloon =true; toolTip1.SetToolTip(button10, "Thi ...

Feedback