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 > august 2003

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

clean slate project! Is .NET the right tool?
Posted by ColdCanuck at 8/31/2003 8:18:45 PM
Greetings All! I'm hoping some of you .NET gurus can help me out. I've search google but I cannot find the answers I'm looking for. I have a small business client that would like to replace their current reservation system which is (badly) written in Access97. Their requirements are: ...more >>


Empty parameters in a asp .net (vb) page query string
Posted by Paul M. at 8/31/2003 7:01:22 PM
Hi, I am trying to populate 3 paramters in an asp .net (vb) page redirect, the first one is ok ok and gets populated by the other two get inserted into the url for the redirect as empty strings! Anyone got any clues?? The code is below and I have checked that the variables beginning with "g_...more >>

NGEN and resolving assemblies
Posted by Wol at 8/31/2003 4:37:22 PM
I have two assemblies, A.dll and B.dll. A.dll contains two methods. One method, UsesB, uses a type from B.dll whereas the other, DoesNotUseB, does not. To cache a native image of A.dll with both methods precompiled, I believe I can do ngen A.dll B.dll I think I could also do ngen B....more >>

.NET "Ready-to-Go" Frameworks
Posted by disraeli27 NO[at]SPAM hotmail.com at 8/31/2003 2:14:33 PM
I work for a software company that's looking to get into .NET. I've dabbled with the technology for a bit, and had some positive resutls. My boss is asking me that he wants to buy a framework that delivers a lot of the common functionality that .NET developers need. Things like generating Da...more >>

code behind page
Posted by Raymond Cheung at 8/31/2003 4:29:48 AM
On the aspx page, I have the following code <asp:Radiobutton id=heis Text="Yes" Groupname="idiot" checked="true" runat="server" /> &nbsp&nbsp&nbsp <asp:Radiobutton id=heisnot Text="No" Groupname="idiot" runat="server" /> How do I keep track this radiobutton on the code behind page in vb...more >>

How to determine which of the generic decimal datatypes to use.
Posted by John Bentley at 8/30/2003 5:24:41 PM
John Bentley: INTRO The phrase "decimal number" within a programming context is ambiguous. It could refer to the decimal datatype or the related but separate concept of a generic decimal number. "Decimal Number" sometimes serves to distinguish Base 10 numbers, eg "15", from Base 2 numbers, Eg "...more >>

Determine whether a query returns results or not (before running it)
Posted by John Sway at 8/30/2003 12:55:28 PM
I'm writing a web-based "Query analyser" tool for our company intranet. It allows a user to type any SQL statement in a form, and execute it over the Web. The SQL can be a query that returns results (e.g: SELECT * FROM members) or it can be a T-SQL (e.g: UPDATE/DELETE/INSERT). What I want t...more >>

ISNULL FUNCTION
Posted by Ezzeddin at 8/30/2003 9:39:55 AM
How can I use ISNULL() function in asp.net Thanks ...more >>



Printing Selected Page(s) = Blank Pages
Posted by Jody Gelowitz at 8/29/2003 3:51:32 PM
I am having a problem with printing selected pages. Actually, the problem isn't with printing selected pages as it is more to do with having blank pages print for those pages that have not been selected. For example, if I were to have 5 pages with every second page printing, I would get the f...more >>

attach an event on a created button
Posted by Aymer at 8/29/2003 3:33:30 PM
i created a new button object. how do i attach an event on it? thanx for your help. Dim cc As ColorConverter = new ColorConverter() Dim b = new button() b.ID = "SelectedDate" b.BorderStyle = 1 b.forecolor = cc.ConvertFromString("red") b.BackColor = cc.ConvertFromSt...more >>

Class Reference
Posted by Dim at 8/29/2003 3:08:39 PM
Sorry for crossposting! Is there a complete reference of .NET Framework class libraries? And i mean COMPLETE reference with full explanation of what each class does and perhaps what it's good for. Reason for this is that recently i spent 2.5 days coding a class only to find out that Fram...more >>

Distribution of .NET application
Posted by Jerry at 8/29/2003 12:34:32 PM
Hi, I am getting ready to distribute a VB.NET program for sale to certain local chapters of a national organization which have expressed interest in having a database application specifically written for their operations. Seeing as though the vast majority of the local chapters do not have ...more >>

