|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
[OT]: is windows limited to 26 drives?
Lloyd Dupont -
19 Nov 2005 11:26 PM - 3 messages
With USB Key, Rakc, Network mounted drive (particularly them), CD ROM, DVD, etc... IT's easy to have a lot of drive. I wonder.. could I go over 26 drive? (as in A to Z drive)? How do I do that ? ...
Need Assistance?
Omega Warrior -
19 Nov 2005 10:11 PM - 1 message
Problem with the following code: Public Sub RecursiveDeleteDirectory( _ ByVal AsDirectoryName As String, _ ByVal AbDeleteSubDirectories As Boolean, _ ByVal AbDeleteFolders As Boolean) ' If we should delete our subdirectories too, ' browse first through all our subdirectories If AbDeleteSubDirectories Then Dim m_sSubdirectoryName As String ...
ANN: Fusion workshop updated to .NET 2.0
Richard Grimes -
19 Nov 2005 8:38 PM - 1 message
I have updated my Fusion workshop to .NET version 2.0 and I have added two new sections on native images and unmanaged assemblies. This is 60,000 words and is totally free. The workshop describes all the features of Fusion and leads you through these features with examples ...
Missing ASP.NET tab in IIS after 2.0 installation
delfuria -
19 Nov 2005 8:01 PM - 5 messages
Hi all, I have installed the .NET ver 2.0 and all seems to works. But i have a problem. I cannot have the ASP.NET tab under my IIS properties. What's happened ??? Thanks in advance ...
Raw Socket Send TCP SYN packet
Marco Spiga -
19 Nov 2005 6:25 PM - 3 messages
Hi to all, I'm trying just for fun to writing an application that completly handle a TCP connection. The first problem is connect with an endPoint server. In this case a set my remoteSocket: Dim sck As New Sockets.Socket(Sockets.AddressFamily.InterNetwork, ...
vbc.exe and assembly info
Chris -
19 Nov 2005 4:47 PM - 4 messages
When I compile using vbc.exe, I can't afford vs.net just yet, how do I specify the information that is usually in the assembly info file, such as version number and location of the strong name file. Can this be included in ...
Please help?!
Omega Warrior -
19 Nov 2005 3:09 PM - 2 messages
Code: Public Sub RecursiveDeleteDirectory( _ ByVal AsDirectoryName As String, _ ByVal AbDeleteSubDirectories As Boolean, _ ByVal AbDeleteFolders As Boolean) .... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click How do i run the RecursiveDeleteDirectory Sub on button1_click??? ...
How to call a function in VB.NET
Omega Warrior -
19 Nov 2005 1:59 PM - 3 messages
example: Public Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load call NameOfTheFunction ' when i do this way i get an error: Argument is not specified for a parametar? And the Function is Public! ...
Does anyone know how to delete folders in VB.NET
Omega Warrior -
19 Nov 2005 1:07 PM - 2 messages
The folder is C:\test and the folder is full with files, i need a code that lets me delete that folder and all of its files? And a little a side question... How to call a function. For example: ...
Windows Sokets (tcpclient) problem.
mulham.haffar -
19 Nov 2005 12:28 PM - 2 messages
hi.. im writing an application that uses tcpclient/tcplistener to send file via network, what im doing is dividing the file into small parts each part equals the buffer size (8192) and send the parts sequentialy. the problem is : the listener is detecting a stream to be read once every two times the ...
how to test if a given ctype is of a given template?
Lloyd Dupont -
19 Nov 2005 3:54 AM - 2 messages
I would like to know if a type 'aType' is a Nullable<T> With the debugger I have tried typeof(Nullable<>).IsSubclassOf(typeof(Nullable<int>) typeof(Nullable<int>).IsSubclassOf(typeof(Nullable<>) ...
Nullable & reflection
Lloyd Dupont -
19 Nov 2005 3:43 AM - 2 messages
I have written a class which automatically fills up an object's field from a DbDataReader. I'm trying to do some data type conversion before assigning the fields. Unfortunately Convert.ChangetType((long) x, typeof(Nullable<long>)); throw ...
How can I control the dependency of a DLL assmebly
jamiec -
19 Nov 2005 1:28 AM - 1 message
Hi, As you know we can use a manifest file to control the dependent assmebly. For example, I can have a WinForm application with manifest file, my-application.exe.manifest, file to control the dependent DLLs. But my problem is that I am building a DLL assmebly (class library) and is ...
Executing DOS commands from ASP.NET
Daniel Portal -
18 Nov 2005 11:17 PM - 2 messages
Hi there, I'm trying to execute a DOS command thru ASP.NET. I tried to use Console.Write("myCommand") but doesn't seem to work. Does anybody knows how can I do it? ...
Active Directory Groups Membership
Perryt -
18 Nov 2005 11:07 PM - 3 messages
I need to find out if the user that is logged in (in active directory) is a member of a certain group? Please help. ...
Thread handle leak
FourLow -
18 Nov 2005 9:54 PM - 5 messages
I have a question regarding garbage collection for threads. I am currently developing on Visual Studio 2003 on .NET Framework 1.1. When I run this simple app and watch the Handle count in Task Manager, the handle count keeps ...
.NET 2.0 and Active Directory
scorpion53061 -
18 Nov 2005 9:10 PM - 2 messages
When attempting to do an install through a group policy to my network of 2.0 (using netfx.msi) it reports that "The install of application Microsoft .NET Framework 2.0 from policy 20framework failed. The error was: the installation source for this product is not available. Verify that the ...
Can't seem to supply an XmlIgnore override on a Control's Site me
nickdu -
18 Nov 2005 8:13 PM - 1 message
I'm trying to serialize, via the XmlSerializer, an object which is derived from System.Windows.Forms.Control. It throws an exception complaining about not being able to serialize the Site property. I expected problems and my plan was to work through them one at a time supplying an XmlIgnore attribute ...
Need Assistance?
Omega Warrior -
18 Nov 2005 6:59 PM - 2 messages
I have a problem with the following code: The Form1 Class inherits: Inherits System.Windows.Forms.Form Public Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick End Sub Public Function DeleteFolder(ByVal strPath As String) As Boolean ...
Need Assistance?
Omega Warrior -
18 Nov 2005 6:56 PM - 1 message
I have a problem with the following code: The Form1 Class inherits: Inherits System.Windows.Forms.Form Public Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick End Sub Public Function DeleteFolder(ByVal strPath As String) As Boolean ...
Framework Config Security
Steve B. -
18 Nov 2005 6:50 PM - 5 messages
In the Administrative Tools - .NET Framework 1.1 Configuration (Microsoft Management Console (MMC)) window how do remove the "read-only" designation after the Machine Runtime Security Policy (i.e. Machine (Read-Only)) Well some users on the network have the read only designation others don't ...
StringDictionary does not persist values after sometime
rajmgopal -
18 Nov 2005 6:28 PM - 1 message
Hi I am using a StringDictionary to store and pass a few string values retrieved from sql server database. I am using these values as inputs to several stored procedures After processing a few 100 or 1000 records , I get an error saying that ...
Problem with wrong data in dataset
loralea -
18 Nov 2005 5:56 PM - 1 message
We are experiencing an intermittent problem with our ASP.NET application. When using the SQLDataAdapter to fill a dataset, the dataset is sometimes being filled with the wrong data. It appears to be data from different threads. For example, when retrieving a product ...
Event in interface
Anthony Yott -
18 Nov 2005 5:37 PM - 3 messages
Anyone have an example of defining a custom event (i.e custom delegate) in an interface? ...
Select framework for application development
John -
18 Nov 2005 4:55 PM - 4 messages
I have both framework 1.1 and 2.0 installed on my desktop. I sometimes need change dot net framework for my application need. Does some one knows how to switch framework on the Visual Studio 2003? If Visual studio can not do this, ...
grant fulltrust to an interop assembly
Cosimo Galasso -
18 Nov 2005 4:09 PM - 1 message
How can I grant fulltrust to an interpo assembly (Microsoft.Office.Interop.InfoPath.SemiTrust.dll) ? ...
How to embed an active x control in a webpage?
harsha.80 -
18 Nov 2005 3:26 PM - 2 messages
I want to create a download control from the webpage which will prompt the user to download and register dll files from a browser whenever that particular page is loaded. Please Help. ...
Add webservice extension to Win XP
Bill nguyen -
18 Nov 2005 1:56 PM - 2 messages
I need to add web service extension to my Win XP SP2 machine to run ASP.NET app with VS.NET 2003. Currently, I can't find web service extension option in my local IIS service. Do I need to reinstall VS.NET with web service option? ...
opening File/Dir with default application (also without extension)
Pieter -
18 Nov 2005 1:33 PM - 5 messages
Hi, From my VB.NET 2005 application I need to be able to open Files an Directory's with their default application: - A word-doc must open in word - A excell-document in Excel etc - in case it's a folder it must open the Folder ...
windows service onStop()
kishor -
18 Nov 2005 11:24 AM - 1 message
Hi, I want to perform some actions when windows is shuting down. on stop event is not firing when has some code inside it. Regards, Kishor ...
PE file vs. (.NET)exe file? tempPE folder?
Lore Leunoeg -
18 Nov 2005 10:46 AM - 4 messages
Can anybody tell me the difference between a PE file and a .NET-exe file? Do both contain MSIL Code? Where can I find PE files? Where and when are they created? In all documentations about the .NET compilation process a PE file is ...
Can someone please help?
Omega Warrior -
18 Nov 2005 9:27 AM - 3 messages
I'm having a difficulty... Dim fso Dim filename fso = CreateObject("Scripting.FileSystemObject") Dim File, Folder, FileCollection Folder = fso.GetFolder("C:\test\") FileCollection = Folder.Files For Each File In FileCollection fso.DeleteFile(File) Next and when i run this code I get the following error: ...
BackgroundWorker bug
Liviu Uba -
18 Nov 2005 9:00 AM - 1 message
I have vs2005 final, on a dual processor machine running win 2003 server. I can report that the ProgressChanged events of the Backgroundworker are most of the times executed in a random order. This is counter-logical and not specified in the documentation. ...
Read textfile. Carriage Return Characters.
Nathan Taylor -
18 Nov 2005 6:13 AM - 5 messages
I have a text file which has a Carriage Return Character in the middle of the line. When I open the file in notepad the character is shown as a box whereas in word it acts as a carriage return. ...
Net Framework on a German Windows 2003 Server
Alexander (ABSULT) -
18 Nov 2005 5:54 AM - 1 message
Hi ! I got a request from a customer If he can use NetFramework 2.0 on a German Windows 2003 Server. Are there any Problems about non english Character or others like different Service Names... He wants to use it in an Production Environment and wants to know if this ...
copy paste problem
Lloyd Dupont -
18 Nov 2005 3:33 AM - 2 messages
I'm implementing my own, custom, internationalized text editor. I'm trying to implement copy/paste right now. Which cause me some trouble. I'm using .NET 2.0 beta 2 (I have ordered and I'm waiting for VS Standart ...
Bug in ASP.NET 2.0: AlternateViews MIME Email
warren -
18 Nov 2005 2:01 AM - 1 message
To add a text and body part of an email MSDN help has an example: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref10/html/P_System_Net_Mail_MailMessage_AlternateViews.htm Which lists the code I have below (doesn't work). I get an illegal ...
Outofprocess component to load dll multiple times
vikrantca -
17 Nov 2005 10:52 PM - 2 messages
Hello, I have a fortran dll that is developed by somebody else (available commercially). This dll uses a COMMON block which is not threadsafe and hence causing quite a bit of problems. Iam using a managed c++ class as a wrapper for this native dll. Is there a ...
Question about installing .net 2.0 when .net 1.1 is present (HELP)
jkudrle -
17 Nov 2005 10:20 PM - 3 messages
Hi, I have several machines with .net 1.1 installed. On these machines are a few MMC plugins that have been developed with Visual Studio 2003 (.net 1.1). I have noticed that if .net 2.0 is installed on these machines that the ...
ActiveX and .NET
Yama -
17 Nov 2005 9:54 PM - 2 messages
Hi, Can you please explain to me how I could write .ocx using the new .NET? Any resources I can check out? If possible to create .ocx does the user require to have .NET framework installed? I would like to create a video stream using directX that will enable my ...
.NET Framework 2.0 installation issue
MikeLI2004 -
17 Nov 2005 8:58 PM - 2 messages
I installed .NET Framweork 2.0 Beta 2 in my machine before. Now I am ready to install the new production release. I have uninstalled the Beta 2 version but I keep getting the message to unstall the Beta 2 version when I try to ...
System.Net.Mail
Arne -
17 Nov 2005 7:28 PM - 3 messages
How do I authenticate to a mail server with .Net 2.0? ...
What is error in my code?
sjlee -
17 Nov 2005 7:19 PM - 2 messages
Hello, Following code is a fragment of the ClipShare ([link]) other download site => [link] When I copy english html text in IE and then paste it to ms word, ...
IsInRole slow to respond
mfdatsw1 -
17 Nov 2005 7:12 PM - 1 message
I use my own Windows group names to establish permissions for parts of my application, and the "IsInRole" method worked beautifully. However, my company moved and set up a new network. Now, the first call to IsInRole takes about 25 seconds! Subsequent calls are as speedy as before. Also, if I unplug ...
Can't find System.EnterpriseServices.Wrapper.dll
Chris Koenig -
17 Nov 2005 5:10 PM - 1 message
I had to uninstall/reinstall/fix my .NET 2.0 installation and now am running into the following execption: ------ System.IO.FileNotFoundException was unhandled Message="Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The ...
App profiling
No one -
17 Nov 2005 5:01 PM - 5 messages
I am looking for tools to profile an application while running. There seems to be a resource problem and I am not sure if it is the application (Windows Forms .Net written in C#) or the database server (Informix). ...
WMI question
AndrewEames -
17 Nov 2005 4:48 PM - 1 message
I currently am using RegisterDeviceNotification et al. to handle USB plug and play events in my application. I'd like to replace this code with a WMI implementation using the System.Management classes since it will clean up a few things. However, I am confused about one thing - It appears I am required ...
[NET 2.0] applicationSettings section, static?
Egbert Nierop (MVP for IIS) -
17 Nov 2005 4:33 PM - 1 message
Hi, I use this new feature, but it seems that when I compile the assembly, and copy it to another machine, the settings are kept statically. Even using the Reload method does not have this re-read it from any .config ...
VS2005 Team System & VSS good? I don't think so.
orientphoebus -
17 Nov 2005 4:14 PM - 1 message
I tried the new Visual Studio 2005 Team System + VSS2005, no Team Foundation Server. Some questions pop into my head: 1. WITHOUT TFS, can VSS2005 integrated with VS2005? What I like is the VS6 kind of integration: when I modify a source file in VisualStudio, ...
.NET 2.0 Unmanaged code
brianczako -
17 Nov 2005 3:19 PM - 6 messages
Has anyone come across issues with migrating to .NET 2.0 from 1.1 in dealing with unmanaged DLLs? Brian ...
Binary Serialization of Events
Dave Booker -
17 Nov 2005 3:18 PM - 4 messages
I have a class with some public event fields. It appears that when I try to serialize this class using a BinaryFormatter, the BinaryFormatter also tries to serialize all the objects subscribed to the event. Is that right? If that is what's going on, I don't want it to try to serialize subscribers ...
MDI Children Dialog Forms?
Gordan A Ziza -
17 Nov 2005 11:22 AM - 4 messages
Hello everyone, We are developing a MDI application and what we would require is the following: 1. To open a MDI child form as Form1 2. To open another MDI child form as Form2 that would act as a dialog ...
Yet another Major JIT Optimizer BUG
Boaz Sedan -
17 Nov 2005 9:23 AM - 22 messages
Try this in Release mode of .Net 1.1 SP1: class Bug2 { class C : IDisposable { public C() {} void IDisposable.Dispose() {} } bool A() { return true; } public Bug2() { if (A()) { Console.WriteLine("A Is True!"); ...
ClickOnce concept deploymnet issues
Grzela -
17 Nov 2005 9:16 AM - 2 messages
I've got the following scenario: I've got a CD with my product. The product has two parts: 1. Server side ASP.NET application and 2. Client side Winform app. My customer first installs software from that CD on the web server. Setup ...
About Environment.UserDomainName
Lau Lei Cheong -
17 Nov 2005 6:22 AM - 6 messages
Hello, I'm writing a .NET v1.1 Windows Application which will try to determine current username by Environment.UserDomainName + "\\" + Environment.UserName. This approach works in normal condition if I run it directly. (returns "<DomainName>\<Username>") ...
Security Framework Implementation
Sam.Net -
17 Nov 2005 5:51 AM - 3 messages
hello all, I am creating the security framework for one project. There is one security check I want to perform. That only the users with perticular role will be able to create object of perticular class. Structure I am thinking of is as follows ...
question on system.net.mail.snmpt
Carlos -
17 Nov 2005 5:10 AM - 1 message
Hi all, I am trying to upgrade an app under 1.0 to 2.0, and one of the features is to use the .net.mail.snmtp namespace instead of web.mail. I got an exception that says: Command not implemented. The server response was: Command not Supported ...
UNZIP file using c# code.
jyoti.khera -
17 Nov 2005 4:40 AM - 3 messages
Hi, Can anyone tell me if there is any inbuilt utility in windows shell API with the help of which we can Unzip the files. Regards Jyoti ...
Managed Code Restart
John Bowman -
17 Nov 2005 4:16 AM - 5 messages
Hi All, I need to have my app restart the PC after the user makes some parameter changes. I've been looking around but can't find an answer in the doc's yet. Is there some managed method on a class somewhere in the framework (1.1? or ...
Quick serialisation question...
David C -
17 Nov 2005 3:42 AM - 3 messages
Hi All, I have a class that is defined in a strongly named assembly. I serialise an instance of this class using the BinaryFormatter. When I deserialise it, is there any way of ensuring that the object was serialised from the authentic ...
Regular expression in asp.net using Validator control
Rahul -
17 Nov 2005 3:35 AM - 2 messages
I am using Validator control in Asp.net in my Log On page. and using a Regularexpression property of the control. My requirement is to have a password that would have 1) atleast one alphabet 2) atleast one numeric ...
At lost with WMI... Will worship anyone that can help in anyway :) Sharon
ricolee99 -
17 Nov 2005 12:01 AM - 12 messages
Hi everyone, I'm trying to invoke my .exe application from a remote server. Here is the code: ManagementClass processClass = new ManagementClass ("\\\\" +"RemoteServerName" + ...
Access denied to Process.StartTime for User account
dfcastles -
16 Nov 2005 11:21 PM - 1 message
After upgrading to the DotNet Framework 2.0, my app now generates an "Access Denied" exception when trying to look at the StartTime of the processes running on a Win2K server. This code was running without errors on the site using the DotNet Framwework 1.1. I am using the ...
Reflecting for Explicitly Implemented Interface methods
Hexar Anderson -
16 Nov 2005 10:47 PM - 4 messages
We are using a tool to managed our help documentation for a .NET library we support, and we have a policy not to document private or internal methods or explicitly implemented interface methods. For .NET 1.1, it was easy for our ...
ds.RemotingFormat=SerializationFormat.Binary doesn't work over HTT
Mark Walsh (KAZ Technology Services) -
16 Nov 2005 10:13 PM - 4 messages
I have some code that returns a dataset with the RemotingFormat property set to binary but when I look at the HTTP packets on the network the dataset is being serialized as XML! I'm using an architecture that is WindowsFormApp -> HTTPRemoting -> COM+ ...
XMLSerializer and SqlParameter in .NET 2.0 vs .NET 1.1
MSDNAndi -
16 Nov 2005 10:11 PM - 16 messages
Hi, I have the following problem. I have a .NET 1.1 based software that relies heavily on SqlParameters and also on storing them in config-files which I create using XmlSerializer. In .NET 2.0 I do not seem to be able to serialize SqlParameter the same way ...
System.Diagnostics.PerformanceCounter
Mark -
16 Nov 2005 10:03 PM - 4 messages
Hi... I've been reading some of the msdn pages on old-style custom performance counters and the .Net framework System.Diagnostics.PerformanceCounter, and it's a pretty stark contrast. All of the older, unmanaged code documentation I've found says "here are ...
System.Data.Oledb Oracle Client and dual hard drives
petro -
16 Nov 2005 9:50 PM - 3 messages
I am trying to deploy an asp.net application to my web server. My application uses system.data.oledb to connect to an oracle database. On my development machine I have the oracle client 10g installed and my application ...
Persisting information - Serialization
nickdu -
16 Nov 2005 8:41 PM - 2 messages
We have the need to persist data to a configuration database. We want the format of this data to be XML. There are two approaches that come to mind that seem to fit the bill. Below are the two approaches I'm referring to. ...
v1.1 .NET Framework on Toshiba Tablet PC - special versions or issues?
Rodzilla -
16 Nov 2005 8:23 PM - 1 message
We have a sales automation application that runs on Windows XP, but gets a variety of runtime errors on a Toshiba tablet pc system described below. The errors make me think there is something amiss in the .NET Framework somehow...for example one of the errors is a combo list box control that ...
Visual Studio 2005 and ActiveDs
Fuehner -
16 Nov 2005 4:30 PM - 2 messages
Hi... I'm using .NET 2.0 and I have a requirement to do some ActiveDirectory modifications; specifically revolving around group membership... In .NET 1.1 I new I could use for this the COM object ActiveDs to accomplish this but, what I wanted to find out is if there is a native .NET component ...
Service Problem - service on local computer started and then stopp
Grigs -
16 Nov 2005 4:23 PM - 9 messages
Hello, I have created Windows Services before using C# and have had no problems. Not to mention, the one I currently am having problems with worked great for the first 3 days. Then I added some more SQL code and went to test it again ...
Help with SocketException
Daniel Corbett -
16 Nov 2005 2:48 PM - 7 messages
I am getting the following SocketException error: "An attempt was made to access a socket in a way forbidden by its access permissions" Here is the code: HttpWebRequest loginFormRequest = (HttpWebRequest) WebRequest.Create(Properties.Settings.Default.LoginUrl); HttpWebResponse loginResponse = (HttpWebResponse) ...
asp.net on server 2003 with IIS NOT installed, System.DllNotFoundException: Unable to load DLL (aspn
EP -
16 Nov 2005 2:39 PM - 2 messages
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to load DLL (aspnet_isapi.dll)." Of course the dll is able to be found, it's still in the framework directory ...
Re: Post 1000 Message to Newsgroups Promoting my site and earn $100.00
Kevin Spencer -
16 Nov 2005 1:59 PM - 1 message
I'll tell you what. Keep your $100.00. I will DEmote your site for free, SPAMMER! ...
Date Parsing question
Satya -
16 Nov 2005 1:36 PM - 2 messages
Hi All I have some date value as “100505†and its format as “MMddyyâ€. How to generate DateTime variable using this data? TIA Satya ...
.NET Runtime Optimization Service Error on Microsoft.ReportingServices.QueryDesigners
Jim -
16 Nov 2005 12:34 PM - 1 message
After installing the SQL Server Tools I noticed the following error in my event log. It was the only file that didn't compile. Any ideas what would cause this or steps to take to get it compiled? Thank you in advance. ...
When where the first .Net Beta's released
Mark Nijhof -
16 Nov 2005 12:24 PM - 3 messages
Anybody know the dates when the first .Net Framework 1.0 Beta's where released, I have a hard time finding it. Thanks, -Mark ...
Smartclients clickonce and smartcards question
Chris Lewis -
16 Nov 2005 12:20 PM - 2 messages
We are planning to deploy a smartclient application to remote locations using the .NET 2.0 ClickOnce technology. This smartclient needs to be able to communicate with a smartcard reader USB device that will be installed on the remote machines. ...
Check for .Net 2.0 framework
peterbf -
16 Nov 2005 11:40 AM - 3 messages
I have a homepage where I instanciate a .Net 2.0 component in an object tag, but before instanciating the component, I would like to to check first if the machine has the .Net 2.0 framework installed. Anyone who knows how/if I can do this in javascript? ...
Read-Only Constructor
Sathyaish -
16 Nov 2005 11:20 AM - 4 messages
So, is there something called a Read-Only constructor in the .NET framework? Someone mentioned the term to me and I've been trying to make sense out of it. I didn't get a link on the Web even. ...
Can't call WriteXml on a class implementing IXmlSerializable
Florent Pillet -
16 Nov 2005 10:45 AM - 3 messages
Maybe I'm trying to do things in a counter fashion. I created a class implementing the System.Xml.XmlSerialization.IXmlSerializable interface. When trying to compile code that explicitely calls my class's WriteXml method, the compiler tells me that the class doesn't have such a method. ...
get remote file?
guoqi zheng -
16 Nov 2005 10:42 AM - 1 message
I need to have an application to login to a remote server adn download a file to my local machine everyday. This file is protected with windows authorization, I got a user and password to login, this file is always in a ...
Editing file on UNC share
Roshan -
16 Nov 2005 9:58 AM - 1 message
Hi, I am writing an app which needs to access & edit files on a remote share using the UNC path. I can access and edit the file using a simple StreamReader/Writer as long as the share has full access for everyone. ...
Threading and UI Updating
Woo Mun Foong -
16 Nov 2005 3:21 AM - 2 messages
Hi, I am new to Multithreading in .NET and like to seek some guidance on the following:- Some Background --------------------- I wrote a Data Acquisition program (usings Sockets) that monitor and get data from a few Industrial Machines. I need to query their Internal Relays and Data Register for status and ...
How to block a switch to other forms in appl when a modal form is
Sandy -
15 Nov 2005 10:05 PM - 1 message
Hi all, I have an application where I have these forms: - main form/window of the appl - a modeless form, with ShowInTaskBar=true - a modal form launched from this modeless form. When this modal form is launched from modeless,the whole application is ...
Decompressing a ZIP File.
E.M.H.S. -
15 Nov 2005 9:55 PM - 2 messages
Hello. How does one open and decompress a (PK) zip file using the System.IO.Compression.DeflateStream class, with zip entries and all that jazz? Thank you. ...
Creating A ZIP File.
E.M.H.S. -
15 Nov 2005 9:51 PM - 2 messages
Hello. How does one create a (PK) zip file using the System.IO.Compression.DeflateStream class, with multiple zip entries and all that jazz? Thank you. ...
Database setup with Windows Installer
Bagger -
15 Nov 2005 9:39 PM - 2 messages
I've got an application that requires a SQL Server 2000 database. I have added a custom action to my setup project to create the database during the install. That part works fine. What I need to do now is set up a user for the ...
Searching for a list of supported CPU types
ComSat1@community.nospam -
15 Nov 2005 8:49 PM - 2 messages
I'm trying to find a list of .NET supported CPU types or even better a software routine that would tell me if the CPU on a PC is supported. Any ideas? ...
does the windows file handle change?
Daniel -
15 Nov 2005 8:03 PM - 2 messages
does the windows file handle change? are file handles unique to the whole operating system or just the current directoy? if a file is opened then closed then opened again, does the file handle remain the same? ...
Getting literals through reflection...
Andrew -
15 Nov 2005 7:56 PM - 1 message
I'm trying (in .net 2.0) to get the list of strings used in a method (not necessarily variables, could be literals). I don't see an obvious way to accomplish this with the MethodBody reflection class. Looking at the IL, I see that the "ldstr" command seems to always be used to ...
How to find assembly dependencies???
Peter Franks -
15 Nov 2005 7:00 PM - 4 messages
Is there a tool or method to find out all assembly dependencies for a particular .net binary (.exe or .dll)? I have a case where a deployed application is apparently missing a referenced assembly, but I can't determine which one... ...
how to get file id in C#
Daniel -
15 Nov 2005 6:20 PM - 3 messages
how to get file id in C# is there any kind of unique id that can be obtained for any file in a file system? ...
Getting HWND of Console (.net 2.0)
Michael D. Ober -
15 Nov 2005 6:13 PM - 3 messages
I need to get the HWND of a console application so I can use the Windows API functions to control window position. The console class doesn't provide full control over a window's position and whether or not it's minimized, ...
How can I read the files of a directory on a web server?
Nico P. -
15 Nov 2005 5:37 PM - 8 messages
ok, here is my situation: I want to create an app that dynamically loads new components from a web server. to do that I have to read all files in a directory on the webserver. How can I do that? ...
Control. DoubleBuffer = true causes a lot soft page faults
tbatwork828 -
15 Nov 2005 4:59 PM - 5 messages
Related to my other post on Graphics.FillRectangle and a lot of page faults caused by this call... We determine that when Control.DoubleBuffer=true to avoid the flicker effect, Graphics.FillRectangle causes a lot of soft page faults - order ...
Remoting problem
Dincer Uyav -
15 Nov 2005 4:29 PM - 1 message
I have socket server application(srvC) which connects to Remoting server(srvR) acts as an integration server to clients. Each client connection to srvC handled in a separate thread. srvC uses one client tcp channel to connect to srvR. I am using a sink(usersink) at srvC which adds an identifier to ...
is there a way to run a program independent of the .NET version?
Flip -
15 Nov 2005 4:27 PM - 9 messages
If I have a program created with .NET 1.1, is there a way to run that with 2.0 without having to install 1.1? I would like to have the minimal number of versions on my box. Or is the version of the exe intimately tied to the ...
.NET Framework 1.1 still there.
Abdelaziz -
15 Nov 2005 4:26 PM - 3 messages
Hi all there! I've installed .NET Framework 2.0 and the previous version is still there. Does anyone know if version 1.1 can be uninstalled? Thanks for your valuable input. ...
Microsoft .NET Framework 2.0 Configuration (Management Console in windows control panel) only with S
Next »
|
|||||||||||||||||||||||