Yesterday — Friday, 9 January 2009
|
| Expiration of your subscription to the DOTNET-WINFORMS list PEACH.EASE.LSOFT.COM LISTSERV Server 14:01:13 |
| | Fri, 9 Jan 2009 06:01:13
Your subscription to the DOTNET-WINFORMS list has expired and you have failed to confirm it in the 14 day delay that you had been granted. Therefore, you have been automatically removed from the list. If you want to re-subscribe to the list, then send the following command to LISTSERV@PEACH.EASE.LSOFT.COM:
SUBscribe DOTNET-WINFORMS
|
| | Add comment |
Wednesday, 7 January 2009
|
| ServiceController status returning wrong state? Blain T Timberlake 19:45:54 |
| | This is a repost from CLR, doesn't seem like there is much activity over on that list. This isn't really all too advanced though, so I apologize in advance. ;)
Using the system.ServiceProcess.ServiceController I'm getting some odd values back.
Basically if I pull up a list of services on a remote machine, there are several services that consistently report the wrong status back. Some others however report correctly.
For instance.... I do:
If myService.Status <> ServiceControllerStatus.Running Then Throw New Exception("Service was not running") End If
If I run that for the service "Server", which is running, it throws an exception.
If I run for "Alerter" it reports correctly that it is running.
Checking "Computer Browser" also throws an exception even though it too is running.
Anyone know of any rhyme or reason for what is going on here? On the remote machine I am a full administrator. Just using the Services MSC console I can pull up the list of all the services on the remote machine and view statuses and/or start and stop them just fine.
Any thoughts? =Blain
This communication is for use by the intended recipient and contains information that may be privileged, confidential or copyrighted under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system. Unless explicitly and conspicuously designated as "E-Contract Intended", this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. This e-mail does not constitute a consent to the use of sender's contact information for direct marketing purposes or for transfers of data to third parties.
Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean
http://www.DuPont.com/corp/email_disclaimer.html
=================================== This list is hosted by DevelopMentor http://www.develop.com Some .NET courses you may be interested in:
Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 5 answers | Add comment |
Friday, 2 January 2009
|
| Expiration of your subscription to the DOTNET-WEB list PEACH.EASE.LSOFT.COM LISTSERV Server 14:00:22 |
| | Fri, 2 Jan 2009 06:00:22
Your subscription to the DOTNET-WEB list has expired and you have failed to confirm it in the 14 day delay that you had been granted. Therefore, you have been automatically removed from the list. If you want to re-subscribe to the list, then send the following command to LISTSERV@PEACH.EASE.LSOFT.COM:
SUBscribe DOTNET-WEB
|
| | Add comment |
Friday, 26 December 2008
|
| Renewal of your subscription to the DOTNET-WINFORMS list PEACH.EASE.LSOFT.COM LISTSERV Server 14:00:52 |
| | Fri, 26 Dec 2008 06:00:52
Your subscription to the DOTNET-WINFORMS list is due for renewal. If you wish to remain subscribed to DOTNET-WINFORMS, please issue the following command to LISTSERV@PEACH.EASE.LSOFT.COM at your earliest convenience:
CONFIRM DOTNET-WINFORMS
You will be automatically removed from the list if you do not send a CONFIRM command within the next 14 days. The simplest way to do this is to click on the following link:
http://peach.ease.lsoft.com/scripts/wa.exe?LCMD=CONFIRM+DOTNET-WINFORMS&L=DOTNET-WINFORMS
|
| | Add comment |
Tuesday, 23 December 2008
|
| SqlDateTime.Parse not culture sensitive? Mark Griffiths 23:34:52 |
| | The SqlDateTime.Parse() method does not seem to be honouring the current culture. I am in the UK and have checked that System.Globalization.CultureInfo.CurrentCulture is set to "en-GB". I'm sure everyone knows that in the UK we usually format our dates as dd/MM/yyyy. From the immediate window:
?DateTime.Parse("1/2/2002").ToString("dd-MMM-yyyy") "01-Feb-2002"
?SqlDateTime.Parse("1/2/2002").Value.ToString("dd-MMM-yyyy") "02-Jan-2002"
DateTime.Parse works as expected, but SqlDateTime assumes a US format when parsing the string.
Can anybody confirm this as a bug? or am I doing something wrong?
Mark
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
|
| | 2 answer | Add comment |
Friday, 19 December 2008
|
| Renewal of your subscription to the DOTNET-WEB list PEACH.EASE.LSOFT.COM LISTSERV Server 14:00:23 |
| | Fri, 19 Dec 2008 06:00:23
Your subscription to the DOTNET-WEB list is due for renewal. If you wish to remain subscribed to DOTNET-WEB, please issue the following command to LISTSERV@PEACH.EASE.LSOFT.COM at your earliest convenience:
CONFIRM DOTNET-WEB
You will be automatically removed from the list if you do not send a CONFIRM command within the next 14 days. The simplest way to do this is to click on the following link:
http://peach.ease.lsoft.com/scripts/wa.exe?LCMD=CONFIRM+DOTNET-WEB&L=DOTNET-WEB
|
| | Add comment |
Friday, 12 December 2008
|
i need a project on employee reposi... ranji 12:04:52 |
| | i need a project on employee repository portal using c# and asp.net
|
| | Add comment |
|
| how to disable image saving in dotn... Guest 11:58:24 |
| | how to disable image saving in dotnet using c# n asp.net |
| | Add comment |
Monday, 1 December 2008
|
| Expiration of your subscription to the DOTNET-CLR list L-Soft list server at DevelopMentor 10:26:17 |
| | Thu, 18 Sep 2008 06:00:05
Your subscription to the DOTNET-CLR list has expired and you have failed to confirm it in the 14 day delay that you had been granted. You have therefore been automatically removed from the list. You can re-subscribe to the list, if you want to, by sending the following command to LISTSERV@DISCUSS.DEVELOP.COM:
SUBscribe DOTNET-CLR
|
| | 1 answer | Add comment |
Tuesday, 18 November 2008
|
| Trying to trap a "first chance exception" Lee P. Gray 02:08:59 |
| | I keep getting a somewhat random first chance exception when filling a DataTable:
"A first chance exception of type 'System.IndexOutOfRangeException' occurred in system.windows.forms.dll"
Sometimes it happens on the first fill, and sometimes it takes several.
I've wrapped the DataAdapter.Fill() statement in try/catch block, and I've set the IDE to "Break into the debugger" for that exception, but I can't figure out how to view any more details about the exception to troubleshoot any further.
When the debugger kicks in, it's on the .Fill() statement, but when I step through it, the catch block doesn't catch the exception. Does that mean it's getting caught in the DataAdapter's internals?
Any suggestions?
Thanks, Lee
|
| | 9 answers | Add comment |
Wednesday, 12 November 2008
|
| Re: Filter what the FolderBrowserDialog shows? Peter Ritchie 06:15:24 |
| | FolderBrowserDialog is a wrapper for SHBrowseForFolder which does support custom filtering; but FolderBrowserDialog doesn't implement that particular feature. You'd have to re-write FolderBrowserDialog to do what you want. Even if it wasn't sealed you'd have to re-write most of code (RunDialog override and the callback method) anyway.
http://msdn2.microsoft.com/en-us/library/ms647664.aspx describes the detail of FolderBrowseDialog and the use of the IFilterSite interface to do the custom filtering. Arik Poznanski wrote a series of articles on shell programming in C# that included a bit of detail on custom filters in the first of the series: http://www.codeproject.com/csharp/csdoesshell1.asp.
HTH
On Mon, 27 Aug 2007 14:11:03 -0600, Bhatnagar, Amit <Amit.Bhatnagar@GDCANADA.COM> wrote:
Using the FolderBrowserDialog, is there a way to filter what directories that it shows? For example, say I only want the user to pic folders that end in the word "Mail" or something. If the FolderBrowserDialog doesn't support this, would I have to create a custom folder picker and filter the list manually?
|
| | 1 answer | Add comment |
Monday, 10 November 2008
|
| LINUX AND C# Guest 15:57:54 |
| | Does anyone have an idea hot to make c# work on linux if so could u give me detailed explanation coz I don’t know linux but my project is done in c# and linux please mail to me at ammaps_dev@zyberops.com Thanking u in adavance
|
| | 2 answer | Add comment |
Thursday, 30 October 2008
|
| Anyone got MiniDumpWriteDump working in managed code? Keith Hill 10:10:48 |
| | I have gotten this far:
[DllImport("DbgHelp.dll")] private static extern bool MiniDumpWriteDump(IntPtr hProcess, int processId, IntPtr fileHandle, int dumpType, IntPtr excepInfo, IntPtr userInfo, IntPtr extInfo);
However, the following WIN32 struct definition for the 5th parameter seems to be required to make MiniDumpWriteDump useful (using IntPtr.Zero results in not very useful dumps). Unfortunately I am not sure if it can be filled in from managed code:
typedef struct _MINIDUMP_EXCEPTION_INFORMATION { DWORD ThreadId; PEXCEPTION_POINTERS ExceptionPointers; BOOL ClientPointers; } MINIDUMP_EXCEPTION_INFORMATION, *PMINIDUMP_EXCEPTION_INFORMATION;
Specifically, how could I get a pointer to EXCEPTION_POINTERS from managed code?
-- Keith
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
|
| | 4 answer | Add comment |
Tuesday, 28 October 2008
|
| How to change the menu highlight color in C# 2.0? Jack Brown 08:29:32 |
| | I've run into a problem that I can't find a solution to. I've got custom colors set in the Windows XP Appearances setting for menus and selected menu items.
I have menu bars set to a purple background and yellow text. (As close as I can get to purple and gold for the UW Huskies. The selected item colors are reversed. Yellow for the background and purple for the text. Works great in programs like Firefox, Thunderbird, etc.
I've added a MenuStrip and several ToolStripMenuItem to a form. I set the BackColor to System.Drawing.SystemColors.Menu and the ForeColor to System.Drawing.SystemColors.MenuText.
If I click on the menu or any of the menu items, they generally display nicely with the colors. Except for the highlight color on item the mouse is currently over. That highlight color is always a light grey and the color of the text stays yellow. Very low contrast is nearly impossible to read.
Is there some way to change that highlight color? I've googled references to changing in via OwnerDraw for TreeView controls, but nothing for menu items. The menu items don't have a DrawMode or OwnerDraw property that I can find.
I can use the MouseEnter and Leave events to change the fore and back colors like this:
private void toolStripMenuItem_Enter( object sender, EventArgs e ) { ToolStripMenuItem blah = (ToolStripMenuItem)sender; blah.BackColor = System.Drawing.SystemColors.MenuText; blah.ForeColor = System.Drawing.SystemColors.Menu; } private void toolStripMenuItem_Leave( object sender, EventArgs e ) { ToolStripMenuItem blah = (ToolStripMenuItem)sender; blah.BackColor = System.Drawing.SystemColors.Menu; blah.ForeColor = System.Drawing.SystemColors.MenuText; }
But, the blasted highlight color is still the light grey. At least the text is readable this way, but it still looks like garbage.
Please, if this isn't clear, ask for clarification.
Thanks.
Jack Brown Controls Engineer Electroimpact, Inc. jackb@electroimpact.com (W)425-609-4988 (C)206-617-6482
|
| | 1 answer | Add comment |
Thursday, 23 October 2008
|
| Dynamically invoke web service Alex Ivanoff 12:44:13 |
| | I am trying to invoke a web service for which I do not have generated client proxy at run time using WCF. How do I do this?
=================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives
|
| | 2 answer | Add comment |
Friday, 17 October 2008
|
| DataGrid Paging Problem in IE Brady Kelly 13:31:31 |
| | I have a single templated column in a DataGrid, in an ASP.NET 2 web site. The DataGrid is paged, with ten rows per page.
In Firefox, all is good, as nearly always, but when I view the site trough IE, I get the following exception:
" Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page."
Any ideas on what may cause this?
=================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives
|
| | Add comment |
Wednesday, 8 October 2008
|
| Ajax & WYSIWYG text editor Lior Levi 16:10:51 |
| | Hello,
I have installed WYSIWYG <http://www.openwebware.com/> text editor in an ASP.NET page. (It worked fine)
Now I am upgrading the web site to work with Ajax that includes a Script Manager and UpdatePanel.
The page loads correctly but when the Ajax postback occurs the page returns with just the Textbox and no WYSIWYG text editor control.
Any ideas? Regards
Lior.
=================================== This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 1 answer | Add comment |
Thursday, 2 October 2008
|
| OT: Test John Warner 18:46:22 |
| | 456
John Warner
|
| | Add comment |
|
| Test number 2 Holly Styles 11:46:42 |
| | Going to get flamed for spamming now !!
Realised used old address.. doh!
Sorry.
-Holly -- Holly Styles http://hollystyles.blogspot.com
-- http://www.fastmail.fm - Same, same, but different...
|
| | Add comment |
|
| New lists are now active Richard Blewett 11:44:27 |
| | The lists are now migrated. The web address is:
http://peach.ease.lsoft.com/scripts/wa.exe
And the address to post messages is
DOTNET-WINFORMS@PEACH.EASE.LSOFT.COM <mailto OTNET-CLR@PEACH.EASE.LSOFT.COM>
Enjoy the new home
Regards
Richard
|
| | 1 answer | Add comment |
Friday, 19 September 2008
|
| PropertyGrid + FileNameEditor + TypeConverter not working. Jamie Seward 09:30:04 |
| | I am having difficulty getting a FileNameEditor working with a Property that get/sets a custom Type (let's call it TextureNameType).
First here is what does work:
1) If I add the FileNameEditor attribute to a Property that get/sets a System::String everything works fine. I can open up the OpenFileDialog and it will change the Property as desired.
2) If I change the Property from a System::String to a TextureNameType (that has a fully operational TextureNameTypeConverter attribute) everything works fine. I can edit the field in the Property Grid and it will convert to and from a System::String properly.
The problem is when I try to give both attributes (FileNameEditor / TextureNameTypeConverter) to TextureNameType at the same time. The OpenFileDialog will open but selecting a file will bring up: "Invalid property value: Object type cannot be converted to target type."
I have set breakpoints in the TextureNameTypeConverter functions and it doesn't hit any of them. So it seems the PropertyGrid doesn't even check my TextureNameTypeConverter to see if it can convert the value returned by the FileNameEditor.
Does anyone know what is causing this? Thanks for any help!
Note: all of the classes are in a Managed C++ Class Library. The PropertyGrid is in a C# project.
Jamie Seward
=================================== This list is hosted by DevelopMentorВ® http://www.develop.com Some .NET courses you may be interested in:
Guerrilla ASP.NET, May 17, 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls
Guerrilla.NET, June 28, 2004, in Los Angeles http://www.develop.com/courses/gdotnetls
Guerrilla.NET, July 5, 2004, in London. UK http://www.develop.com/courses/gdotnetls
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 1 answer | Add comment |
Tuesday, 16 September 2008
|
| RichTextBox - autoscrolling Vince P 16:20:13 |
| | C#2.0 I'm sure this was asked before but I wasn't able to find anything. --- How to automatically scroll through the text in a RichTextBox when the lines of text go beyond the lower border of the control (like when adding new lines of text in a "status window" type operation) I know I can set SelectionStart to the end, or ScrollToCaret but these methods/properties require the RichTextBox have the focus.
In this case, my richtextbox is read-only, so the user would never normally put the focus in there, plus the operation that is putting the new lines of text in there takes many minutes to run, so it's not acceptable to keep the focus in there anyway. I tried this richTrace.Text = richTrace.Text + addText + Environment.NewLine;
// richTrace.Focus();
richTrace.SelectionStart = richTrace.TextLength - 1;
When richTrace.Focus() is not commented out, the form steals the focus from whatever other form the user might in at that moment. When it's commented out, the lines of text get appened into the RichTextBox but the text is not scrolled. Is there a solution to this? -------------------- "All left-wing parties in the highly industrialised countries are at bottom a sham" - George Orwell "Rudyard Kipling" (1942)
|
| | 5 answers | Add comment |
|
| a problem with auto fit the height of an iframe Lior Levy 01:46:12 |
| |
Hi,
I have a problem with auto fit the height of an iframe.
Can I use a xmlhttprequest and load the responseText into a div?
instead of using iframe?
in that way the div can shrink and grow with the content.
someone have a sample of something like this?
Thanks
=================================== This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | Add comment |
|