O/R Mapping tool like Apple has.....for .NET?!?!
Posted by gicio NO[at]SPAM web.de at 8/29/2003 11:53:06 AM
Hi! I post this text 1 year ago. But no one really could give me an answer. This is the text that I posted long time ago: I have a fundamental question about The way .NET handles the object orientated way of Persistence. I am coming from JAVA and WebObjects (Apple) World and I am looking...more >>

accessing asp .net function
Posted by Mr. Roboto at 8/29/2003 11:20:34 AM
for simplicity sake, i have this servers-side code: <script language="VB" runat="server"> Sub Clear() txtMessage.Value = "" Calendar1.SelectedDates.Clear() End Sub </script> i also have a regular html button tag. <input type="button" value="OK" id="b1" onclick="Clear;"> is there...more >>

RichTextBox memory problem
Posted by John Broderick at 8/29/2003 9:11:48 AM
I've got a problem with the RichTextBox control in .Net where the garbage collector doesn't reclaim its memory after I've finished with it. My program adds a series of rtb's to the control array of a panel to make a basic text editor. When the form that the panel is on is closed these rtb's ...more >>

Best Book for C++ web services and web applications
Posted by baker_tony NO[at]SPAM hotmail.com at 8/29/2003 8:29:57 AM
Hi, I want to write a web application with C++ as the code behind it. I want to use existing code, which uses CString, but it would be great if I could use ATL to take care of that. I am having difficulty, looks to me like it is much more difficult (technical) to use C++ rather than C#. I a...more >>

DLL Hell
Posted by iaustin at 8/29/2003 8:18:08 AM
I recently created a small One Form project using VB Studio.NET I then Release & Solution Build the project. It of course rins fine on my XP .NET system I developed it on. I copies the entire Solutions folder to my NT system. When trying to run the exe I receive a Message Popup... Unab...more >>

Assembly metadata and event wiring.
Posted by Scott M at 8/29/2003 6:46:22 AM
I'm building a smart client application based off of the example that is posted on windowsforms.com (and shown on the .NET show). A windows form calls a webservice that itterates through a directory, pulling meta data from all the assemblies located in that directory. Then returns that i...more >>

What Should I use?
Posted by Mr. B at 8/29/2003 3:51:58 AM
If I want to have many rows (say 100) and about 20 columns of data, and be able, via a double click on a 'cell' to change the 'cell' text (say In to Out) and it's background colour (Red to Green)... and vis-versa... What should I use... a ListView or Datagrid? (or maybe there is another one t...more >>

Multiple DataSets : Any Better Approach ??
Posted by Kaveri at 8/28/2003 9:32:08 PM
Currently we use a data adapter and a dataset for fetching data from multiple data source. Once we populate the data from each data source we merge all datasets into a single dataset. Hence if there are 50 data retrieved from 50 different sources, we will have to have 50 adapters and data...more >>

Saving times
Posted by Chris Huddle at 8/28/2003 6:57:15 PM
I'm trying to save a time (08:01 for example) to a Data/Time field (formatted Short Time) in an Access table using VB.NET. The problem is that even when I write this time to a dataset, it winds up saving as #08/28/2003 08:01 AM# in the database, where the date is today's date. In plain ol' VB...more >>

database tools
Posted by len C at 8/28/2003 6:55:49 PM
I have the msdnaa version of visual studio.net 2003 it is supposed to have the data tools but doesn't. for instance when I right click on view in the server explorer while in the sql 2000 northwind database i don't get the option to create a new view. Can anyone tell me what might be wrong. Tha...more >>

Image - convert color image to black and white programmatically
Posted by DanS at 8/28/2003 5:15:28 PM
Does anyone know how to change an image from color to black and white / greyscale programmatically in c#? Nothing in the image or bitmap objects looked promising? thanks! ...more >>

Norton Adding some javascript code to the html generated
Posted by SM at 8/28/2003 4:46:24 PM
Hi , I am using a window.open function to popup window in my C# code in this manner . Response.Write("<SCRIPT language=\"javascript\">"); Response.Write(String.Format("window.open(\"{0} \",\"_blank\",\"toolbar=no\",\"menubar=no\");",url)); Response.Write("</SCRIPT>"); and there is some...more >>

quick question on overloading methods
Posted by barb at 8/28/2003 3:56:21 PM
I'm developing an assembly that will be used from ASP (not ASP.NET). Can I overload methods? My initial tests suggest that I can't. Thanks, Barb ...more >>

