Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 60
Search took 0.01 seconds.
Search: Posts Made By: merediths
Forum: C++ Programming February 27th, 2006, 09:32 PM
Replies: 2
Views: 1,280
Posted By merediths
Well, you could be tricky w/ the linker and name...

Well, you could be tricky w/ the linker and name it something else if you were *really* determined too, but essentially, yes, every ANSI/ISO compliant program must contain a main() function ... not...
Forum: C++ Programming February 27th, 2006, 09:28 PM
Replies: 1
Views: 1,457
Posted By merediths
Make sure the other computer has the .NET Runtime...

Make sure the other computer has the .NET Runtime installed on it. You can download it from Microsoft at http://msdn.microsoft.com/netframework/downloads/framework1_1redist/ ... That would be the...
Forum: SQL Server 2000 September 22nd, 2005, 05:25 PM
Replies: 3
Views: 2,257
Posted By merediths
I like to use DEC(9,3)for money types. That's...

I like to use DEC(9,3)for money types. That's somewhat arbitrary, but I started using it when I had to develop some stuff that took a datafeed from a major securities rating company, so I figured it...
Forum: Servlets September 20th, 2005, 12:27 PM
Replies: 1
Views: 1,371
Posted By merediths
Well, how you log out depends entirely on how you...

Well, how you log out depends entirely on how you are doing your session management, but let's say that when a user logs in, you set a session variable bAuthenticated to TRUE, and then on every other...
Forum: MySQL September 14th, 2005, 03:06 PM
Replies: 2
Views: 3,372
Posted By merediths
check that the file /var/lib/mysql/mysql.sock...

check that the file /var/lib/mysql/mysql.sock actually exists ... you should *see* it in the file system. also, if you downloaded and instaleld mysqld yourself it might be somewhere else, like...
Forum: Java GUI September 1st, 2005, 06:18 PM
Replies: 2
Views: 1,827
Posted By merediths
disclaimer, i didn't check any of the syntax, so...

disclaimer, i didn't check any of the syntax, so just use this as a concept -- dont try to copy and paste the code:

Box hBox = Box.createHorizontalBox();
Box vBox = Box.createVerticalBox();
...
Forum: Java GUI September 1st, 2005, 06:11 PM
Replies: 2
Views: 1,441
Posted By merediths
BufferedImage is actually probably what you want...

BufferedImage is actually probably what you want to look at -- it's a subclass of Image. AFAIR Image is actually an abstract class ... but my memory is a little fuzzy on that point.
BufferedImage...
Forum: MySQL September 1st, 2005, 06:09 PM
Replies: 2
Views: 1,439
Posted By merediths
SHOW DATABASES; will show you what...

SHOW DATABASES;

will show you what databases are available to USE also.
Forum: MySQL September 1st, 2005, 06:08 PM
Replies: 1
Views: 1,120
Posted By merediths
LEFT JOIN or RIGHT JOIN ... google it. I'd be...

LEFT JOIN or RIGHT JOIN ... google it. I'd be more helpfull, but without more of the table structure I can't give an example

Regards,
Meredith Shaebanyan
Forum: MySQL September 1st, 2005, 06:06 PM
Replies: 2
Views: 1,565
Posted By merediths
harsh_hot, your question about images comes...

harsh_hot,

your question about images comes up a lot; the short answer is, yes it is possible, but it is bad, for performance reasons, except for in certain rare circumstances. The way I would...
Forum: Visual C++ September 1st, 2005, 05:42 PM
Replies: 1
Views: 6,933
Posted By merediths
You need to change your coordinates inside your...

You need to change your coordinates inside your even loop when you recienve mouse events:

