Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
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 217
Search took 0.02 seconds.
Search: Posts Made By: mega
Forum: .NET Framework 2.0 July 23rd, 2008, 08:46 AM
Replies: 8
Views: 1,596
Posted By mega
Thanks to both of you. I'm gonna go with your...

Thanks to both of you. I'm gonna go with your suggestion Sam.

- thanks, jon

- mega
Moving to C# .NET
Forum: .NET Framework 2.0 July 21st, 2008, 11:10 AM
Replies: 8
Views: 1,596
Posted By mega
Dunno if I'm getting off topic here but to avoid...

Dunno if I'm getting off topic here but to avoid StackOverflowException, should I create an Array[][] with the thread ids and count,
so I can terminate the ones that run infinite? Or should I thrust...
Forum: .NET Framework 2.0 July 21st, 2008, 10:54 AM
Replies: 8
Views: 1,596
Posted By mega
Ok, I got it working. Now I just have to watch...

Ok, I got it working. Now I just have to watch out for System.StackOverflowException if the query can't be found. That will bring down the entire application. Any ideas?

private static string...
Forum: .NET Framework 2.0 July 21st, 2008, 09:54 AM
Replies: 8
Views: 1,596
Posted By mega
The class that loads the XML file is...

The class that loads the XML file is static/Shared and loads the entire XML file into a DataSet in the constructor, so its always loaded before any methods is called. But you should still be able to...
Forum: .NET Framework 2.0 July 21st, 2008, 05:46 AM
Replies: 8
Views: 1,596
Posted By mega
Maybe some code would help? Any questions or is...

Maybe some code would help? Any questions or is it just too tough? [?]

- mega
Moving to C# .NET
Forum: .NET Framework 2.0 July 21st, 2008, 02:51 AM
Replies: 4
Views: 768
Posted By mega
I fail to see what you're doing with the threads....

I fail to see what you're doing with the threads. Looks to me like everyone is using the same thread and in which assigning user ids doesn't make sense. Or maybe I'm just seeing it wrong...

- mega...
Forum: .NET Framework 2.0 July 21st, 2008, 02:41 AM
Replies: 8
Views: 1,596
Posted By mega
Queue or how to syncronize without locking

Hi all.

I'm re-developing a Data Access Layer Manager (codeplex.com/dalm) and have some architectural doubts about some of the I/O operations.

The problem
All queries are read from an XML file...
Forum: Javascript How-To April 20th, 2007, 01:45 PM
Replies: 4
Views: 6,051
Posted By mega
Hi Joe. For a minute I thought this was too...

Hi Joe.

