all groups > dotnet framework > september 2007 > threads for september 1 - 7, 2007
Filter by week: 1 2 3 4 5
AJAX AND url rewriting
Posted by Mukesh at 9/7/2007 4:18:19 PM
I am using MS ajax 1.0 asp.net 2.0 VS 2005
and Helicon ISAPI_Rewrite 2.11
I have a seach page named search.aspx
I have created a form for searching on this page.for intractiveness i =
have used ajax Update panel..
on search.aspx the ajax is working fine when i submit this page after ... more >>
Thread locking in C sharp
Posted by linuxfedora NO[at]SPAM yahoo.com.hk at 9/7/2007 10:34:24 AM
When i try to do something like that:
Button On Click->Call ShowInfo();
class testing
{
private Object locker= new Object();
public void ShowInfo()
{
Console.WriteLine("Begin");
using(locker)
{
for (int j = 0; j < 10; j++)
{
Console.WriteLine("j=" + j);
}
}
Console.WriteLine... more >>
Running .NET 3.0+ applications on .NET 2.0 Machines
Posted by JJT at 9/7/2007 5:04:02 AM
I have just finished reading a 2 year old post with 42 replies on running
..NET 2.0 on .NET 1.1 machines. The question was never answered. There was
too much discussion on: "why your customers don't upgrade". I had the same
problem. I could not deploy my .NET 2.0 application until my orga... more >>
ICMP using raw socket not working on Vista
Posted by Gavin at 9/7/2007 3:12:04 AM
Hello
I have some code (see below) that sends an ICMP echo request and that works
fine on Windows XP and 2003 but fails on Vista. The code sends the echo
request but times out trying to receive the echo reply. If I use MS network
monitor I can see the echo request being sent and the echo re... more >>
ClickOnce on Terminal Server
Posted by kjellkp NO[at]SPAM hotmail.com at 9/7/2007 2:06:02 AM
Hi,
I have a ClickOnceapp. I try to run this (via URL) from a Terminal
Server (win 2000). The TS are using redirected Start menu, desktop and
profiles. The ClickOnceApp are setup to work offline as well as online
(will create icon on the start menu). When a install det ClickOnceapp
from an UR... more >>
Problems with CollectionBase
Posted by Michi Henning at 9/6/2007 11:21:13 PM
Looking at the documentation for System.Collections.CollectionBase
(http://msdn2.microsoft.com/en-us/library/
system.collections.collectionbase.aspx), I find:
public abstract class CollectionBase : IList, ICollection, IEnumerable
So, CollectionBase implements IList.
Looking at the IList m... more >>
how to create a docking desktop toolbar in C# .net 2.0
Posted by Ashutosh at 9/6/2007 9:18:00 PM
How can I create a docking desktop tool bar in C# .net 2.0...This tool bar
should dock on any side like the windows taskbar.
I have created such toolbar in Visual C++ 6.0, but can't figure out how to
do it in C#... more >>
Using ServicePointManager
Posted by valentin tihomirov at 9/6/2007 6:04:10 PM
Is the object global? I would like to ignore ftp server certificate validity
making connection to it in one part of my application. Will it apply the
validation bypass to this thread, process or whole .net platform?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Windows 2003 64bit break DAO access?
Posted by ydbn at 9/6/2007 10:54:04 AM
I have a C# program using DAO:
DAO.DBEngine dbEngine = new DAO.DBEngine();
DAO.Workspace workspace = dbEngine.Workspaces[0];
DAO.Database db = workspace.OpenDatabase(excelFileName, false, true, "Excel
8.0")
I works well until we upgrade Windows Server 2003 to 64 bit. I got the
following ... more >>
How to upgrade a GAC'ed dll
Posted by Fredrik Persson at 9/6/2007 5:14:02 AM
Hi all
I'm building an application that contains a dll that will be used by several
other applications.
The dll is installed in the GAC, to make it easy for everyone to find it.
When my application is upgraded, I'm also installing a policy in the GAC so
any call to the old dll is redirected... more >>
Specify which assembly to load
Posted by Sanjin at 9/5/2007 11:10:35 PM
I have assembly A.dll installed in the global assembly cache. I have also
the source code for assembly A.dll and assembly is included in the one of my
project.
I can not debug my application and step into functions and classes in the
assembly A. I can step into only when I remove assemb... more >>
Sabotaging e-mails to friends
Posted by GlennRB at 9/5/2007 7:28:01 PM
Can a hacker sabotage (alter the script of) e-mail a person sends to friends
and/or loved ones? I believe this has happened to me, but I have no
proof...yet. Now, the friend in question will not speak to me or even e-mail
me any more.
How is this possible?... more >>
Socket overlapped i/o ..
Posted by Rollo at 9/5/2007 12:40:02 PM
Hi:
Is there a discussion group for System.Net issues? I would appreciate this
post getting redirected there if there is one:
I understand from all the theory that overlapped i/o is good. However, I
have not found any good resource for what it means to take advantage of it
from System.Ne... more >>
Determining if .net 1.x is used
Posted by Bob Day at 9/5/2007 11:02:00 AM
How can you tell when dot net 1.X is no longer used by any program and
therefore can be removed (via control panel)?
Thanks
Bob... more >>
2 sites point to same web app install
Posted by info NO[at]SPAM sites4agents.com at 9/5/2007 8:03:30 AM
I have a host header site in IIS 6 that has phys directory
say e:\\templates
there I have a folder design1 where there is a web app
and there index.aspx
say first site has host header aaa.com
when I type in browser aaa.com/design1/index.aspx - works like a champ
I have created a second... more >>
server.transfer different apps
Posted by info NO[at]SPAM sites4agents.com at 9/5/2007 7:57:33 AM
Question
I need to do a Server.Transfer on the same server same IIS site but from one
different web app to
another
it would not allow me to do that
I have 1.1
1. Is there a way to do it without redirect?
2. maybe 2.0 or later?
... more >>
Autosize for tabcontrol
Posted by TheVillageCodingIdiot at 9/5/2007 6:48:45 AM
I am still somewhat wet behind the ears with .net 2.0. I'm creating a
program for my helpdesk to assist in some common stuff we have to do,
reset passwords and notifying techs of P1 tickets. The question i have
is right now I have a form with a TabControl filling the entier form.
There are curre... more >>
Workflow, dotNet framework 3.0, Designer, Webpages
Posted by Jerry C at 9/5/2007 6:44:04 AM
I am starting a web project using workflow and I am looking for information
on using the Workflow Designer in aspx web pages. Are there examples or other
guidence on using the designer in web pages.
Thank you
--
Jerry ... more >>
.Net Patterns
Posted by Kapil at 9/5/2007 2:53:31 AM
Hi,
I want to know about the .NET Patterns. Can anybody tell me where I
can find about them? I am a complete beginner to patterns concept.
Thanks.
... more >>
Bug in Graphics.DrawString ?
Posted by Alexander Smirnov at 9/5/2007 12:16:43 AM
If you draw a string that consists of repeating lower case characters
'i' or 'l' or 'j' then starting from 20th character the space between
characters is more than that before 20th character. I got this with a
font "Microsoft Sans Serif" size 8.25
... more >>
Robustly detecting an error when starting an app via code
Posted by Simon at 9/4/2007 8:26:21 PM
Hi everyone,
Can anyone tell me if there is a standard way of detecting an error in a
process that I've started using the .net framework's
System.Diagnostics.Process class?
I need to regularly call a secondary application but be able to tell if
a problem has occured with it and log the e... more >>
How to Get Element Type of an Array Object?
Posted by Laser Lu at 9/4/2007 7:59:55 PM
If I get an object with its type declared as Sysem.Array(not in the explicit
form like 'ElementType[]' in C#), then how to retrieve the exact element
type of that array?
... more >>
How does a Class Diagram add value?
Posted by newGuy at 9/4/2007 2:56:03 PM
Hello,
I am looking into various ways to increase communication across our many
developers: XML commenting, generating CHM files using Sandcastle, Visio UML
diagrams, etc.
My question is, how does the Class Diagram within Visual Studio add value?
It seems that while coding, it doesn't o... more >>
Uri Class?
Posted by Brian at 9/4/2007 1:33:34 PM
I have a URL and am using an HttpWebRequest to connect to the web and
download the page. When I have the page contents I use RegEx and search the
page for any <a href=> links. The links usually contain something like
"./blah/mypage.html". What I need to do is take the original URL and
com... more >>
office XP PIA
Posted by GS at 9/4/2007 12:03:11 PM
I downloaded the office Xp Pia from
http://www.microsoft.com/downloads/details.aspx?FamilyID=c41bd61e-3060-4f71-a6b4-01feba508e52&displaylang=en
post all the .net 2 update.
I notices the PIA has some older dlls. How do I go about updating them?
have I downloaded the right one for .net 2?
... more >>
Cool VS 2005 Bug
Posted by Rasika WIJAYARATNE at 9/3/2007 10:55:32 PM
Hi guys,
Just discovered what appears to be a cool VS 2005 bug. If you enter
any text in the quick find textbox in the 'Standard' toolbar and then
press 'Ctrl + K and then 'Ctrl + N' (make sure the quick find textbox
is focussed when you do this), you'll get a new text file created
named what... more >>
Regex Help
Posted by Barry at 9/3/2007 8:17:46 PM
Hi
Using regex i want to extract
games-world-
102a
from http://www.sokoban.com/games/games-world-102a
some times url might be http://www.sokoban.com/games/
or http://www.sokoban.com/games
in the last 2 cases i want "" (empty string) returned
what will the r... more >>
Microsoft.SqlServer.Management.Smo
Posted by Sami Rehman at 9/3/2007 5:15:26 PM
Hi,
I want to add reference to the libraries related to
Microsoft.SqlServer.Management.Smo
and others, however, I am not able to find the libraries.
Arent these libraries present in the .NET 2.0 framework, if
not, where do i get them from
-Sami
... more >>
Configuration Nightmare
Posted by Craig at 9/3/2007 3:56:00 PM
Hi
I've been stumbling with this problem for several days, trying to have a
simple approach to my application configuration. Essentially my configuration
is as follows:
Install Folders
1) \MyApp
2) \MyExe1
3) MyExe1.config
MyExe1.exe
4) \MyExe2
5) MyExe2.c... more >>
Configuration data for a Windows Service
Posted by ttrudeau at 9/3/2007 10:20:02 AM
I'm creating a Windows Service that will manage pluggable objects that
perform certain work based on a set of interfaces. The configuration data
for the hosting object in the service contains the information to create the
individual pluggable objects (primarly type information -- what and whe... more >>
can not defragement
Posted by tim connolly,chkdsk/f. at 9/3/2007 8:20:03 AM
I keep getting Chkdsk/f. and dont know how to get there.... more >>
How does exactly Process Kill WaitForExit work ?
Posted by Geir Sanne at 9/3/2007 5:38:01 AM
i have a windows service and a console app
the console app communicates with RS232 and reads/stores data in an oracle
database.
the windows service start several instances (Process.Start(... )) of the
console app and monitors them.
when the services detects something wrong it does a Pro... more >>
Socket exception in BeginConnect
Posted by linuxfedora NO[at]SPAM yahoo.com.hk at 9/3/2007 12:00:00 AM
Sometime, when i try to use the following function to connect to a
socket, it will come out the error as below, but it seems the
arugments are correct, ip and port are correct, then what would be the
cause of that?thanks
public void Connect(string ip, int port)
{
... more >>
Bug in System.Uri constructor?
Posted by serious-sam at 9/2/2007 10:16:40 PM
Hello all,
I'm using the System.Uri class to clean up some the URLs we're
passing around, e.g. compacting http://hostname//somefolder//somefile
to http://hostname/somefolder/somefile.
The documentation clearly states that the Uri constructor takes care
of this: http://msdn2.microsoft... more >>
Regular Expression Blues
Posted by Brian at 9/2/2007 9:31:06 AM
I need a regular expression that will give me a List<string> of all URLs it
finds within a piece of text I provide. I know that all of the URLs will
begin with something like:
https://www.somesite.com/
I really stink at RegEx - can someone help me out? I'm also not sure how to
have it ac... more >>
Full trust for unsigned assembly on a network
Posted by Nitin at 9/1/2007 7:00:19 PM
Hi!
I've got a .NET 2.0 application that I'm trying to run over a network
share. It's an unsigned assembly and I can't seem to get it to run
with full-trust - the application exits due to low-trust when run
directly from the network share... it runs fine off the local disk
though.
Is there... more >>
Microsoft Office 2007
Posted by DBJoans at 9/1/2007 10:36:00 AM
Hi. I have just transfered all my files from my old computer running windows
ME with Microsoft Works Suite 2000 to a new computer running windows Vista
Home Premium with Microsoft small business. Unfortunately, a works
spreadsheet will not open. Do I have to install Works on my new computer... more >>
Can't convert 2007 word in Works Suite 2006
Posted by bojiveinski at 9/1/2007 8:32:00 AM
I've downloaded the compatibility pack to convert 2007 word documents in
Suite 2006 but I still get the error message that I have to update the
compatibility pack. I stopped using Office Word 2007 and I'm stuck with the
2007 documents that I can't open.
--
bojiveinski... more >>
|