Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Windows.forms.keys collection
Oguzhan Filizlibay - 12 May 2007 11:05 PM - 1 message
Hi all, I have the below code for sending each character in a string as a Keys.x enumeration. I've found that when I convert the char, it does not match the enumeration item index and thereby generates a very random output. Any ideas ...
Score internet Exp. 6.0 Service Pack 2
est - 12 May 2007 8:51 PM - 1 message
what does Ox62304390 referenced memory of Ox62304390. Memory could not be read, then says click OK to terminate. Can anyone explain what this is and how to correct ...
Score Scheduled task windows service
Jeff - 12 May 2007 8:36 PM - 1 message
Hello... I need to add a timer to a windows sevice to start a program every day at the same time.  Because timers aren't set up to do this (run at a specific time), I know I need to check the time and establish an interval so the timer ...
Score Unhandled exception on Windows98
billsahiker - 12 May 2007 5:26 PM - 1 message
Why is my application crashing on a windows 98 machine?  It runs fine on the development machine with xp pro.It was developed with VS2005 in VB. I installed framework 2 and windows installer 2 on the windows 98 ...
Score Cannot use a leading .. to exit above the top
aks - 12 May 2007 4:04 PM - 2 messages
Hi, I'm getting this issue "Cannot use a leading .. to exit above the top directory" when i access in my server, it is working fine in my local. We are using RewriterRule in web.config file. I'm using ASP .net 2.0, IIS 6.0. ...
Score [Reflection] best way to know if a Type implements an interface
Voivod - 12 May 2007 1:07 PM - 3 messages
Suppose I have an interface IPlugin, and a Type myType. What's the best way to ask myType if it implements the IPlugin interface? I came out with this, but I don't know if there are better alternatives: bool implementsIPlugin = typeof(IPlugin).IsAssignableFrom(myType); ...
Score Error code 800736cc ( KB931099)
anne - 12 May 2007 12:21 PM - 2 messages
hi keep having same windows vista update, each time i try to install it stops after 50% of completing, really stuck now.... any suggestions pls. ...
Score how to use System.Uri for Unicode based Url
piyush - 12 May 2007 2:59 AM - 1 message
I have a request coming in as: http://localhost/bhomiyo/gu.xliterate/jagjitsingh.wordpress.com/tag/%e0%a4%9c%e0%a4%97%e0%a4%9c%e0%a5%80%e0%a4%a4-%e0%a4%b8%e0%a4%bf%e0%a4%b9%e0%a4%81/%e0%a4%ac%e0%a4%bf%e0%a4%af%e0%a5%8c%e0%a4%82%e0%a5%9c-%e0%a4%9f%e0%a4%be%e0%a4%88%e0%a4%ae/ ...
Score Shortcut?
gouqizi.lvcha - 12 May 2007 1:06 AM - 3 messages
Is there any builtin shortcut to go to C:\winnt\microsoft.net \framework directory? I do not want to create a shortcut manually. I am using windows xp, 2003 server and vista. ...
Score Creating custom SettingsProvider that can read existing .config fo
john conwell - 11 May 2007 10:34 PM - 1 message
We have a distributed application and want to manage config data from a central location.  So i'm creating a custom SettingsProvider class that reads the xml config data from SQL Server.  When creating a custom SettingsProvider you override the GetPropertyValues() ...
Score Detecting .NET assemblies from native apps
Javier Estrada - 11 May 2007 6:59 PM - 2 messages
I need to determine from a native VB6 application whether a .exe is a .NET assembly or just a regular app. Is there an easy way to know that? My app launches a bunch of processes on startup.  I need to launch those ...
Score 3.0 SDK? (want to look at LINQ samples)
Derrick - 11 May 2007 3:19 PM - 2 messages
Good morning! Can anyone point me at where to download the 3.0 sdk (does that exist yet?) I see the 3.0 runtime download, don't see an sdk though?  I want to take a look at LINQ. ...
Score Memory never released in SMO (when create database)
Hao - 11 May 2007 3:01 PM - 3 messages
I have a simple application to create an empty SQL Server database (no table) in C# trying smo. I believe I closed all connections and also forced garbage collection. Why did I see memory increased by at least 9M (from 17MB to 26MB) and never ...
Score build and deployment best practices .net 2.0
aaronh64@hotmail.com - 11 May 2007 1:32 PM - 1 message
I'm hoping to hear about some people's experience/suggestions building and deploying .NET 2.0 applications that rely on shared components. Specifically, I have a few levels of strongly named depencies: [Windows Services] --> OE.DLL --> BL.DLL --> ML.DLL ...
Score Remoting + List/Array/...
Pieter - 11 May 2007 12:02 PM - 2 messages
Hi, I'm new to remoting. Does anybody know where to find a good saùmple (VB.NET preferly) that gets a list of objects, bases on 2 paramters. For isntance: all people born between DateA and DateB? For now I only managed to get 1 object, but I don't have a clu to go search ...
Score textbox query
AVL - 11 May 2007 11:43 AM - 2 messages
hi, i've a textbox on my form whenever user presses ENter key, i want to capture the entire text... how can i acheive it ...
Score newsgroup for VSTO 2005
Manish Bafna - 11 May 2007 11:32 AM - 3 messages
Hi, I dont know if this is proper place to ask but is there dedicated newsgroup for VSTO 2005. Thanks in advance for replying ...
Score Creating directories on Vista machines using .NET
Steve Barker - 11 May 2007 11:00 AM - 7 messages
Hi guys, I've noticed that simple .NET code to create directories does not seem to work on Vista. Take the following simple example (implemented in a Windows forms application): ========================== FileInfo executableFile = new FileInfo(Application.ExecutablePath); DirectoryInfo directory = executableFile.Directory.CreateSubdirectory("Test"); ...
Score bullet display
AVL - 11 May 2007 10:53 AM - 1 message
I've a listbox control.. I've some values init... I want to dsiplay these values ina bulleted manner(display ith bullets).... how can i acheive it....In general, how can we show bullet strings? ...
Score Changing extensions in PropertyGrid
Søren - 11 May 2007 7:34 AM - 1 message
Hi there, I've got a class contain some double and int values and properties.. I created a PropertyGrid and selected the class to see the values.. This is ok.. But I would like some postfixes on my fields.. I.e. instead of just showing ...
Score DataGridView Invalidate Cell reply
digicate - 11 May 2007 5:38 AM - 1 message
Hi Mike Nicol, Thanks so much for posting back your solution. It has saved me from posting this "issue" myself. My users give you a big hug 8<-->8 ...
Score EventBroker concept from the CAB
Flyte - 10 May 2007 10:41 PM - 1 message
Hi All. I have been reading up on microsoft's patterns & practices Common Application Block and although it would be impossible to re-write my application to take advantage of the CAB, I would like to be able to ...
Score XML Delete
Colin Williams - 10 May 2007 10:29 PM - 1 message
I have just started working with XML , and am sure this is easy but drawing blanks on this one! e.g <Files>   <File>C:\File1.txt</File>   <File>C:\File2.txt</File> ...
Score Free dotnet templates
Edward - 10 May 2007 10:03 PM - 1 message
Hi All, I have got all the Microsoft starter kits and they are great for learning about dotnet, but I would love to find a place where I can download more Visually striking dotnet templates that have different presentation styles. ...
Score SOS on Remoting based on httplistener?
lieberstraum - 10 May 2007 9:38 PM - 2 messages
I setup webservice on both client & server side to communicate bi-way. But the server will crash in short time, maybe 60 second. And the error message in Event log is as following, any suggestion is highly appreciated! System.AppDomainUnloadedException: The application domain in which the ...
Score BalloonTipClicked Event
rpsommers@gmail.com - 10 May 2007 7:03 PM - 1 message
Is there any way to distinguish between the user clicking the Close button or the rest of the tip? ...
Score Serialization
Chakravarthy - 10 May 2007 6:35 PM - 2 messages
I wanted to store the object of a .NET C# class in the image column of SQL Server, so i added the [Serializable] attribute to the class. At run time, it  kept throwing exceptions referring to some related class not being ...
Score MSBuild Custom task to prompt for input
sl - 10 May 2007 6:33 PM - 1 message
Hi, I want to create a custom task which will prompt the Client machine for some input. Is there a way i can do it. Thanks. Regards, Shreshth ...
Score Change default language from Visual Basic to C# in IDE.
averydarkplace - 10 May 2007 4:38 PM - 5 messages
Hello, I just had Visual Studio 2005 installed. When I went throught the initial setup I chose the language "Visual Basic" instead of "Visual C#." I want to undo this and change the default language to "C#." I haven't been able to find how to do this. ...
Score Error changing Icon for ErrorProvider
Eric - 10 May 2007 4:24 PM - 2 messages
I am attempting to change at runtime the Icon for an ErrorProvider. When I do so and call SetError(thisControl, "msg") I receive an IndexOutOfRangeException. Code snippet: .... Assembly _assembly = Assembly.GetExecutingAssembly(); Stream _icon = _assembly.GetManifestResourceStream("MyNameSpace.checkmark.ico"); thisErrorProvider.Icon = new Icon(_icon); ...
Score Small doubt regarding XmlDocument::LoadXml(String xml)
GeezerButler - 10 May 2007 3:48 PM - 1 message
According to msdn, this method throws XmlException when "There is a load or parse error in the XML. In this case, the document remains empty." I cannot understand the difference between load and parse error. IMO, only thing that would cause exception is Malformed xml. ...
Score adding performance counter to an app using EAB 2006 gives error
Vijay - 10 May 2007 3:32 PM - 2 messages
Does anybody have any idea as to why i get the following exception when trying to add a performance counter to a .net 2.0 windows application. {"The requested Performance Counter is not a custom counter, it has to be ...
Score random dll names
guy - 10 May 2007 2:24 PM - 3 messages
I have a VB2003 app (very simple) that runs on XP SP2 when I call the Constructor on XMLSerializer I get a System.IO.FilenotFoundException in mscorlib.dll quote Additional information: File or assembly name ldvld7z2.dll, or one of its ...
Score Communicating between threads
Loyola stalin - 10 May 2007 10:28 AM - 6 messages
Hi friends, How to communicate between two threads ? Scenario: I have two thread, when any one thread has done some changes , this changes should be reflect on the other thread. So mutual understanding between thread is necessary. Is it possible to resolve this problem by using Inter process communication ...
Score How to programatically envoke mouse button click
jim1800 - 9 May 2007 9:32 PM - 3 messages
I can move mouse by System.Windows.Forms.Cursor.Position = new System.Drawing.Point(x,y), but I could not find a way to invoke mouse click. Thanks for help. Jim ...
Score WPF FlowDocument/FixedDocument editor
jim1800 - 9 May 2007 5:03 PM - 2 messages
Is any WPF FlowDocument/FixedDocument editor avaliable? If not, what's the best approach to implement one. Thanks. Jim ...
Score Watch a video tutorial on .net !
Jeff - 9 May 2007 2:22 PM - 3 messages
Watch a video tutorial from Mr.Bool! Looking for a easy way to learn! Look what Mr.Bool site offers for you! Here you can find articles, tips and tons of video tutorials. Totally Free! Watch a video tutorial now. ...
Score TFSBuild MSBuild Command Line Arguments
Shikhar - 9 May 2007 12:34 PM - 1 message
Hi, I am using TFSBuild so as to do some custom build tasks. Now, i want to pass a label\path as input to the build script. As far as MSBuild.exe is concerned, there exists a command line option ...
Score bulleted display
AVL - 9 May 2007 12:02 PM - 2 messages
hi, i've a list of strings which i wanted to display these strings with bullets on my winform. how can i achieve it ? which control shud be used? ...
Score file dialog help
AVL - 9 May 2007 11:32 AM - 2 messages
hi, i've used a  filedialog ox on my winform... I want the system to pop up a message when the user doens't selects any file... how can i do this validation...any help ...
Score datagridview
AVL - 9 May 2007 11:30 AM - 2 messages
hi, ive  a datagridview cotrol on my winform.. i want to show a contextmenustrip when i right click a cell or row of my grid... how can i acheive it? ...
Score mage.exe and ClickOnce application
Cathy - 9 May 2007 10:13 AM - 1 message
I have a ClickOnce application which I want to publish once, but install to multiple servers. To do this, each .application file needs to be put through mageui to alter the <deploymentProvider> appropriately. When I save my changes in mageui, I select the option ...
Score Managed C++ Mixed Assembly fails on XP (VS2005SP1)
Olivier Matrot - 9 May 2007 8:01 AM - 3 messages
Hello, I'm working with a Managed C++ Mixed assembly that works fine on Vista, both in debug and release mode. Howerver this assembly fails on XPSP2 in release mode. Works fine in debug mode. This assemby is a DLL that is loaded from a win32 service. It is ...
Score Issues while running distributed transaction on Vista
Lalit - 9 May 2007 7:23 AM - 3 messages
I installed my application (that is created on .Net 2.0) on vista and it uses distributed transaction. It worked succesfully on win2000 server and XP machine but it does not work on Vista machine. I changed firewall settings and even disabled firewall but it didn't ...
Score How to report an error to microsoft?
Lloyd Dupont - 9 May 2007 6:19 AM - 7 messages
On "some client's computer" the folowing C# code: == XmlDocument doc = new XmlDocument(); .... doc.Save(Application.LocalUserAppDataPath + "config.config"); == throw the following error: == Exception : System.IO.IOException Message   : Unknown error "-1". Stack    :    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) ...
Score Can I bind a property directly to a setting?
Peter Duniho - 8 May 2007 11:28 PM - 3 messages
Given, for example, a component (a control, let's say) with some property  X, can I bind that property to an application setting Y  (Properties.Settings.Default.Y) in the designer somehow? I've tried playing around with the data binding stuff, but it appears to  ...
Score Winfx, Invoke
Romain TAILLANDIER - 8 May 2007 3:08 PM - 1 message
Hi group, I m new to Winfx. I have created a new project using XAML. it have create a ne class inherited from System.Windows.Windows, great. Now i am used to use delegate and calling the invoke Method of classic ...
Score "Supporting" transactions a la System.Transactions
aldousd666 - 8 May 2007 1:36 PM - 1 message
I'd like to write an ADO.NET provider for a non-relational data store.  I'd like to make it support transactions, but since it's a third party tool I'm using to store and retrieve data, and it doesn't ...
Score HttpListener
Assuncao - 8 May 2007 12:59 PM - 1 message
I create a HttpListener class that listener http://localhost:8080/Listener. When I post in this url using HttpWebRequest for .NET and write this message: message=Já volto, I don't have a problem, the text is the same when ...
Score Best practice to handle "Resource Only Dlls"
zatopek - 8 May 2007 10:18 AM - 4 messages
From the MFC-days we have an app, and depending on the users choice of international standard and language we load the appropriate resource only dll and pull the strings and other resources from there. This it not dependent on ...
Score How do I avoid performance-robbing operations while resizing a form?
Peter Duniho - 8 May 2007 3:39 AM - 7 messages
The basic idea: I've got a form in which I draw a bitmap, scaled to fit  the form.  For obvious reasons, I want to cache the scaled version of the  bitmap so that repainting the form is faster.  I need to update the cache  ...
Score Re: Is This Overkill?
Mike Hofer - 7 May 2007 9:31 PM - 1 message
No one even mentioned using XML. Certainly not me. Troll somewhere else, please. ...
Score TFS Areas
Stelrad Kypski - 7 May 2007 8:48 PM - 1 message
hi, how does one add one assign a VS (code) project to a particualr team project area? ps is there a better group to ask this? ...
Score TFSBuild Labels
sl - 7 May 2007 6:59 PM - 1 message
Hi, I am a newbie to MSBuild/TFSBuild. I am having a Team Foundation Server. I am trying to write a custom script along with it. There are 2 scripts. In first one i want to label the sources in TFS. ...
Score Crash in GC with Access Violation
attinder - 7 May 2007 6:53 PM - 1 message
My application randomly crashes and I can see some access violation using windbg. Here is dump below. Let me know what else I can see to figure out why it is crashing My app is running on .net 2.0, win2003 64bit with 2 core duo ...
Score System.String Compare vs. IndexOf
vladislavf - 7 May 2007 6:52 PM - 1 message
Hi All, Briefly: I need to find all occurrences of an input word in very large array of strings. I can not sort it. For the beginning I used String.Compare (and also CompareTo) . The elapsed time was pretty good  (the same for both methods): for an ...
Score Querying Exchange
hecsan07 - 7 May 2007 6:34 PM - 1 message
I am writing an application that queries MS Exchange. I need to get all the mailboxes and all the data related to them. Namely, I need to create account name and the size of the account or folder for each account. ...
Score VISTA and installing .NET 1.1
Evan Camilleri - 7 May 2007 4:35 PM - 15 messages
I have .NET 2.0 on a VISTA machine and am trying to install .NET 1.1 It is failing with the following error in Events Viewer: Source:        MsiInstaller Event ID:      1030 ...
Score What's the best way to do WPF application unit test
jim1800 - 7 May 2007 4:14 PM - 3 messages
...
Score Backgroudworker question
Andrew - 7 May 2007 2:53 PM - 3 messages
Hello, friends, I am using BackgroundWorker() to import files into viewer while users are working with our app. However, this backgroud file importing made the app much slower. For instance, it took about 5 seconds for the app window to refresh. Moreover, ...
Score Where to ask
David McCallum - 7 May 2007 11:26 AM - 5 messages
Where should I ask this question? I'm new to VS2005. When trying to publish a program I get the following error. I downloaded and copied the DLL into the relevant directory, so I assume I don't have the necessary permissions. ...
Score Asynchronous server implementation using either byte array or memory stream.
Roger Down - 7 May 2007 10:22 AM - 4 messages
Hi all... :) I'm in the process of coding up some "high-speed" asynchronous server. The server must handle many simultaneous connections. The amount of data to be transported on each connection is not very big, typically 1000 bytes, but ...
Score SONY DV Camera does not work with Movie maker
nick npn29 - 7 May 2007 7:24 AM - 2 messages
Hi,  I have a Sony Mini DV DCR-HC44 video camera.  Worked fine with XP using a Firewire to upload my video.  Since installing Windows Vista will not work. Have used MM to acquire capture but says can not find camera,  firewire card ...
Score XML Serialization of several objects over NetworkStream
Kitto - 6 May 2007 11:54 AM - 2 messages
I ran into a serious problem and couldn't find any help on the web: I want to XML serialize several objects and send them over a NetworkStream. The serialization for a single objects works fine and the client can deserialize it without any problems but as soon as ...
Score System error while calling fill method for second data
Rachana - 6 May 2007 4:52 AM - 2 messages
Hi, I am having vb2003-net 1.1 Code was working fine yesterday, today getting error ----------------------------------------------------------- error: An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. ----------------------------------------------------------- Last line is highlighted. error while calling method for second data ...
Next »