Re: [ADVANCED-DOTNET] Marshaling bool return values from managed to unmanaged code

2004-07-26 Thread Claus Brod
Sean Hederman wrote: Shouldn't you be using VARIANT_BOOL instead of bool if interfacing with COM? Maybe - not sure about the rules here. (Any clarifications most welcome.) But even if so: I can mark those bool values with [MarshalAs(UnmanagedType::U1)], and the COM wrapper will *still* overwrite

[ADVANCED-DOTNET] Muliti Lingual Support in C#...

2004-07-26 Thread salaisivadhanam
Friends... I need a small suggestion from U... We r developing a product in C# and we want to provide MLS support for that... If anybody experianced in this type of multi languages support, will U pls suggest me the best way to do...?? How will U display the data in runtime, and where to

[ADVANCED-DOTNET] Help needed on window scheduler

2004-07-26 Thread Shishir Kumar Mishra
Hi list, Could any body refer me any online resource from where I can learn how to write Windows scheduler in C#? Thanks in advance Shishir Kumar Mishra === This list is hosted by DevelopMentorĀ® http://www.develop.com Some .NET courses you may be interested

Re: [ADVANCED-DOTNET] Missing callbacks from asynchronous sockets?

2004-07-26 Thread Garry Barclay
The client calls are made from a ThreadPool thread (initiated by QueueUserWorkItem). Just to be clear - are you saying that a thread which initiates BeginSend successfully (i.e. no exceptions and CompletedSynchronously == false) must not terminate until the EndSend is received? Surely the EndSend

Re: [ADVANCED-DOTNET] Muliti Lingual Support in C#...

2004-07-26 Thread Heath Ryan
Hi Salai, You might want to have a look at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/ vboriinternationalization.asp When you are using vs.studio it should be fairly easy, to globalization/localization in your app. HTH // Ryan -Oorspronkelijk bericht-

Re: [ADVANCED-DOTNET] Marshaling bool return values from managed to unmanaged code

2004-07-26 Thread Sean Hederman
Nope, my mistake. Didn't read your email with enough care. VARIANT_BOOL is for COM servers, not .NET servers. If you're writing a managed server though, surely bool should be replaced with System::Boolean? I haven't worked much with MC++, and don't know what the mappings (if any) are between

Re: [ADVANCED-DOTNET] Missing callbacks from asynchronous sockets?

2004-07-26 Thread Mark Smith
Correct. .NET utilizes the I/O completion port asynchronous socket model (WSASend/WSARecv) and therefore has the same restrictions as unmanaged code using that model. One of those restrictions is that the thread initiating the socket operation cannot terminate before it is completed or the asynch

Re: [ADVANCED-DOTNET] Missing callbacks from asynchronous sockets?

2004-07-26 Thread Garry Barclay
That's not our situation, but it's news to me so I'd like to clarify: If we create a thread which calls BeginSend sucessfully (CompletedSynchronously == false) then terminates, then EndSend will complete indicating a cancellation. I've used completion port before (in my C++ and Win32 days) and I

[ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Jon Stonecash
I am having a problem getting SQL Server and .NET to agree on the sort order for some data. My sort column in SQL Server is character data ([varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS). As I understand this, the data sorts in dictionary order. Thus, a value of F-SA sorts between FR and

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Frans Bouma
I am having a problem getting SQL Server and .NET to agree on the sort order for some data. My sort column in SQL Server is character data ([varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS). As I understand this, the data sorts in dictionary order. Thus, a value of F-SA sorts

Re: [ADVANCED-DOTNET] Marshaling bool return values from managed to unmanaged code

2004-07-26 Thread Eames, Andrew
I think this is a bug in the framework - I vaguely recall we ran into this a while ago Andrew -Original Message- From: Claus Brod [mailto:[EMAIL PROTECTED] Sent: Sunday, July 25, 2004 5:15 PM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Marshaling bool return values from managed to

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Thomas Tomiczek
Ok, let's go. -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Jon Stonecash Sent: Montag, 26. Juli 2004 14:13 To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server I am having

Re: [ADVANCED-DOTNET] Help needed on window scheduler

2004-07-26 Thread Srihari Angaluri
Shishir, Can you be more specific as to what you mean by Windows scheduler? Do you mean the functionality of the Windows threads scheduler? Srihari Shishir Kumar Mishra wrote: Hi list, Could any body refer me any online resource from where I can learn how to write Windows scheduler in C#? Thanks

Re: [ADVANCED-DOTNET] Help needed on window scheduler

2004-07-26 Thread Thomas Tomiczek
I would say he means the windows scheduler. This is apart of the operating system, you know. http://www.iopus.com/guides/winscheduler.htm for a beginner intro into this part of Windows XP. Thomas Tomiczek THONA Software Consulting Ltd. (Microsoft MVP C#/.NET) (CTO PowerNodes Ltd.)

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Jon Stonecash
My apologies to you Thomas. it has been a long weekend and I could have been more complete in the question. I am sorting the data (ORDER BY) in SQL, but .NET does not see the data coming in from the stream as ordered. It is mostly sorted but there are some items out of order. I decided to

Re: [ADVANCED-DOTNET] Help needed on window scheduler

2004-07-26 Thread Srihari Angaluri
Oh, ok, sure; I am familiar with the task scheduler. I work in Windows cluster job scheduling area; so I got confused there for a bit :) Thomas Tomiczek wrote: I would say he means the windows scheduler. This is apart of the operating system, you know. http://www.iopus.com/guides/winscheduler.htm

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Clemens F. Vasters
It's a puzzle to me what sort of mental state would trigger anyone being so arrogant (and insulting) just because someone else has a bit of a misconception about how things work and is therefore asking for help. I can think of a few terms I usually associate with folks having such an attitude,

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Thomas Tomiczek
And in return I will refrain from telling you loudly what I think of people making posts such as yours. Very nicely, clemens. One of the most arrogant posts I read in the last weeks here. I was not insulting at all. All I did point oout is that someone had not done his homework (but came to an

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Thomas Tomiczek
Now, this is a totally different topic, obviously. Ok, so you basically found out that that there are issues with the sort order. This is actually a problem I stubmeld into some time ago - the SQL sort orders are not per definition correct when you compare them to the .net locales. I think this

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Clemens F. Vasters
Thank you for brilliantly supporting my point. -cv -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Tomiczek Sent: Monday, July 26, 2004 4:05 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Common Sort Order

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Potter, Mark S.
Actually if a table has a clustered index then the data is physically stored in ascending or descending order of that clustered index in tha data pages. For example the following table is ordered by ID as the primary clustered index of InventoryState. CREATE TABLE [InventoryState] (

Re: [ADVANCED-DOTNET] Help needed on window scheduler

2004-07-26 Thread Booth, Bill
Here is a Windows Scheduler wrapper class in VB .NET. I am sure you can convert it. http://www.mvps.org/emorcillo/dotnet/shell/index.shtml -Original Message- From: Srihari Angaluri [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 8:57 To: [EMAIL PROTECTED] Subject: Re:

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Thomas Tomiczek
-Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Baudouin, Andrew Sent: Montag, 26. Juli 2004 17:16 To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server Right, he only

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Thomas Tomiczek
-Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Frans Bouma Sent: Montag, 26. Juli 2004 17:15 To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server So what? The

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Baudouin, Andrew
See, it does not say Lead developer Or something. So I assume you are simply not responsible for handling personell. Which makes it clear why you would not revmove someone without appropriate knoelsedsge from a position he holds but lacks the knowledge to fullfill. If I were in charge of

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Jon Stonecash
myDataReader = myCommand.ExecuteReader() Dim myLastName As String = Dim myCurrentName As String = While myDataReader.Read myCurrentName = myDataReader.GetString(0).Trim myCompare = String.Compare(myLastName,

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Snyder, Chris
While I do agree that it is time to move on with this thread (or kill it entirely), I must say that it is unfortunate that this conversation has taken a turn wherein respondents feel it necessary to begin bashing another's country of origin. That is quite childish. The professional quality of

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Julia Lerman
Okay - enough enough! Everyone just let it go. Even Jon is ignoring it and just trying to learn what he can (umm about SQL, not about our friendly little community) julie -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Frans Bouma
myDataReader = myCommand.ExecuteReader() Dim myLastName As String = Dim myCurrentName As String = While myDataReader.Read myCurrentName = myDataReader.GetString(0).Trim myCompare =

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Frans Bouma
I'd like to add that of all the people participating in this thread, a very low number actually tried to answer the question(s). (2 or 3 to my knowledge) You all may get offended when someone is less 'diplimatically correct' with saying things, fact is that taking time to answer off-topic

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Snyder, Chris
Mr. Bouma, You are completely correct. As I am one of the ones who replied, not to the question at hand, but to the tone of an answer, I would like to offer my apologies to the ENTIRE group. In the future, I will limit my posts to questions, and (if I get a whole lot smarter) answers. Again,

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Chanian, Raj
I will second that. Frans well done, brilliantly said. Even though I didn't answer to either threads, on/off topic! Regards, Raj -Original Message- From: Snyder, Chris [mailto:[EMAIL PROTECTED] Sent: 26 July 2004 17:21 To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Common Sort

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Jon Stonecash
From: Frans Bouma [EMAIL PROTECTED] Reply-To: Unmoderated discussion of advanced .NET topics. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server Date: Mon, 26 Jul 2004 18:03:44 +0200 myDataReader =

Re: [ADVANCED-DOTNET] Common Sort Order for .NET and SQL Server

2004-07-26 Thread Richard Blewett
OK guys, thanks for bringing this under control a bit. And there was me saying a couple of days ago that we stopped moderating this list because we didn't feel it was necessary. This is the first time AFAIK that this list has descended into a flame war and I hope it will be the last. If that

Re: [ADVANCED-DOTNET] Missing callbacks from asynchronous sockets?

2004-07-26 Thread John Davis
I would really like to see a test app posted that reproduces this behavior. My best guess is that the problem is due to lack of synchronization somewhere. J. Merrill [EMAIL PROTECTED] wrote:I'm surprised that the framework code doesn't allocate a large block of (possibly unmanaged) memory to

[ADVANCED-DOTNET] .NET 2003 Enterprise Architect Mozilla problem

2004-07-26 Thread Greg X DiG
We are using .NET Enterprise Architect 2003 with a Targetschema of IE5. When the resulting pages are viewed with the latest version of Mozilla, the appearance of the screens of Datalists are different than they are with IE. In IE, we see the use of the width attribute of the td tag accurrately