{
static int start_x;
static int start_y;
int mx, my;
...
...

case WM_MOUSEMOVE:
Forum: Visual C++ September 1st, 2005, 05:33 PM
Replies: 1
Views: 1,008
Posted By merediths
Check that you don't have ANSI C turned on or...

Check that you don't have ANSI C turned on or something like that -- the code looks like valid C++ -- the only reason I could think of that it would error out is if you weren't compiling it *as* c++....
Forum: Visual C++ September 1st, 2005, 05:31 PM
Replies: 1
Views: 2,648
Posted By merediths
hi vishnu EnumProcesses(DWORD* pProcessIds,...

hi vishnu

EnumProcesses(DWORD* pProcessIds, DWORD cb, DWORD* pBytesReturned);

Returns a list of processes running on a system. The you can use OpenProcess to open the process object and call...
Forum: Java GUI June 24th, 2005, 06:27 PM
Replies: 2
Views: 856
Posted By merediths
This is how I'd do it, but it may not be the...

This is how I'd do it, but it may not be the ideal way -- I have a background in postscript and html coding, so i tend to build things up using tables (in this case i'm going to use a box to...
Forum: Java GUI June 24th, 2005, 06:06 PM
Replies: 7
Views: 3,375
Posted By merediths
don't forget to validate() too -- the validate()...

don't forget to validate() too -- the validate() is actually where the logic occurs to size and place your components on the form. validate() causes a repaint(), and actually, when you resize your...
Forum: Visual C++ June 24th, 2005, 06:03 PM
Replies: 1
Views: 1,194
Posted By merediths
Bleh I haven't done any MFC development for...

Bleh I haven't done any MFC development for awhile, but I think the name of the funciton you are looking for is setText() -- you see, what you are trying to do with a strcpy() is directly write to an...
Forum: Java GUI May 20th, 2005, 12:09 PM
Replies: 1
Views: 1,529
Posted By merediths
after you move it call validate() to re-render...

after you move it call validate() to re-render the winodw; setting a component's position properties doesn't cause it to be redrawn.
Forum: Java GUI May 6th, 2005, 03:35 PM
Replies: 5
Views: 4,819
Posted By merediths
Use the Graphics2D objects 'drawString()' method;...

Use the Graphics2D objects 'drawString()' method; note that this is basically low-level graphics stuff, you will have to essentially persist what you want redrawn between paint() calls yourself,...
Forum: Java GUI May 6th, 2005, 03:29 PM
Replies: 2
Views: 955
Posted By merediths
Okay, I think I understand what you are trying to...

Okay, I think I understand what you are trying to do, will this work:

On the Servlet side, have a static class (a class w/ static counter and static method) something like this (change the array...
Forum: Java GUI May 6th, 2005, 03:19 PM
Replies: 2
Views: 1,051
Posted By merediths
Unicode isn't particularly a 'java' concept so...

Unicode isn't particularly a 'java' concept so much as something incorporated into java. As ciderpunx pointed out, it's a replacement for ASCII that basically uses 16 bits (two bytes) to encode a...
Forum: C++ Programming April 16th, 2005, 03:07 PM
Replies: 2
Views: 1,453
Posted By merediths
hmmm I think he's trying to do that without...

hmmm I think he's trying to do that without access to the source code, judging by his reference to the Reflection API and the fact that he's writing an interperter, such that if I produced an object...
Forum: Java GUI April 16th, 2005, 11:56 AM
Replies: 1
Views: 16,459
Posted By merediths
JDBC -- Java Databae Connectivity. It is a...

JDBC -- Java Databae Connectivity. It is a technology similiar to ODBC in that database vendors provide 'Database Drivers' that implement a generic interface to their database. For example, you would...
Forum: C++ Programming April 16th, 2005, 11:48 AM
Replies: 10
Views: 63,552
Posted By merediths
Maybe his computer is doing more ... i.e. a...

Maybe his computer is doing more ... i.e. a portscanner that pings first? That's what I do, 'cause it's way easier to write a program that opens ports in a tight loop than to muck with ICMP from...
Forum: C++ Programming April 16th, 2005, 11:44 AM
Replies: 7
Views: 11,356
Posted By merediths
system("prog.exe") is great if you don't care...

system("prog.exe") is great if you don't care about the input/output of the program. You might also want to look into the 'popen()' function -- popen() lets you get a file descriptor so you can read...
Forum: C++ Programming April 16th, 2005, 11:38 AM
Replies: 3
Views: 2,245
Posted By merediths
If you come from a C background think of it this...

If you come from a C background think of it this way

object->somefuntion();

is the same as

(*object).somefunction();

this is, -> dereferences the pointer on the right and then calls it's...
Showing results 1 to 25 of 60

 


All times are GMT -4. The time now is 05:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.