Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet sdk > september 2004

Setting host header for WebRequest
Posted by Subir at 9/30/2004 9:51:03 AM
Hi, I am using the WebRequest class to access a web site. The web site is not configured in the DNS. So I want to set the host header value in the request object. Any ideas how I can do this? I do not have the option of updating the hosts file and then accessing the site. Thanks, Subir ...more >>


"marker" interfaces. What are they good for?
Posted by Eran Kampf at 9/28/2004 9:25:46 PM
I was wondering why MS defined "marker" interfaces (empty interfaces) in the ..NET framework(interfaces such as such as INamingContainer, IRequiresSessionState etc...). Why not use attributes? Eran Kampf http://www.ekampf.com ...more >>

How to read files from assembly
Posted by Yoges at 9/22/2004 4:37:00 PM
Hi, I my .Net Class library project I have added the .xsl file. I need to get the contents of the file by loading the Assembly Dll. Is there any way to get the file contents. Thanks and Regards, Yogesh ...more >>

Unable to login in a clent server application
Posted by Kumar Jeevan via .NET 247 at 9/18/2004 12:42:48 PM
(Type your message here) -------------------------------- From: Kumar Jeevan I am getting this message when trying to login= a client server application: Server was unable to process= request=2E --> Access to the path "c:\program= files\cxorder\log" is denied=2E and stack trace...more >>

is there an IE sdk???
Posted by Harry Potter at 9/16/2004 12:03:24 PM
Hi, is there anything like Internet Explorer SDK????? ...more >>

