Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score store, compare and retrieve encrypted strings from sql 2005 server
Nils - 15 Apr 2006 9:35 PM - 2 messages
Hi, i encrypt a list of strings with RSACryptoServiceProvider. I follow up this line 1. byte[] bytes = Text.Encoding.UTF8.getBytes(plaintext_string) 2. byte[] encr_bytes = rsa.encrypt(bytes) 3. string encr_string = Text.Encoding.UTF8.getString(encr_bytes) The last string (encr_string) i store with ado.net in a sql 2005 server ...
Score Using VS2005 to create web on server with Framework V1.1
Todd - 15 Apr 2006 3:14 PM - 2 messages
I have Visual Studio 2005.  I bought a domain and web hosting service (on a shared server) from a nationally known web hosting provider. Much to my surprise, they don't have Framework V2.0 installed and won't ...
Score Identifying the source of a Pool Paged Bytes Leak
fergaloc - 15 Apr 2006 5:26 AM - 3 messages
Hi there.  Our .net framework 1.1 application is a complex media player that plays back video, flash, web, TV and pictures full screen.  It runs on Windows XP SP2.  It has 12 DLLs and runs to about 30,000 lines of code. ...
Score web reference in a .net class library
russell.lane - 14 Apr 2006 10:04 PM - 3 messages
I have a web service that exposes database contents as disconnected datasets.  I would to use that web service from within a class library. I have included a web reference to the service in my class library project. If I bring up the reference in the object browser, I see the web service ...
Score dotNet 2.0 PDB Files
Ruckus - 14 Apr 2006 3:53 PM - 4 messages
When deploying a .Net 2.0 library or ASP.Net site we are generating PDB file to our development and QA environments. Should we remove the PDB files when deploying to production? The concerns are security and performance. ...
Score Determining Source of Drag Operation (Control or App)
JCook - 14 Apr 2006 2:47 PM - 1 message
My question is fairly straight forward.  I'm using .NET framework 1.5.  I want to do the following: (1) Select a portion of an HTML document in an IE browser (either internally hosted or an external app) ...
Score Assemblies resigned/recompiled when referenced assembly patched
TheRegMan - 14 Apr 2006 2:09 PM - 2 messages
A question from my client concerning assembly signing conventions: In order to get our main code to run inside of .NET Enterprise Services, we need to give it (and all other assemblies referenced by our main code) a strong name key.  We know how to do this by running SN -K and then setting ...
Score clickonce Deployment eroor throgh VPN in local area Deployment is OK
emri.mbiemri - 14 Apr 2006 1:58 PM - 2 messages
When i try do Deploy my app in one of my clients thats is in my local area network deployntment is ok but when i try to deploy my app to client where he is connectet in my server throgh VPN a have this ...
Score I need an workaround for Regex limitation
Liviu Uba - 14 Apr 2006 1:42 PM - 2 messages
Hi, I noticed a strange behaviour, strange from my point of view anyway. Let's say I have the regex expression:  "^\w+". When I do: Let's say s = "first second"; Regex r = new Regex( "^\w+", RegexOptions.CaseInsensitive...); Match m = r.Match(s) ; // here we have m.Succes = true; ...
Score Question on WMI and System.Management class
Gancy - 14 Apr 2006 12:34 PM - 1 message
Hello, The code below enumerates all products installed on any given machine. Through System.Management i can also find WMI methods that could be exected.  But i have not worked on WMI and System.Management before,  i need to know how to execute the those mehtods ...
Score Crash in VB.net (msconwks.dll library)
Alessandro Costa - 14 Apr 2006 12:01 PM - 1 message
Hi, I have a problem with an application VB.net, it export a call-back function with a structure oarameter that is called in loop from a C language dynamic library. For 6 time all it's ok, at the seventh time the application CRASH. ...
Score Saving images in sql server using asp.net with vb.net
Alok yadav - 14 Apr 2006 10:45 AM - 2 messages
i want to store and retrive images from sql server can i t be possible. n e body know plz help ...
Score RichTextBox troubles
Ilya Dyoshin - 14 Apr 2006 10:14 AM - 1 message
Hi all! I have richtextbox in my program for viewing rtf-files containing tables(which contain many lines in a table row). When I'm opening them in MS Word - everything is fine, but When I open them using my program in ...
Score Cannot get audio resource in Compact Framework
Yato - 14 Apr 2006 9:07 AM - 2 messages
Hello,    I am developing PocketPC application in .NET, I defined audio resource BeepSound using project properties. When I want to get resource using MyApp.Properties.Resources.BeepSound in C#, the byte array is returned, it has correct length, but contains only binary zeros instead of the sound. ...
Score Process priority problem!
ivan - 14 Apr 2006 8:22 AM - 2 messages
Hi, Using set priority option in task manager I've changed priority of my service to RealTime. Now when I try to return to Normal I receive "Access denied" message. I tried to uninstal service, build new version, delete registry entries and when I start that new version the priority of service ...
Score Pulling user data from Active Directory
Joe Spears - 14 Apr 2006 8:04 AM - 3 messages
Hi Does anyone have any sample code on Pulling user data from Active Directory?? Thanks ...
Score Possible to install .NET Framework via ActiveX?
Gary F. - 14 Apr 2006 1:29 AM - 2 messages
Forgive me if this is naive, but can I install the .NET Framework 2.0 via an ActiveX which is embedded in an HTML page? In addition, I want to register some 3rd-party COM/ActiveX components and then install a ...
Score Menu / Tool Strips..
Vijay - 13 Apr 2006 11:03 PM - 3 messages
Why wasn't the toolbar, menu bar items developed as a single BarItem and then allowed us to build as Toolbar or a MenuBar. This way I could just have one click event. I do have in my code in a method for say a toolbarItem ...
Score compare byte[]
Etienne Lebeau - 13 Apr 2006 8:23 PM - 5 messages
Hi, I'm looking for the easiest way to compare the content of two byte[] for equality. Doing a "==" or Equals() compare the reference and not the content. Any ideas? Etienne. ...
Score Monitor.Wait problem
Liviu Ursu - 13 Apr 2006 7:25 PM - 7 messages
Hi, I am relatively new to NET Threading and learning from net examples and books I got a problem that is not mentioned anyware. Let's say thread1 does following: Monitor.Enter(o); try {    Do X;    Monitor.Wait(o); ...
Score Asp.net page trouble
Radx - 13 Apr 2006 7:22 PM - 2 messages
Here in my web application, I have a data entry page with serval controls. Some of the controls have autopostback is set true. But the problem is when two or more people are entering data at the same time, in the middle of my data entry , it is brining someone else data on my ...
Score BUG: Strongly-typed DataTable GetSchemaSerializable method
Jason - 13 Apr 2006 7:01 PM - 7 messages
Hi, I've created a strongly-typed DataSet that contains one DataTable.  My intent is to return this DataTable from a WebService that will be consumed by a Windows Form.  In my windows application, when I add a reference to the Web ...
Score .NET Framework 1.1 installation after 2.0
Paul Higgins - 13 Apr 2006 4:31 PM - 3 messages
hi, sql server 2005 brings .net framework (dnfw) 2.0. but for a specific application we need dnfw 1.1. there is no way around this! so installing dnfw 1.1 after 2.0 ends in an error message saying that "the latest version ...
Score How can I fix Big BUG in PersianCalendar Class?
kourosh - 13 Apr 2006 4:14 PM - 4 messages
When I try to use example in the PersianCalendar Class help I found this big bug: PersianCalendar jc = new PersianCalendar(); DateTime thisDate = DateTime.Now; DateTime dt1 = new DateTime(thisDate.Year, thisDate.Month, thisDate.Day, 20, 30, 15, 500); DateTime dt2 = jc.ToDateTime(thisDate.Year, thisDate.Month, thisDate.Day, ...
Score treenode.nodes.add and invoke
Kevin - 13 Apr 2006 3:36 PM - 1 message
I have a  tree node object with a function that adds nodes to itself (as it is expanded).  I would like to do this on a worker thread, which I do when I create the first level of nodes. ...
Score treenode.nodes.add and invoke
Kevin - 13 Apr 2006 2:50 PM - 8 messages
I have a  tree node object with a function that adds nodes to itself (as it is expanded).  I would like to do this on a worker thread, which I do when I create the first level of nodes. ...
Score Timer hangs
Christian Jost - 13 Apr 2006 1:13 PM - 3 messages
Hello I have a big problem with a timer (System.Threading.Timer) in a windows service. Sometimes the callback-method of the timer seems to hang. It can work more than one week without problem and suddenly the timer stands still. The timer ...
Score using /namespace with tlbimp.
Farrukh - 13 Apr 2006 12:53 PM - 3 messages
Hi I want some information regarding /namespace switch. Is this the name of Namespace of the source code where our COM dll is referenced for which we will generate Interop.dll or is this some variable string or what? Thanks in advance. ...
Score MCE 2005 DVD burning
Chris - 13 Apr 2006 12:45 PM - 1 message
When I originally upgraded to MCE 2005 from MCE 2004, I had the option to burn DVD's under the "More Programs" heading.  Out of nowhere this option has vanished.  This happen to anyone else?  How do I rectify it?  Tried calling ...
Score Retrieving details of Backup schedules, maintenance plans, or SQL Agent jobs, from SQL Server
Joe Spears - 13 Apr 2006 11:42 AM - 2 messages
Hi Does anyone have any sample code (pref. C#), that can obtain details of the backup schedules, maintenance plans, or SQL Agent jobs, from SQL Server, perhaps using DMO, or SMO (2005) Any sample code appreciated Thanks ...
Score ANN: Report Manager native, full managed version
Toni Martir - 13 Apr 2006 11:37 AM - 1 message
The port of Report Manager engine to C#, mono and dot net is in beta stage, but already working (Linux and Windows). [link] [link] Basically you can design and tests your reports, using the report designer ...
Score garbage collection for hastable.
Praveen - 13 Apr 2006 11:13 AM - 6 messages
Hello all, I am writing a class to cache xml and dataset objects that would be required frequently by my application. I also have a time to check the last access of the obect... If the object is not used for some time I would like to remove ...
Score VS 2005 not responding when selecting certificate for signing
sync - 13 Apr 2006 10:13 AM - 1 message
Hi all, I am facing with a fatal error when trying to sign a project output with a certificate. Here is my problem: I am using Visual Studio 2005 Professional edition. When I clicked 'Select Certificate' in the Properties page to sign a project output, VS became not ...
Score Single instance of application (different users)
drasko.andric - 13 Apr 2006 9:54 AM - 3 messages
I use mutex to ensure that my application is only once instanced. It works fine but only for one user. Second user can run second instance of app at the same time. I tought that mutex visibility is not limited ...
Score "Cross-thread operation not valid" without threading!!
Pieter Coucke - 13 Apr 2006 9:08 AM - 4 messages
Hi, In my VB.NET 2005 application I'm generating and sending emails using the outlook-object model (2003). When a mail is Send (MailObject_Send), I raise an event in a global class, that is caught by all my forms that than refresh ...
Score Failed to partially bind to "System.String, mscorlib"
jiabingg - 13 Apr 2006 5:40 AM - 1 message
Hi, I got an exception with the message below, when I'm trying to start my application. "Could not load a type. Failed to partially bind to "System.String, mscorlib". " I did a search on the net, and found no clue. ...
Score Clipboard.GetData is always returning null
Dave - 13 Apr 2006 3:23 AM - 3 messages
My objects seem to be put into the clipboard ok and Clipboard.ContainsData() is returning true but when I GetData() the object returned is null.  What am I doing wrong?? ...
Score what permissions does a windows service need to execute another process? System.Diagnostics.Process
Daniel - 12 Apr 2006 10:46 PM - 2 messages
what permissions does a windows service need to execute another process? System.Diagnostics.Process process = System.Diagnostics.Process.Start(info); just local administrator? any specific permitions? ...
Score System.Diagnostics.Process.Start fails on windows server 2003
Daniel - 12 Apr 2006 7:31 PM - 1 message
System.Diagnostics.Process.Start fails on windows server 2003 the process returns process.ExitCode == 0 but executing any process with System.Diagnostics.Process.Start  on windows xp works fine. anything to do different for windows server 2003? some special permission ...
Score POS System
Angel - 12 Apr 2006 6:38 PM - 16 messages
I would like to create a Point Of Sale System. Is there a website that sells the interface between a POS Cash register and .NET? Thanks for the help ...
Score non blocking socket exception
rickyjonesus - 12 Apr 2006 5:50 PM - 3 messages
When using .net remoting over tcp what could cause the non blocking socket exception error. I receive the error at diffrent times. Ricky ...
Score Generate .NET types from C header file?
andrew queisser - 12 Apr 2006 5:11 PM - 3 messages
Hi all, The question of reusing C header files in C# comes up frequently and there's really no general solution. I do have a specific problem that I think can be solved and I'd like to get some feedback on. ...
Score 2.0: Nested configuration data
Carlo Folini - 12 Apr 2006 3:59 PM - 11 messages
Hi, I'm trying to specify multiple child collection under a ConfigurationSection. I have <asystems name="pippo">     <asystem newName="Production"/>     <asystem newName="dev"/>     <anotherItem newName="yuk"/> ...
Score .NET 1.1 created event log has only "Not available" properties
Tim - 12 Apr 2006 3:00 PM - 7 messages
We are using VB.NET 2003 Diagnostics.EventLog class on Windows 2000 to create our own custom event log.  When using Computer Management and doing properties on the event log it only displays "Not available" for the Size, Created, Modified, and Accessed attributes.  The event log is working just ...
Score database connection loss
Martin B - 12 Apr 2006 2:46 PM - 1 message
Hallo! I'm working with C# .NET 2.0, implementing Client/Server Applications which are connecting via Network to SQL-Server or Oracle Databases. To stay independent from the underlaying Database I use System.Data.Common.DBConnection and .DBCommand. How can I keep aware from connection losses (network not availeable, ...
Score resource leak issues in win xp sp2 w .net 2.0
Tony Hardie - 12 Apr 2006 2:41 PM - 6 messages
Hi, we are running XP SP2 with .net 2.0 framework installed we also installed a ..net application that we wrote and run it occasionally without problem. however at some point (even with our application not running) but quite a few ...
Score no touch request adds .config to url
coder - 12 Apr 2006 1:55 PM - 2 messages
I have a "no touch" deployment app running successfully on XP.  All machines use the 1.1 framework. When a url specifying an exe file is entered on an XP machine, the exe is downloaded by the framework (asp.net on the web server machine) and ...
Score Recreating an event source in a new event log
martin - 12 Apr 2006 11:01 AM - 1 message
Hi, I recreating an event message source inside a new log but the messages keeps ending up in the old log?! I have simplified my code into this tiny snippet:     EventLog.CreateEventSource("mySrc", "myLog1");     EventLog eventLog = new EventLog(); ...
Score HashTable stores whole object as Key NOT the result of calling GetHashCode on the object when you do
John Davis - 12 Apr 2006 10:50 AM - 4 messages
Hi All I was testing my understanding of Hashtables and I thought that if I override GetHashCode then i could add an object to hashTable like so: Dim ht As New Hashtable ht.Add(s1, s1) ht.Add(s2, s2) ...
Score ExtractAssociatedIcon with UNC path
shot - 12 Apr 2006 9:39 AM - 1 message
Hi, is there any possibility to call the ExtractAssociatedIcon function using a UNC path? I'm quite confused at the moment, since #1) it seems like some .Net functions do not support UNC path information #2) mapping a share to a drive during runtime is lame and should only ...
Score opening VS2005 projects with VS 2003 ?????
sacrosancttayyar - 12 Apr 2006 7:43 AM - 2 messages
hi everybody, i am new at VS (studying c#) and i eonder that how can i open and COPiLE VS2005 projects withs VS 2003 (on a computer that have not NETFRAMEWORK 2.X  only have 1.1) maybe some assembly works but i really woder this.. ...
Score menus
dave - 12 Apr 2006 4:41 AM - 4 messages
Hi all, I am creating an application that has menu options, with a 'Navigation' menu that will re-direct the user to the appropriate form when clicked.  I have a Case structure in a class file for the application to access because there ...
Score Is there any function return the short date format on the regional and Language Options under contro
ABC - 12 Apr 2006 3:17 AM - 2 messages
Is there any function return the short date format on the regional and Language Options under control panel? ...
Score BeginInvoke on MulticaseDelegate and params keyword...
Zhenxin Li - 12 Apr 2006 2:44 AM - 3 messages
Hello, If I use params keyword in my multicast delegate, can I call it using BeginInvoke? BeginInvoke takes some parameters after params keyword. I'm confused how to pass them after params... Thanks! Zhenxin Li ...
Score Selecting from multiple .NET versions
Z - 12 Apr 2006 1:55 AM - 5 messages
Hi, On my PC I have multiple .NET frameworks selected (1.0, 1.1 and 2.0) In Visual Studio 2003, how do I select which one I use to build my project? Thanks ...
Score SmtpClient uses lowercase headers and an odd date format when sending a MailMessage
franzombler - 12 Apr 2006 1:47 AM - 1 message
When you send mail using an SmtpClient object (System.Net.Mail.SmtpClient), the headers it adds like "from:", "to:" and "date:" are in lower case. This seems to be a red flag to some spam filters, so it would be good to be able to specify that they be ...
Score Relationship between VS.NET 2005 w/ .NET Framework 2.0 & Smart Cli
Matt - 11 Apr 2006 11:56 PM - 1 message
Hi - Besides ClickOnce, what are the other relationships between VS.NET 2005 w/ .NET Framework 2.0 and Smart Client applications?  Does VS.NET 2005 w/ 2.0 framework have other Smart Client development features? thanks, ...
Score .Net Framework 2.0 Installation Issues --- URGENT
Sriram Mallajyosula - 11 Apr 2006 11:05 PM - 2 messages
Hi, I have been trying to install .Net Framework 2.0 on my machine and in the middle of installation my system crashes with the normal blue screen displaying the memory dump and automatically rebooting the system. I am attaching the screen shots after my system reboots. ...
Score Query VMI with limited right users
Dany C. - 11 Apr 2006 8:59 PM - 1 message
Our application written in VB2005 uses a VMI query to gather some information about the comuter. The method work well when we run the application with a user having administration right. However, when we run the application with a user not having adminstration right (standart user) the following execption ...
Score sending mails bounced to address different from sender address
SharpSmith - 11 Apr 2006 8:52 PM - 3 messages
hi all i have a very specific question regarding emails sending and googling doesn't help me is a way exists to send email using .NET framework (System.Web.Mail or something else) and have the "from" address to be X ...
Score GAC and development
Wayne Sepega - 11 Apr 2006 7:10 PM - 4 messages
So we've determined that our assemblies will be getting placed in the GAC going forward. I have done a bit of research and determined a process based on that research on how to manage the assemblies for deployment. Here is my issue, all of the information I find talks about what you should ...
Score TimeZone.ToLocalTime changed in 2.0?
Jim - 11 Apr 2006 7:04 PM - 1 message
We have code that used an instance of a timezone (for a timezone other than local), and called ToLocalTime(), passing in a UTC time. In version 1.1, the return value was the time in this time zone. I have found that in 2.0, the return value is the local time for the ...
Score Datagrid Issue - Limit to numeric input?
GotDotNetNow - 11 Apr 2006 5:30 PM - 1 message
I have a windows form that contains two datagrids (framework 2.0/). I would like to limit two of the columns to numeric entries only.  IE If the user types a letter or anything other than 0123456789. then I ...
Score about bi-directionnal remoting
# Cyrille37 # - 11 Apr 2006 3:52 PM - 1 message
Hello, Using .Net Remoting, I need to have several clients which use a object on a server. This server should call method on those clients. It's looking like a bi-directionnal communication. But with .Net Remoting I've only found that schema that is not really nice : ...
Score Windows Service .NET 2.0 MissingManifestResourceException
JoshDCrosby@gmail.com - 11 Apr 2006 3:10 PM - 1 message
I have a simple windows service that was created in vs2005, it uses the FileSystemWatcher class to watch for directory changes, and if an error occurs it logs it to the event log. I have used the new Resources designer to define a few common errors I would like to write to the ...
Score Reminder: Public NetCF chat today
Michael Fosmire [MSFT] - 11 Apr 2006 2:56 PM - 1 message
Just a reminder that MVPs will be hosting an online chat this morning concerning Smart Device Programming with Visual Studio .NET. We will be on hand ready to answer your questions, so bring 'em on! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Title: MVP chat: .NET Compact Framework and Smart Device Programming ...
Score win32 in memory drawing
Rain - 11 Apr 2006 11:25 AM - 7 messages
Does anyone have a sample code for this? I want to draw an image in memory into another image  using C# and win32 gdi.. if its confusing i'll rephrase it. I want to draw many images into one image in memory using win32 gdi ...
Score Writing into a binary file simultaneously from multithreads...
Steve B. - 11 Apr 2006 11:21 AM - 5 messages
Hi, I'm building an application that use a binary file format with a proprietary format. Files can grow up to several GBytes... The mecanism of building the data is quite complex and I'd like to know if multiple threads can -simultaneously- write into the data file... ...
Score GDI object usage
davide - 11 Apr 2006 11:04 AM - 3 messages
In my application I use a large number of panels and textboxes. If I set the backcolor to each control, the application requires a large number of GDI objects. They are not freed until Dispose() get called. for (int i = 0; i<1000; i++) ...
Score How to block loading of BHO and band objects into explorer.exe process
Polanski24 - 11 Apr 2006 10:29 AM - 2 messages
Hello! I have developed a managed BHO and band objects which work almost OK. One of two problems I currently face is that they are always loaded into explorer.exe processs when folder browser window is open (they are not ...
Score Newbie to .NETdevelopment - where to start?
harry - 11 Apr 2006 10:10 AM - 3 messages
Can anyone point me in the right direction to start .NET The situation is this, I am a experienced J2EE developer who wants to familiarize himself at a development level (& of course improve my CV content). I have used Visual Basic 6 & Visual C++ for many years but not for ...
Score Third Party Controls on Appointments things
Boas Enkler - 11 Apr 2006 6:06 AM - 3 messages
Hi Are there any Third Party Components, conecrning scheduling and task related things ? (Outlook like) I Already found Infragistics (seems like performance is an problem). Which components are good in the look and feel ? Can anyone tell me some more companys with good working controls? ...
Score Component constructor in .NET 2.0
Edward Diener - 11 Apr 2006 2:13 AM - 5 messages
I looked in the documentation for System.ComponentModel.Component's constructor but I only noticed a constructor taking no parameters. My understanding is that there is a second constructor which takes a System.ComponentModel.IContainer interface object. Has this been the ...
Score .Net Framework 2.0 Installation Issues --- Help required --- URGENT
Sriram Mallajyosula - 11 Apr 2006 1:19 AM - 2 messages
Hi, I have been trying to install .Net Framework 2.0 on my machine and in the middle of installation my system crashes with the normal blue screen displaying the memory dump and automatically rebooting the system. I am attaching the screen shots after my system reboots. ...
Score Calling all Reflection Experts
John Wright - 10 Apr 2006 7:46 PM - 1 message
I want to load a Clickone program using reflection.  I tried the following line of code: Dim extAssembly As [Assembly] = [Assembly].LoadFile("C:\Inetpub\wwwroot\test\test.application") but I get The module was expected to contain an assembly manifest. ...
Score Accessing .NET assemblies from classic ASP/VBScript?
joshbeall - 10 Apr 2006 6:51 PM - 2 messages
Hi All, I'm wondering if there is any way to access .NET assemblies from classic ASP/VBScript? We have a legacy app that was written using classic ASP and VBScript, and there's a new facility that one of our developers did in .NET that ...
Score Passing an enum to a web method
Tony - 10 Apr 2006 6:49 PM - 4 messages
Does anyone know how to pass an enum to a web method? public enum RptSetStatus {    PendingApproval,    Active, } [WebMethod] public void SetRptSetLoadComplete(Guid oUserInstance, int nRptSetId, RptSetStatus eRptSetStatus) { } Tony ...
Score HttpWebRequest with CookieContainer - not deleting cookie - what is wrong here?
macro - 10 Apr 2006 6:41 PM - 5 messages
when I use HttpWebRequest with CookieContainer object that handles cookies, i make more than one request and needs to handle cookies being added and removed between requests, just like a regular web browser like internet explorer. if I have this cookie header in a response: ...
Score Desperate please help with XmlSerializer, IXmlSerializable and XmlSchemaProvider
peter.moss - 10 Apr 2006 4:34 PM - 1 message
Please, please help me - I am desperate. I have a scenario where I need to send out my object schema in the WSDL.  After hunting I found many posts (on MSDN and google) explaining that the way to do this is by using the poorly documented ...
Score mscorwks.dll faulting on x64
Robert Jackson - 10 Apr 2006 4:03 PM - 3 messages
Ok I have a .net 2.0 application that works fine on a x32 machine. Once I take it to an x64 machine it blows up and throws the following error: Faulting application scrubberhmo.exe, version 6.2.2278.17960, stamp ...
Score checksignature always returning false
Chris - 10 Apr 2006 3:53 PM - 5 messages
I have the following code that in the 1.1 framework worked (signatures are generated with a 1.1 application) Since we converted our application to 2.0 the checksignature method always returns a false. What has changed? I can supply the testlicence and the constPublicXMLKey strings if necessary. ...
Score Why does a private implementation of ICloneable work?
cmay - 10 Apr 2006 2:26 PM - 3 messages
Can someone explain why you can implement ICloneable with a private function and it works? e.g. Imports System Public Class BusinessObject     Implements ICloneable     Private Function privateClone() As Object Implements ICloneable.Clone         Dim MyClone As Object = makeClone() ...
Score Can't move tif file after reading it to picturebox
yoav - 10 Apr 2006 1:20 PM - 3 messages
Hi Folks, The following code crashes on the last statement with a "The process cannot access the file because it is being used by another process" exception (fiFax is a FileInfo object):             Dim picbox As New PictureBox ...
Score Avoid drag and drop SHDocVw
Juan - 10 Apr 2006 10:52 AM - 1 message
Hello: I'm using an embedded AxWebBrowser in my application but it has one problem link only with drag and drop, and you can open any folder doing the same thing. ¿How can avoid this? I need to make a robust component and drag and drop ...
Score Decode subject line of email?
janaagaard - 10 Apr 2006 9:02 AM - 1 message
Is it really true that the .net framework does not contain a functions for decoding the subject line of a raw email message? I've found the MailMessage class and the TransferEncoding enumerator, but this can only be used to encode en mail - not decode. (Note: The ...
Score error message
Liliane CHIMG - 10 Apr 2006 8:45 AM - 4 messages
Hi, why trying to execute my projet, i have these messages errors: "The file 'filename' cannot be copied to the run directory." "Could not copy temporary files to the output directory" Please can you help me? Liliane TAGU ...
Score [MSH beginner question] how to test for file existence and delete them
Lloyd Dupont - 10 Apr 2006 5:21 AM - 1 message
in C# I could very easily wrtie Directory.Exsists(aDirectory) I would like to do the same thing with MSH. I would like to avoid the following trickery if ( [SYstem.IO]Directory.Exists("file") )  {} There should some Commandlet or something. ...
Score Resource Leak from XslCompiledTransform
W. Jordan - 10 Apr 2006 4:02 AM - 3 messages
Hello there, Are there anybody who is using the XslCompiledTransform that comes with .net framework, which was said to be a replacement of the XslTransform class? I found that the class has some issues when the xsl file contains scripts. ...
Score ftpwebreques async upload, active transfer problem.
lushdog - 10 Apr 2006 2:46 AM - 1 message
Hi, i'm having an inssure implementing and ftpwebrequest upload, using an active transfer problem.  I'm trying to catch the "425 Can't open data connection" error returned if an ftp client in active mode tries to connect to an ftp server, and one or the other or both are not ...
Score downloading file problem
Lloyd Dupont - 10 Apr 2006 1:52 AM - 3 messages
In my application I download a file in the background. With code like below: ==== Stream input; new Thread(delegate(){     int nRead, total = 0;     byte[] buf = new byte[4096];     using(FileStream output = new FileStream("output", FileMode.Create, ...
Score Weird Problem Reading Char[] data from a BinaryReader
Mark Olbert - 9 Apr 2006 11:37 PM - 3 messages
I ran into a bizarre problem using the NET Framework 2 which I think is a bug (and at least is a very subtle gotcha if it isn't one). I have to create "c style" structures from binary data in my application. The utility method I wrote to do this creates a ...
Score VS2005 Embedded Crystal Reports Deployment problem.
Bob - 9 Apr 2006 11:13 PM - 3 messages
Hi, WinApp project migrated from VS2003. ( Where reports used to deploy OK) The help indicates that you just need to make a new setup project with no special consideration for Crystal Reports. (Previously a series of merge modules had to be added) ...
Score concurrent file I/O
tracker77 - 9 Apr 2006 5:05 PM - 2 messages
Is it possible to configure .NET file i/o as pipes (i.e. concurrent read and writes to the same file)? What about .NET application getting input from file concurrently being appended to by an out-of-process EXE? ...
Next »