Search Results

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: nmaillet
Forum: Java Oct 13th, 2009
Replies: 3
Views: 237
Posted By nmaillet
The == operator does not compare the characters of the string. It checks to see if they are referring to the same object. Use the mail.substring(N).equals("hotmail.com") method to compare the...
Forum: C++ Aug 6th, 2009
Replies: 7
Views: 220
Posted By nmaillet
Sort of, the first one simply tells the system to request a repaint given those conditions. The UpdateWindow(hWnd); function on the other hand, allows you to request an update when you need one. If...
Forum: C++ Aug 5th, 2009
Replies: 7
Views: 220
Posted By nmaillet
WindowClass.style = CS_HREDRAW | CS_VREDRAW
This causes the system to call request a repaint of the window when the width of the window is changed (CS_HREDRAW) or the height of the window is changed...
Forum: C# Aug 5th, 2009
Replies: 4
Views: 430
Posted By nmaillet
When creating Form 1, use this method:
Application.Run(new Form1());
This should set Form 1 as the main window of the program, and should terminate the program when it is closed.
Note: This calls...
Forum: Java Jul 31st, 2009
Replies: 6
Views: 348
Posted By nmaillet
Try looking around this site: https://labs.ericsson.com/apis/mobile-java-communication-framework/forums/general-development-information/sony-ericsson-sdk-224-javatm-me-platform
Forum: C# Jul 26th, 2009
Replies: 7
Views: 308
Posted By nmaillet
i = i + 1 would be equivalent to ++i. Since the expression (i = i + 1) evaluates as i + 1.
Forum: C# Jul 26th, 2009
Replies: 7
Views: 308
Posted By nmaillet
I always though it was executed after the entire expression, however if you run this code:
class Program
{
static void Main(string[] args)
{
int i = 0;
int d = (i++) +...
Forum: C++ Jul 25th, 2009
Replies: 3
Views: 358
Posted By nmaillet
The default constructor is just used when no other constructors have been declared. To create a no-arg constructor (override the default constructor):
class MyClass {
public:
MyClass();
};
...
Forum: C++ Jul 3rd, 2009
Replies: 3
Views: 213
Posted By nmaillet
A few things: first of all, make the second if statement else-if; second, make the last else-if statement else. Also, pushups should be >50/>30. You should be more carefull with your brackets too:...
Forum: VB.NET Jun 11th, 2009
Replies: 2
Views: 1,114
Posted By nmaillet
I don't believe that support for these methods will be removed in any future release, for backwards compatability. The reason for it being marked as obsolete is because when suspending a thread, you...
Forum: C++ Jun 11th, 2009
Replies: 2
Views: 408
Posted By nmaillet
I believe what you are looking for is the EnumPrinters function in the Windows API. http://msdn.microsoft.com/en-ca/library/dd162692(VS.85).aspx
Forum: C# May 8th, 2009
Replies: 5
Views: 507
Posted By nmaillet
That depends on what namespace it is in and what you are doing, but you would call it the same way as if it was in the same project.
Forum: C# May 8th, 2009
Replies: 5
Views: 507
Posted By nmaillet
You need to add a reference to the class library. Right click on References, click Add References..., click on the project tab, and add the library. This is assuming the class library is in the...
Forum: C# Apr 26th, 2009
Replies: 6
Views: 808
Posted By nmaillet
Try str.Split(new char[] {' '}, StringSplitOptions.RemoveEmptyEntries);.
Forum: C# Apr 20th, 2009
Replies: 6
Views: 1,977
Posted By nmaillet
Some of the code you are using might be helpful, but using the Close event is probably what you are looking for.
Forum: C# Apr 19th, 2009
Replies: 1
Views: 410
Posted By nmaillet
You can use the CheckedChanged event of the radio button, then set the Text property of the text box.
Forum: Java Apr 18th, 2009
Replies: 6
Views: 388
Posted By nmaillet
I should also mention, that if you did want to use a try-catch block (i.e. handle the exception in the constructor) then leave the field declaration as [icode]Scanner scan;[/code] and initialize the...
Forum: Java Apr 18th, 2009
Replies: 6
Views: 388
Posted By nmaillet
You need to declare the FileNotFoundException in the signature of any constructors, because any variables that are initialized in the field declaration, is like it being initialized in the...
Forum: C# Apr 15th, 2009
Replies: 2
Views: 416
Posted By nmaillet
If you set TabStop to true, it should work for you. I believe that scrolls bars are generally not selectable.
Forum: C Feb 17th, 2009
Replies: 8
Views: 779
Posted By nmaillet
If my math is correct,x(n) = x + r*cos(a + n*pass)
y(n) = y + r*sin(a + n*pass)
where 0 <= n < vertex, x and y is the center point, a is the angle of the first point to the right of the center...
Forum: C++ Dec 3rd, 2008
Replies: 6
Views: 1,303
Posted By nmaillet
I'm not very experienced with threads in C++, but from what you said, it shouldn't make a difference in the amount of time it takes to empty the buffer. Have you tried it on another computer? And...
Forum: C++ Dec 1st, 2008
Replies: 3
Solved: MSXML
Views: 558
Posted By nmaillet
And did you download the SDK?
Showing results 1 to 22 of 22

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC