all groups > c# > june 2004 > threads for wednesday june 16
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Out of memory during ShowDialog()
Posted by Gacu at 6/16/2004 11:53:10 PM
Hi,
I dont know what wrong. I have large main form class. At some point i create
new Open File dialog, but when calling ShowDialog - out of memory exception
occurs.
I don't know why.
I figured out that if I call this.hide() - hide main form - and then call
ShowDialog() method of OpenFile... more >>
a question about calling unmanged code from managed code
Posted by chaor at 6/16/2004 11:50:46 PM
hi,
how to convert the following strut into safe struct in c#?
struct in C++:
typedef struct
{
char m_username[USER_LEN];
char m_password[8];
char m_userIP[16];
}USERPARA,*PUSERPARA;
typedef struct{
char m_starthour;
char m_startmin;
char m_stophour;
char m_sto... more >>
memory usage of .net application
Posted by sean at 6/16/2004 11:36:50 PM
Hi,
I notice if I run my application, the Windows Task Manager
shows the application using around 20MB of memory.
However, after I minimized the application and
maximize/restore the application again, the memory usage
dropped to around 5MB.
It seems like only after startup, it uses up... more >>
VS.NET Academic upgrade
Posted by Robert Misiak at 6/16/2004 11:25:21 PM
Is there a VS.NET Academic 2002 -> 2003 upgrade? I haven't been able to
find one anywhere, in fact I have yet to come across a standalone VS.NET
2003, my university bookstore still carries 2002. Did MS ever release these
products?
Robert
... more >>
crushing java
Posted by Lloyd Dupont at 6/16/2004 10:47:29 PM
here a little test program.
it's so simple taht it should deliver simmilar result.
it's also so simple that people that might says it's unfair to the looser
(why Java people are always arguing like that ?)...
anyway see for yourself the test command lines:
javac SimplePerf.java && java Simple... more >>
Adding a literal to a regex match
Posted by Lee Kuhn at 6/16/2004 10:35:01 PM
Is there a way to add a literal character to a regex match? For example,
normally applying the regex ..$ to the string "123456" results in a match
"56". I want to be to add a literal character to the beginning of the
resultant match string. In other words, is there a regex that could be
applied ... more >>
a string that has space between every char!?!?
Posted by Thor-Björn Andersson at 6/16/2004 10:08:31 PM
Hi
Im using MSMQ to send and then read messages. I use a Formatter
(http://support.microsoft.com/default.aspx?scid=kb;EN-US;310683), but I use
"Encoding.Unicode" instead of "Encoding.UTF8".
The problem im having is decode\convert the body of the messages to a
"proper" string.
There are sp... more >>
HttpWebRequest SSL Problem
Posted by Matt at 6/16/2004 10:00:38 PM
I have a small console app that uses HTTPS to retrieve a file from a Windows
web server using a VeriSign cert that works just fine. I now have to
connect to an OpenVMS web server using a Thawte server certificate and I
keep receiving the following error:
SecureChannelError
The underlying con... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
C# .NET web application - printing the forms
Posted by suzann.nitecka NO[at]SPAM nbad.com at 6/16/2004 9:59:52 PM
Hello,
I have an application written in C# on visual studio .NET. It is a web
aplication.
The application consists of many different forms, that users
occassionaly want to print out for filing.
When they log to application (through web browser) and choose the
print option, on the right margi... more >>
DatePicker and Data Grid
Posted by Qumer Mumtaz at 6/16/2004 9:31:01 PM
Hi
There is a datatime picker control in one column of my datagrid.When the cell of sepecific column get the focus the datetime picker control appeare It shows the current system date.If once I changed the date then next time when the control appeare in next cell same modified date is displayed.
W... more >>
static IDisposable objects
Posted by pdavis68 NO[at]SPAM hotmail.com at 6/16/2004 9:01:51 PM
I was recently looking through some code in a commercial product and noticed
a few places where they stored cursors and icons in static objects.
I would like to do something similar where I load two bitmaps in a static
constructor and store them as static members of a class.
My question is, ... more >>
Open URL with standard browser.
Posted by Jan Krumsiek at 6/16/2004 8:47:20 PM
Hi.
I searched the Usenet and the Web for this simple information but did
not really find anything.
How can I open URL in the standard browser of the system? (VB6, VC++ you
could easily use the ShellExecute() function for this.)
The LinkLabel control example of MSDN does not work as I ... more >>
Directory Picker (local and network computers) is needed
Posted by Ram Baruch at 6/16/2004 7:26:25 PM
Hi,
I'm looking for a simple directory picker. I need both local drives
directories and directories in the computers in the network neighborhood.
Does anyone know if there is something ready in the .net framework or a good
implementation of it?
Thanks,
Ram.
... more >>
not (!) operator in regex
Posted by cdkimmel NO[at]SPAM yahoo.com at 6/16/2004 6:50:08 PM
is there a not (!) operator in regex? If so, how does one use it. I
am unable to find this information.
Thanks... more >>
Compare file times across TimeZones ?
Posted by sjoshi NO[at]SPAM ingr.com at 6/16/2004 6:15:10 PM
Hello All
I'm trying to figure out how to do this the best way. Basically, I
need to compare DateTime of files across TimeZones. The situation is
like this:
1. I have a database say in Korea in which file-1 resides (in OS) and
I have stored the UTC of the file's modified time in the databas... more >>
A serialization problem
Posted by Mike at 6/16/2004 5:27:51 PM
Hello.
I am using C# in .NET v1.1. I am trying to serialize an object to disk and
read it back again. The serialization seems to work OK (at least, it
completes without error). However, I get the following error when trying to
deserialize:
An unhandled exception of type
'System.Runtime.... more >>
Converting a string to a TimeSpan
Posted by Doug at 6/16/2004 5:26:53 PM
Hi,
I was wondering if someone could tell me how i can convert a value that's a
string into a TimeSpan?
Thanks,
Doug
... more >>
How to force execution of static constructor?
Posted by Marc Selis at 6/16/2004 5:14:37 PM
Hi,
I have a class with a static constructor in which the class registers itself
as capable of doing something (using a delegate)
The problem is that the static constructor is never called, as no other
class references it. The only way to communicate with the class is using
the delegate.
... more >>
File association & Setup
Posted by Peter at 6/16/2004 5:13:00 PM
I have created a Setup project wich includes couple of text file and it also
includes file association of .tsrx.
After the application is installed if I happen to delete any one of the text
files the Setup runs automaticaly and installs those text files back when I
double click on the any of t... more >>
Combobox autocomplete implementation?
Posted by VM at 6/16/2004 4:21:02 PM
How can I implement the autocomplete functionality in a Windows comboBox?
Thanks.
... more >>
Image size
Posted by Jon Cosby at 6/16/2004 4:17:32 PM
How do you resize an image object? The Size property is read-only.
Jon Cosby
... more >>
static methods in ServicedComponents
Posted by Kevin Jackson at 6/16/2004 4:04:58 PM
Can static methods in c# participate in COM+ transactions? In other words,
do the COM+ inception stuff work for methods marked static?
Thanks
... more >>
RegEx.MatchCollection.CopyTo method fails!
Posted by Mortimer Schnurd at 6/16/2004 4:04:42 PM
Has anyone had any luck getting this CopyTo method to work?
I can iterate through a MatchCollection and move each Match.Value to
the System.Array without a problem. I just can't figure out why the
CopyTo method will not work.
Example:
// Find all the Tables in an html string (page)
Match... more >>
deploying a c# app...
Posted by Daniel Bass at 6/16/2004 3:58:21 PM
Hi all,
I've created a c# application, and included a "Setup project" in the same
solution. How do I default it so that the application (say i were to run the
setup "quietly") installs with "Everyone" rather than the "Just me" option?
Thanks
Daniel.
... more >>
vbcrlf
Posted by Bill Yin at 6/16/2004 3:31:43 PM
VB---vbcrlf
C#---??????
... more >>
FormatCurrency or equiv
Posted by Andrea Williams at 6/16/2004 3:13:12 PM
Anyone have code that will format a decimal value to a string currency
format for display? Something like FormatCurrency() in VBscript had?
I usually search thecodeproject.com first, but something's wrong b/c I can't
get to the articles where there might be an answer.
Thanks in advance,
An... more >>
Help:ActiveX Question
Posted by bengamin at 6/16/2004 3:07:34 PM
a ActiveX Control Written by VC++6.0
try to Calling from .net client
use aximp to create An Assembly and reference from c# code
I try to write a C# program to call this Assembly's function
the c# program looks like :
private void Form1_Load(object sender, System.EventArgs e)
{
JI... more >>
text in the row header (DataGrid)
Posted by Daniel P. at 6/16/2004 3:03:16 PM
Is there a way I can set a text in the row header of the
System.Windows.Forms.DataGrid control?
Thanks!
... more >>
csharp windows app and local database
Posted by dkode NO[at]SPAM cfl.rr.com at 6/16/2004 2:57:48 PM
I will be making a windows app that will run on user's local machines.
It will not be in a networked environment or anything like that which
rules out SQL Server for the database. I am trying to come up with the
best method to store data on the local user machine.
I was thinking of using XML f... more >>
how to: baloon notification for NotifyIcon
Posted by Ram Baruch at 6/16/2004 2:50:03 PM
Hi,
I have a NotifyIcon object. The user sees it near the clock on the desktop.
Now, I want to tell the user that something happend (Like when Windows says
that updates are ready to be installed)- a small baloon that comes out of
the icon.
Does anyone knows how to do it?
Regards,
Ram.
... more >>
DateTime not being saved in Access DB
Posted by sandman at 6/16/2004 2:42:05 PM
I just created a mini-app (WinForms in C#) with a bound data grid whose
data source is an Access database. It has 2 DateTime columns. I
formatted the database so one of columns was GeneralDate and the other
LongTime. If I type directly into the Access db, both columns display
fine. When I run t... more >>
Delegate functions have to be static?
Posted by Bryan Bullard at 6/16/2004 2:32:19 PM
Hi,
I've been looking at examples of delegates in C#. All the examples show
delegates are references to static methods. Can delegates be used with
instance methods?
Thanks in advance,
Bryan
... more >>
Call a C function that has parameter of float got NotSupportedException?
Posted by Tony Liu at 6/16/2004 2:27:21 PM
Dear All:
I create a very simple DLL by using EVC to test the problem. (The platform I
am working for those program is WinCE.NET)
*******************************************************
The header looks like:
#ifdef TESTDLL_EXPORTS
#define TESTDLL_API __declspec(dllexport)
#else
#defin... more >>
Dynamically resizing controls
Posted by UmmagummA at 6/16/2004 2:05:02 PM
Any idea, how to dynamically resize controls on the form when, the form is
resized, let say maximized? Is there any elegant, logical way to do this
... more >>
Excel Automation
Posted by Ugo at 6/16/2004 2:03:23 PM
Hi,
Can anyone help? I am creating an Excel file in asp.net and when
I set the PageSetup.Orientation I get the following error.
Unable to set the Orientation property of the PageSetup class
Description: An unhandled exception occurred during the execution of the
current web request... more >>
Opening Child Windows
Posted by Brian Conway at 6/16/2004 1:58:27 PM
How you you make C# code where on a button click it will open a window at a
certain size and position on the screen? I can't find any examples other
than VB and trying to covert it to C# has not been successful.
... more >>
Loading large files
Posted by Gregor Wind at 6/16/2004 1:40:47 PM
Hello all,
I'm trying to make a 3D transformation with image data. For the 3rd 1 D
transformation I have to jump in a 12Gbyte file, to get the data for the
transformation. The jumpimg in the file cost a lot of time. I am doing the
filehandling with help of the filestream and binaryreader class... more >>
collect download data number from NIC
Posted by pei_world at 6/16/2004 1:29:00 PM
Hi there,
Is there anyone know how to write a C# program to collect the total number
of download from computer startup and turn off?
anycode will be helpful!
thanks
... more >>
namespaces and directory structure
Posted by soni29 NO[at]SPAM hotmail.com at 6/16/2004 1:10:51 PM
when creating a project with namespace like:
wrox.csharp.basics.overflowtest
is it good practice to have the directory structure like that also:
c:\wrox\csharp\basics\overflowtext.cs
Also if it is then is there a way to make visual studio set it up for
me as i'm creating the cs files? or do ... more >>
debug
Posted by frazer at 6/16/2004 1:06:48 PM
hi
i had read somewhere once that it is possible to debug with a pdb file.
but i cant recollect anything about it.
can anyone throw some light on it?
thnx
... more >>
throw ex
Posted by chawes7420 NO[at]SPAM aol.com at 6/16/2004 12:59:52 PM
If I throw ex it does not give me enought informtion, if I throw
strmessage would this actually throw the message that I've created
plus the ex.message string?
catch(Exception ex)
{
strmessage = "Error Logger.Instance.LogError: " +
ex.message;
... more >>
Win32 Exception
Posted by jpearson NO[at]SPAM maad.com at 6/16/2004 12:52:37 PM
Hi,
I am getting an exception when I read in bunch of resources with the
following code:
string fullName = name + ".ico";
Stream stream = assembly.GetManifestResourceStream(fullName);
return new Icon(stream);
The stack trace is as follows:
Unhandled Exception: System.ComponentModel.Win3... more >>
Problem in Web Menus
Posted by Mohammed Abdel-Razzak at 6/16/2004 12:50:01 PM
Dear sirs
I made menus using Javascript code
when I tried to attach these menus to my ASP.Net code it
didn`t work!!
then I`ve downloaded user control from the internet
creates menus, it worked with me when I made it horizontal
menu, but when I tried to make another menu (vertical) in
the ... more >>
Discussion group
Posted by Mohammed Abdel-Razzak at 6/16/2004 12:38:35 PM
Dear sirs
I`m trying to make a discussion group in my web page using
ASP.NET with C#
I`d like to know how can I do that??
thanks
Mohammed
... more >>
Global variable
Posted by Mohammed Abdel-Razzak at 6/16/2004 11:54:47 AM
Dear sirs
How can I declare a variable(Global) that all forms in my
project can see and use it
thanks
Mohammed... more >>
DataGrid woes!!!
Posted by dominicjoseph NO[at]SPAM rediffmail.com at 6/16/2004 11:43:10 AM
Hi,
I had some trouble using the DataGrid control in VC#. Any C#/DataGrid
gurus out there please help!! Thanks.
I have a DataGrid with just one DataTable which I populate when the
App. comes up (by reading the contents of an .ini file)
1.)Now once the Form is displayed, when the user clic... more >>
Process.Start Help
Posted by ashok820 NO[at]SPAM hotmail.com at 6/16/2004 11:23:38 AM
Hello,
I am calling Process.Start from a C# code in the following way..where
startInfo is the object containing the process information.
try
{
Process installProc = null;
installProc = Process.Start(startInfo);
}
catch(Exception ex)
{
throw ex;
}
If for some reason I pass inv... more >>
silliest \u question (decimal to unicode)
Posted by Andres A. at 6/16/2004 11:11:01 AM
I have bunch of unicode characters stored as Decimal
is there a easy way of displaying unicode from Decimal numbers or do i have
to convert the decimal to hex then display the hex?
i ran into a small problem with converting Dec to hex and displaying the
hex, because when i do the conversion betw... more >>
datagrid - printing
Posted by DarekB. at 6/16/2004 11:04:12 AM
hello,
how can i print large datagrid on multipages? U know , my datagrind is
too large on A4.
Is any builded-in mechanism in c#/dotnet to paging???
please at prv dariuszbz@wp.pl, solution i'll write on group :)
tnx
debe
... more >>
Off topic question
Posted by Jordan Wright at 6/16/2004 11:03:13 AM
I am wondering why it takes an absurd amount of time for a message to post on here, and also why the most recently answered topics aren't automatically reposted at the top. I keep seeing my message go down and down until I can't see it, and then the chances of it being seen TO BE answered are very ... more >>
how can i pass the value"null" in to the database
Posted by Karunakararao at 6/16/2004 11:02:54 AM
Hi all
Presently i am sending data to database filed like this
"EquipmentFilterDevPrimaryId = 0"
i need Instead of "0" (NULL)i need store the data null value
how can i pass this null value
pls check that
if(txtDeviceCategory.Text != "")
{usi.EquipmentFilterDevPrimaryId = (long... more >>
creating controls from xml file
Posted by e-mid at 6/16/2004 10:57:25 AM
i want to create controls on a form reading from an xml file. before
beginning, i want to know your ideas . eg how should the structure of xml
be?, or any tips and tricks about creating controls or any example or code
about these things.
thanks in advance
... more >>
Center an image on a tab page
Posted by Sean at 6/16/2004 10:42:08 AM
Hi,
I have a tab control containing few tab pages. On each tab
pages, I put an image on the tab page's title bar (the
area on top of a tab page, ie where tooltip will appear).
If i put both an image and a text, they both will be
centered nicely. However, if I put only image without the
... more >>
RegularExpressions
Posted by Bill Yin at 6/16/2004 10:33:00 AM
I want get the Matchs
<li>[xxxxxxxxxxxxxxxxxxxxxxxxx</li>
begin:<li>[
end:</li>
... more >>
Tray icon in Windows service
Posted by Mats-Lennart Hansson at 6/16/2004 10:27:42 AM
Hi,
I'm having a hard time getting my service to show a sys tray icon. I've
tried to create a separate Windows application where I simply add a
notification icon to the form. In the OnStart method of the service I simply
try to start the windows application which then should show the icon.
I ... more >>
dll reverse engineering
Posted by Sérgio_Almeida at 6/16/2004 10:12:44 AM
greetings
it is possible to use reverse engineering on a .NET Dll?
If so, how?
TIA
Almeida... more >>
Best way to call a stored procedure
Posted by mike at 6/16/2004 10:04:27 AM
H
There are two ways to execute a stored procedure using ADO.NE
- call "exec sp_myproc val1,val2" statement over ADO SqlCommand myCommand = new SqlCommand(SQLQuery, mySqlConnection)
- use Command/Parameters objects to initialize and call the stored procedure
Which is a efficient way and wh
A... more >>
Best way to call a stored procedure
Posted by mike at 6/16/2004 10:02:19 AM
H
There are two ways to execute a stored procedure using ADO.NE
- call "exec sp_myproc val1,val2" statement over SqlCommand myCommand = new SqlCommand(SQLQuery, mySqlConnection)
- use Command/Parameters objects to initialize and call the stored procedure
Which is a efficient way and wh
Appre... more >>
multilingual
Posted by wolfen NO[at]SPAM ameritech.net at 6/16/2004 9:46:39 AM
I have written a .Net web based application for a company here in the US, and they are now asking for this to be used in Denmark as well. I am lost when it comes to what needs to be done to make this happen. I understand the displayed text and forms need to be changed to dutch but do I need to hav... more >>
Customize Common Dialog
Posted by George at 6/16/2004 9:05:16 AM
Is there a way to customize the open file common dialog? I am trying to
modify the button text so I can create a delete file common dialog. I need
the same functionality of the open file common dialog but just need to
change the button text from "open" to "delete". Any ideas?
Thanks
... more >>
Microsoft web browser
Posted by Mohammed Abdel-Razzak at 6/16/2004 8:56:26 AM
Dear sirs
I`ve added Microsoft Web browser componet to my project
I`d like to know how can I view a web page in it?
thanks
Mohammed... more >>
PDF printing in C# ?
Posted by cybertof at 6/16/2004 8:39:33 AM
Hello,
Is there a way to easily print a .pdf file to the printer ?
(without an external component)
Thanks. ... more >>
ArgumentException thrown when converting a memorystream to image
Posted by iyuen at 6/16/2004 8:31:59 AM
I'm having problems with converting a byte array to an image object~
My byte array is an picture in VB6 StdPicture format. I've used propertybag
to convert the picture into base64Array format in XML, and embedded
the array as some child element in an xml file, i.e.:
<Mask>bHQAAH4AAABCTX4AAA... more >>
Convert this VB code?
Posted by pj at 6/16/2004 6:40:01 AM
I'm a C# beginner. Can someone convert this VB code to C#?
Dim i as Integer
for i = 0 to 4
dim pnl as Panel = ctype(FindControl("pnl" & i.tostring), Panel)
if mytabstrip.SelectedIndex = i then
pnl.Visible="True"
e... more >>
SortedList - Comparer help
Posted by sho_nufff76 NO[at]SPAM yahoo.com at 6/16/2004 6:33:52 AM
Hello all,
I have a sorted list that contains items:
foo1
foo2
foo3
foo10
foo11
foo12
I want them to be displayed as above, but when i retrieve from my
sorted list they come back as:
foo1
foo10
foo11
foo12
foo2
foo3
Is there a Comparer in C# that will do the kind of sort th... more >>
CreateIoCompletionPort C# equivalent
Posted by Nadav at 6/16/2004 6:31:01 AM
Hi,
I Wonder... What is the C# CreateIoCompletionPort equivalent? is there a managed IO completion mechanism? can I use 'System.Net.Sockets' in combination with an IOCompletion port?
Any pointers or samples will be appriciated...
Nadav
http://www.ddevel.com... more >>
ASP.NET Datalist validation
Posted by Kevin at 6/16/2004 6:01:01 AM
Hi all,
I'm now very frustrated, I've been battling all of today to try and understand the datalist, editing, inserting, updating, etc, I have managed to get most of that sort of stuff working(Thank goodness:)). But now I would like to implement validation on my datalist, but I am just not gettin... more >>
Drop Down List Box Insert
Posted by kscdavefl at 6/16/2004 5:54:02 AM
I have a drop down list box on a web form. I need to insert an entry:
COF-ALL
into the list box and have it appear nefore all other entries that contain COF.
How do I do this?
Thanks,
dave... more >>
Widows Control in Web Page
Posted by davide.vitiello NO[at]SPAM enmedia.it at 6/16/2004 5:48:47 AM
Hi to all,
i have created an user control with c#, and then i have embedded it in
a aspx page with the <object> tag.
If i try to add to mu User Control some external COM objects, the page
don't show me the control?
Ho can i solve my problem?
Thanks... more >>
Binding a textbox to a dataview
Posted by Paul Slavin at 6/16/2004 5:24:01 AM
I have a textbox bound to a dataview, when I update the text in the textbox no changes take place in the underlying dataset. Why is this??
any answers appreciated, as to due to the underlying structure of the datasets, i.e lots of child tables etc, I cannot use bindingcontext
... more >>
Asp.net Uploads + images display
Posted by sqlprob NO[at]SPAM yahoo.fr at 6/16/2004 3:37:05 AM
Hi everyone!
I am building a website in asp.net using c# where I need to be able to
upload 100 images to the server at a time. As I am new to asp.net, I
was wondering if there was an easy way to do it. These images also
need to be stored in a database(Sql server).
Thanks for your help
Celine... more >>
Datagrid ButtonColumn short Question
Posted by Josema at 6/16/2004 3:13:02 AM
Hi,
Im making a web custom datagrid of products.
I have this piece of code in the override OnInit Method:
ButtonColumn colbtn=new ButtonColumn();
colbtn.ButtonType=ButtonColumnType.LinkButton;
colbtn.Text="<a href=# onclick=alert("+")>See Product</a>";
How could i know what link i... more >>
Params problem
Posted by Terry at 6/16/2004 2:49:07 AM
Guys,
I need to pass a string in my parameter list to another
page.This contains the ampersand character. This is
causing the part of the string after the ampersand to
move into the second parameter
How do I get around to passing this
Any help would be appreciated
regards
... more >>
C# windows services failing after patch
Posted by christopher green at 6/16/2004 2:39:30 AM
Ok guys I'm tearing my hair out here. As a result of a recent ms patch
that has been installed on a server a number of c# based windows
services are failing to start.
There are no entries in the event logs. The services run under the same
account as other c# windows services which still start... more >>
C# Regular Expressions not behaving?
Posted by christopher green at 6/16/2004 2:09:56 AM
I’m new to regular expressions in c# and can’t get even basic searchs to
work as I believe they’re supposed to. The following example is where I
try to identify any word in a string:
this.filecontent = "the cat sat on the mat";
this.MethodSpotter = new Regex("(\\w+)",RegexOptions.IgnoreC... more >>
Async Timeout events for TCP connections.
Posted by shofu_au NO[at]SPAM yahoo.com.au at 6/16/2004 1:28:40 AM
Hi ,
Is it possible in .Net to define a async timer callback. What I am
wanting to do is declare a time-out condition that gets executed
should the something timeout.
The reason I want to do this is to handle host being down that I am
trying to connect to using TCPIP. Then after a timeout... more >>
DataGrid refresh
Posted by [Yosi] at 6/16/2004 12:24:01 AM
Hi,
When I modify one of the data in dataGrid, then press on <ALT+'A'> to execute(Apply Button).
In applay Button I read the DataGrid rows value ,I read the same value as before my change, Why? how to refresh the value after changes , also why the keyPress Event not work? how to Enable it ?
In... more >>
Assembly unload
Posted by Soren Jorgensen at 6/16/2004 12:22:04 AM
Hi,
Is it possible to unload a dynamicly loaded assembly (loaded with
Assembly.LoadFrom) ?
Soren
... more >>
Directory.Move bug when using closing backslash?
Posted by ngposter at 6/16/2004 12:03:16 AM
Try the following code snippet:
Directory.CreateDirectory(@"C:\Folder1\");
Directory.Move(@"C:\Folder1\", @"C:\Folder2\");
Directory.Delete(@"C:\Folder2\");
After executing, a C:\Folder1 still exists!
Stranger yet, place a breakpoint on "Directory.Delete(@"C:\Folder2\");" and
run the cod... more >>
|