all groups > dotnet framework > april 2008 > threads for april 22 - 28, 2008
Filter by week: 1 2 3 4 5
Programatically create static network route
Posted by Sid Price at 4/28/2008 5:39:50 PM
I am searching for information on programmatically creating static network
routes. We need to integrate the functionality of the command line
"route.exe" utility to create a static route. I would appreciate any
pointers to understanding how to do this with the .net framework classes.
Thank yo... more >>
System.Diagnostics.StackTrace
Posted by Peter Larsen [CPH] at 4/28/2008 4:31:56 PM
Hi,
How do i get the line number of the calling method in debug-mode.
This is what i do:
StackTrace st = new StackTrace();
string s = string.Format("Method:{0}, line:{1}",
st.GetFrame(1).GetMethod(), "??");
This method gets the callers function name, but i don'... more >>
Funky Build Shows No Errors When Compiling
Posted by Schemed at 4/28/2008 2:09:17 PM
Something got funky with my build.
I had been happily developing my web site when all of a sudden F6 (or
rebuild solution) decided it was not going to compile my .aspx.cs nor
ascx.cs code and thus I do not get error messages until I try to open
page in browser.
Could someone walk me through... more >>
XML Comments and back ticks
Posted by Bob Jones at 4/28/2008 9:43:40 AM
I am curious. When looking at the XML comments provided by .NET 2.0.
What is the difference between a single and double back tick? MS
documentation http://msdn2.microsoft.com/en-us/library/fsbx0t7x(VS.80).aspx
states;
For generic types, the name of the type will be followed by a back
tick and... more >>
Dot net 3.5 compatibility issues with 2.0
Posted by dannydenhard at 4/28/2008 6:51:30 AM
Hey,
Can someone help?
We have visual studio 2008, and our coding team have been coding new
features on our older infrastructure.
Currently it runs dotnet framework 2.0 and we are having issues when
running this or uploading any new developments.
Is there any way of selecting what fram... more >>
assembly always gets built optimized <1175581825.143153.29530@o5g2000hsb.googlegroups.com>
Posted by Kousik Chatterjee at 4/27/2008 11:43:33 PM
Hi Robert,
I recently came across the same problem. I am not able to debug parts of the code when I attach my visual studio debugger to an already launched process.
Did you find a way to get across it ? Do I need to modify the build settings for the particular assembly to solve the problem ?
T... more >>
determing file size of Bitmap object without saving it...
Posted by buu at 4/27/2008 9:30:33 PM
how could I find file size of an bitmap object downloaded from an web site
without saving it to the disk (and using system.io.FileInfo)?
is there any way to create some kind of an byte array and read it's size?
... more >>
click once command line parameters how to ?
Posted by Tom at 4/26/2008 12:07:00 PM
I want to pass parameters to a click once application run from the windows
scheduler. I have found several references that tell me these applications
are launced using a URL to the deployment manifest using query string
parameter syntax:
http://mydeploymentserver/MyApplicationFolder/MyApplic... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Can dotnet Framework 3.5 used in VS2005?
Posted by chyong at 4/25/2008 8:36:00 PM
Hi, can I upgrade the dotnet framework from 2.0 to 3.5, and use it in my
VS2005 projects development?
Thanks... more >>
IsDnsEnabled
Posted by jve91@lordbah.com at 4/25/2008 2:57:03 PM
We just moved to .NET 2.0, and in trying out
System.Net.NetworkInformation and friends, I find that it always says
IsDnsEnabled=false, even when that connection clearly is using DNS to
resolve names, I can fetch back DNS server addresses, etc. Anyone else
see this? All of the other settings look... more >>
Silly delegate question
Posted by Mark at 4/25/2008 2:09:03 PM
How many superdelegates does it take to screw in a lightbulb?
No... I was wondering if an instance of delegate stateful or can it be
reused?
For example you see a lot of (new AsyncCallback (method), param) it i/o
calls. If the delegate itself isn't carrying state, it seems like you could... more >>
How to write a .NET attribute which does just like ObsoleteAttribute...
Posted by AshokG at 4/24/2008 5:56:46 PM
Hi,
In .NET there is attribute named ObsoleteAttribute which is derived from
System.Attribute Class. This attribute when applied to a target (class or
method etc.) gives a compiler warning/error. I know we can write our own
attributes by inheriting the System.Attribute but I want to make i... more >>
Windows services opens a win application form.
Posted by Andrew at 4/24/2008 6:51:05 AM
Windows services opens a win application form.
Hi,
How do I get my Windows service opens form in windows application ?
I have this bit of code :
Service1.cs
===========
using System.Windows.Forms;
protected override void OnStart(string[] args)
{
Application.EnableVisualStyles();
... more >>
identity does not have write access to Temporary ASP.NET Files'.
Posted by Naveen at 4/24/2008 6:03:45 AM
Hi Friends,
I created one ASP.Net 2.0 application and deployed that in IIS.
When I tried to access that through IE, it is giving following error.
The current identity (ComputerName\ASPNET) does not have write access
to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files... more >>
Is AJAX Extension needs Visual Studio .Net 2005
Posted by Naveen at 4/24/2008 5:37:56 AM
Hi,
Do Visual Studio .Net 2005 need to be installed for installing AJAX
Extension.
Thank you
Naveen G... more >>
CodeBase and Dependent Assemblies
Posted by Dougie Brown at 4/24/2008 2:16:01 AM
Hi
I have a question or two which I'm pretty sure of the answers, but wanted it
confirmed by those who know more than me!!
Basically we want to share assemblies across many applications and allow for
side by side execution, but for reasons that I don’t quite agree with the GAC
is rule... more >>
Xml File Reading Issue
Posted by barry at 4/23/2008 7:46:59 PM
Hi
I am trying to read a large xml file (about 69mb in size) using ReadXML()
method of DataSet, it takes very long to do so, i there some other way to
read such large XML files.
TIA
Barry
... more >>
Regex help
Posted by barry at 4/23/2008 3:59:58 PM
6Nov08
6Nov2008
26Nov08
26Nov2008
Will someone please give me the Regular Expression from the above 4 items, i
need to extract
day , Month and Year
TIA
Barry
... more >>
Hook web service call
Posted by Fred at 4/23/2008 3:20:23 PM
Hello,
A windows forms client connect to an ASP.NET 2.0 web service.
A proxy class is generated by Visual Studio 2005.
How can I simply store (on client side) the time of the last call to the
web service, without modifying the proxy generated class file ?
Thanks for yout help.
--
F... more >>
How to use in .Net path longer than 260 characters
Posted by Francisco at 4/23/2008 10:21:56 AM
Hello all,
I'm trying to use paths longer than 260 characters, but the classes
I've used like System.Directory seems to lack support of NTFS long
paths like:
\\?\d:\test
or
\\?\UNC\testmachine\testshare
Can anybody give me any clue on that?
Thanks in advance... more >>
Windows Service & System.Timers.Timer production issue...
Posted by Ollie Riches at 4/23/2008 9:28:00 AM
I'm looking into a production issue related to a windows service and
System.Timers.Timer. The background is the windows service uses a
System.Timers.Timer to periodically poll a directory location on a
network for files and then copies these files to another location (on
the network) AND then up... more >>
How can I verify .NET 2.0 installation???
Posted by C.R. at 4/23/2008 6:02:34 AM
I have found ways by checking the registry, but we have hundreds of
computers. I have a powershell script that can verify the presence of
folders and files. Is there one specific file or folder that .NET 2.0
installs that I can check for?... more >>
Error Message When I Bring Up Media Center
Posted by Joey Bear's Girl at 4/22/2008 6:03:00 PM
When this error appears it's also difficult to get out of both the error
message and media center. Here is the error:
WINDOWS - NO DISK
exception processing message c00000135 parameters 75b6bf9c 475b6bf9c 75b6bfac... more >>
CryptographicException from System.Security.Cryptography.Protected
Posted by ondrej421 at 4/22/2008 4:58:01 PM
Hi there,
On some computers running Windows XP, the ProtectData() method sometimes
throws the following CryptographicException:
Type: System.Security.Cryptography.CryptographicException
Message: The system cannot find the file specified.
Source: System.Security
Stack Trace:
... more >>
.NET winform repainting issure
Posted by rsimlote@gmail.com at 4/22/2008 11:27:31 AM
I have a winform application, and forms with several nested controls
incl. tab controls, tablelayoutpanel, groupboxes and the controls. I
also have some usercontrols that I am adding dynamically. All together
I have more than 300 controls on the application. The problem is that
when I scroll, th... more >>
Missing .Net Framework Configuration utility
Posted by John Coltrane at 4/22/2008 9:24:49 AM
I installed VS 2008 with the .Net framework and the Configuration
utility doesn't seem to be installed. How can I install this?
thanks for your help
john... more >>
DateTime
Posted by Roy at 4/22/2008 8:07:00 AM
I want to copy a DateTime value to/from an byte[] array. However, when I try
to get the size of DateTime by using sizeof(DateTime), the compiler complains:
'System.DateTime' does not have a predefined size, therefore sizeof can only
be used in an unsafe context (consider using
System.Runtim... more >>
|