Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score StreamReader how do I move to BOF?
Johnnie Walker - 21 Oct 2006 6:22 PM - 5 messages
Hello, I am using StreamReader.ReadLine() to read a text file. I need a way to move the "pointer" back to the BOF (Beginning of File) without having to close the object and create a new instance. Is there any way of doing this? or is there another class within the ...
Score StreamReader how do I move to BOF?
Johnnie Walker - 21 Oct 2006 6:20 PM - 4 messages
Hello, I am using StreamReader.ReadLine() to read a text file. I need a way to move the "pointer" back to the BOF (Beginning of File) without having to close the object and create a new instance. Is there any way of doing this? or is there another class within the ...
Score How To - Bounce/Return spam to sender in .NET
OPL - 21 Oct 2006 2:22 PM - 5 messages
Hi, I've spent a fair bit of time searching the internet for an example on how to bounce an email, like what MailWasher does from .NET. My home email server gets hit pretty badly with spam, and rather than using server ...
Score Change group name witn wmi or adsi
Marek - 20 Oct 2006 9:04 PM - 1 message
Hi all, I have questation about change group name in the Active directory . I am try use the win32_group , but this change only win2000 name . Thanx Marek ...
Score Visual Studio 2005 sp1
Arne Garvander - 20 Oct 2006 8:52 PM - 5 messages
Has anyone managed to install this services pack? I have tried on several computers and it complains that it can't find Visual Studio! ...
Score Get a process's child process
Agnes - 20 Oct 2006 6:02 PM - 4 messages
Hi, Is there a way to get the current process's child processes? Or given a user, get all the processes that are running as that user using C#? Thank you in advance! Agnes ...
Score Program Userform to search, find and update the current info.
Zigball - 20 Oct 2006 3:17 PM - 1 message
I have achieved the first goal which is to be able to search and find data stored in the excel workbook. Now I need to find a way to upadate the data that was found, example: find; chris, chris found, now i need to add a last name to chris in the ...
Score [2.0] Hide a console application
Freddyboy - 20 Oct 2006 12:57 PM - 7 messages
Hi, I have a console application and I would like to hide it when it's running. Of course I took a look into the StartInfo property of the Process Class (CreateNoWindow, WindowsStyle) but when I start my application, the dos ...
Score Difference between ArrayList and List<object> ?
Murat Ozgur - 20 Oct 2006 8:23 AM - 4 messages
Hello,   Is there any difference between ArrayList and List<object> ? Which one should I use ? Thanks. ...
Score Namespace to manipulate mp3 files in 1.1
Ross - 20 Oct 2006 7:18 AM - 3 messages
Hi folks Is there a namespace in the framework 1.1 to manipulate audio files (mp3).  The sort of functionality I am after is the ability to be able to select a certain section of a file according to a specific start time from the ...
Score Question: Using STA component in threadpool via delegate.BeginInvo
Leon - 20 Oct 2006 6:49 AM - 2 messages
Hi, I have a couple of questions relating to STA component that has been bugging me. If I have a STA component and I want to call one of its methods, which takes some times to complete and so I want to run it on a threadpool by using ...
Score problem with tooltip on 2.0 framework
sonali_reddy123 - 20 Oct 2006 6:26 AM - 2 messages
Hi all, I am experiencing a strange problem for the call setToolTip while running my application on frmaework 2.0. I have found 2 messages on google discussing the same issue but there are no replys It dumps saying something like ...
Score Directory Structure to XML DOM?
xeroxero - 20 Oct 2006 3:53 AM - 1 message
I am looking for any .NET Framework  2.0 sample for recusrively read a directory structure and turn it into an XML DOM document and then recusrively read the document itself. Thanks. ...
Score pivot table
Curtis - 20 Oct 2006 2:25 AM - 1 message
Should I post this elsewhere? In MSAccess one can do a pivot table where multiple items are shown in the cells (not just avg, sum, etc.).  We're trying to get that display in vb.net.  We can connect to the database, etc.  We can even fill a datagrid ...
Score ClickOnce Deployment and the ConfigurationSection
SR - 19 Oct 2006 9:16 PM - 6 messages
I have created an application that stores my configuration settings using the ConfigurationSection, ConfigurationElements, and ConfigurationElementCollection.  Due to the complexity of my configuration (hence the collection piece) I did not try using the settings API.  I have now gotten to the point where I need to worry about deployment and updates. ...
Score Suppressing .Net-BroadcastEventWindow issue
Chris DiPierro - 19 Oct 2006 7:56 PM - 3 messages
Since migrating an application from .Net framework 1.1 to 2.0, I have an issue where when the app exits, I receive a popup error referring to the   .Net-BroadcastEventWindow having an application error. Some searching through Google groups indicates that this is probably COM ...
Score c# Add to elements of a string array
Colin Williams - 19 Oct 2006 7:47 PM - 3 messages
Hi I have a file list box with which i am passing the selected items to a string array (using copyTo), however i also need to pass the path of the FLB with each string in the array. Is it possible to add this to ...
Score CF2.0SP1 HttpWebRequest.Abort() hangs
rk - 19 Oct 2006 6:40 PM - 1 message
the behaviour of HttpWebRequest.Abort() is different between CF2.0 and CF2.0SP1 The problem is that the function call does not return in CF2.0SP1 and slows down the Mobile phone extremly. What have i to do to abort a http request with CF2.0SP1? ...
Score Help with creating a search engine in excel vba
Zigball - 19 Oct 2006 4:20 PM - 6 messages
I am able to input data, I am able to scroll through a hidden excel sheet that stores the input data by using the application. I want to be able to use the input box to search the hidden sheet for the data ...
Score monitor.tryenter
gadya - 19 Oct 2006 3:59 PM - 3 messages
I am using monitor.tryenter as follows Do Until Monitor.TryEnter(lockLastBets, 10)                                     moni += 1 ...
Score Reflection, Enums and their values?
HockeyFan - 19 Oct 2006 3:29 PM - 4 messages
I have an set of enums like the following, that are in a class that I'm using from elsewhere;             Public Enum Q001resp As Integer                 Yes = 1 ...
Score Installationpath Windows Service c#
radineviges - 19 Oct 2006 2:35 PM - 3 messages
How can i get the path of the installation folder of my service? (The service itself should access a file installed in the same directory.) Thanks in advance ...
Score Weird impersonation issue
kaliszewskim - 19 Oct 2006 1:16 PM - 5 messages
Just recently, we started getting a weird impersonation problem on one of our web apps (which used to work). IIS is set to use Windows Authentication, Anonymous is disabled Web.config specifies to use Windows Authentication, Impersonate = true Web server is trusted for delegation. ...
Score WSUS
Anil S - 19 Oct 2006 1:13 PM - 1 message
Hi, Please, we would like to know some specific information related to the new Windows Server Update Services 3.0. We know that there is a method in IUpdateServer, GetPublisher which gets the IPublisher interface. The GetPublisher method takes a string parameter ...
Score need help on using word docs
AVL - 19 Oct 2006 12:31 PM - 2 messages
Hi, I've a requirement in which I need to show a word document in the web page, allow the user to edit the document and then save the document ina particular location, How can I acheive in asp.net 1.1? need guidance.... ...
Score need help on using word docs in asp.net
AVL - 19 Oct 2006 12:30 PM - 1 message
Hi, I've a requirement in which I need to show a word document in the web page, allow the user to edit the document and then save the document ina particular location, How can I acheive in asp.net 1.1? need guidance.... ...
Score Overriding Equals method
Neven Klofutar - 19 Oct 2006 8:38 AM - 3 messages
hi, I have some questions regarding overriding Equals method so I can use it on my objects. 1) When overriding Equals method, do I have to check all fields for "equality" or just the ones I want to use to distinct my objects ? As far as ...
Score How would you do a time estimate of a conversion from VB6 to dot net?
tom c - 19 Oct 2006 12:21 AM - 7 messages
I hate doing estimates of how long things will take, but of course people want them.  I am doing some modifications on a VB6 system and the owner wants an estimate on how long it will take to convert it to ...
Score CLR Debugger points to incorrect source code
Russ - 18 Oct 2006 10:51 PM - 5 messages
I have two programs with the same name but different name spaces. i.e .   BusinessProcess.Provider and   DataAccess.Provider What happens when I debug remotely, is that the debugger will point to the BusinessProcess.Provider instead of the DataAccess.Provider.  I can ...
Score Listbox selected items to string array
Colin Williams - 18 Oct 2006 8:17 PM - 4 messages
Hi I am trying to pass the selected items from a multiselect listbox to a string array. Can any body give me a start. Thanks Colin Williams ...
Score comparison reporting -- technique suggestions?
matt - 18 Oct 2006 8:15 PM - 8 messages
hello, i have been given a challenging project at my org. i work on an inventory management web application -- keeping tracking of parts assigned to projects. in the past, i built an in-house ASP.NET reporting system. just your standard stuff -- user clicks on a report, ...
Score filter in DataTable.Select
Roy - 18 Oct 2006 7:26 PM - 2 messages
How do I specify the filter for a column with NULL value in DataTable.Select(filter, sort) function? string filter = "columnname=NULL"; ? ...
Score Embedded Resource Name Specification
Chris Moore - 18 Oct 2006 7:24 PM - 5 messages
SUMMARY: I want to override the default embedded resource naming convention and excercise complete control over the name of an embedded resource within an assembly. DETAIL: For non-dependent files, visual studio names a resource according to the convention <default ...
Score Problem with using AppDomain/Assembly Loading in Queued Component
xiaohongvz - 18 Oct 2006 6:43 PM - 1 message
Hi, After many searches online and cannot find the right solution for my issue, I decided to post my question here. If you can help or know something on this, please give me some hints?  Thanks in advance ! ISSUE: ...
Score Upgrading from .NET Framwork 1.1 to 2.0
Olav - 18 Oct 2006 5:23 PM - 5 messages
Hi, We have an app that have been compiled to use .NET Framework 2.0. It runs fine from the server but from the workstation it generates an error message something like "This program could not start because the program ...
Score Duplicate Accelerator keys
Amar - 18 Oct 2006 4:42 PM - 1 message
Hi, Ok here is the scenario. I have an application with a lot of forms and some of them have a lot of controls on them. Inevitably duplication of accelarator keys has happened. The duplication is only between the form level controls and the menus. ...
Score Dupicate accelerator keys ..
Amar - 18 Oct 2006 4:37 PM - 1 message
Hi, Ok here is the scenario. I have an application with a lot of forms and some of them have a lot of controls on them. Inevitably duplication of accelarator keys has happened. The duplication is only between the form level controls and the menus. ...
Score Missing referenced assemblies in compiled dll ...
Richard - 18 Oct 2006 1:53 PM - 3 messages
Hi, I have a project that references a couple of other dll:s. After I compile the project I use IL DASM to have a look on the Manifest of the compiled dll. The thing is that not all referenced dll:s are in there (I'm missing 3 ...
Score WSE910 and 'Root element is missing.'
Ollie Riches - 18 Oct 2006 12:34 PM - 2 messages
I am having trouble with WSE3 and domain authentication\authorisation for a web service. When using a the 'NETWORK SERVICE' account for the application pool in IIS 6.0 the web service work perfectly correctly, we are able to call the web ...
Score css failure on postback
catweezle2010 - 18 Oct 2006 10:33 AM - 3 messages
Hello all, I develop aspx pages for internal use. We use IIS 6, .net 2 and IE 6. In the head of the clientcode I call a css file like "@import url(../CSS/Styles.css);" All this runs fine. When I pubish the site to the server and call it ...
Score C# to C++ port
Luca - 18 Oct 2006 10:22 AM - 7 messages
Hi everyone, We have a dll component developed in C# and used by the other projects (exe) written in C#. This component has been tested and proved to be very robust component and so we are going to re-use it in another application (very large code base) ...
Score excel
kalaivanan - 18 Oct 2006 9:15 AM - 2 messages
hi, i did not the office version of the system in which the application is going to be deployed. is there any way of opening an excel file which is office independent. My requirement is that i have to open a template file which is in the ...
Score XMLSerialization of complex content
DirkGoes - 18 Oct 2006 8:53 AM - 2 messages
I would like to serialize some XML where one of the elements contains html content: <MyXML><DataContent><p><b>ABC News Online</b></p></DataContent><MyXML> ...
Score calendar control
Dave - 18 Oct 2006 7:46 AM - 4 messages
I have a calendar control that has runs a longish bit of code in the ValueChanged event. How do I get the control to repaint before running the code. At the moment the calendar month view stays active while the code is ...
Score TcpClient.Connect causes three first chance exceptions
illegal.prime - 18 Oct 2006 12:41 AM - 8 messages
Hi all, I've got a client/server application and just wanted to ensure that this is expected behavior.  I recently set the following configuration in Visual Studio: Debug->Exceptions->Break Into Debugger for the CLR Exceptions ...
Score "Start external program" no longer works in VS2003 once 2.0 framework installed
holysmokes99 - 17 Oct 2006 11:14 PM - 3 messages
I am developing a component in .Net 1.1, and want to debug it using the "start external program" of the debugger in the IDE. The program I want to start references both 1.1 and 2.0 components. The problem is that ...
Score BadImageFormatException
Phil Jollans - 17 Oct 2006 9:24 PM - 2 messages
Hi I have received an error message from a user of my software, which is an Add-In for Visual Studio 2005. The user is using a French version of Visual Studio. A BadImageFormatException occurs, and it appears that the FileName property ...
Score System.Timers.Timer stops firing event
Rui Pedro Sousa - 17 Oct 2006 6:09 PM - 8 messages
I have a Windows Service with a Timer object with an interval of 500 ms, in each event the windows service starts a new thread, up to a limited number of threads, and does some work. It works fine as to the users requirements, but sometimes freezes. The ...
Score Programming a "Send to" app
Bob Altman - 17 Oct 2006 5:02 PM - 4 messages
If I put a shortcut to an app in the Send To folder, then I can select one or more files in Windows Explorer, right-click on the files, select Send to -> MyApp, and my application will run with the selected file paths ...
Score Forms Auth fails after moving to another machine
dgk - 17 Oct 2006 3:01 PM - 3 messages
The app is running fine on my development machine at work as well as on our test deployment server. It's using the standard ASPNETDB.MDF in the app_data folder and sqlexpress is up and running. I can attach the ...
Score acquiring standard out, standard error
Paul - 17 Oct 2006 2:25 PM - 4 messages
Hi, I have managed to acquire the standard out & error streams of an app by starting it with System.Diagnostics.Process. Works great. How do I acquire the standard output & error & in streams of an already running application, for instance, a service. Basically I need to monitor the ...
Score Target the Framework version from 2.0 to 1.1
b6s - 17 Oct 2006 6:06 AM - 3 messages
Dear all,    I have encountered a problem of "DragDrop registration failed" problem in my .NET 1.1 dll because of the assembly binding is always going to .NET 2.0. Therefore I tried to specifiy the runtime version ...
Score Using webproxy.
trialproduct2004 - 17 Oct 2006 4:48 AM - 1 message
Hi all, I want to send webrequest using webproxy so that i can hide my Pc's ip address from server. So i decided to use proxy and set that proxy details to webrquest using webproxy. My question is if i am using proxy for sending request what details of ...
Score Problem with transprancy and opacity
Rob Latour - 17 Oct 2006 3:55 AM - 1 message
When I give my form a white background, make the transparency key white, and have the opacity set to 100% (1) everything works fine. However, if I change the opacity to 50% (.5) the rather then have a form that is transparent where the white is I get a foggy white. ...
Score vb.net not responding
panwala_bhavesh - 17 Oct 2006 3:17 AM - 1 message
Thanks in advance for any help. I have a Windows form I have written in vb.net (2003 - Standard Ed.). It reads an xml file, populates a datagrid and updates back to the xml file when changes are mde on the ...
Score What framework is running in this scenario?
holysmokes99 - 17 Oct 2006 12:14 AM - 5 messages
I have a VB6 application that references a few .Net 1.1 components, and one 2.0 component. Does that mean that all will be running under 2.0? Is there any way to force the 1.1 pieces to run under 1.1, and the 2.0 ...
Score ClickOnce Nightmares
Rex the Strange - 16 Oct 2006 10:23 PM - 17 messages
I'm trying to deploy a clickonce application using the command line (so that I can have it in a batch process). I have the following problems/questions. Please, if anyone can help, I'd appreciate it. I've managed to deploy the application using the instructions by ...
Score HttpWebRequest ThreadPool usage - strange behaviour
icesunny - 16 Oct 2006 9:55 PM - 4 messages
I posted this at dotnet.general a few days ago, but as far as there was no answer, I'll repost it here. I you think that there is even more appropriate group for this, please let me know, and I'll repost. Thanks. ...
Score Content-Type of MailMessage
JS Petit - 16 Oct 2006 9:31 PM - 1 message
Why can't we change the content-type setting of a System.Net.Mail.MailMessage? We can change this value for Attachments, but not for the message itself... It's the only thing that prevents me from creating signed/encrypted ...
Score How to get the domain name from a WinForm UserControl hosted in Internet Explorer
kellygreer1 - 16 Oct 2006 9:22 PM - 2 messages
I have developed a User Control (in .NET 2.0) that runs hosted inside Internet Explorer. like in these articles [link] [link] Is there an easy way to reference the HTML Document "parent" of this ...
Score Configure service's credentials as NETWORK SERVICE
Oleg.Ogurok - 16 Oct 2006 8:33 PM - 4 messages
Hi there, One of our admins has reconfigured a 3rd party Window Service's credentials to custom ones. I'd like to switch it back to NT AUTHORITY\NETWORK SERVICE. Is this possible without reinstalling the entire application, e.g. from command line or via a utility? ...
Score Some or all identity references could not be translated
EqDev - 16 Oct 2006 8:05 PM - 6 messages
I get and error “Some or all identity references could not be translated” when executes the code System.Security.Principal.SecurityIdentifier.Translate. It appears this happens to users that have been logged in for a long time. It appears our users are in the habit of not logging out for long periods of ...
Score Strange Performance Counter performance problem in Windows Service application
Tomasz Jastrzebski - 16 Oct 2006 7:58 PM - 9 messages
Hello All, I experience a strange problem I do not how to approach. My windows service application uses several performance counter. Before when staring the service deletes category and attempts to recreate it. *If* the category previously existed and has been deleted prior to ...
Score Exception profiling?
Anna Troiken - 16 Oct 2006 7:27 PM - 2 messages
I need to be able to see what exceptions are being raised by an ASP.NET application. I can see from perfmon that our ASP.NET app is throwing hundreds, if not thousands, of exceptions per second but very little is ...
Score Performance of Queue(of T).Enqueue(T)
Michael D. Ober - 16 Oct 2006 2:37 PM - 8 messages
When calling Enqueue, the internal array may need to be reallocated.  My question is by how much?  In the old MFC array classes, you could tell MFC how many additional elements to add to the array when it needed to ...
Score Toolbox tab and custom control
--== Alain ==-- - 16 Oct 2006 2:31 PM - 2 messages
Hi, I have developed a custom .NET control. Now, i would like to do the following thing : When user want to add this control to Toolbox, he has to select the *.dll file of my control. Therefore, i would like that automatically, my control : ...
Score drawbacks of Saving documents to Sql server
sameer - 16 Oct 2006 1:57 PM - 7 messages
Hi all, ..Net 1.1 Sql server 2000 i am working on a document managment module of my application, all i want to do here is save the documents uplaoded by the user from my winforms over webservices application\ webforms applicatoin to sql server 2000. I have been ...
Score DataFormats.HTML with foreign character questions
Leon - 16 Oct 2006 1:11 PM - 1 message
Hi, I recently have to process HTML clipboard format (both retrieval and posting) in C# and I have struck some problem when the HTML fragment contains foreign characters like Chinese or real UTF-8 sequence. When I examine the HTML clipboard data from Clipboard.GetData( ...
Score Why tampered Strong name assembly continue to work?
Leon - 16 Oct 2006 12:55 PM - 9 messages
Hi, I am always of the belief that once a strong name assembly is built, you cannot modify it without invoking the verification failure on loading. But the other day, a colleague of mine in the midst of getting something ...
Score Component in toolbox, appears and disappears...
mikemeamail - 16 Oct 2006 12:49 PM - 3 messages
Hi all, I have a windows forms project, under which i've built several component classes, e.g. extended controls like combobox, textbox and so forth... For me to be able to drag and drop them on a form, i always need to ...
Score Reference in C#
Irfan - 16 Oct 2006 11:59 AM - 6 messages
hi, C Sharp how to add references so that they are accessible to all the files in that project. Everytime a create a new file, i have to copy all the 'Using' Statement to that new file. In VB.net we do ...
Score application_start called (again) when switching domain in same app
Flemming - 16 Oct 2006 9:41 AM - 1 message
I'm using application_start for starting Remoting for the application. In iis there are specified several domains for the site i.e.: [link] - [link] When shifting between domains - application_start is called again - and this ...
Score Desperately need help on Assembly Load
antonng02 - 16 Oct 2006 8:05 AM - 1 message
Hi, I have written an application in which the main exe sits in, say <Dir1> This application will load using reflection Assembly.LoadFrom of an assembly, say Asm1 which sits inside another completely different directory <Dir2>. ...
Score Dotnet under Apple Safari browser
Edward - 16 Oct 2006 7:21 AM - 4 messages
Hi All, I am having huge problems with a very simple dotnet framework web page ([link]) , it does NOT render correctly under Apple's Safari. The DIV's do not align amd float as they should, and do in Dotnet. ...
Score printersettings.installedprinters in asp.net not working for non-domain webserver with network print
Tessa - 16 Oct 2006 6:02 AM - 3 messages
Hi, We have a .net web application, and are trying to use PrinterSettings.InstalledPrinters to list the printers installed on the webserver. (Windows 2003 server R2, IIS 6, .net framework 2.0.) The printers installed on the web server under the account used by asp.net ...
Score Datagrid inside a Panel doesn't load records
Lambuz - 15 Oct 2006 9:22 PM - 5 messages
hi all, I'm using .NET Framework 2.0 and I've created a Panel with a DataGrid inside. This datagrid was created automatically by dragging & dropping into it a datasource. The problem is that if I put this panel into a Form I can't load any ...
Score How to maintain Webservices active on window 2003 server
PBENISTY - 15 Oct 2006 5:47 PM - 6 messages
Hi, I wrote web services  on .NET 2.0 running on windows 2003 server. When I start an application using those web services, It's take a long time to activate them. If I make another call just after It's faster. ...
Score Difference of AppDomain.CurrentDomain.BaseDirectory and Environment.CurrentDirectory
cok119 - 15 Oct 2006 2:09 PM - 5 messages
Hi, all What is the difference of the follows ? 1. AppDomain.CurrentDomain.BaseDirectory 2. Environment.CurrentDirectory 3. AppDomainSetup.ApplicationBase When I do Assembly.Load(...) Which is used ? thanks ...
Score Creating a dialog in managed c++ DLL
Yoavo - 15 Oct 2006 1:48 PM - 2 messages
Hi, I have a managed c++ DLL, and I want to add a dialog box to it. How do I do it ? I tried to design a dialog box in the resources, and use the MFC wizard to attach a class to it but I got some link errors: ...
Score How-To: Custom Desktop
Lloyd Dupont - 15 Oct 2006 7:16 AM - 15 messages
A friend of mine has little kid. Big enough to use the computer. He created a kid user with restricted user account for his kid but he would like to remove the confusing start menu, etc.... with a simple, home made, ...
Score #region in VC.NET ?
--== Alain ==-- - 15 Oct 2006 6:57 AM - 3 messages
Hi, When i developed a VB.NET application i used a very useful directive : #Region and #End Region. What is the equivalent under VC.NET ? thanks a lot, Alain ...
Next »