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 40
Search took 0.01 seconds.
Search: Posts Made By: GeertVerhoeven
Forum: C# 2005 February 29th, 2008, 12:09 PM
Replies: 1
Views: 1,114
Posted By GeertVerhoeven
Hi, There is no easy way to do this. It is...

Hi,

There is no easy way to do this. It is possible to get the user id with reporting services but you can not disable a parameter (dropdownlist).

What you can do is the following. It is...
Forum: C# February 14th, 2008, 05:31 AM
Replies: 2
Views: 1,255
Posted By GeertVerhoeven
Hi prince umar, I think you mean C# 3.0 when...

Hi prince umar,

I think you mean C# 3.0 when talking about C# 2008. C# 3.0 is the same as C# 2.0 with some additional functionalities. Be aware that most of the functionalities are created to be...
Forum: .NET Framework 2.0 August 8th, 2007, 12:03 PM
Replies: 3
Views: 3,043
Posted By GeertVerhoeven
Normally, when creating a windows service in .NET...

Normally, when creating a windows service in .NET you use an ServiceInstaller to install the service. The ServiceInstaller contains a property named StartType...
Forum: C# 2005 August 7th, 2007, 01:05 AM
Replies: 4
Views: 1,917
Posted By GeertVerhoeven
You need to use the anchor or dock properties. ...

You need to use the anchor or dock properties.
Anchor allows you to set a control relative to another control or to the form itself.
...
Forum: C# 2005 August 7th, 2007, 01:04 AM
Replies: 2
Views: 734
Posted By GeertVerhoeven
You need to use the anchor or dock properties. ...

You need to use the anchor or dock properties.
Anchor allows you to set a control relative to another control or to the form itself.
...
Forum: .NET Framework 2.0 August 7th, 2007, 12:21 AM
Replies: 2
Views: 2,275
Posted By GeertVerhoeven
Hi, Try to reregister ASP.NET in IIS by...

Hi,

Try to reregister ASP.NET in IIS by following these steps:
1. Open a command prompt
2. Go to the .NET framework directory (probably C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727)
3. Enter ...
Forum: C# 2005 August 6th, 2007, 12:21 AM
Replies: 4
Views: 1,917
Posted By GeertVerhoeven
Hi, You can set the WindowState property of...

Hi,

You can set the WindowState property of the form to Maximized.

Greetz,

Geert

http://geertverhoeven.blogspot.com
Forum: C# 2005 July 31st, 2007, 05:49 AM
Replies: 3
Views: 1,057
Posted By GeertVerhoeven
Why do you think it would be against OO? ...

Why do you think it would be against OO?

Geert

http://geertverhoeven.blogspot.com
Forum: C# 2005 July 28th, 2007, 04:35 AM
Replies: 1
Views: 2,744
Posted By GeertVerhoeven
Hi, This is because you are trying to update...

Hi,

This is because you are trying to update the value of textbox which is hosted in a different thread. It is not possible to change the value of a control from a different thread.

To update...
Forum: Reporting Services July 25th, 2007, 06:43 AM
Replies: 1
Views: 772
Posted By GeertVerhoeven
And what is the problem exactly ? ...

And what is the problem exactly ?

http://geertverhoeven.blogspot.com
Forum: C# July 25th, 2007, 06:40 AM
Replies: 10
Views: 17,009
Posted By GeertVerhoeven
Indeed, since the parameter need to be converted...

Indeed, since the parameter need to be converted only once.
If you would convert the date field to a string, this need to be done for each row.

http://geertverhoeven.blogspot.com
Forum: C# July 25th, 2007, 06:15 AM
Replies: 10
Views: 17,009
Posted By GeertVerhoeven
Sorry, you are right the overhead is nihil since...

Sorry, you are right the overhead is nihil since it is only done once for the parameter. Wasn't thinking correctly. It would be a bad desision to cast the tables datetime to a string since that would...
Forum: C# 2005 July 25th, 2007, 04:14 AM
Replies: 1
Views: 771
Posted By GeertVerhoeven
Hi, I'm afraid this is not as easy as it...

Hi,

I'm afraid this is not as easy as it seems. To be honest, the development time will be far more expensive then buying a component.

Greetz,

Geert

