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 > july 2004 > threads for wednesday july 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

How to set datagrid' textbox columns' max length ?
Posted by Agnes at 7/7/2004 11:19:03 PM
I need to limit the number of characters in the Textbox column in the datagrid. How can I do that ? Thanks ...more >>

Multiple entries in DataTable
Posted by Job Lot at 7/7/2004 10:27:01 PM
I have tow columns in my DataTable Date, Amount. What would be the best way to create multiple entries in my DataTable? I am given a start date, end date and an amount. I want to create multiple entries for the given amount starting from start date until end date. For instance Start Date is 01/0...more >>

DataGrid Header and Text Alignment
Posted by PankajBanga at 7/7/2004 10:23:02 PM
Is there anyway to align HeaderText different from text in the column. I want my text to be right aligned and headertext to be center. I don't want to add blank spaces in HeaderText as I am using a function which autoresizes the column. thanks ...more >>

SMTP mail in VS 2005
Posted by Chris Wagner at 7/7/2004 9:43:52 PM
Can I use SMTP in VS 2005 to send mail through a SMTP server which requires logon information? I know I can't do that with VS 2003. Thanks ...more >>

Find Missing Data
Posted by Justin Emlay at 7/7/2004 9:18:20 PM
I'm hopping someone can help me out on a payroll project I need to implement. To start we are dealing with payroll periods. So we are dealing with an exact 10 days (Monday - Friday, 2 weeks). I have a dataset as follows (1 week to keep it short): Employee 1 - Date 1 Employee 1 - Date 2 ...more >>

c# app problems
Posted by help in c# at 7/7/2004 8:21:01 PM
i need help, i'm testing a c# application i made using ms access odbc..it won't run in my other pc..the other pc runs on win98se..i have already installed the .net framework..when i try to run it, it displays "Exception that cannot be handled..Process id=0xffe22e63(-1954205), Thread id=0xffe22a17(-1...more >>

Class Inheritance
Posted by ubergoober at 7/7/2004 7:08:01 PM
Hi, I have Class A, and I would like my Class B to inherit from Class A because they are conceptually common classes. My problem is that Class A has a property that I don't want Class B to have. Is there any way to hide, or not inherit, properties of the parent class? Btw, I'm coding in C#, in...more >>

Help in XML
Posted by Support at 7/7/2004 6:04:03 PM
In my app I need to convert a structured XML file into a PDF file. I can use XSL FO to achieve this. Are there any other options? Maybe through a .NET base class? Please suggest. ...more >>



Dotnet printing problem: the data area passed to a system call is too small
Posted by DCraig at 7/7/2004 5:07:45 PM
I'm having problems printing to a line printer from both Crystal Reports and SQL Server reporting services using dotnet. When I try and print a report from an application with Crystal I get the error message "the data area passed to a system call is too small", and nothing else. With SSRS when ...more >>

Freeware/shareware Windows controls
Posted by Richard L Rosenheim at 7/7/2004 3:24:02 PM
I'm experimenting with .Net programming and is wondering what free (or low-cost) UI controls are available for non-commercial use. As I'm just playing around with code and concepts at the moment, I'm not really ready to go out and start purchasing commercial libraries at hundreds of dollars ea...more >>

how to replace?
Posted by exBK at 7/7/2004 3:24:01 PM
I need to replace certain words in a string as below: strTitle="Microsoft test title for project ABC"; strKeywords="title project"; what I want to do is: "Bold" the keywords "title" and "project" in the string strTitle. Microsoft test <b>title</b> for <b>project</b> ABC Any suggestions on...more >>

Anyway could hide the redirect path of the browser ?
Posted by benny at 7/7/2004 2:48:18 PM
Hi, I am trying on redirect the to the file EnterpriseManager2.0.zip without having to show the absolute link on http://w0018/EnterpriseManager2.0.zip where the download utility cannot get that absolute link. I tried:- 1. window.open("http://w0018/EnterpriseManager2.0.zip") and 2. Respo...more >>

Best choice of technology
Posted by JohnFol at 7/7/2004 1:47:22 PM
I have a requirement to run some code on a server. The purpose of the code is purely to process data between an MS SQL box and a remote Oracle box. It has no UI, and needs no user intervention to run. The 2nd part of the requirement is to have a UI that will allow an operator to view the progr...more >>

Changing the Color of a Toolbar
Posted by Charles A. Lackman at 7/7/2004 1:33:39 PM
Hello, I am using the Toolbar from inside VS.NET and am looking for a way to change it's background color. When I look it up on Microsoft's Web Site I see that it is overridden ,but, I am very unsure how to accomplish this. Any suggestions will be greatly appreciaed. Thanks, Chuck P...more >>

Casting managed array
Posted by Stewart Stevens at 7/7/2004 12:22:59 PM
I have a structure that looks like this: [StructLayout(LayoutKind::Sequential)] public __value struct mytype { float first; float second; }; I am trying to pass arrays of these things over a socket. So I have: mytype items __gc [] and need to provide ...more >>

