|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
Advanced summary/image information
JJ -
15 Jan 2005 9:06 PM - 1 message
Hi all, Is there a class/namespace to read advanced information of an image file such as exposure time/date picture taken (if available) or other info of the summary tab of the file properties window? Thanks in advance, Vincent ...
Must event delegates follow the "conventional" form?
Jeff Brown -
15 Jan 2005 8:22 PM - 4 messages
More than once in the .NET documentation, they say, "By convention, event delegates in the .NET Framework have two parameters: The source that raised the event, and the data for the event [which is an instance of the EventArgs class, or of a class that's derived from EventArgs]." ...
Read all cookies?
Mark -
15 Jan 2005 8:02 PM - 4 messages
Would I be right in saying that there are no classes in .Net to read and parse all the cookies on a PC (not just those associated with a particular session), and that if I wanted to list them all (along with all the values), ...
Compability when using .NET security API to sign docs for GNUPG
AlexAdam -
15 Jan 2005 2:51 PM - 1 message
There is a wrapper (GnuPGWrapper v1.0) for GNUPG in order to encrypt/decrypt by using GNUPG executables under the .NET framework. My question is: Is it possible to encrypt the document by using the .NET 1.1 Framework security APIs and decrypt the document by original GNUPG in ...
Compile a c# code at runtime
mrVithan -
15 Jan 2005 2:05 PM - 4 messages
I have read the Microsoft.CSharp.CSharpCodeProvider in MSDN webpage and also a few article according to compile a c# at runtime. But i found that these pages still lack some completeness, such as, how to reference to external DLL(s) from the c# or etc. Therefore, I am here to ask some of you that might ...
Serviced Components : Are they still objects ?
jppop -
15 Jan 2005 1:15 PM - 2 messages
Hello, I am considering using Serviced Components to process jobs (file loading into a Document Management System) asssynchronously. I have started to write a Serviced Component to handle the job queue using MS Message Queues. This component reads the queue and calls a method using ...
Accessing type name from a static method
Vagif Abilov -
15 Jan 2005 10:48 AM - 3 messages
Hello, I've come to a problem that I am not able to solve, although something is telling me there must be a solution. Let's say I have a class MyType: public class MyType { public MyType() {} ...
C# SMTP Component
NorCalVikesFan -
15 Jan 2005 12:56 AM - 7 messages
Does anybody know of any good C# SMTP libraries that do not use System.Web.Mail (i.e. they don't require CDO)? In particular I'm looking for ones that provide the source code, but that are not "open source". Our ...
Automatically detect proxy settings
Sunny -
14 Jan 2005 9:35 PM - 1 message
Hi, I need my application (C#, .Net framework 1.1 SP1) to be able to detect the automatic proxy configuration for the user. I can get the settings if they are entered. (with GlobalProxySelection.Select) I just don't know how to obtain the settings IE receives, when ...
DataView.Find
michael -
14 Jan 2005 9:01 PM - 4 messages
It seems that the DataView.Find differs from the DataRowCollection.Find method. The latter searches the Primary Key of the table for the object supplied as the "key" parameter. However, where the DataView.Find is concerned, it seems that the Primary Key of the table is not the column ...
Declaring variables inside loops
vbMental -
14 Jan 2005 7:33 PM - 11 messages
Is it less efficient to declare variables inside loops like this: For I = 1 to 1000000000000 Dim num as integer ........(using num here)...... Next I Versus declaring outside the loop like this: ...
.NET console application fails lanching it from a COM application
ElleEmme -
14 Jan 2005 4:47 PM - 5 messages
Hi, I developed a simple console app performing some optimizations and call to DTS packages. When I run the app from console or from Visual Studio everything is OK. When I call the program from a VB6 app, DTS fail with access denied or sql server ...
ObjectManager Problem - Plea for help!
Lee Chapman -
14 Jan 2005 4:47 PM - 13 messages
I'm trying to write a custom formatter. I'm using the .NET Framework's ObjectManager class to do so, but I can't persuade the it to fixup object references in a value type. Some cut-down code that reproduces the problem I'm having is shown below. ...
ObjectManager Problem - Plea for help!
Lee Chapman -
14 Jan 2005 4:25 PM - 1 message
I'm trying to write a custom formatter. I'm using the .NET Framework's ObjectManager class to do so, but I can't persuade the it to fixup object references in a value type. Some cut-down code that reproduces the problem I'm having is shown below ...
DataSet lost row in serialization
Mauricio Pires -
14 Jan 2005 1:37 PM - 2 messages
I created 2 programs. One is a service and the other is a windows form client. The 2 programas comunicate by remoting. The client program creates a dataset with 2 tables (parent and child tables), adds some rows in these tables and calls a Service's method ...
listing of Namespaces
Rizaan Jappie -
14 Jan 2005 10:18 AM - 8 messages
Hi, its Rizaan Jappie. Is it possible to get a list of the root Namespaces on a pc as well as the path to the specific Assembly using c#? e.g. Namespace Path ...
parsing date string
BabyEmperor -
14 Jan 2005 6:41 AM - 2 messages
HI, I also had a problem with datetime. Searched a lot on the net. Read through a lot of articles. But, none was of any help. At Last i found an MSDN article which explains the datetime class. it solved ...
Types system in .NET
Paul Selormey -
14 Jan 2005 6:02 AM - 5 messages
There is many things in the design of the .NET type system I do not understand why it should be like that: 1. Why are we not allowed to provide parameterless constructors for value types? (I find it a large limitation, since I sometimes ...
ObjectDisposedException and setting dispose object to nothing
Teresa -
14 Jan 2005 2:37 AM - 6 messages
1) How necessary is it to throw the ObjectDisposedException? I see that most implementations I've come across in the web do not do this? Will I overkill my class if I throw the ObjectDisposedException in all of my public methods? ...
DLL ?
mikeb -
14 Jan 2005 1:17 AM - 6 messages
Is there a 'how to' on creating a middle-tier DLL somewhere for vb.net? I'm taking my application to the next level - I want to break out my code into a shared dll - so that I can also use it with an ASP version. ...
CF: How do I create a .jpg file from a .bmp file or bitmap?
Kingherc -
14 Jan 2005 1:04 AM - 2 messages
I'm working on a project using the .NET Compact Framework which doesn't support saving Bitmaps to files. I've successfully made a routine to save a bitmap to a .bmp file. But I'm now in need of a ...
The DoubleClick delay - reading the windows setting
Phil Jones -
14 Jan 2005 12:10 AM - 3 messages
Is there a way to read what the millisecond delay is for a DoubleClick as set within the Window's Control Panel? Thanks everyone!! == Phil ...
useUnsafeHeaderParsing (KB 888527)
Arsen V. -
13 Jan 2005 11:35 PM - 2 messages
Hello, Based on the information provided by [link] one should be able to add a useUnsafeHeaderParsing attribute to the <httpWebRequest> element in the Machine.config file on a .NET 1.0 SP3 ...
Creating chm help files from xml documented code
Jeremy Chapman -
13 Jan 2005 11:18 PM - 2 messages
I've tried ndoc to create chm help files from the xml files produced by visual studio. It's pretty good, but I'm wondering is there other utilities, perhaps microsoft ones, that do the same thing? ...
SoapTypeAttribute (System.Xml.Serialization) Example Code Fails
David Bozzini -
13 Jan 2005 9:43 PM - 3 messages
[This is a repost, never got an answer the first time, 12/17/2004] This is for Microsoft .NET Framework 1.1. The example code given in the .NET Framework Class Library MSDN documentation for SoapTypeAttribute Class [C#] compiles but fails at runtime. Can someone ...
object reference not set on Request obj in session_start?
www.regonline.com -
13 Jan 2005 9:25 PM - 2 messages
Seemingly randomly our web servers blow up and return nothing but this error, always when trying to access the request object in session_start. We have made sure to always refence it as context.request, but that has not fixed the ...
problems after installing .net framework v1.1 SP1
bhavin -
13 Jan 2005 8:41 PM - 1 message
I have a C# application that basically has a module for printing images.. I am programatically definiing the printer settings also viz. printer name, paper size etc. On a button click event for a button "printer settings", I show a pop up form that displays the basic printer settings. ...
Common Language Runtime detected an invalid program
Andrew Puente -
13 Jan 2005 7:57 PM - 3 messages
I am developing an ASP.NET application on Visual Studio .NET 2003 (VB.NET code). There are numerous forms, and a few user controls. Each form does not have any more than 40 controls on it. It had been running fine in Debug ...
WindowsIdentity._GetCurrentToken() Access is denied
Robert Phillips -
13 Jan 2005 7:27 PM - 1 message
I periodically get an ApplicationException "access is denied" in the WindowsIdentity._GetCurrentToken() method. Reflector shows the _GetCurrentToken() method as [MethodImpl(MethodImplOptions.InternalCall)] private static extern IntPtr _GetCurrentToken(); which i believe means it is an internal call into the CLR.Does anyone have ...
Compare object[] Not Working for Hashtable Keys
localhost -
13 Jan 2005 6:43 PM - 2 messages
I have a HybridDictionary with a key containing an object array. It's not matchng with the following code. What is a better way to do this. HybridDictionary hd = new HybridDictionary(13); object[] oneKey = new object[]{"a", 0 , "a" }; ...
Detecting redirection of standard ports
PIEBALD -
13 Jan 2005 5:45 PM - 4 messages
I often write console programs that need to detect when stdin and stdout are redirected. I found out how to detect this for stdin by using API calls GetStdHandle() and PeekConsoleInput() (from a Dr. GUI article). But I still need to detect such for stdout, is there a way? ...
UTF8 Decoder
Luke -
13 Jan 2005 4:13 PM - 2 messages
I am using the following code to decode a UTF string from an XML element. All the fonts being used is Arial Unicode MS and the UTF characters are not corrupt as they display correctly within the raw XML page. The code below ...
why cant i enumerate shell windows in a windows service
Misbah Arefin -
13 Jan 2005 1:05 PM - 3 messages
Hi, Im writing a windows service in C# and I get the following error when trying to enumerate all shellwindows "COM object with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} is either not valid or not registered." What could be the problem?? Any solutions?? ...
creating Satellite Assembly
RbanBph -
13 Jan 2005 11:17 AM - 5 messages
Hi, I developed an multi lingual application in vb.net(VS.NET 2003) using ..Language and .Localizable property of window form. I want to create a satellite assembly to store all resources and then retrive them based on the ...
DNS name resolution in .Net
Rob Levine -
13 Jan 2005 11:15 AM - 3 messages
Hi All, Is there any way within .Net to do a DNS lookup ONLY from a given server about its own DNS records? I am having a problem with name resolution which is detailed in this post (posted to m.p.d.l.csharp yesterday): ...
Exception messages in localized application
james -
13 Jan 2005 11:07 AM - 3 messages
Hi all, We've got a VB.NET application which is localized. I would like to make sure that any exceptions are logged to our application's log file in English, not the currently selected language. The problem is that by the time we get into the exception handling ...
windows control library via browser!!!
thomas77 -
13 Jan 2005 9:51 AM - 1 message
i am having a weird problem... i developped three dll (.net control library) which are hosted on my IIS... two of them are simple c# assemblies, an the third one is managed c++ dll, which wraps native unmanaged c++ code. ...
Suggestions needed...
Synthia -
13 Jan 2005 9:29 AM - 2 messages
Hello All, I would like to write a program which would be capable of creating and encoding 2D barcodes (a student project, but a serious one). I need to figure out the principles of information encoding into 2D barcodes. I've searched all over the web and could find only short descriptions and ...
Re: Synchronous HttpWebRequest and HttpRebResponse
Patrik -
13 Jan 2005 9:19 AM - 1 message
I've got the same problem using a webservice returning datasets. The dataset, tables, and colums are reported to be undisposed. Is there a fix for this? I've tried the suggestions posted but to no avail. /Patrik ...
Setup project's Registry Editor ... Directory shell command?
Mark T.. -
13 Jan 2005 8:22 AM - 3 messages
I need to register MyEXE as described bellow: [HKEY_CLASSES_ROOT\Directory\shell\MyAppCommand\Command] @="C:\Program Files\UserChosePath\MyEXE.exe %1" What variable shall I use in the Setup project's Registry Editor HKEY_CLASSES_ROOT\Directory\shell\MyAppCommand\Command (Default) [??????]\MyEXE.exe %1 ...
Interoperability ASP.NET : Perl using SOAP Web Services
josh -
13 Jan 2005 4:15 AM - 1 message
Hey All, I had some Real issues with this stuff over the last week so i thought i would give anyone interested a heads up... Josh Interoperability ASP.NET : Perl using SOAP Web Services. Introduction This paper is aimed at those who have a Perl (CGI) script and through the ...
Custom Formatter - ValueType ISerializable Deserialization Problem
Lee Chapman -
13 Jan 2005 3:27 AM - 2 messages
I'm trying to write a custom formatter. I'm utilising the ObjectManager class, but I can't persuade fixups to work properly with structs. What am I doing wrong? The first call to Test() works as expected: c.s.o ends up as a boxed ...
Shared/Static methods & functions
MPF -
13 Jan 2005 1:18 AM - 3 messages
When designing a n-tier architecture, what is the preferred method/function accessibility? <Specifically for asp.net apps> A private constructor and shared/static methods & functions? A public constructor and non-shared/static methods & functions? Are there any drawbacks with regards to performance with either model? ...
graphical overview
Ilann -
13 Jan 2005 1:03 AM - 2 messages
are there graphic,printable documents that put togoether the global hirerarchy of the .net framework? Ilann ...
.net.framework 1.1 service pack 1
rledford -
13 Jan 2005 12:59 AM - 2 messages
I downloaded seervice pack 1 and when I go to my "Add or Remove Programs" window, I do not see where service pack 1 has been installed. The only loaded program that I see is .net Framework 1.1 as being installed. How can ...
Intermittent Failed to map the path error
Matt -
13 Jan 2005 12:37 AM - 3 messages
Hi guys, Getting a strange error intermittently on one of our production sites and wondering whether you could shed some light on it. System.Exception: Exception thrown initializing DBSystemValues collection ---> System.Web.HttpException: Failed to map the path '/log/'. ...
Determine Internet Connection
Brett Robichaud -
13 Jan 2005 12:25 AM - 4 messages
This may be an obvious/stupid question, but I was unable to google an answer. How can I tell if an Internet connection is available? My app cannot count on a connection always being there and before I start a ftp or http request ...
Microsoft .NET Framework 1.1 Service Pack 1
Willie -
13 Jan 2005 12:19 AM - 7 messages
The Following Updates were not installed: Microsoft .NET Framework 1.1 Service Pack 1 This is the message I get when I try to download an update using windows update. How can I fix this so I can download the update? ...
Connecting to SQL Server
TOM -
12 Jan 2005 11:26 PM - 2 messages
Hello, I am having problems with the server explorer making a connection to the SQL server. I can see the instances that i want to connect to but when i try this error comes up PROVIDER CANNOT BE FOUND. IT MAY NOT BE ...
How to cast to a dynamic type ?
John -
12 Jan 2005 11:07 PM - 5 messages
I am confused how to cast to a type which is obtained from reflection: Normally, this is what we do: using ABC; .... if (obj is ABC.MyClass) { ((ABC.MyClass)obj).MyProperty = "value"; } but now I want to obtain the type of ABC.MyClass from reflection, like this: ...
relation between .Net framework and .Net
sauj -
12 Jan 2005 8:11 PM - 7 messages
What is the relation between .Net (2002, 2003) & .Net Framework (v1.0, 1.1..) Is one a subset of the other? ...
Messagebox and Windows Service
Patrick Jox -
12 Jan 2005 7:00 PM - 2 messages
Hi, I have my .NET application that is registered as as windows service. This application exposes an interface to a third party library. During login to the third party application I get a Messagebox when a wrong password is used. ...
System.Web.Mail
Patrick Jox -
12 Jan 2005 6:57 PM - 2 messages
Hello, I try to send dotnet MailMessage via dotnet SmtpMail.Send. This works fine on my machine. The question is now, what prerequisites do I have to do this. As far as I see the framework only wraps CDO. So is CDO required? If yes ...
Need assistance connecting to AD using LDAP
Luis Esteban Valencia -
12 Jan 2005 4:42 PM - 4 messages
I've never worked with LDAP before, and I'm having issues connecting to our AD for user authentication. I am trying to use the code found at: [link] ...
InvalidComObjectException when searching in AD
MP -
12 Jan 2005 4:31 PM - 4 messages
Hello, I am writting an application that requires to list all users in our domain, the code is below. My application is written in C# 2.0. I enumerate all users fine with my code, except that when I exit the application normally I ...
Repeater control for winforms?
Mats Lycken -
12 Jan 2005 4:18 PM - 1 message
Does anyone know a of a control that does the same thing as the asp.net repeater does? I've seen some tutorials on how to write custom ContainerControls but I want it to support datasources to make my data operations as smooth as possible. ...
File Upload ASPX - Access Denied Problem
CuMPeEWeEr [No MCSD] -
12 Jan 2005 2:59 PM - 2 messages
I have a very simple file upload script (see below), it works for me locally. But when I ftp it to my production server, whenever I click on the "Upload" button, it prompts me for the Windows userID/password. If I hit ...
dotfuscator problem
GooglePoster -
12 Jan 2005 2:06 PM - 3 messages
I've dotfuscated a c# library assembly and added it to a (non-dotfuscated) web project. I only want the library assembly to be protected. Now I get the compilation error: The type or namespace name 'UtilsLib' could not be found (are you ...
trap exceptions by ASP pages
Eitan -
12 Jan 2005 1:41 PM - 2 messages
Hello, I want that every error in every asp/javascript/ etc... will trappped to a central asp page (not dotnet), which I declare on my site. Also : suppose I have a dotnet site platformed - is the declaration for that may be ...
ComboBox.DataSource = {DataView}; But after is still = Nothing
Jon Brunson -
12 Jan 2005 1:20 PM - 1 message
I've got a very weird problem, when I run the following code the ComboBox (Me.cmbInputDevice) is always empty. The ComboBox is on a UserControl in a Class Library. I'm using VS.NET 2003 with SourceSafe 6.0d (the problem occurs whether the code is checked in or out) ...
Framework 1.0 and 1.1 differs in conversion of decimals to strings
Johan Lachonius -
12 Jan 2005 12:55 PM - 2 messages
Lets say i have a decimal value i the database e.g. 20.35. The field in the database has a scale of 3. When I read this value into a DataSet and the convert it to a string using ToString() the result is different depending on ...
windows installer - Code
txemuki -
12 Jan 2005 12:43 PM - 2 messages
Hello, I have to create an installer (setup project in visual studio). First, a window is shown with 3 radio buttons, so that the user can select a language. Then, the rest of the installer should show the texts in the ...
Program handles Gui event while staying in WebServiceProxy.Invoke() when debugging
Roeland -
12 Jan 2005 12:09 PM - 1 message
Hello, When calling the Invoke() method of a web service proxy class, this normally is a synchroneous call, that stays untill the results are received. Gui events are not handled in the mean time. However, when having attached the debugger to the process (or performing F5 ...
unicode character problem
sheena -
12 Jan 2005 11:40 AM - 3 messages
Hi, I am finding that quite a few unicode characters are not being recognised in my .NET c# application. Here's a snippet that demonstrates my problem: String sigma_str = "Sigma (\x03a3)"; String pi_str = "Pi (\x03a0)"; String str = sigma_str + " : " + pi_str; Console.WriteLine(str); ...
Max amount of data for a form
Stephen Dougherty via DotNetMonster.com -
12 Jan 2005 11:37 AM - 2 messages
Is there a maximum amount of data that can be loaded onto a form, or processed by a form?? I am building a standalone application, which has a load of data accociated with a button click event. After adding the latest batch of data, and debug building, I get the following error: ...
System.Web.Services or what?
Roland Giesler -
12 Jan 2005 10:06 AM - 10 messages
I have an CS app that I had to re-install after rebuilding a server, but can't get it to run. It's a C# .net web application, which accesses a SQL server DB. When the page is loaded it crashes in a file .\Dominican\Web ...
Can ClickOnce deployed app use C++/COM dlls?
Ulrik -
12 Jan 2005 8:20 AM - 1 message
Hi, Can a .NET application deployed with ClickOnce rely on unmanaged COM/C++ dlls? And can such dlls be deployed using ClickOnce as well? If yes, I assume that the unmanaged dlls will have very limited access to e.g. file system and registry...?? ...
Re : Very Urgent - dll catastrophic failure
Sophos -
12 Jan 2005 8:08 AM - 1 message
Hi, thanks for the quick reply :) Unfortunately it didn't work as the dll can't be added in that way apparently. Maybe it's just not possible I don't know, it works fine with asp though... I'll post it on the interop group as you suggested!! ...
Traversing the objects in Memory Heap
Amanpreet -
12 Jan 2005 7:59 AM - 3 messages
I want a way to traverse the objects in Memory Heap in my .NET application. I used System.GC class but it could only provide me with the function that returns the memory allocated, but couldn't provide me with the list of all ...
RTF parsing class library
casey chesnut -
12 Jan 2005 5:37 AM - 5 messages
I have small snippets of RTF that i need to render in a new file format. So from the RTF, i need Font (size, color, family) info, and the text / hyperlink that needs to be displayed. Is there an API that I can call to get this info? ...
Can someone suggest?...
James -
12 Jan 2005 4:51 AM - 4 messages
In my application, the majority of data is taken not from a database, but is generated by the application itself. Now before report generation I have to spread these data across tables for the sake of a single report. It's too inconvenient. ...
Remoting - Callback
Mike Peretz -
12 Jan 2005 4:45 AM - 5 messages
I am trying to use callbacks within my remote object. I was able to do it, however I had to publish the client as well known server and a singleton. So I am not sure how the server will callback multiple clients. So is there a ...
Client hangs waiting for a completed remote object method
af -
12 Jan 2005 2:01 AM - 1 message
Hi, The client is an app to access the remote device thru protocol driver/DeviceIoControl. The client intermittently hangs, waiting for the remote object method to finish (example: rDevice.Open()). On the server, the method completes as indicated by a console message at the end of the method. ...
Problem creating publisher policy
cpnet -
12 Jan 2005 1:49 AM - 4 messages
I'm trying to create a publisher policy for one of my assemblies, with no luck. My assembly file name is: "myAssembly.Database.NET.dll". I have created a publisher policy file as per the instructions at: [link] ...
SmtpMail.Send creates duplicated Message-ID (repost)
Michael Leung -
12 Jan 2005 1:13 AM - 1 message
This is the second post as a subscriber to a managed group because to previsous one do not have any response. Sorry for that because it is really urgent!!!! I use SmptMail.Send everywhare in my Windows 2000 server running ...
MSHTML Without the WebBrowser control
Joshua Belden -
11 Jan 2005 10:25 PM - 2 messages
I have an application that runs as a service. It needs to parse a websites dom using mshtml. The problem is, to get the document I'm trying to use the WebBrowser control. That barfs though and says that the control can't run ...
Good Book on Exception Handling
nashak -
11 Jan 2005 9:58 PM - 2 messages
Hello, Can you recommend some good books on Exception Handling (at all levels - UI, Biz and Data)? Thanks, ...
System ID
Lance Johnson -
11 Jan 2005 9:15 PM - 4 messages
I'm pretty sure there's some kind of unique ID for everybody's system. Some kind of Security System ID SSID or something along those lines. I've seen these before and wondered if anybody knew how to retrieve one of these for ...
mscorwks.dll not loaded error
yams -
11 Jan 2005 8:03 PM - 1 message
Hi all, I have copied an vb.net exe from my desktop to my laptop. When I try to run the exe in my laptop it gives me an error message telling that "C:\\.............\mscorwks.dll not loaded". But my laptop has the .net ...
Deserialzing delegates using a customer formatter
Jerry Rig -
11 Jan 2005 8:00 PM - 1 message
I'm writing my own custom serialization formatter (i.e. implementing the System.Runtime.Serialization.IFormatter interface). I've managed to get it to serialize and deserialize all serializable types except delegates. The System.Delegate class implements the System.Runtime.Serialization.ISerializable interface, so I can ...
MIME parser and generator
Himanshu -
11 Jan 2005 7:27 PM - 1 message
I have been looking for support for parsing and generating a mime stream in CLR. One of the simple scenarios for which I need this support is User types some data in an HTML enabled text control. I take this data and ...
sending email with base64 encoded file
Damien Debin -
11 Jan 2005 7:21 PM - 1 message
Hi, I have some troubles sending emails with base64 encoded file... (I use VC# and .Net 1.1) Doing : MailMessage oMessage = new MailMessage(); oMessage.To = ".**@serensia.com"; ...
Using reflection to cast an object - how?
BBM -
11 Jan 2005 6:47 PM - 6 messages
I have an application where... 1) I know the class name of the object I want to instantiate. 2) The class uses the class factory approach to create objects. 3) The factory method is a static member of the class. The name of this ...
DateTime.ToLocalTime() gives inconsistent results
Avinash P. -
11 Jan 2005 6:37 PM - 7 messages
Hi all, DateTime.ToLocalTime() gives inconsistent results upon shifting the time zone of the machine on which the program is running. string LocalDtTimeString =
Convert.ToString(DtClass.ConvertToLocalDateTime(System.DateTime.Parse(strDate))); where strDate is the string representation of the date fetched from the ...
Sending signed and/or encrypted mail using Digital ID
Yonatan Leonov -
11 Jan 2005 5:01 PM - 1 message
Is there a way to use .net to send signed and/or encrypted mail using Digital ID, (from Verisign for example) ? If there isn't built in class for this, can I use Interop and CDO to do it ? Or is there any unmanaged code (open source) which I can call from .Net ...
Very Urgent - dll catastrophic failure
Sophos -
11 Jan 2005 4:07 PM - 2 messages
Hi, I'm trying to use the Overpower ImageLib dll to create charts in .Net - I'm using this because we are migrating from asp and it's way quicker to keep the code as is. I've imported the dll to the project ...
Need Help w/ "syntax error converting datetime from character stri
PK9 -
11 Jan 2005 2:37 PM - 3 messages
I'm getting the following error and I'm not sure how to remedy: "syntax error converting datetime from character string". I have a .NET application that is accessing a SQL Server database. I've created a stored procedure that takes two dates as inputs and does a SELECT ...
FileSystemWatcher : Need to find out who's firing the events (username,id ?)
zcamster -
11 Jan 2005 1:29 PM - 1 message
Hi, My goal : I need to log all fs events in a directory, modification timestamps , usernames . I ve got a little application logging the filesystem changes based on FileSystemWatcher. I need to get the accountname of the user triggering the events , how ...
Trust an Assembly
Robert -
11 Jan 2005 1:15 PM - 2 messages
I have created a C# .exe that is going to be run from a network drive. I copied the .exe along with the required .DLLs to a directory on the network drive. I installed an icon on the user's desktop pointing to the .exe. When ...
Delivering content to multiple devices
nmosafi -
11 Jan 2005 12:42 PM - 3 messages
Hi there This is not a specific question, rather just asking for advice and drawing upon your prior experiences. I am in the process of developing a website using .NET and ASP.NET. The website is to be an online lottery. I have a database, data layer ...
Can a DB driven .Net app be distributed on CD?
CH -
11 Jan 2005 12:39 PM - 5 messages
Hi all, any advice on the following would be much appreciated: My company wishes to distribute a CD which provides our customers with a limited functionality version of our Website, which can be used off-line to compose orders, find out product info etc. ...
How do i change the back color of messagebox
Bala -
11 Jan 2005 11:37 AM - 4 messages
How do i change the back color of MessageBox ...
Extra zeros when showing decimal value from database
Johan Lachonius -
11 Jan 2005 7:55 AM - 3 messages
I'm using framework 1.1 and SQLServer 2000. When I read decimal values from the database into a DataSet and the show the value i e.g. a TextBox, an extra zero is added to the end of the value. If the value is 20.35 in the database, ...
Microsoft.ApplicationBlocks.Cache error '80131534'
chris.bingham -
11 Jan 2005 6:24 AM - 1 message
Forgive my ignorance or ask for clarification if I have used the wrong terms. I am a system admin supported trying to resolve the following error. I am recieving the error included when trying to access a custom assembly made available to ASP with COM Interop, registered into ...
Apparent bugs in System.IO.File.Exists and System.IO.FileInfo path handling
brant.usenet -
11 Jan 2005 2:51 AM - 6 messages
Forgive me if this has already been covered; I've searched and found nothing related. File.Exists() seems to clean up the path passed into its path parameter. Specifically, it seems to 'fix' any directory names within the path with leading or trailing spaces. ...
Directory Locks??
yk63fd01 -
11 Jan 2005 2:35 AM - 2 messages
hi, Is there a way to obtain a filesystem lock on an entire directory (exclusive access so that no files are added, changed or deleted while the lock is en force). Thanks. ...
Character conversion in .NET
Paul Selormey -
11 Jan 2005 2:02 AM - 6 messages
I have an integer, say 0x819A, which represents the Japanese shift-jis coded star character. How do I convert this to the System.Char? (that is the unicode encoding). Best regards, Paul. ...
RE: Smart Device option does not appear in Visual Studio .NET
R. Thomas, aka Xtreme.Net -
11 Jan 2005 2:01 AM - 1 message
oops.. the question seems to be missing.. I guess one of you guys need to jot down the question again... R. Thomas ...
Re: Smart Device option does not appear in Visual Studio .NET
jen -
11 Jan 2005 1:37 AM - 1 message
I have the same exact problem as you. Is there any way that you can email me if you find a solution? Thanks. ...
|
|||||||||||||||||||||||