- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
26 Posted Topics
Hello, I'm 100% new to C++ and someone recommend Code::Blocks as the best IDE for coding in this language. However when I try to run my code: [CODE=c++]#include <iostream> using namespace std; int main() { cout << "Hello world!" << endl; cin.get(); return 0; } [/CODE] I get the following …
A THOUSAND apologies if this question has been asked time and time again. Google gave no results and Jeeves is retired so I come looking for help in the best programming forum around. [code=csharp]private void button1_Click(object sender, EventArgs e) { pictureBox1.ImageLocation=??????????? }[/code] My question is fairly simple, what do I …
ComboBox.Items.Add(TextBox1.Text); That should do it.
This seems cool. :) I'm interested about this as well. I have absolutely no clue where to even start to approach this task, but I'll do some looking around, maybe learn something in the process. :P Edit: Found something in google: [b]Circle Interface (Circle.h)[/b] [code=c++]class Circle: public Shape { public: …
Bump because this has piqued my interest. :P
You are deleting the information from the DataGrid, you're not even touching the database. I suggest you make create a stored procedure and then call forth that procedure in your datagridview. For instance, what I do is make a column with a button. So, when that button is clicked I …
Hi there, I have an image called 1.png in my resources folder. How do I check if the PictureBox1.Image has an image selected from my resources. Thanks.
I made a small program for a Doctor's office, but I had to manually install SQL Server on the PC and manually create the Database and Tables. How do professionals make a program dynamically create a database? Do they even [B]use[/B] databases? Thank you for the info dudes.
Don't know if you figured it out but check out my topic, I had the exact same problem with my code (looping through all the textboxes): [url]http://www.dreamincode.net/forums/index.php?showtopic=45008&hl=[/url] Specifically this is the code you're looking for: [code=csharp]for (int i = 1; i <= 48; i++) { Label label = (Label)Controls["label" + …
Hi guys, Here's the gist of it. I want to calculate the number of days between two DateTimePickers. Then multiply that number by 4,13. Then display THAT number in a TextBox. I won't go into detail, you guys don't need that. Can someone whip up some generic code?
Hello. I'd like someone to help me figure this out. I have a small database: Country, State, City. Three tables. [B]I have to check that none of the names repeat themselves. Meaning, no two USA's, no two Brazil's, etc. [/B] My professor also gave us the following requirement: [B]You can't …
When I drag a ComboBox control on my form, I click it and select the DataSource property. Then I click the add new datasource link in the bottom. And SQL connection windows pops up asking me to choose a connection. Here's where the program takes a dump on my face: …
1. int x; int y; int m; float ave; x = Console.ReadLine(); y = Console.ReadLine(); m = Console.ReadLine(); ave = (x + y + m) / 3; Console.WriteLine(ave); Console.ReadKey(true); 2. int r; float area; float pi; Console.Writeline("enter radius circle"); int environment=Convert.Toint32(Console.ReadLine(r)); area = p * r * r; pi = …
Anyone know how I can aquire my database connection string? My professor taught me a way like so: [IMG]http://i40.tinypic.com/2v154cm.jpg[/IMG] [IMG]http://i41.tinypic.com/1059tvr.jpg[/IMG] [IMG]http://i39.tinypic.com/2le3sly.jpg[/IMG] [IMG]http://i42.tinypic.com/2eoy2qa.jpg[/IMG] However after click the new connection button the window that is supposed to open doesn't open. I don't know what's wrong. Is there any other way to obtain …
It's easy my fellow programmer. First you want to component to hide when something else happens right? Then here's what you do: Click on the component you want and on the properties slab (press F4) click on the Lightning Bolt (4th icon from the right). There you will see a …
No code from me, because I have no idea what to do! :P I'm trying to build a password generator. Hope you guys can help.
What wrong? What settings have to be set so the image shows and not only the BackColor?
Hello, me and my programming group were given the task to build a program to save peoples information, for instance, Name, Last Name, Age, I.D., etc. Is there a guide, A VERY BASIC GUIDE, to pass the values of, say, a text box to an SQL Database? Or to make …
On the click event of the picturebox, I've tried the following: picturebox1.image = imagelist1.index????? I don't know the syntax, how do I choose a picture from an imagelist and place it into a picturebox. Thanks :)
How would I go about making a testris game in c#? This is NOT for a homework assignment, this is just me practicing. I don't have any code of my own because I don't know how to approach the problem. Any help, please?
For instance in a "For" loop: [code=csharp] for(int i = 0;i<=listBox1.[/code] What could I place after the "." at the end to check so it doesn't keep on working after the number of items?
Hello once again. I'm really interested in making a voice operated aplication for my computer (and those who want to download it). Where should I start reading on this subject. If I google it, I find a million answers but I'd rather have someone who knows their way let me …
Hello guys. :) It's me again after a loooong while. I'll get right to it then. I have to make a program that shows what procedure a processor goes through to assign it's time to each individual process the user is running. For instance: [url]http://i34.tinypic.com/2v0xycx.jpg[/url] A user would click "Round …
Hello guys. This is my first post on the site and I think I'll like it here very much. :) I already have the site set as my home page. So here is my dilemma. The program is supposed to do some pretty basic comparisons of two numbers typed in …
Ok, there are two type of number succesions: 1. Arithmetic: When a number is added constantly. [i]2, 6, 10, 14, 18, 22[/i] Here the rule is +2 after every term. 2. Geometric: When a number is multiplied constantly. [i]4, 8, 16, 32, 64, 128, 256[/i] Here the rule is *2 …
I'm new to the site, but even I know how to post here. Read the rules people, they are made for a reason. If you want help just post where you're having problems and we can brainstorm. But you want my honest opinion? I think you're trolling. Nothing else to …
The End.