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 | 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 26
Search took 0.01 seconds.
Search: Posts Made By: sh_erfan
Forum: Visual Studio 2008 December 4th, 2011, 12:42 PM
Replies: 0
Views: 827
Posted By sh_erfan
Thumbs down unable to set collate of an SQL database created in VS 2008

Hi all
As you know,When creating an sql database using microsoft sql server,there in an option(combo-box) named collate to set supporting language of database, or we can set in with a query like...
Forum: Visual C++ 2005 September 7th, 2010, 04:26 AM
Replies: 2
Views: 3,556
Posted By sh_erfan
Post look at this example: //somewhere in the...

look at this example:

//somewhere in the code

int a = 100, b = 99;
bool result;
result = a > b;
The above code initializes result to 1. Exactly,the same happens in your Compare function's...
Forum: Visual C++ 2005 September 7th, 2010, 03:34 AM
Replies: 3
Views: 4,020
Posted By sh_erfan
Post My best recommendation is to take a look at this...

My best recommendation is to take a look at this book :

MS Press - Programmming WindowsBy Charles Petzold

This book goes through win32 API programming quickly and very efficiently using C...
Forum: BOOK: Beginning Visual C# 2010 August 31st, 2010, 03:36 AM
Replies: 3
Views: 1,681
Posted By sh_erfan
Post Sorry For bugs of my previous post[:confused:] ...

Sorry For bugs of my previous post[:confused:]
I was so tired....

errata:

It checks whether the DEBUG symbol exists in your code or not.
You can define these symbols using #define directive....
Forum: BOOK: Beginning Visual C# 2010 August 31st, 2010, 03:26 AM
Replies: 3
Views: 1,681
Posted By sh_erfan
Post it checks whether the DEBUG symbol exists in your...

it checks whether the DEBUG symbol exists in your code or not.
You can define these symbols using #define dirctive.
For best help I an exact bit of copy from the book professional C# 4 and .Net 4...
Forum: BOOK: Professional C# 4.0 and .NET 4 August 31st, 2010, 02:42 AM
Replies: 1
Views: 1,110
Posted By sh_erfan
Post Actually, this bok doesn't talk precisely about...

Actually, this bok doesn't talk precisely about some topics.
It is supposed that you khow them enough.

But,you can find complete description about object initializers in wrox beginning book:
...
Forum: BOOK: Professional C# 4.0 and .NET 4 August 31st, 2010, 02:31 AM
Replies: 0
Views: 3,184
Posted By sh_erfan
Exclamation Using Matlab DLL in C#

Hi there.

I'm working on a project about image processing. I use matlab functions to achive some goals.

I add reference to the dll file, but in order to pass arguments from cs to matlab, I...
Forum: C++ Programming August 14th, 2010, 03:12 AM
Replies: 2
Views: 1,412
Posted By sh_erfan
Post After assigning a string value to a variable of...

After assigning a string value to a variable of type char*, you use index to access it's elements. Just like array of chars.

char* letters2="ABCDE";
letters2[0]='X';

Although letter2 itself is...
Forum: BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 March 29th, 2010, 09:25 PM
Replies: 2
Views: 1,050
Posted By sh_erfan
Hi. I wanna say sth about your first...

Hi.

I wanna say sth about your first question.

The book gives you the answer.

