Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Detect if app was started from VS
bz - 17 Nov 2007 8:55 PM - 3 messages
Hi, I need to detect if the winform application was started from within VS 2005 Is it possible? Thanks ...
Score Outlook Express Profile is Corrupted
stuart - 17 Nov 2007 3:12 PM - 2 messages
My outlook express was working fine until last week.  Now it receives messages, but will not send anything.  There are 6 messages in my outbox, and when I click on outbox, the computer freezes.  I am told I by Embarq help ...
Score How to find the dimensions of .jpg image?
Andrew - 16 Nov 2007 8:46 PM - 2 messages
How to find the dimensions (width & height) of a .jpg file in c#.net? Thanks. ...
Score Troubles with configuration files for application with several several dll
bz - 16 Nov 2007 3:10 PM - 3 messages
Hi, I have an application that consists in one main exe and several dll's (BL, DAL, Util, etc) Each dll project has its own settings (in Properties\Settings.settings file). When I build the solution, in the bin folder of each project it VS ...
Score DotNetBar (dot net bar) is it good
Coder - 16 Nov 2007 3:03 PM - 1 message
I am wondering if anyone used dot net bar, and if they had any problems with it... here is the UI controls they offer [link] ...
Score Trying to separate "base classes" into a separate "baseclasses.cs" from "baseclass.xsd"
Marc Scheuner - 16 Nov 2007 6:07 AM - 2 messages
Folks, I have three WCF services that I need to implement - they're all nicely defined using WSDL and XSD. Common helper and utility classes that all services use have been extracted into a "baseclass.xsd" file, which gets imported into each serviceA.xsd, serviceB.xsd etc. - these ...
Score Determine the closest numbers to a specified number
Mike - 16 Nov 2007 4:28 AM - 3 messages
Hi.  I have a datatable containing a column named 'Price'.  The datatable is populated with records of varying prices ($1 - $50,000).  How can I select one record from this datatable, and then determine the 5 rows that are ...
Score which .NET to install with VS 2005 pro
Daniel Brower - 16 Nov 2007 2:18 AM - 4 messages
I am planning on installing Visual Studio 2005 Professional on Windows XP SP2.  The XP machine has all the updates and it has .NET framework 2.0 installed.  It does not have the other .NET framework versions.  Do I need ...
Score Custom Attributes
Steve - 16 Nov 2007 1:26 AM - 1 message
Is there a way to make .NET automatically read custom attributes?  I'd like to use an attribute to perform some automatic application initialization, much like how i believed the STAThread attribute worked, but my custom attribute's constructor is not called unless GetCustomAttributes is called. ...
Score WCF / MSMQ - Multiple Client Queues
Demetri - 15 Nov 2007 10:12 PM - 2 messages
So, how would one define multiple client queues? In other words, this is how you declare a single client queue....     <client>       <endpoint    name="ClientResponseEndpoint"                 address="msmq.formatname:DIRECT=OS:.\private$\demoClient" ...
Score .net 2.0 listview last column width
Sid Price - 15 Nov 2007 5:30 PM - 2 messages
I have searched the web and have not been able to find a simple solution to maintaining the last column of a listview so that it fills the remaining form/panel width. Anyone have any pointers? Thanks, Sid. ...
Score A wish: Execute under Lock method in sync objects
valentin tihomirov - 15 Nov 2007 12:49 PM - 3 messages
It is quite convenient to use the basic primitive: lock(object) {     method(); } On the other hand,    rwLock.AcquireReaderLock(-1);    try { // unlock finally         method();    } finally { ...
Score OleDbCommandBuilder - Data type mismatch in criteria expression
mik - 15 Nov 2007 10:01 AM - 3 messages
Hi, i'm using an OleDbCommandBuilder to update data from a dataset to a access database. It work fine, but if i use a table with a decimal column data type, i get this error, when performing the update Data type mismatch in criteria expression ...
Score Mdbg Stack Frame,
laurent - 15 Nov 2007 9:51 AM - 1 message
Hi, I need some help with cordbg. I try to do some search on google, but don't find any answer. I try to use MDBGEngine to analyse the trace stack frame of an appplication which have deadlocks. For this, I use the following code: ...
Score for some reason webbrowser1.Navigate() works but causes thread to terminate, i want to do a GetEleme
DR - 15 Nov 2007 8:16 AM - 1 message
for some reason webbrowser1.Navigate() works but causes thread to terminate, i want to do a GetElementyByID in the same thread that executes the navigate.. i am totaly stumped: [link] ...
Score How to show the message box (.net 2.0) in culture specific?
Gangadhar Kotu - 15 Nov 2007 6:08 AM - 8 messages
Hi, Here are the things we have already tested. Installed WinXP MUI pack also, but still showing the text in English only. Could you please help me in this regards to get the text of MessageBox in other locale. Regards ...
Score How to make string align by string.Format() in CJK?
Dancefire - 15 Nov 2007 12:49 AM - 5 messages
Hi, string.Format("{0,-20} : {1,-10}", a,b); The above code will output string left aligned, 20 or 10 for string a and b. It true for English, but not for any CJK language. If a or b are CJK string, it will never aligned. The reason is that ...
Score Doing more in a BHO...
Bogey - 15 Nov 2007 12:19 AM - 1 message
In order to create a BHO, I need to implement (at least) the IObjectWithSite interface. Once registered, any IE instance will call the implemented SetSite(object) method. At this point it's easy enough to hook up handlers for the ...
Score FileInfo.MoveTo failure modes
planb - 14 Nov 2007 11:59 PM - 2 messages
Hello, I'm looking for documentation on how FileInfo.MoveTo acts when it fails -- in particular I want to know if it's possible to end up with the file in both locations. I've searched MSDN and used google, but apparently my search skills ...
Score Thread.CurrentPrincipal.Identity.Name
Ken - 14 Nov 2007 3:03 PM - 2 messages
I'm testing on web application (.net 1.1 using C#). when I tested the application on local machine (IIS5.0,XP professinal), it return value for Thread.CurrentPrincipal.Identity.Name However, When I tested the same application on the server (IIS6.0, 2003 ...
Score Downloadin Webpages
barry - 14 Nov 2007 2:19 PM - 2 messages
Hi On a web page, there is a dropdown list, when you select a country from the dropdown list, info for that country is displayed, can i programmatically simulate this behaviour. can someone give the code for such a download. ...
Score Office 2007 License keys
Lyle - 14 Nov 2007 1:00 PM - 2 messages
I bought Office Student/Home 2007 with 3 license keys and installed it onto my new Acer Laptop, this notebook was faulty so I returned it to Acer and they replaced it, so I aain installed Office and yes you have guessed it, it ...
Score Default value of any type
GeezerButler - 14 Nov 2007 11:12 AM - 4 messages
For any given type i want to know its default value. There is a neat keyword called default for doing this like object x = default(DateTime); but I have an instance of Type (called someType) and something like this cant work ...
Score System.Net.Socket question
Steven Van Eyck - 14 Nov 2007 8:13 AM - 2 messages
Hi there I've been trying to implement an ACTIVE FTP mode in my class. Read tons of great articles about the difference of Active and Passive modes, in particular this one, which I find very good [link], but it seems that many have tried to ...
Score Attributes for Intellisence in Visual Studio
Motley - 13 Nov 2007 10:20 PM - 4 messages
I would like the objects/methods/properties I create to show informational text in Visual Studio's Intellisense. For example, when a method shows up in Intellisense, you see it's signature, but you will often see a description of ...
Score Reading PDA serial number or ID
NormD - 13 Nov 2007 9:37 PM - 5 messages
Assuming such a thing exists, I'm looking for a way - ideally a Framework function - that would read the serial number or machine ID or system GUID or some unique identifier of the a PDA (Pocket PC or other PDA with the Compact ...
Score Serializing Partial Classes (Datasets)
MarcG - 13 Nov 2007 9:35 PM - 8 messages
I have a dataset called Checklists created with the dataset designer giving me Checklists.designer.cs It has a [Serializable()] attribute, i.e., [Serializable()] public partial class Checklists { .... } In another file, ChecklistsExt.cs I have public partial class Checklists{     public string var1; ...
Score compressed emails now dissappeared
denny - 13 Nov 2007 6:49 PM - 2 messages
outlook express compressed my emails and now I cant find any from the last 2 months I really need to locate some of them Please can any tell me where have they gone or how to restore them and why has it done this ...
Score Missing DLL: Microsoft.ManagementConsole
ssg31415926 - 13 Nov 2007 5:48 PM - 4 messages
I've installed MMC 3.0 onto my XP machine.  When I start mmc.exe and do Help > About Microsoft Management Console I get the new Help > About screen which shows: Microsoft (R) Management Console 3.0 ...
Score Chinese Language Pack??
Evan Camilleri - 13 Nov 2007 5:46 PM - 3 messages
I am trying to do a web application with chinese.  I managed to BUT javascript alert and VS2005 display of resource files in designer mode does not show the correct chinese characters but 'boxes'. I tried to installed the Chinese language pack.... but in vain! ...
Score Office Mac 2004 Update 11.3.9
harryb - 13 Nov 2007 3:33 AM - 2 messages
Like to keep Office as up to date as possible and have downloaded and installed this update. States has been installed, however Word etc. still report version as 11.3.8. Should it not read 11.3.9 if installation was successful? ...
Score Directory.CreateDirectory() issue
Ken - 12 Nov 2007 6:38 PM - 2 messages
I'm currently working on framework 1.1 webapplication using C#. When I test the application located in my local machine, it works fine to "Directory.CreateDirectory()". However, I test the application use in server machine, it doesn't work. ...
Score syntax question in dealing with .Net api
trillich - 12 Nov 2007 6:06 PM - 2 messages
hi -- not sure where the best place would be to post this; please point me elsewhere if there's another list more apropos... we've got two apps, one in java, one in .Net, and we're trying to put ...
Score [ClikOnce]Why ClickOnce needs the Framework 3.5 on Vstudio 2008 Beta 2 ?
Oriane - 12 Nov 2007 5:08 PM - 5 messages
Hi there, I deploy my WPF application with Visual Studio 2008 and ClickOnce. My application runs with the ;Net 3.0 framework, but during the installation steps, the .Net 3.5 component is required... Do you know why ? Could VStudio ...
Score Localization of Resources
Evan Camilleri - 12 Nov 2007 3:10 PM - 4 messages
I am trying to write japanese/chinese characters in a resource file.  Hope can I make it and how can i make it work? Evan ...
Score sequential workflow integrated with ASP .net appln
Sriman - 12 Nov 2007 2:11 PM - 1 message
The scenario goes like this. I have a sequential workflow integrated with ASP .net appln. The workflow runtime has persistance Service added to it. As soon as the user submits the page, a new workflow instance is created and it persists in the backend persistance store as the first activity is ...
Score Print server
BB - 12 Nov 2007 1:51 PM - 3 messages
Hi to all ! For list of all papersize forms of default printer I'm using: Dim i As Integer, cFormName as String Dim oDoc As New System.Drawing.Printing.PrintDocument() For i = 0 To oDoc.PrinterSettings.PaperSizes.Count - 1     cFormName = oDoc.PrinterSettings.PaperSizes(i).PaperName ...
Score Question about Strong Naming (signing), public keys and tampering?
ola.theander@otsystem.com - 11 Nov 2007 7:40 PM - 4 messages
Dear subscribers I have a question related to strong naming (signing) of assemblies to avoid tampering. The reason for this question is that I'll like to investigate the means to protect sensitive data in an application. For starters, one thing that I don't fully understand, is there ...
Score Is there any problem to use anonymous methods under multi-thread?
Dancefire - 11 Nov 2007 6:49 PM - 4 messages
Hi, I tried the code below:         for(int i = 0; i < 10; ++i)         {             int a = i; ...
Score wpf - how to use one resource definition in many places as identical objects
Rolf Welskes - 11 Nov 2007 4:52 PM - 7 messages
Hello, because there are no managed news group for window presentation foundation and one has told me I can use this, here my problem: I have  one resource-definition, for example in an own xaml file, a large number of objects defined as ...
Score User defined Serialization for LINQ to SQL generated classes
Benjamin Kalytta - 11 Nov 2007 4:19 AM - 1 message
Hello there, is there a way to override predefined Serializer for LINQ to SQL class objects? MSLinqToSQLGenerator generates classes for accessing Database. I want to create a Webservice which should be able to do certain Operation on Database and should serialize certain objects. Serializer will try to serialize ...
Score User defined Serialization for LINQ to SQL generated classes
Benjamin Kalytta - 11 Nov 2007 3:39 AM - 1 message
Hello there, is there a way to override predefined Serializer for LINQ to SQL class objects? MSLinqToSQLGenerator generates classes for accessing Database. I want to create a Webservice which should be able to do certain Operation on Database and should serialize certain objects. Serializer will try to serialize ...
Score xp shuts down unexpectedly
JAN - 11 Nov 2007 2:35 AM - 3 messages
I have had this problem for some time now and cant seem to fix it, cpu temp ok, and windows just shuts down without warning and randomly. Last shutdown brought up a blue screen with this. A problem has been detected & windows has been shut down to prevent damage ...
Score !!! SOFTWARE 4 SALE !!!                                                                       73067
david007 - 11 Nov 2007 1:18 AM - 1 message
Software for sale.  Huge Selection.  10 Euros/CD.  Worldwide shipping. Windows, Mac, and Linux.  The very latest software, stock video/photo, games, etc. Contact David for details: david***@worldnewstonight.net r6O]_o?6h ...
Next »