ExecuteNonQuery SQLCommand
Posted by Mark at 8/28/2003 1:45:08 PM
Hi, I have a sqlCommand object that I use to execute an SQL statement. I thought I could use the ExecuteNonQuery to test for the number of rows returned by the sql command but it does not seem to work My code is below.. Dim sSQL As String = "SELECT Blah FROM Table WHERE BlahID = 5" Dim ...more >>

Where are the old "goodies"
Posted by David N at 8/28/2003 1:26:18 PM
In VS.NET 1.0, you can add a folder under your project (right click on the project, choose Add/New Folder). I found this option so helpful, because it helps me to organize my files, especially when I am working of VB or SQL source projects. In VS.NET 1.1, this option is gone. One cannot ...more >>

how to delete file when in use
Posted by Jason S. at 8/28/2003 1:24:06 PM
I have an app in which I want to remove a directory on disk. The below code works just fine unless there is a user logged in through the FTP site to this directory. string sFtpPath = @"C:\SomeFTPpath"; DirectoryInfo di = new DirectoryInfo(sFtpPath); di.Delete(true); I have even successful...more >>

System.Diagnostics.FileVersionInfo.SetVersionInfo()
Posted by SLE at 8/28/2003 1:21:26 PM
Hi there, I need the setter equivalent for System.Diagnostics.FileVersionInfo.GetVersionInfo(). Has anybody implemented a SetVersionInfo()? Some example code or url would be more than appreciated. Thanks, -- SLE ...more >>

no touch deployment with config file
Posted by Eric Cadwell at 8/28/2003 12:51:03 PM
Can it be done? How would I make a change without compiling? Thanks, Eric Cadwell ...more >>

Free tools for .net development
Posted by Fabrício de Novaes Kucinskis at 8/28/2003 11:32:42 AM
Hi all, I'm searching for free and open source solutions to develop .net applications for free. I've found the SharpDevelop IDE (http://www.icsharpcode.net/OpenSource/SD/), the WebMatrix IDE (http://asp.net/webmatrix/default.aspx), to develop in ASP.net, SharpZipLib (http://www.icsharpcode....more >>

Soliciting feedback on two features
Posted by Alan Shi [MSFT] at 8/28/2003 11:17:29 AM
I am collecting data for two features that shipped with the CLR in v1.0 and v1.1. If you use and/or depend on these features, I would appreciate hearing from you with a brief description of how you use these features. 1) .NET Application Restore tool A few sources, including Jeffrey Richter'...more >>

How to get form handle in .NET?
Posted by kathy at 8/28/2003 11:05:58 AM
How to get form handle in .NET? In VB6, I can use Me.hwnd....more >>

keep the same version number while developing
Posted by Daylor at 8/28/2003 10:53:42 AM
hi. im devloping application in vb.net/mc++,the application use a dll that using tcp/udp (local). the problem: the firewall (zone alarm pro) is always alerting me about the same port even when i authorize this conncetion. the problem is , the application version number is always changing ,...more >>

Flithy .NET SPAMMERS - http://www.ticktop.net
Posted by John Timney (Microsoft MVP) at 8/28/2003 10:25:19 AM
Aplologies for the cross-posted mail. This crap .NET component provider, who would likely win the worst web site in the world competition are a dirty SPAMMING company and send out junk mail to random mail list with false reply addresses. Don't support this scum company by buying their produc...more >>

Return Key
Posted by Chris at 8/28/2003 9:43:33 AM
I am new to VB.Net and I am developing a stand-alone app that will only be using a RF scanner to enter information. I was curious if anyone knew of any articles or source code on how I could get the text box to execute to TAB/ENTER when a certain number of characters have been reached wit...more >>

ASP.NET and SQL 2000 FULL Text Search Results
Posted by dave at 8/28/2003 9:30:46 AM
I am wondering if the following can be done. I want to setup a search page that utilizes full text searching in sql2000. I want the user to type in say "where is bill" and have the query search across multiple columns in multiple tables and return a single list of results so that i can s...more >>

data adapter
Posted by rodney at 8/28/2003 8:10:54 AM
Hey all, I was just wondering why in some examples in loading a dataset I see the data adapter object and then in others I don't see the data adapter object. Thanks, Rodney...more >>

