all groups > dotnet framework > february 2006 > threads for thursday february 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
Regular Expression Question II
Posted by Axel Dahmen at 2/16/2006 8:26:39 PM
Hi,
If I write
roles=Regex.Matches(myRoles,@"prefix([^,])+,");
then
retValue=roles[0].Groups[0].Captures[0].ToString();
returns e.g. "prefix_some_value,".
How can I retrieve just what's within the parentheses, e.g. "_some_value"?
TIA,
Axel Dahmen
... more >>
Windows Service calling executables
Posted by Kevin Jut at 2/16/2006 1:55:27 PM
I would like to build a Windows Service using .NET which when started, will
execute another executable such as Wordpad.exe.
How can this be done?
Any help would be appreciated.
Regards
Kevin... more >>
Domain/User to LDAP NameTranslate ability in the 2.0 framework???
Posted by Dave Kolb at 2/16/2006 12:28:54 PM
Is there any new 2.0 class that offers the functionality of the ActiveDS
NameTranslate function as below? I would like to not have to use COM interop
to do this.
Thanks,
Dave Kolb
// convert the Netbios style "domain\user" name to an LDAP DN format
ActiveDs.NameTranslate nt = new Activ... more >>
2.0 NTFS Security Help Needed
Posted by xenophon at 2/16/2006 11:12:56 AM
I am trying to find sample code showing how the currently logged on
user can read a particular directory. I have looked in the MSDN docs
for how to use the FileSecurity class, but no clear example of how to
use it. The currently-logged on user might be in a group that has
access, even though... more >>
Custom Controls in 2.0?
Posted by Arne at 2/16/2006 10:55:29 AM
In asp.net 1.1 we had Custom Controls and User Controls.
In ASP.net 2.0 I can only find Web User Controls. How do I add on old
fashion Customer control in VS Studio 2005?... more >>
what's the secure way to post the jobs on the extranet?
Posted by asdf at 2/16/2006 9:38:45 AM
Hi,
I have the scenario where I have one database and need to post jobs on the
intranet and then the same jobs on the extranet.
I wonder what is the most feasible and secure way of doing it without buying
second license of MS SQL to duplicate the data.
So far I am leaning towards Web Servic... more >>
Drive Defined - The Dotnet Way?
Posted by Donald at 2/16/2006 8:29:49 AM
In both VB6 and VB.NET I can search through the available drives and look
for a specific drive type (ie fixed, CD, remote). This is done with the
File System Object and other scripting objects along with a for loop:
Dim fso As New Scripting.FileSystemObject
Dim Drives As Scripting.Drives ... more >>
MAPI logon fails through SQL Job
Posted by Sachin Vaishnav at 2/16/2006 8:28:23 AM
Hi!
I have got a VB.NET exe which is using MAPI object to read the emails.
Now, the exe works excellent if I execute it independently. However, my
requirement is, I have to call this exe through SQL Jobs (SQL Agent). Now,
when I do that way, the MAPI logon fails, everytime.
It is giving me... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Why the aspx file doesn't work when I have uploaded it to the web
Posted by Fat Bug at 2/16/2006 7:33:27 AM
I create simple files in Visual web developer 2005 express edition:
Default.aspx, Default.aspx.cs. they work normally in my local host.
After I uploaded them to the web site (virtual host, Windows 2003 server,
support ASP.net 2.0), they doesnot work in the web site, if I input the
address as ... more >>
CLR process relation
Posted by Raj at 2/16/2006 6:48:27 AM
Will CLR be per-process or per application. I mean if I start two or more
instances of same application(.exe) will the CLR be two or more instances?
thanks,
Raj... more >>
Windows Service not firing PrintDocument.PrintPage event
Posted by Tony at 2/16/2006 6:21:28 AM
There is no microsoft.public.dotnet.framework.windowsservice group, so I am
posting this question here.
Can an object of class PrintDocument work properly in a windows service? The
VS.NET2003 designer allowed me to drop a PrintDocument control onto the
design page of my windows service. I a... more >>
.NET Newbie and Garbage Collection
Posted by Larry at 2/16/2006 2:41:28 AM
Hi,
I'm about to delve into the wonderful world of .NET and C# and I have a
couple of questions regarding Garbage Collection. I'm an ex-Delphi programmer
and I'm used to DIY GC.
1. Assume there are two .NET apps running and they are both consuming a
large amount of memory because of lots... more >>
How to get OS name?
Posted by Lloyd Dupont at 2/16/2006 12:00:00 AM
I tried something like:
Environment.OSVersion.ToString()
but that returns me something like:
Microsoft Windows NT 5.1.2600 Service Pack 2
where as I was hoping for something like=20
Windows XP Service Pack 2
How to get Windows XP ?
I saw some code elsewhere which hard coded the follow... more >>
|