It says when you add 2 bytes the result is returned as an integer (an inner behavior of C#). It means that the...
Forum: BOOK: Professional C++ March 29th, 2010, 08:55 PM
Replies: 3
Views: 3,220
Posted By sh_erfan
If you really want the program, here is the one I...

If you really want the program, here is the one I wrote 4 you:

#include <iostream.h>
#include <math.h>
#include <conio.h>

main()
{
int a,b,c; //numbers
int...
Forum: BOOK: Professional C++ March 29th, 2010, 08:33 PM
Replies: 1
Views: 2,091
Posted By sh_erfan
That was exactly my own problem. When you...

That was exactly my own problem.

When you dynamically allocate memory for pointers( as a filed of your object) and your program have functions and operators that accept objects as arguments, you...
Forum: BOOK: Beginning Visual C++ 6 March 29th, 2010, 07:32 PM
Replies: 5
Views: 4,253
Posted By sh_erfan
you should include <conio.h> header file. this...

you should include <conio.h> header file.
this header has a function getch(). you can use it before return statements in all programs you write in order to see the result on screen until a key is...
Forum: BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 November 14th, 2009, 02:38 PM
Replies: 3
Views: 1,405
Posted By sh_erfan
Exclamation No LOGICAL oparators here!!!!

I wonder why you go to logic discussion????

& and | are considered to be logical operators when we have bool values,I mean 0 and 1 (false and true) or when we deal with conditions and comparisons...
Forum: BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 November 14th, 2009, 05:20 AM
Replies: 10
Views: 3,183
Posted By sh_erfan
That is exactly my answer

You answered my question in last paragraph of your post.

You are right.At the same order of precedence,associativity solves the evaluation problem.Here * and / have same precedence level so...
Forum: BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 November 12th, 2009, 11:33 AM
Replies: 10
Views: 3,183
Posted By sh_erfan
1 more thing

I have one question in mind.
suppose that we have a main expression composed of two other expressions:
leftExp + rightExp

One of these Exps contain * operator with 2 operands and the other...
Forum: C# 2008 aka C# 3.0 November 12th, 2009, 10:12 AM
Replies: 2
Views: 983
Posted By sh_erfan
Smile Try this!!!!

First problem:You should dynamically allocate memory for array of characters (not needed for a single character like "char a;").so you can use this code (As C@uark mentioned in previous quote):...
Forum: BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 November 12th, 2009, 09:05 AM
Replies: 10
Views: 3,183
Posted By sh_erfan
Post If the order in a computational statement is from...

If the order in a computational statement is from left to right(I doubt!!) the priority of operators in this code can be analyzed like this:
* -> / -> % -> + -> +=
This can be simply understood by...
Forum: C++ Programming November 7th, 2009, 02:08 PM
Replies: 1
Views: 1,129
Posted By sh_erfan
May be some of .h files(I mean library files) are...

May be some of .h files(I mean library files) are deleted from you directory.If Iwere you,I would have reinstalled the software(I use borland 5.02).

sorry.I just told what came to my mind.
Forum: Book: C# 2008 Programmer's Reference ISBN: 978-0-470-28581-7 November 7th, 2009, 01:46 PM
Replies: 2
Views: 1,201
Posted By sh_erfan
Hi You can define a global variable(I mean...

Hi

You can define a global variable(I mean define a variable at the beginning of the form's class before all other methods and after the openning brace) and initialize it to null.Then if your...
Forum: BOOK: Beginning Visual C# November 7th, 2009, 01:25 PM
Replies: 1
Views: 2,719
Posted By sh_erfan
Hi very good question.Thanks because you...

Hi

very good question.Thanks because you want to build the base and then move forward.

OK.Remember that when you input sth through console it is saved as a string.the complier treats it as a...
Forum: Book: Wrox's Visual C# 2005 Express Edition Starter Kit November 7th, 2009, 01:05 PM
Replies: 3
Views: 4,533
Posted By sh_erfan
Hi are you sure your code contains this line...

Hi

are you sure your code contains this line at the end:
console.ReadLine();//or console.ReadKey()

This code waits until you press ENTER(or any key if ReadKey() selected) then the console...
Forum: BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 November 7th, 2009, 04:45 AM
Replies: 3
Views: 1,584
Posted By sh_erfan
As will said the code is correct.It states that...

As will said the code is correct.It states that you subtract secondNumber from firstNumber.

pay attention to this code:
x=firstNumber - secondNumber;
this means that you lessen socondNumber from...
Forum: C# November 6th, 2009, 03:24 PM
Replies: 4
Views: 1,444
Posted By sh_erfan
Thanks a lot. It works correctly.I forgot to...

Thanks a lot.

It works correctly.I forgot to instantiate a new object of textbox.This way I get lots of extra attributes and methods.

thank you nqsousa...
Forum: C# 2005 November 6th, 2009, 02:13 PM
Replies: 1
Views: 1,243
Posted By sh_erfan
Smile win app is now easy for u

Hi

you are now mastered enough in coding.Most of C# books contain
complete instructions and many parts of them will be boring to you.

so you can read only win app parts in these books:
C# how...
Forum: C# November 2nd, 2009, 08:37 PM
Replies: 4
Views: 1,444
Posted By sh_erfan
Question disabling a button with textbox

I dont' know how to disable a button when there is no text in a textbox an enable it the moment a character is enterd to textbox!!!!!!!!!

I use textChanged event but it doesn't work correctly.for...
Showing results 1 to 25 of 26

 


All times are GMT -4. The time now is 02:16 AM.


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