Datareader or Dataset ?
Posted by srinivas at 8/28/2003 5:18:27 AM
I have a table with 1 million rows. I want to DISPLAY all the rows in ASP.NET page. If 10,000 users are accessing my page. I need to go for Datareader or Dataset...Problem is, if i use Datareader there will be 10,000 connections to the database. If i use Dataset it occupies 10,000 memory b...more >>

Thread.CurrentThread.CurrentCulture()
Posted by Clive at 8/28/2003 4:53:03 AM
Hi, I have an ASPX app that checks the Culture of the machine. My PC is currently set to have English(US) dates and US Currency. When I check the Culture it returns "en-IE". The machine did have this original setting but I changed it to English(US) for dates and currency. I a...more >>

Constant objects in C#
Posted by Piotr Bartczak at 8/28/2003 2:14:03 AM
I've started learning C# (after C++) and I found that there is no way to make an object constant. In C++ there is a const modifier which allows me to define an object which will not change after initialization. In C# it is impossible (as far as I know). My question is: Why? In C++ checking...more >>

Windows XP SP1: .NET Framework Initialization Error
Posted by jean_stax NO[at]SPAM hotmail.com at 8/28/2003 1:56:43 AM
Hi ! I try to make pretty straight forward operation, but it fails... I have .NET Framework 1.1 Configuration (version 1.1.4322.573) with VS 2003, where I developed a sample application. Now I coppied it to Windows XP SP1 machine . After launching my application I am getting annoying : ..NET...more >>

passing form data to a new class, not code behind
Posted by Ray Cheung at 8/28/2003 12:37:59 AM
I have a file: here.aspx within this aspx file, there are 2 textbox, name and age. I call a new class from within this file. The new class is in the file yaya.vb The main purpose of yaya.vb is to fill a xml file using xmltextwriter. I can post any constant data to the xml file. BUT I d...more >>

Microsoft.mshtml.dll
Posted by Pooja Renukdas at 8/27/2003 6:44:23 PM
Hello, i am using the Microsoft.mshtml.dll to access the DOM in the HTML page when i use the Collection object it gives me the ExecutionEngineException execption The code is given below Dim htmlCollection As IHTMLElementCollection Dim coll As mshtml.HTMLDTElement htmlCollection = m...more >>

Can I use VS.NET 2002 to compile for .Net Framework 1.1?
Posted by Stan at 8/27/2003 5:44:00 PM
Is it possible to use VS.NET 2002 to compile for .NET Framework 1.1? I know that VS.NET 2003 would do that and I can install VS.NET 2002 and 2003 but we don't have 2003 yet and there is more and more components that require 1.1. I don't want to use the command line compilers... thanks, -S...more >>

Datagrid on WebForm not refreshing on data update
Posted by James Evans at 8/27/2003 2:14:50 PM
I am having some problems with my vb.net\asp.net\sql 2000 app. Two web forms. All stored procs for data access. One form does inserts and delets - no problems. The other form does the updates. The updates get into the db just fine - and I do rebind the grid - but the grid does not refresh ...more >>

Regionalisation of attributes?
Posted by Duncan.Jones NO[at]SPAM bigfoot.com at 8/27/2003 1:18:27 PM
I have an attribute Description applied to the public interface items of my usercontrol so that the developer knows what each property is for e.g.: '------------------------------------------------------------------------ <Description("Sets the spooler pooling interval"> _ Public Property Tim...more >>

Adding references during runtime
Posted by filip stas at 8/27/2003 12:55:44 PM
How do i add references during runtime?...more >>

Sample Needed: Vb and C# in same project
Posted by kjh NO[at]SPAM yourshot.com at 8/27/2003 11:26:20 AM
Hi, I believe there is a microsoft sample project that shows how to use VB and C# in the same project. Does anyone know were I can find it? I have some C# I want to use in my VB project. Thanks for any help!...more >>

slow performance with datatable column update
Posted by Rich G at 8/27/2003 11:13:50 AM
Hi - can anyone comment on why performance would be so slow to update a DataTable row a simple value? With 3000 rows, it takes 5 seconds, which is unacceptable. Sample code below. Suggestions? string colName = "seg_qty"; for (int i=0; i<mwbView.Count; i++) { mwbView[i].Row.Beg...more >>


DevelopmentNow Blog