Forum: C++
Apr 22nd, 2008, 10:17 AM
|
|
Replies: 3
Views: 220
|
Forum: Visual Basic .NET
Apr 21st, 2008, 10:02 PM
|
|
Replies: 2
Views: 221
Re: Sql Database connection
Hi, Apophis. :)
If you're using MySQL, this thread might be of use: http://www.programmingforums.org/thread15576.html
It will be easier for people to provide links and examples if you tell us what...
|
Forum: Visual Basic
Apr 9th, 2008, 8:31 AM
|
|
Replies: 4
Views: 352
Re: Working with VB6 and MySQL database
Hi, Logical1!
What IR said is right on. .Net makes it waaaaaaay easier.
I'd never bothered to use MySQL in VB, before, so I figured I'd give it a shot. It was actually really cool! :) Here are...
|
Forum: Coder's Corner Lounge
Apr 3rd, 2008, 12:16 AM
|
|
Replies: 14
Views: 518
Re: What is your occupation?
Technically, I guess I'm a professional, so that's what I voted for. I never got a degree, but I've developed in PHP/PERL professionally for the last 8 years.
Except for a brief period when I was...
|
Forum: Coder's Corner Lounge
Mar 11th, 2008, 2:56 PM
|
|
Replies: 4
Views: 219
|
Forum: JavaScript and Client-Side Browser Scripting
Mar 10th, 2008, 2:00 AM
|
|
Replies: 1
Views: 191
Re: Simple Html Time Line
That's kind of a vague description... there are a number of ways this could be done in HTML. If you just want to make a timeline for no particular reason, you can always use xtimeline.com. ...
|
Forum: Coder's Corner Lounge
Mar 5th, 2008, 10:34 PM
|
|
Replies: 16
Views: 439
|
Forum: Coder's Corner Lounge
Mar 5th, 2008, 8:07 PM
|
|
Replies: 16
Views: 439
During long builds...
what do you do? I was just wondering, since I've never seen or heard of what people do, either at work or at home. All I know is what I do.
|
Forum: Coder's Corner Lounge
Feb 29th, 2008, 7:11 PM
|
|
Replies: 61
Views: 2,137
Re: What have you been up to?
I'm sure the law would understand protecting myself. I would hope anyway. :) All I could think at the time, tho, was "OH $@#! KNIFE!"
http://neeley.org/?con=music Bunch of amateur mixes and...
|
Forum: Coder's Corner Lounge
Feb 29th, 2008, 6:51 PM
|
|
Replies: 5
Views: 187
Re: Coding for the sake of coding...
Once I started coding for a living, I started to get stuck. But, recently, I've gotten back to where I code for the sake of learning.
I ended up taking on a lot of personal projects that are too...
|
Forum: Coder's Corner Lounge
Feb 29th, 2008, 1:37 AM
|
|
Replies: 61
Views: 2,137
Re: What have you been up to?
I can't express how nice it is to see you guys post updates like this. I guess I didn't realize how big a part of my life PFO was until cscgal's poll showed up. I know I've never been big in...
|
Forum: Community Announcements and Feedback
Feb 27th, 2008, 11:20 PM
|
|
Replies: 41
Views: 1,251
Re: Am I Doing a Good Job?
First, I certainly think you're doing a good job. So... job well done :)
PFO definitely lost it's identity... and personality. I quite dig the new forum features and all... but losing some of the...
|
Forum: Coder's Corner Lounge
Feb 24th, 2008, 10:52 PM
|
|
Replies: 45
Views: 1,348
Re: What music do you listen to when programming?
Typically, I start out listening to my mp3 library on shuffle... hard rock, no metal, very little rap/hip hop, mostly techno, trance, and lounge... and some nice jazz.
If I start to get tired, I'll...
|
Forum: Coder's Corner Lounge
Feb 24th, 2008, 12:17 AM
|
|
Replies: 8
Views: 199
|
Forum: C++
Feb 24th, 2008, 12:13 AM
|
|
Replies: 3
Views: 160
Re: Win32 toolbar Programming
You can load the bitmap first, using LoadImage. Then you would want to change hInst_menu in your CreateToolbarEx call to NULL, and put the HBITMAP handle where IDB_BIT is.
You might want to try...
|
Forum: Assembly
Feb 21st, 2008, 8:07 PM
|
|
Replies: 7
Views: 399
|
Forum: Coder's Corner Lounge
Feb 21st, 2008, 8:06 PM
|
|
Replies: 12
Views: 306
Re: Newbie looking to get into programming
Hi, and welcome. :)
As for direction, here's my advice:
Start reading books and on-line material. Read forum threads, wherever you find them, about good books to read for game programming, and...
|
Forum: C
Feb 18th, 2008, 8:45 PM
|
|
Replies: 14
Views: 401
Re: need help with basic 7 lineish coding
You said you learned about pointers (*). Pointers point to a memory address. Your assignment is to set the value of a pointer to a number that a user enters, then display what the pointer points...
|
Forum: C++
Feb 18th, 2008, 8:02 PM
|
|
Replies: 2
Views: 133
Re: limiting decimal places
aShoe, if you're using the iostream library for output, you need to use the setprecision() manipulator (http://cppreference.com/io_flags.html#manipulators).
Example:
#include <iostream>
#include...
|
Forum: Community Introductions
Feb 15th, 2008, 12:12 PM
|
|
Replies: 1
Views: 127
|
Forum: Coder's Corner Lounge
Feb 3rd, 2008, 2:14 PM
|
|
Replies: 15
Views: 449
|
Forum: C++
Feb 2nd, 2008, 3:56 PM
|
|
Replies: 11
Views: 331
|
Forum: C++
Feb 2nd, 2008, 1:07 PM
|
|
Replies: 11
Views: 331
Re: Read Access Violation
Right on, Grumpy.
I was operating under the assumption that an exception would be thrown immediately if I wrote more data to an allocated buffer than it could hold.
I was adding a bitmap to the...
|
Forum: C++
Feb 1st, 2008, 5:46 PM
|
|
Replies: 11
Views: 331
Re: Read Access Violation
This caught my attention, btw... I wonder, is it possible that an earlier file read/write problem (somewhere in some other function, which does not report an error) could cause this particular fwrite...
|
Forum: C++
Feb 1st, 2008, 5:42 PM
|
|
Replies: 11
Views: 331
Re: Read Access Violation
Grumpy,
My reply to Salem should answer your question about what I'm trying to output... just a DWORD variable. At least, in the line that's causing trouble.
As for your comments about misuses of...
|
Forum: C++
Feb 1st, 2008, 5:28 PM
|
|
Replies: 11
Views: 331
Re: Read Access Violation
That was how I found the line where the problem occurred.
More or less. I'm reading in the bitmaps as a whole, based on the header information. I did a separate test on my bitmap library to see...
|
Forum: C++
Feb 1st, 2008, 2:25 PM
|
|
Replies: 11
Views: 331
Read Access Violation
Big problem here.
I have a function WriteBmpPkgFile declared as:
DWORD WriteBmpPkgFile (const char *szFileName, LPBMPPKGFILE lpBmpPkg)
In that function, I have a file write call:
...
|
Forum: Coder's Corner Lounge
Jan 30th, 2008, 5:43 PM
|
|
Replies: 4
Views: 151
Re: Unix question
There's usually something useful in those directories. Whether or not it's useful for every day software is iffy. Are you sure it deleted the directory and recreated it? Did you check the log for...
|
Forum: Coder's Corner Lounge
Jan 28th, 2008, 12:49 PM
|
|
Replies: 49
Views: 1,520
|
Forum: Coder's Corner Lounge
Jan 17th, 2008, 11:52 PM
|
|
Replies: 18
Views: 461
Re: Dreams + Programming = Drogramming?
Sane, I don't know if there would be benefits. I was only suggesting that the conscious mind might needs the rest, and the subconscious mind might need the exercise.
I think of it like this: the...
|
Forum: Coder's Corner Lounge
Jan 17th, 2008, 1:35 AM
|
|
Replies: 18
Views: 461
Re: Dreams + Programming = Drogramming?
That sounds somewhat like lucid dreaming. I'm not sure if there would be benefits to doing mental work, consciously, while sleeping... but I have seen studies on sleep cycles which suggest that our...
|
Forum: Visual Basic
Jan 14th, 2008, 11:11 PM
|
|
Replies: 2
Views: 203
Re: Need Help with a project
You've got a lot to consider here. What format is the information from each location saved in? Is it possible to do a web application, rather than a desktop app? Those are the first questions I...
|
Forum: PHP
Jan 10th, 2008, 9:37 PM
|
|
Replies: 8
Views: 317
Re: mysql_real_escape
I get corrected all the time... depending on who I'm talking to. I kind of expect it. ;) I only knew that because I've been using MySQL daily for 8 years now.
Because I'm really anal about...
|
Forum: PHP
Jan 10th, 2008, 9:12 AM
|
|
Replies: 4
Views: 203
Re: installing php (beginners question)
There should be a mime-type specification in one of your apache config files for php file. Check your configuration files for "AddType application/x-httpd-php .php" Sounds like that's not in there,...
|
Forum: PHP
Jan 10th, 2008, 5:25 AM
|
|
Replies: 8
Views: 317
Re: mysql_real_escape
SQL specifications, or SQL implementations? MySQL is what I'm used to using, and it allows single or double quotes.
And mysql_fetch_array stores two sets of the requested information in memory in...
|
Forum: PHP
Jan 10th, 2008, 4:59 AM
|
|
Replies: 8
Views: 317
Re: mysql_real_escape
In my original reply, I said: "You only need to use mysql_real_escape_string to quote a string for use in a query."
Just so that we're clear, $username contains the escaped version of...
|
Forum: PHP
Jan 10th, 2008, 1:52 AM
|
|
Replies: 8
Views: 317
Re: mysql_real_escape
You only need to use mysql_real_escape_string to quote a string for use in a query. MySQL returns strings from the database in a literal (unescaped) form. You should read about...
|
Forum: Coder's Corner Lounge
Jan 6th, 2008, 10:19 PM
|
|
Replies: 21
Views: 632
Re: Thinking up good application names?
I almost always go with acronyms of the program's description. I wrote a program that lets you browse text files on your computer... and called it "ASCII File Browser," which became "AFB." ...
|
Forum: Coder's Corner Lounge
Jan 3rd, 2008, 12:43 AM
|
|
Replies: 28
Views: 603
|
Forum: C#
Dec 8th, 2007, 8:48 PM
|
|
Replies: 2
Views: 185
Re: Masked Textbox
In the C# IDE, click "Help" and "Index", then type in "MaskedTextBox" for a description of the class and how to use it.
From those docs:
|