http://geertverhoeven.blogspot.com
Forum: C# July 25th, 2007, 04:11 AM
Replies: 10
Views: 17,009
Posted By GeertVerhoeven
navdeep, Oracle reason: Although both give...

navdeep,

Oracle reason:
Although both give the same result, with the to_date function you have some overhead since you are converting to a string type which you don't have if you can compare date...
Forum: C# July 25th, 2007, 12:20 AM
Replies: 10
Views: 17,009
Posted By GeertVerhoeven
There are two possibilities to solve this: ...

There are two possibilities to solve this:

1. Use the TO_DATE function (not preferred method)
... WHERE START_DATE >= TO_DATE({0}, 'YYYYMMDD')", sdate.ToString("yyyyMMdd");

2. Use an...
Forum: .NET Framework 2.0 July 24th, 2007, 11:29 AM
Replies: 1
Views: 714
Posted By GeertVerhoeven
Hi, If you check the below link, you can see...

Hi,

If you check the below link, you can see that the To, Cc and Bcc properties are from type MaillAddressCollection.
...
Forum: Oracle July 24th, 2007, 07:05 AM
Replies: 2
Views: 1,603
Posted By GeertVerhoeven
NOTE: Functions can also return tables like in...

NOTE: Functions can also return tables like in this sample: http://geertverhoeven.blogspot.com/2007/07/create-function-that-returns-table.html

The main different is the way how to use them.

A...
Forum: Oracle July 24th, 2007, 06:47 AM
Replies: 12
Views: 5,031
Posted By GeertVerhoeven
Hi, When using cursors, you can use the...

Hi,

When using cursors, you can use the following code:
WHEN cursor_name%NOTFOUND ...

I used this to exit a loop at the end of the cursor in the following script:...
Forum: Oracle ASP July 24th, 2007, 06:45 AM
Replies: 1
Views: 23,497
Posted By GeertVerhoeven
Hi, An Oracle function can not be called...

Hi,

An Oracle function can not be called like a stored procedure.
What you need to do is set the commandtype to text and use the following command text:
SELECT * FROM TABLE(function_name);
...
Forum: Generics July 22nd, 2007, 04:28 AM
Replies: 1
Views: 3,470
Posted By GeertVerhoeven
Hi, Here is a sample of a simple ActiveX...

Hi,

Here is a sample of a simple ActiveX application:
http://geertverhoeven.blogspot.com/2007/01/error-when-referencing-javascript-via.html

To be able to use a .NET activex, you need to have...
Forum: General .NET July 22nd, 2007, 04:23 AM
Replies: 1
Views: 1,229
Posted By GeertVerhoeven
Hi, It is best to keep track of what control...

Hi,

It is best to keep track of what control you've added to the form. This will make it easier to remove them back afterwards.
Here is an example that uses a stack (last in first out principle)...
Forum: .NET Framework 2.0 July 21st, 2007, 12:51 AM
Replies: 2
Views: 950
Posted By GeertVerhoeven
Hi, I think the easiest way is to get the data...

Hi, I think the easiest way is to get the data from the database sorted in the Hindi rules by using a collation.
http://msdn2.microsoft.com/en-us/library/ms188385.aspx...
Forum: C# July 21st, 2007, 12:39 AM
Replies: 3
Views: 1,299
Posted By GeertVerhoeven
I think the easiest way is to loop over the...

I think the easiest way is to loop over the Controls from the flowLayoutPanel1 and then check the name of the control.

Something like this:
foreach (Control control in flowLayoutPanel1.Controls)...
Forum: C# 2005 July 20th, 2007, 03:24 PM
Replies: 7
Views: 2,475
Posted By GeertVerhoeven
The form class contains a field named...

The form class contains a field named DialogResult with type DialogResult.

Since the instance of the LogonForm is still available after the form is closed, you can request the value of the field...
Forum: C# 2005 July 20th, 2007, 12:02 PM
Replies: 7
Views: 2,475
Posted By GeertVerhoeven
Hi, Here is a possible solution: You need...

Hi,

Here is a possible solution:
You need 2 forms:
- MainForm (IsMdiContainer = True)
- LogonForm (optionally: ControlBox = False; FormBorderStyle = FixedSingle; MaximizeBox = False)

In the...
Showing results 1 to 25 of 40

 


All times are GMT -4. The time now is 06:39 PM.


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