Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~3K People Reached
Favorite Tags
Member Avatar for SiPexTBC

In my program, there is a button you click that brings up a new form. This form runs a process. On the form (second form) closing event, I have [CODE]e.Cancel = true; Hide();[/CODE] So now the form that runs the process is hidden. Now, the way i want it to …

Member Avatar for chaitra9
0
786
Member Avatar for SiPexTBC

Basically what i'm trying to do is delete an old textfile in place of a new one with the different text that a person types in. this is basically the code: [CODE] string Go = "go to"; System.IO.File.Delete("C:/text.txt"); StreamWriter realm = new StreamWriter("C:/text.txt"); realm.WriteLine(Go); realm.Write(comboBox1.Text); realm.Close(); MessageBox.Show("Done!", "Finished");[/CODE] So, when …

Member Avatar for kvprajapati
0
132
Member Avatar for SiPexTBC

I was wondering if there was a way to play music from within the program. For example. When they click the button, the music starts playing just as a background process without opening an other music program. Is this possible? Thanks

Member Avatar for ddanbe
0
120
Member Avatar for SiPexTBC

Hello, everyone. I'm making a program that will get the install directory for the game world of warcraft. I think it has something to do with the registry, but i'm not sure how to use it. Its located at HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\World of Warcraft . How could I turn that into …

Member Avatar for Jx_Man
0
109
Member Avatar for SiPexTBC

I have a php script that is interacting with the database. It gets an array of the Characters that the user's account has. I get their account number using [CODE] $GetAccNum = "SELECT acct FROM accounts WHERE login = '$user'"; $AccNumResult = mysql_query($GetAccNum); while ($AccNumRow = mysql_fetch_array($AccNumResult, MYSQL_NUM)) { $AccNum …

Member Avatar for jino
0
78
Member Avatar for SiPexTBC

I'm trying to make a program that can hide a process that is running, and then restore it for you. I can successfully Hide the window using [CODE] private const int SW_HIDE = 0; private const int SW_RESTORE = 9; [DllImport("User32")] private static extern int ShowWindow(int hwnd, int nCmdShow); private …

Member Avatar for FreakyEddie
0
487
Member Avatar for SiPexTBC

I'm making a program that divides by 1000. It works fine until it divides by a number higher than itself. For example [CODE] double asdf = (1000 / 3000); Math.Round(asdf); txtSpeed.Text = asdf.ToString();[/CODE] When it divides by a number higher than 1000 it just gives me 0. Anyone know what's …

Member Avatar for Ramy Mahrous
0
162
Member Avatar for SiPexTBC

I have a program that is going to read an IP from a certain file. The IP is already written within in the file. Its written as [CODE]Address = "127.0.0.1:8129"[/CODE] The thing is, that I want to be able to read between the quotation marks and the colon and just …

Member Avatar for Paul.Esson
0
88
Member Avatar for peter_budo

We been asked to develop GUI for mobile pc 2003. Just interface, which is no problem. Part of my interface are some ComboBoxes. I found the way to add elements to them, but strangely I can't figure out how to force combo box to display selected element in the box. …

Member Avatar for yagiD
0
84
Member Avatar for SiPexTBC

I have a program that reads an sql file and then executes it into the mysql database. The problem is that when a file larger than 1 mb is executed, an error comes up saying the file is too large. Is there anyway that i can read, say 200 lines …

Member Avatar for mariocatch
0
124
Member Avatar for SiPexTBC

I'm trying to send an email from my contact form using gmail, but i get a runtime error when try to send it. Heres the code: [CODE] MailMessage email = new MailMessage(); email.From = new MailAddress(from); email.To.Add(new MailAddress(to)); email.Subject = subject; email.Body = body; email.IsBodyHtml = false; System.Net.NetworkCredential auth = …

Member Avatar for SheSaidImaPregy
0
95
Member Avatar for SiPexTBC

I want to make a program that will check to see if a process is running. And if it is not running, the program should start it back up. Basically i made a new process. This is what is executed when the button is clicked. [CODE]System.Diagnostics.Process proc = new System.Diagnostics.Process(); …

Member Avatar for iamthwee
0
114
Member Avatar for SiPexTBC

Alright, my situation is as stated: After a create a asp webpage, (build it) i upload it to my ftp to get it online. But when I try to get to the url, it just displays the code as if it were a text file. When i press F5 and …

Member Avatar for adamm84
0
128
Member Avatar for SiPexTBC

Is there a simple way to send an email in C# without any extra DLLs? Any help on this would be appreciated. Thanks SiPex

Member Avatar for Ramy Mahrous
0
103
Member Avatar for SiPexTBC

Okay what i want to is make a program that when you input text into the textbox and click submit it inputs that same text into a textbox on the website. For example i want the text from my program to put the text into my web proxy so that …

Member Avatar for SiPexTBC
0
70
Member Avatar for SiPexTBC

This is my first post here, so i hope i can get some help, i've been searching for help on this for a while. I'd imaging that this isnt a very hard thing to do but, i'm a bit new to C# programming, and thought that maybe someone here could …

Member Avatar for zmariow
0
90