blah blah blah is here! blah blah » Close

0
votes
0 answers

Clone a PictureBox control?

Hiya! I'm Michael. You may remember me:) I was out for a while. Whatever. I got a picture box - wall. I need to clone it and make a row of walls. Instead of creating 15 walls - wall, wall2 ,wall3... is there a way I can clone the picture bo ...

0
votes
1 answers

collision detector

I was looking to find a collision detector, For my first 2-D game, And found that code: private bool collide() { return !(Box1.Location.X > Box2.Location.X + Box2.Size.Width || Box1.Location. ...

0
votes
1 answers

USB stick menu in C#

hay, again. I'm making a USB stick menu, and I want to do two things- A. get a folder list inside my context menu strip: lats say I have two folders on my drive, a and b. inside b there is a file called BLAH.bmp. it will look like this: ...

0
votes
1 answers

detect new hardware

hay! I'm making a C# USB stick menu. I want It to be in taskbar, With a minimazed form. alredy made it. Problem is, i want to navigate to the flash drive directory when left-clicked the task icon. so I need a way to detect my flash drive. E ...

0
votes
1 answers

get filename

hay. is there a way to get a open\save file dialog file name with no patch an no format? ex. saveFileDialog.FileName = "G:\hi.txt" how can i set the string to the value "hi"?

0
votes
1 answers

reading output from a "hidden" console

Hi! I have an EXE file: csc.exe. when I run it it blinks a console window. when i open a cs code file with it, it compiles it. if it gets an error, it specifies it. What can I do if i want to open it WITHOUT showing the console, and write t ...

0
votes
1 answers

write a new line to a rich text box

hay. I need to create a method that will write a new line to a rich text box. here is it: (log is a rich text box) public void logLine(string line) { log.Text = log.Text + line; } I am only able to add a text after what is already t ...

0
votes
1 answers

save dialog file name

Hi there! I have already asked some questions about saving, makes me a lot of problems. So listen: Is there a way i can get the save dialog file name? I mean, if I save "hello.txt" to "C:\hello\", saveFileDialog.FileNa ...

0
votes
1 answers

visual web developer

hi! i have downloaded Microsoft Visual Web Developer, and found it very difficult to use. very different from visual C#. so i started a site in C#, made an image, set its URL, and i cant see it! i made the same in designer, and it wont help ...

0
votes
1 answers

websites in C#

hay. Does anyone know if there is a way to develop websites in C#? i have heard about Microsoft web developer, But can it write sites in C#?

0
votes
1 answers

File.WriteAllText() method don't work properly

Hay! well, Straight to the problem: i made a program, that will save textBox.Text to saveFileDialog.FileName(File.WriteAllText(saveFileDialog.FileName, textBox.Text);) it works fine. only when i write there the following code, press ENTER, ...

0
votes
1 answers

need to save a file

Hay! I'm Michael. I'm 12 and i live in Israel. Means I'm not so good in C# and not in English either. So, I'm writing a program that will use the csc.exe and vbc.exe to make a compiler. i will need to save my files as *.txt and *.cs. so i ...

Feedback