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
all groups > dotnet general > december 2004 > threads for tuesday december 7

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 29 30 31

printing problem .net
Posted by DT at 12/7/2004 11:11:44 PM
I am working on a windows form application which does some printing. The problem I have been having is the "printing progress" window that pops up when the page is about to print. How do I disable that in my code. DT ...more >>


Framework deployment
Posted by Landley at 12/7/2004 9:42:20 PM
Hello All, How can create a setup package that detects whether the framework is installed and installs it if not present? Landley ...more >>

Porblem in reading Chr(0)
Posted by Venki at 12/7/2004 9:09:02 PM
Hai Guys, I'm facing a problem in reading the file values. When the record contains the Chr(0) i can get the value till Chr(0). After Chr(0), I'm unable to get the value. It's getting truncated. When I tried with Console Application and tried to print it out, It's working perfect. But wh...more >>

Assembly version number
Posted by Landley at 12/7/2004 9:04:33 PM
Hello All, I am writing a windows service and wish to retrieve the version number of the assembly. In a windows application, there is the Application class that contains this information. Is there a similar method in windows services? Landley ...more >>

vb.net dll won't release powerpoint
Posted by C Williams at 12/7/2004 8:56:17 PM
Hi, I am writing some VB.NET code that compiles to a dll. There is some code within it that manipulates Powerpoint 2003. The dll I am writing is for smart tags, and I am having trouble because sometimes Powerpoint is remaining running (powerpnt.exe in Task Manager). One action of my sm...more >>

threading problem while creating COM objects
Posted by Tristan Ludowyk at 12/7/2004 5:51:45 PM
Hi, In my application I have a worker thread which goes and sends faxes using winXPs FAXCOMEXLib API. When a fax is complete or fails, an event is triggered. In this handler I save the result and remove the fax from my list of faxes being sent. However before this i must make sure my wor...more >>

Navigating the code
Posted by glenn at 12/7/2004 5:02:15 PM
Can anyone tell me if there is a quick way to move around in the code to do this? 1) I am in a function block and want to jump to the top of that section of code without having to pick the mouse up, move to the scroll bar and scroll up all the while looking very closely to make sure I don't l...more >>

DataGrid and Simple Sorting
Posted by thejackofall at 12/7/2004 3:55:34 PM
Hi. I am having a problem doing a simple sorting. Would someone be cool enough to take a look and advise? It doesn't sort. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ using System; using System.Collections; using System.ComponentModel; using System.Data; using System...more >>