For a minute I thought this was too niche for people at p2p to care. ;)
The Parse function is suppose to return the supplied type of enum. Given the enum:
var myEnum = { West : 1, East:...
Forum: Javascript April 20th, 2007, 06:45 AM
Replies: 1
Views: 965
Posted By mega
Almost solved. See...

Almost solved. See http://p2p.wrox.com/topic.asp?TOPIC_ID=58984

- mega
Moving to C# .NET
Forum: Javascript How-To April 20th, 2007, 06:43 AM
Replies: 4
Views: 6,051
Posted By mega
After spotting this article at quirksmode...

After spotting this article at quirksmode http://www.quirksmode.org/js/associative.html I've came up with this, which is almost what I want:

var Enum = {
GetNames: function(enumtype){
var names...
Forum: Javascript April 13th, 2007, 02:03 AM
Replies: 1
Views: 965
Posted By mega
A quick way to parse a number to js enum

Hi all!

I'm having a subtle problem with enumerations in javascript. Let me first outline the problem.
I have an enumeration in javascript (using JSON) that look like this:

var EventsToShow =...
Forum: Javascript How-To April 12th, 2007, 08:08 AM
Replies: 4
Views: 6,051
Posted By mega
A quick way to parse a number to js enum

Hi all!

I'm having a subtle problem with enumerations in javascript. Let me first outline the problem.
I have an enumeration in javascript (using JSON) that look like this:
var EventsToShow =...
Forum: Visual Studio 2005 March 9th, 2007, 03:45 PM
Replies: 2
Views: 2,693
Posted By mega
Do you have or had Visual Studio SDK installed? I...

Do you have or had Visual Studio SDK installed? I think that's what courses it but I'm not sure how do deal with it.. But if it doesn't course any trouble I don't care :-)

- mega
Moving to C# .NET
Forum: Beginning PHP March 3rd, 2007, 11:11 PM
Replies: 1
Views: 1,520
Posted By mega
Doesn't matter.. I've loaded php as a module...

Doesn't matter.. I've loaded php as a module instead and it works fine.

LoadModule php4_module "c:/PHP/php4apache2.dll"
AddType application/x-httpd-php .php .php4
PHPIniDir "C:/PHP"

Cheers!
...
Forum: Beginning PHP March 3rd, 2007, 10:52 PM
Replies: 1
Views: 1,520
Posted By mega
Installing php 4

Hi all!

I'm having problems with installing PHP 4.4.6 on my win box. I've installed
Apache2 and it works fine. But when I try to run php files I get the
following error message:
Not Found
The...
Forum: Beginning PHP February 5th, 2007, 05:31 PM
Replies: 1
Views: 1,257
Posted By mega
Don't worry - it works. I had uploaded the wrong...

Don't worry - it works. I had uploaded the wrong files

- mega
Moving to C# .NET
Forum: Beginning PHP February 5th, 2007, 04:41 PM
Replies: 1
Views: 1,257
Posted By mega
Regular Expressions

Hi all!

I have a problem with preg_match() to check if an email address is correct. When I use this code
function ValidateEmail($email)
{
return...
Forum: ASP.NET 2.0 Professional January 26th, 2007, 12:09 PM
Replies: 0
Views: 673
Posted By mega
Losing reference when converting from MembershipUs

Hi all.

I hope one of ya guys can cast a light over what is going on here.. When calling GetUser in MembershipProvider I lose the user object in what can best be illustrated with this code...
Forum: ASP.NET 2.0 Professional January 26th, 2007, 11:29 AM
Replies: 1
Views: 735
Posted By mega
Why don't you post this in "ASP.NET 1.0 and 1.1...

Why don't you post this in "ASP.NET 1.0 and 1.1 Professional"?

- mega
Moving to C# .NET
Forum: ASP.NET 2.0 Professional January 17th, 2007, 12:21 PM
Replies: 1
Views: 7,865
Posted By mega
Find where ASP.NET 2.0 puts the generated code...

Find where ASP.NET 2.0 puts the generated code and delete it all. On my box it's C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files. You might have to restart your computer before...
Forum: ASP.NET 2.0 Professional January 17th, 2007, 12:15 PM
Replies: 1
Views: 1,104
Posted By mega
Receiving a large chunk of HTML via dojo

Hi.

I'm a newbie to AJAX. I just started using dojo for javascript effects and was wondering how I can receive a huge chunk of HTML via dojo. I've made a calendar control in .NET what emits HTML...
Forum: ASP.NET 2.0 Professional January 12th, 2007, 03:06 PM
Replies: 5
Views: 1,157
Posted By mega
Hi zaghmout. First make sure that your page...

Hi zaghmout.

First make sure that your page declaration (or define it in web.config) is <%@ Page Culture="auto" UICulture="auto" %>That ensures that the culture that the browser is using is the...
Forum: ASP.NET 2.0 Professional January 5th, 2007, 02:35 PM
Replies: 5
Views: 1,157
Posted By mega
Doesn't matter I figured it out. Here is the...

Doesn't matter I figured it out. Here is the code:
public void PopulateWithMonths(DropDownList ddlcontrol, bool selectcurrent)
{
GregorianCalendar culture = new...
Forum: ASP.NET 2.0 Professional January 5th, 2007, 02:23 PM
Replies: 5
Views: 1,157
Posted By mega
auto culture for code in App_Code

Hi all.

I'm doing my first crack at localization and found it fairly easy but for some reason it doesn't effect code in the App_Code folder. I have a helper class that fills in months into a...
Forum: .NET Framework 2.0 December 29th, 2006, 11:29 AM
Replies: 1
Views: 3,937
Posted By mega
Doesn't matter. I've changed the BLOB to CLOB....

Doesn't matter. I've changed the BLOB to CLOB. Also I found out that a 100 byte array fields was 137 array fields when converted.. So the example on MSDN must be flawed.

- mega
Moving to C# .NET
Showing results 1 to 25 of 217

 


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


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