Thanks for the links, they look good, I'll see if that server needs to be
patched and such.
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Wills
Sent: Thursday, September 28, 2006 11:54 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Alex,
http://tinyurl.com/efdlg
may also be of interest.
Seeya
Matthew Wills | Senior Analyst Programmer | Adviser Tools and Services|
Financial Planning and Third Party | NAB Technology | Wealth Management
Australia
|-+->
| | Ale
Alex,
http://geekswithblogs.net/cmcneill/archive/2005/04/05/28336.aspx
suggest that .NET 1.1 SP1 may help.
Seeya
Matthew Wills | Senior Analyst Programmer | Adviser Tools and Services|
Financial Planning and Third Party | NAB Technology | Wealth Management
Australia
|-+-
Thanks for clearing that up. Here's the core code:
ManagementScope scope = new ManagementScope();
ConnectionOptions connection = new ConnectionOptions();
ManagementObjectSearcher searcher = new ManagementObjectSearcher();
scope = new ManagementScope("TheComputer\\root\\CIMV2", connection);
sc
He means that the new error is that you didn't include any code in your post.
Please reply with a sample of code that reproduces
the error.
&_david++;
Alex Smotritsky wrote:
That's incorrect. The message at the bottom of your reply was my entire
message.
-Original Message-
From: Disc
That's incorrect. The message at the bottom of your reply was my entire
message.
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Wills
Sent: Thursday, September 28, 2006 8:53 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re:
Alex,
The mail filter seems to have stripped out your code.
Seeya
Matthew Wills | Senior Analyst Programmer | Adviser Tools and Services|
Financial Planning and Third Party | NAB Technology | Wealth Management
Australia
|-+>
| | Alex Smot
I'm trying to iterate over a ManagementObjectCollection with a foreach. When
running against a Windows 2000 Advanced Server with .Net 1.1 installed I'm
getting the following error:
COM object that has been separated from its underlying RCW can not be used.
The ManagementException.ErrorCode is
Mike Burns e-mailed me a follow-up to an old thread, where Dmitry
Shaporenkov described having problems with an odd deadlock/hang with a
.NET windows forms app (actually a VS 2005 add-in). The stack trace
showed that the UI thread blocked in reaction to the
Microsoft.Win32.SystemEvents.OnUserPrefe
shot in the dark.. but ...I know some cultures substitute
certain characters for others as a "best match", invariant
should prevent this. I dont know why uk culture would do it
since its similiar.. but it can def. happen with other
characters with various cultures. If you read more on the
invariant
On 9/28/06, Hevel, Shawn <[EMAIL PROTECTED]> wrote:
What is the best way to encrypt/decrypt this connection information?
I would use System.Security.DataProtection with Machine scope.
--
Steve Johnson
===
This list is hosted by DevelopMentorĀ® http://www.deve
I'm using encryption for the first time. I'm storing the SQL Connection
string in my app.config file. My project is a class and not a website
project.
What is the best way to encrypt/decrypt this connection information?
Thanks,
Shawn Hevel, API, AIT
Lead Programmer Analyst
Information Te
Oh right ok.
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Brady Kelly
Sent: 28 September 2006 13:38
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Completely unbelievable exception.
I don't recall. I think
I don't recall. I think I may have done something horrific like change the
type of the database field. It wasn't a huge, demanding production
application.
> -Original Message-
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of Mark Nicholls
> S
ReallyOK, I'll give it a go..
Do you understand why it should fail in the first placeit seems to make
absolutely no sense at allwhat doubly bamboozles me, is I can't find any
reference to it anywhereyet I would expect loads of software to fail
because of it.
-Original Mess
Int32.Parse( "1", System.Globalization.CultureInfo.InvariantCulture );
This way you're not depending on the culture set by the user, which
should prevent errors like these.
Paul
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Nicho
Thanks, at least I'm not going completely mad.
How did you avoid it?
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Brady Kelly
Sent: 28 September 2006 13:07
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Compl
I can't offer any help, but I too have encountered this problem. However, I
solved my problem by avoiding the Parse call altogether.
> I'm not a new boy at this gameI've been using c# for about 3 years or
> so.
>
> int.Parse("1");
>
> got to work!.
>
> See the end of this message for
If you change that line to:
int.Parse("1", System.Globalization.NumberStyles.Integer);
Do you still get the same problem? I believe it will, but as I cannot
reproduce the problem you are having, I cannot test for the outcome of
that.
Thanks,
Greg
-Original Message-
From: Discus
How about typed datasets? (Heavy as they are...)
-Ernst Kuschke
On 9/28/06, Richard Blewett <[EMAIL PROTECTED]> wrote:
For intelligent consumption of the data, a string would be a disaster - it
would require a whole bunch of code inside the orchestration to parse a
dataset. DataSets and BizTal
For intelligent consumption of the data, a string would be a disaster - it
would require a whole bunch of code inside the orchestration to parse a
dataset. DataSets and BizTalk don't really mix. BizTalk can handle messages
of any type but the toolset lends itself to processing of XML messages
defin
I'm not a new boy at this gameI've been using c# for about 3 years or
so.
int.Parse("1");
got to work!.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
** Exception Text **
System.FormatException: I
22 matches
Mail list logo