Get Current Method's parameter values as collection with reflection(?)
Posted by Angelos Karantzalis at 12/7/2004 3:37:36 PM
Hi y'all .. I hope this is an interesting one ... Within an executing method, I can call MethodBase.GetCurrentMethod() and retrieve info about the method that's currently running, including parameter names & data types. Is there a way to get the parameter v a l u e s as well ??? ( I know ....more >>

Enumerating and removing
Posted by Kevin in Chicago at 12/7/2004 2:49:05 PM
Hello all, I have written the following code that both enumerates and also removes from the collection being enumerated. As the code illustrates, this causes me to have to reset the enumerator. Clearly this isn't very attractive. Dim enumerator As IEnumerator = _containmentTree.GetEnu...more >>

Setting EFS using FileInfo.Attributes
Posted by G. Richard Bellamy at 12/7/2004 2:24:52 PM
I'm trying to unset the Encrypted attribute on all the files in a path. The attribute is not getting set. What am I doing wrong? Perhaps there's another newsgroup I can send this to? Here's the code: ============================================= using System; using System.Diagnostics; ...more >>

Help with the magically instantiating collection class
Posted by thechaosengine at 12/7/2004 2:21:27 PM
Hi everyone, I posted a question earlier about a collection class that I'd made seemingly getting instantiated magically after a class that contained a variable of that type had its constructor called. The constructor didnt touch the collection class and defineately didn't initialise it....more >>

Windows Meadia
Posted by Philip Korolev at 12/7/2004 12:41:39 PM
This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C4DC5A.18E5B090 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All. I am looking for articles on Windows Media development in ASP.NET pages. = Dynamically adding play...more >>

Cannot run project locally
Posted by VK at 12/7/2004 10:54:30 AM
Hi, I copied over our website(using ASP.NET & ASP), trying to set up a local project on my pc. While trying to run ASP coe, it comes back with some of the includes not being found and trying ASPX page comes back with if request to save the page. Is something missing. thanks *** Sent...more >>

Web service Impersonatation?
Posted by Frank Wisniewski at 12/7/2004 9:41:28 AM
When I set up impersonation in the web.config file and specify a user and password I get strange results. This line of code will get me the user account I set to impersonate: System.Security.Principal.WindowsIdentity.GetCurrent().Name This line of code will get me my user account ever time: ...more >>

.NetFramework - C# - Sybase System 11
Posted by Wellingotn Rampazo at 12/7/2004 9:05:03 AM
Hi guyz.... I'd like to know if anyone has already used C# components (COM+) or C# WebServices connected with Sybase System 11. Are there anyone who knows about it ? What driver version ? or native sybase driver ? Thanks....more >>

Sending compressed HTTP requests to Apache server:Content-Length I
Posted by PerryG at 12/7/2004 9:03:02 AM
We have a .NET 1.1 client which is sending a gzipped soap request using HttpWebRequest to an Apache server. The Apache server is using a the 'mod_deflate' server to decompress the incoming message, and to also compress the response (GZIP). The mod_deflate filter requires the 'Content-Len...more >>

Accessing Sites Internally vs. Externally
Posted by John A. Janes at 12/7/2004 8:59:04 AM
Here's an odd one, I'm currently developing a site for internal usage, to get around their public website, I set the internal server to port 8080 (I publish my .net from my office externally). There is no problem at all accessing the site externally, but it is almost impossible to access in...more >>

How to convert a socket data buffer into pictures.
Posted by PHS at 12/7/2004 8:27:06 AM
I have a c# client application that connects to a network socket. When connected, the listener sends a network stream containing bitmap, jpeg, data from a file nominated by the client. The client application (also c#) receives the data into a byte[] array. I want to pass the byte[] array dir...more >>

Landscape printing in vb.net ??
Posted by MarcJ at 12/7/2004 7:29:02 AM
Hello, I can't seem to get printing to landscape working. Here is some of the code I've tried. '--------------------------------------------------------------------------------- Dim myDocument As PrintDocument = PreparePrintDocument() Dim myPaperSize As PaperSize D...more >>

dynamic map
Posted by piyush at 12/7/2004 7:27:02 AM
All, Has any one try creating maps with dontnet - dynamically while serving on the web? E.g. if I have maps of different counties and I want to construct a map of the state using county maps - how would that be done programmatically? Is this worth doing or to use any off-the-shelf product i...more >>

Help on Launching Internet Explorer ??
Posted by serge calderara at 12/7/2004 7:15:02 AM
Dear all, What is teh right way to launch IEXPLORE.EXE with a specified starting page from a VB.NET code ? I have tried Shell("IEXPLORE.EXE") but fatal error occurs I have try Process. Start ("IEXPLORE.EXE") same error occurs Thanks for your information Regards Serge...more >>

const and static readonly - Difference.
Posted by Kavitha at 12/7/2004 3:19:01 AM
Hi Pals, I am confused between const and static readonly in C#. I want to know the difference between then. Please give me clear explanation. thanks in advance. -- Kavitha...more >>

Getting windows version and type
Posted by James at 12/7/2004 2:51:03 AM
I can get the windows version number from System.Environment.OSVersion e.g. "Windows NT 5.1.2600.0" for XP SP2. I was wondering whether this tells you the type of windows it is or if you have to use something else? E.g. for windows 2000 do you just get a version number, or can you tell if it...more >>

where is the Line Control ?
Posted by Tark Siala at 12/7/2004 2:48:53 AM
hi again :) in VB6 i use the Line to Draw Lines Like when i make Wizard Forms. but in VB.NET i cant find this Control...... it's realy not important Control but nice to make GUI like 3D Lines please tell me where the line Control in VB.NET??? -- ----------------------------------------...more >>

How to automatically generate many publisher policies ?
Posted by Seb LM at 12/7/2004 2:00:24 AM
Hello, I'd like to define a publisher policy which covers many versions of assembly from which the "major.minor version" are different but it's not possible to make a such publisher policy. So it's necessary to create a publisher policy for each new "major.minor version", which can take a ...more >>

DDE examples in .NET?
Posted by Dale at 12/7/2004 1:46:01 AM
I'm attempting to use the DDEML library in C#.NET. Some of the structures are not well documented however, leaving confusion over structure sizes and permitted values. Anyone know of an example in .NET using either DDEML or plain DDE? I'd prefer C#, but anything would be useful. Thanks. ...more >>

How big is a C BOOLEAN
Posted by Dale at 12/7/2004 1:43:34 AM
Stupid question, but since I can't find it in the VS help... I need to create a structure and pass it to a Win32 API function. How many bytes is a C BOOLEAN? And is it the same size as a C# bool/System.Boolean? If so is it set (values) the same, or do I need to create an integer of the requi...more >>

Problem with Microsoft Ole DB Provider for Oracle
Posted by jose.joao NO[at]SPAM cgd.pt at 12/7/2004 1:43:01 AM
Hi, I don't receive any error. What happens is when I try to open the connection in the "tree windown" to see the objects, appears the dialog box to ask the user/pass/SID(alias) and when I press the "connect" button nothing happens. The window don't disapear, it look like you wrong input, a...more >>

Can't Install Service Pack 2
Posted by Jim Slade at 12/7/2004 12:22:30 AM
I downloaded the .NET Framework SP2 exe to a Windows Server 2003 (standard) machine, double clicked on the exe and got a message that starts out: "The upgrade patch cannot be installed by the Windows Installer Service because the program to be upgraded may be missing, or the upgrade patch may ...more >>


DevelopmentNow Blog