Is there Remote Debugging in Vs.Net 2003 Pro
Posted by morda31 NO[at]SPAM yahoo.com at 7/7/2004 12:09:36 PM
HI, all.... I am testing Vs.Net 2003 Pro for use in our company (from the 60 day trial disk). Currently we are using 2002 Enterprise. In Vs.Net 2002 Enterprise I have the ability (under Debug|Processes) to select another machine from our network and attach to processes running on it. In th...more >>

Where does VS.NET store the custom toolbox items?
Posted by Stan at 7/7/2004 11:47:51 AM
I stored many useful code snippets in Visual Studio.NET toolbox and need a way to copy these items to a new Visual Studio instance. I would like to know where they are stored.. Thanks, -Stan ...more >>

RichTextControl Rtf property
Posted by oneworld at 7/7/2004 11:07:01 AM
I have an application that simply reads the text in a RichTextBox control, and stores the text into the database. I want to use the plain RichTextBox control and not a database rtf control. When I read the Rtf property it returns the text combined with rft codes, e.g.: "{\\rtf1 ....... \r\0" ...more >>

Deploying web service error
Posted by Peter Schmitz at 7/7/2004 11:07:01 AM
Hi, I just wanted to deploy my first web service I created with VS .NET on a different computer. So I took my dll, and the .asmx file, copied them on the new platform, created a new virtual directory that points at them, and started. It crashed, due to the fact, that the system couldn't find the ...more >>

Browser no longer shows error messages
Posted by Schoo at 7/7/2004 10:25:31 AM
I don't know how this happened, but my development workstation suddenly stopped showing error messages in IE and instead shows a web portal of some kind that has "Problems finding what you're looking for?" accross the top and a bunch of links to search.windowenhancer.com. I must have downloaded ...more >>

tranparency problem with different systems
Posted by Ajit at 7/7/2004 6:51:01 AM
Hi, I am trying to make the background of a MDI apllication transparent using the transparentKey property of System.Windows.Forms.Form. After making trasparent, my application is giving painting problem while moving the child window inside the MDI frame. It is not able to paint the background win...more >>

H2: Modify an OpenFileDialog folder location?
Posted by Mr. B at 7/7/2004 5:44:44 AM
If you can set the 'initial' path of an OpenFileDialog box by something like the following: Dim FilesPath As String ' Files Path FilesPath = "P:\Projects\" FilesPath = OpenFileDialog1.InitialDirectory HOW can you set a 'current' path? For example: My application has...more >>

Please Help ???????
Posted by pargat_g NO[at]SPAM yahoo.com at 7/7/2004 5:30:25 AM
Hi Everyone: I am posting this second time, Plaese Help. I am having a problem to open asp.Net project.The error which i am getting is Web Access Failed the default Web access mode for this project is set to file share, but the project folder at http://XX.X.X.XXX/WebApplicatio...more >>

Sending Email From Windows Apps
Posted by hplloyd at 7/7/2004 4:19:01 AM
Hi, I am writing a windows application that generates a text file that I want to email to a specific location. Is there a simple way that i can create an email with VB.NET, attach a file and put the email into the Outbox ready to be sent next time the computer is connected? Ideally I want t...more >>

WebMethod, XmlDocument and CreateProcessingInstruction
Posted by tjordah NO[at]SPAM start.no at 7/7/2004 3:21:54 AM
I'm currently writing a webservice. I've successfully written a service that gives me some XML data, but now I want to link a XLS-stylesheet to that data. The way I'm trying to do that is to create a webmethod that returns a XmlDataDocument, and use CreateProcessingInstruction() to add a "styles...more >>

How to pause a process for a given time
Posted by Lei Guangfu at 7/7/2004 2:40:01 AM
Hi, I have a program need to delay for a given time, I use DO WHILE loop to achieve this goal, but this method consumes too much CPU resource. So I want to find a way to pause a process for a given time such as one minute. Anyone can offer me some guides? Thanks in advance. For better under...more >>

How to pause a process for a given time?
Posted by Lei Guangfu at 7/7/2004 2:23:01 AM
Hi, I have a program need to check the value of a application available, and then decide whether to execute codes followed. In order to achieve this purpose, I use DO WHILE loop to judge the value, if the value meet the condition clause, program will exit the loop. But this DO WHILE loop consu...more >>

loading ascx from windows desktop application?
Posted by Kristjan Sander at 7/7/2004 12:19:01 AM
Hello I am trying to write a #C windows desktop application that loads an ascx file contents (user control) from file, initiates it and then registers to database everything it finds. I tried that way: 1 Page page=new Page(); 2 Control control=page.LoadControl(virtualPath); 3 string de...more >>

Array performance
Posted by guy at 7/7/2004 12:10:01 AM
from using FxCop and reading MSDN i understand that i should not use properties to access arrays, i should use methods instead, however when i try the code below the MSIL for method and property access is identical, bar a slight differenc in code size and stack size. What is the correct way to acc...more >>


DevelopmentNow Blog