|
How do I Close XmlDataDocument?
Hi,
I am using the following code to open an XML document:
Dim datadoc As New System.Xml.XmlDataDocument
datadoc.DataSet.ReadXml(New StreamReader(sFileName), XmlReadMode.InferSchema)
When I am through using the XML file I want to rename it to another folder
but it's locked. How do i close it? XmlDataDocument does not have a Close
method.
Thanks,
John...
|
3 |
6/5/2007 3:54:03 PM |
|
finding files in a directory
hi,
how to get the number of files in a directory...including the files in the
subdirectories...
is there any default method of Directory class..
please help out...
|
3 |
6/5/2007 3:26:11 PM |
|
caspol.exe from .NET 2.0 on Vista - access denied
I've installed Vista Business on a virtual machine, created a user "test"
during installation. This user is in the Administrators role, I can see it in
Computer / Manage / Local Users and Groups.
My problem is next. When I run a .NET 2.0 configuration command
caspol -m -ag All_Code -site mysite.com FullTrust -n mysite.com
from console, I receive this error:
ERROR: Runtime error: Access...
|
6 |
6/5/2007 3:24:47 PM |
|
help on regex
i want a reg exp for the below format..
1.0.00.0000
i tried as follows
\d\.\d\.\d{2}\.\d{4}
but it's accepting -ves numbers also(-1.0.00.0000)
I want only +ve numbers in my input..how do i check it?...
|
2 |
6/5/2007 3:24:19 PM |
|
Problems with managed classes
I've got two classes, ObjClass1 and ObjClass2. I need them to both
know about one another but I can't include the header twice because of
a "type redefinition" even though it's the same file. Ex:
-----ObjClass1.h-----
#ifndef __OBJCLASS1
#define __OBJCLASS1
#include "ObjClass2.h"
public ref class ObjClass1
{
// Stuff
ObjClass2 ^obj2;
};
#endif
-----ObjClass2.h-----
#i...
|
2 |
6/5/2007 12:45:44 PM |
|
ClickOnce Outside form a restricted Web site
We have an application that we distribute internally, with in our domain. We
would like to distribute it to a select group of users that will log into a
Web site. I find very little information on using the ClickOnce technology
when on needs to log into the publishing URL.
Has any one tried this?
Where can I find information on ClickOnce needing to logging into a Web
site?
Thank ...
|
2 |
6/5/2007 10:23:40 AM |
|
How to create a Listview using WPF
...
|
1 |
6/5/2007 9:52:19 AM |
|
intercept form closing
Hi.
What I need is to intercept MDI Parent form closing.
As for now, MDI Parent form closing event is rased only after all child
forms are closed.
And I can't cancel this operation. If user had accidentaly clicked form X
close button
I want to ask him if hi realy want to close thw application. BEFORE all
opened child windows
are closed.
How can I do this?
Thanks.
Alexander.
...
|
9 |
6/5/2007 8:09:14 AM |
|
VS 2005 post Build event problem
Hi,
I'm working on Windows 2003 Server SP2 X64 edition to create SharePoint
extentions.
After each rebuild, I have to recycle app pool that use the extention I've
build, that's why I wanted to add the following line in post build events :
"%windir%\system32\cscript.exe" "%windir%\system32\iisapp.vbs" /a "My SP app
pool" /r
This command line is working perfectly when I open it in ...
|
7 |
6/5/2007 7:53:47 AM |
|
Awesome
Check it out: www.BrandonsMansion.com
...
|
1 |
6/5/2007 4:38:30 AM |
|
Basic question about threading.
Hello all,
I am completely new to threading and am sorry if this sounds stupid.
I am developing a class which extends from ApplicationException class.
Basically this class (MyException) captures local and instance
variables and method parameters at the time of exception. This
exception is then propogated upwards and goes on collecting the above
mentioned information of all the method/class...
|
3 |
6/5/2007 3:20:35 AM |
|
singleton
Hi
I would like to implement a singleton in .net. The application only can be
run by one user at the time. Does anyone have any articles/samples that can
help me with this problem? thanks
N
...
|
2 |
6/4/2007 10:07:19 PM |
|
singleton
Hi
I would like to implement a Systemwide singleton in .net. Is it sensible to
use a mutex for this? The application only can be run by one user at the
time. Does anyone have any articles/samples that can help me with this
problem?
thanks
N
...
|
3 |
6/4/2007 9:12:17 PM |
|
Opening File with Unknown Extension C#
Hi,
I want to open a File with unknown Extension using C#. What i want
is
i do System.Diagnostics.Process.Start("FileName");
Now if File is associated with any program then the File with open
with that Application, this is working fine.
My requirement says, if file extension is unknown or not associated
with any application then, it should open the Default windows Program
association ...
|
3 |
6/4/2007 8:10:39 PM |
|
Release is slower than debug... What's happening?
Hi,
I have a windows service that only loads a CSV file and import it's data
using SqlBulkCopy in a newly created Sql Server 2005 table using 25000 rows
batches.
If I build the service in debug mode and run it, I get descent performances.
If I build it in release mode, I would expect it to at least stay as fast
and maybe be faster, but I actually lose performance. I lose about 10%
pe...
|
12 |
6/4/2007 8:08:02 PM |
|
Can 2.0 Framework application reference 1.1 Framework DLL?
I guess this gets into backward compatibility, but assuming only 2.0
Framework installed on the runtime platform. If the 1.1 code is compatible?
The 1.1 library assembly contains datasets and datareaders.
...
|
3 |
6/4/2007 7:14:00 PM |
|
ClickOnce Deployment Manifest - publisherIdentity tag
ClickOnce Deployment Manifest - publisherIdentity tag
Using: Microsoft.NET 2.0 application built with VS.2005
I have been searching for some documentation on the xml tag
publisherIdentity in the clickonce deployment manifest - and cannot
find any documentation on the tag. I believe if I can set this value
I will be able to resolve my ClickOnce deployment issue.
Only document found:
h...
|
1 |
6/4/2007 6:57:13 PM |
|
3D border question
Some .Net controls have a 3D borders, but if windows XP Display "Appearance"
setting is "Windows XP style", The 3D border changed to XP style. I also
noticed VB 6 3D borders do not change. Is there a way to make 3D border
display all the time no matter what windows settings you choose?
Thanks
...
|
3 |
6/4/2007 5:56:22 PM |
|
Memory footprint across copies of app
What is the memory footprint methods & properties of a windows app running on
a server when the server spins up multiple instances of the application?
In my envirionment, we have a Citrix server farm running .Net 2.0 windows
apps. Does the framework allow for instances of the same application to
access the same memory space where these methods & properties are stored
(assuming the secu...
|
4 |
6/4/2007 5:50:00 PM |
|
.NET CLR 1.1 does not release the COM object reference.
We have a project in .NET 1.1 , some of the .NET methods take COM
interface reference pointer as a parameter, somehow we have to call
Marshal.ReleaseComObject to release the COM Object, otherwise the COM
object will never get release, Even we call gc.Collect()
But the same code compiles in .NET 2.0 works without the
Marshal.ReleaseComObject. (Unfortunately the project is supposed to
run on...
|
3 |
6/4/2007 4:36:28 PM |
|
Free web based bug tracking and timesheet
http://www.livetecs.com
TimeLive Web Collaboration Suite is an integrated suite that allows you to
manage project life cycle including tasks, issues, bugs, timesheet, expense,
attendance.
TimeLive is available in two different flavors. Hosted version and
downloadable version. Downloadable version required certain system
requirement to install on local server. Whereas hosted version...
|
1 |
6/4/2007 3:22:39 PM |
|
Free web based bug tracking and timesheet
This is a multi-part message in MIME format.
------=_NextPart_000_004D_01C7A6E5.E4FFF610
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
http://www.livetecs.com
TimeLive Web Collaboration Suite is an integrated suite that allows you =
to manage project life cycle including tasks, issues, bugs, timesheet, =
expense, attendance.=20
=20
...
|
1 |
6/4/2007 3:21:12 PM |
|
Is Dotnet Cross platform
Hi EveryBody:
As we know the java is cross paltform languge which means that any
application done by Java can be used in any opreating system if the java run
time JRT is installed in that OS.
My Question is Can I installed the dotnet framework in any opreating system
for example Liunx or unix ? If the answwer is yes
Does my application which made by Vb.net can be consiedr as Cross ...
|
2 |
6/4/2007 3:12:39 PM |
|
need help on autoscaling on win forms
hi,
i'm a newbie to winforms....
i've designed few forms...
but when the resolution is changed to lowest number..
i'm not able to see certain buttons on my form...
how do i fix this issue...
do i need to set any properties on the winforms or controls?
please do help out.......
|
1 |
6/4/2007 12:26:01 PM |
|
Using Timer: the application thread count keeps increasing
Hi
I am developing a scientific application which has moderate level
image processing involved.
In my application, there is a main application form which invokes
another form. When this form is running, a timer function keeps
executing every 250ms. The timer function does some real time data
processing and generates a bitmap which needs to be displayed on a
picture control. This is do...
|
3 |
6/4/2007 12:23:40 PM |