| |
thread by: Andy |
last post Jun 27 '08 by: Andy
Hi,
Using VS2008, .Net 3.5.
I have a File.Copy which is copying files to a unc path. The copying
is done by a normal Wpf application. Suddenly, trying to copy the
web.config to the unc path fails. So does File.Delete, although I
have no problems deleting the file via Explorer. Even more curious,
if I switch the build configuration to...
|
thread by: Claire |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi,
Pardon my poor description ahead, I don't know the technical terms.
If I add an event to an event handler from a class that later goes "dead"
without being disposed, what happens when the event is fired?
My TestTemplate class doesnt support IDisposable and just relies on garbage
collection. In its constructor a checkbox is passed in the...
|
thread by: colin |
last post Jun 27 '08 by: colin
Hi,
im using DebugView to look at directx debug info,
but is there any way I can get it in c#?
presmably il have to make some win32 calls
wich i gues is how the debugview does it
unless something like the system.diagnostics
class can access them ?
Idealy i would like to filter out just the directx messages.
|
thread by: =?Utf-8?B?SmVzcGVyLCBEZW5tYXJr?= |
last post Jun 27 '08 by: =?Utf-8?B?SmVzcGVyLCBEZW5tYXJr?=
Preamble.
Back in the .net 1.0 days I was very concerned about a CLR bug that I
encountered. I had an if-then-else clause and the thread did not enter either
the true or false statements. After an upgrade to .net 1.1 (suggested by
Microsoft that recognized this erroneous behaviour) the problem were
resolved. Howver, as it was the first time...
|
thread by: =?Utf-8?B?U29vYnJhc3NlbiBUaG9wbGFu?= |
last post Jun 27 '08 by: =?Utf-8?B?U29vYnJhc3NlbiBUaG9wbGFu?=
Hi to all,
I have a dll that i named CoreLibrary.Basically to return messages from the
dll to the calling application ,be it a windows application,web service or
any other third party i call for help the Resource Manager class of Dot Net.
To be more precise,In the dll i included resources for English language and
French language bu using...
|
thread by: Edwin Velez |
last post Jun 27 '08 by: Linda Liu[MSFT]
http://msdn.microsoft.com/en-us/library/806sc8c5.aspx
The URL above gives sample code for use within a Console Application. What
I would like to do is use this code within a Windows Form. That part is
easy. The part that I am having trouble with is using the code in a form
and having a Label's Text property update as a new directory or...
|
thread by: N9 |
last post Jun 27 '08 by: Jon Skeet [C# MVP]
Hi
Anyone who can help about split string.
string text = "History about a boy, who loves to play baseball with
his friends."
I like to find indexOf "play" and read the string 10 char left and 10
char right
|
| |
thread by: Magnus.Moraberg |
last post Jun 27 '08 by: Jon Skeet [C# MVP]
Hi,
I have the following which is giving me false when I expected true -
Table.Rows == oleDbDataReader.GetValue(i)
oleDbDataReader.GetValue(i) is of type object so I need to cast it to
its correct type before doing the comparison, but how do I do that?
Thanks,
|
thread by: pnd1234 |
last post Jun 27 '08 by: Marc Gravell
Hi, i am doing a project which represent message attachments in a xml
view.I currently
implemented the system in a tree view.Like if a message contains word
file, zip file,image file
, swf file as attachment then it represents the over all attachments
in a tree node like message
in root node with attachments doc, image file and swf as its...
|
thread by: ppkm |
last post Jun 27 '08 by: Robert Fuchs
Hi,
I am struck with the same probelm
could you please suggest any solution if you found any
|
thread by: Steven Blair |
last post Jun 27 '08 by: Steven Blair
My client has supplied a comple DTD file to help interface with their
system.
I take the DTD into Visual Studio 2005 and convert to XSD file.
I then try the following:
DataSet m_XMLSource = new DataSet();
m_XMLSource.ReadXmlSchema("paymentService_v11.xsd");
m_XMLSource.Namespace = String.Empty;
|
thread by: AAAAA |
last post Jun 27 '08 by: AAAAA
Hi guys
I have a one question, is Linq to Sql good in pefornace?
is better that traditional method? ismore than speed?? or is same?
Thanks..
Regards
Cesar
|
thread by: Cdude |
last post Jun 27 '08 by: Marc Gravell
How do i get the column headers from a datatable?
|
thread by: glennanthonyb |
last post Jun 27 '08 by: glennanthonyb
Hi
The company I work for has finally woken up to data security on our field
laptops. I'm writing something in C# that will allow remote deletion of
sensitive data and I don't believe File.Delete() will be sufficient.
Is there anything in .NET that removes any remanence of the file?
If it isn't going to be easy, does anyone know of a...
|
thread by: Nilla |
last post Jun 27 '08 by: Marc Gravell
hi, I'm trying to write the simplest db application using C#, ASP and
LINQtosQL but cannot get the Update function to work. I have used the
codemodel from a sample called IntroToLinq.
My Insert and Get functions work, but the Update does nothing. No
errors are thrown and no changes are made.
Here's my code
In the DBHelper class:
|
| |
thread by: =?Utf-8?B?QXJseW5fTA==?= |
last post Jun 27 '08 by: Jon Skeet [C# MVP]
I have a Namespace compiling to a DLL. It contains 2 classes and 10 structs
all typed as public and it worked. When I added an additional public struct
the added public struct cannot be accessed outside of the containing
namespace. Both the contained namespace and the accessing namespace are part
of the same solution.
The code of the added...
|
thread by: Dom |
last post Jun 27 '08 by: Peter Bromberg [C# MVP]
I have a prgram with a webBrowser control. The user can click on a
Linked Reference and the webBrowser control shows that site.
Sometimes the URL (not my program, but the URL I am browsing to) has
an "error on page", eg, a javascript error. My program then gives a
dialog box, stating the error, and all my users think I wrote a crummy...
|
thread by: Ronald S. Cook |
last post Jun 27 '08 by: Marc Gravell
I have a DataTable that looks like this:
Id Value
123 4.0
123 5.0
234 1.0
345 2.0
345 3.0
I want to end up with (probably a new DataTable) that contains the sum of
|
thread by: =?Utf-8?B?TXJOb2JvZHk=?= |
last post Jun 27 '08 by: Marc Gravell
Say I have a class that has a generics List as follows:
public List<MyClassmyClassList = new List<MyClass>();
and I want to create another class which tries to add an element of MyClass
to that list, but it is not explicitly creating an instance of MyClass, but
instead using the Activator to create an instance based on it's type name.
...
|
thread by: sunny |
last post Jun 27 '08 by: sunny
Hi All
I am in a trival situation!!! I have to choose a technology for the
business logic. I need to choose between Enterprise Library and
Windows Workflow Foundation. Can someone please shed some light on the
topic?
thanks
Sunny
|
thread by: commanderjason |
last post Jun 27 '08 by: commanderjason
I am converting a .net winforms app to wpf
I make use of the System.Windows.Forms.ComboBox.FindString but am
unable to find anything that accomplishes that in the
System.Windows.Controls.ComboBox
Currently I have to iterate through each item and check them manually.
I'm thinking there must be a better way, but the msdn docs seem to
fall...
|
thread by: DotNetNewbie |
last post Jun 27 '08 by: DotNetNewbie
Hi,
I want to create a method that takes in the type of a Enumeration,
passes in the Enumeration as an object, and then outputs the values
with checkboxes, and pre-checks the checkbox if that value is set in a
mask.
This is what I have so far that outputs the values as a checkbox, but
I need to pass in *any* mask so it can check if that...
|
thread by: sweetiecakes |
last post Jun 27 '08 by: Alex Meleta
Hi
I have a ListBox which is binded to a dataSet. When I need to refresh
this dataSet, it works, but the old entries don't get removed from the
listbox. Items.Clear() doesn't work when a DataSource is set.
How would I clear all the items from the ListBox before refreshing the
dataset?
thanks
|
| |
thread by: Victory |
last post Jun 27 '08 by: Peter Duniho
Do i need to use a special class if i need to code on computer with
multiple processors. I need to make sure that all of the CPU resources
are used to process the code. Is there a way to do this?
thank you,
Mars
*** Sent via Developersdex http://www.developersdex.com ***
|
thread by: Sin Jeong-hun |
last post Jun 27 '08 by: Peter Duniho
I have created a simple custom control, which displays a string data
on it. It draws the string at its OnPaint(). When the string is
changed I can call Invalidate() to redraw the string. Sort of simple.
But I guess it might not be efficient. The instances of my custom
controls are on a scrollable contrainer, so if it is not in a viewable...
|