Menu accelerators
Posted by Andrew Moore at 9/15/2004 4:47:33 PM
Hi, I have a Windows forms application in which I am using Direct3D for 3D rendering. I have the application in a tight render loop using Win32 calls as follows private void DoEvents() { Win32Lib.MSG msg; while(Win32Lib.User32.PeekMessage(out msg, System.IntPtr.Zero, 0, 0, Win3...more >>

Windows Media Services, H.323 and Video streaming in general
Posted by Lonewolf at 9/15/2004 2:13:39 PM
Hi everyone, pls forgive me for my lack of knowledge and skills if my question sounds very stupid. I am trying to implement a video conferencing software and I am currently looking at a few set of technologies, among them WMP, RealMedia, H.323 and XviD (not sure if it is suitable for streaming e...more >>

is it possible to build the microsoft sample LSP in a VC++ env?
Posted by Harry Potter at 9/14/2004 3:16:55 PM
Hi All- I like to build the sample LSP included withing the microsoft platform sdk feb 2003 samples in a Microsoft Visual C++ env so I can build the .bsc files.... is it possible? I build it with nmake and it works in microsoft tools but when build it in VC++ it gives me 69 errors..... could ...more >>



Ascii --> UTF8 and Excel trouble
Posted by slidell4life NO[at]SPAM gmail.com at 9/13/2004 10:04:39 PM
I'm having trouble with an ascii character... ° ....getting turned into ... ° ....when I write it to a file and open in Excel. It looks fine in notepad, but excel mucks it up. I can only guess it's a Ascii to UTF8 problem. Does anyone have any idea, or perhaps a lesson on strings ...more >>

How to convert String to WCHAR ?
Posted by Dane at 9/13/2004 3:45:04 PM
How can I convert a String to a WCHAR array? Here is basically the code I'm trying to execute (in C++) but the casting from Char* -> WCHAR* does not work: ////////////////////////////////////////////////////// #include <windows.h> #using <mscorlib.dll> using namespace System; int main(int...more >>

xp style icons
Posted by Marek at 9/12/2004 9:04:31 PM
Hi, I would like to use stndard XP style icons (New, Open, Save, Print, etc...). How can I extract them from OS? I also need the same program to be run under Win2K and Win98 and, of course, I would like the corresponding set of icons to be extracted unthe these OSes. Is that possible? I am ...more >>

creating my own shortcuts in .net
Posted by Bill Hauver at 9/12/2004 5:59:02 AM
Is there a way to create windows shortcuts (.lnk files) via the .net framework? I have only found a way to do this with the scripting host DLL and I do not want to have to redistribute this with my application. Thanks!...more >>

how do I make use of dt_dll/dt_dll2
Posted by Harry Potter at 9/10/2004 6:04:14 PM
Hi, I'm running windows 2000 and I'm trying to use the dt_dll or dt_dll2.dll as it comes with the Microsoft SDK feb 2003 samples.... (I just did an nmake to the two directory to build the .dll ) this is to be able to debug the calls between App, winsock and the LSP (LSP is also my modified versi...more >>

How to get "Case-Sensitive" file name?
Posted by TK at 9/10/2004 12:53:54 PM
Hi, I have a problem to get a file name with case-sensitivity. My application (actually an Windows service) is using System.IO.FileSystemWatcher class to monitor file/folder operation by users. It's working fine expect a point that the e.FullPath property has a path name in lower case only....more >>

help me with my understanding of WSPRecv/From
Posted by Harry Potter at 9/9/2004 6:48:33 PM
I understand that LSP resides between the Wsock32.dll and TCP.sys... so if the sequence to send is the following App->Wsock32.dll->LSP->TCP.sys send->WSASend->WSPSend->lpwspsend then shouldn't the sequence to receive be the following TCP.sys->LSP->WSock32.dll->App what function called in...more >>

how to post the data to the browser from LSP (how does browser works)
Posted by Harry Potter at 9/9/2004 11:16:35 AM
Hi, I have made some modification to the lsp sample from microsoft... I'm having difficulty with giving the incoming data from my LSP to the browser (IE). I'm trying to underestand how does browser works... the communication channel, what format it expects and all that...I guess this is necessar...more >>

Error installing .Net framework
Posted by Anderson Calos Parucker at 9/8/2004 9:04:56 AM
Im getting this erro when I try to install .Net Framework 1.1 Product: Microsoft .NET Framework 1.1 -- Internal Error 2908. {7D4B5591-4C80-42BB-B0E5-F2C0CEE02C1A} How I resolve this !? Thank you for any help. Anderson ...more >>

How to specify the App.config file for an independent c# program
Posted by moonriver at 9/7/2004 2:41:01 AM
As we know, a App.config file can be specified in a C# project in the .Net IDE. However, how to specify the App.config file for a C# program independent of any C# project? For example, a.cs is such a C# program that it can only be compiled by the following command line under Windows console: ...more >>

Reading/altering an .xml document
Posted by Bob Robertson at 9/4/2004 9:42:58 AM
Hey guys - I'm fairly new to .NET and am trying to do the following: Read in one ..xml document, selectively remove and/or change certain nodes within it, then save the results in a second document. For instance, if I have: <a name="a"> <b name="b" miscattr="blah"> <c name="c1"...more >>

event handling
Posted by Igor at 9/2/2004 2:23:14 PM
When I fire event, is it synchronous or async action? ...more >>

System.Diagnostics.StackTrace and Exceptions
Posted by Michael McGuire at 9/1/2004 3:51:03 PM
I am creating a custom exception that derives from ApplicationException to automatically capture additional information that is not included in the base Exception class. One of the pieces of information I am wanting to capture is a more complete call stack than the one provided by the StackTr...more >>

order of execution of page_load in a base and derived classes
Posted by z. f. at 9/1/2004 3:23:23 PM
Hi, i have a class that is derived from System.Web.UI.Page, and this is the class i use in my application as PageBase. all other page classes are deriverd from my PageBase instead of the original System.Web.UI.Page in order to have common checks in the page base. i make securirty checks in ...more >>

BITS, DOT NET framework and Visual C++ 6
Posted by gentian.metaj NO[at]SPAM trustasc.com at 9/1/2004 7:21:03 AM
Does BITS (Background Intelligent Transfer Service) 1.5 require Dot Net framework on the client side. From what I have read it seems like Bits 2.0 needs the dot net framework but Bits 1.5 does not. I am trying to write a wrapper for BITS(Background Intelligent Transfer Service) to use in our V...more >>


DevelopmentNow Blog