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 > february 2004

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

How to find if a value is null
Posted by Jiten at 2/29/2004 4:36:06 PM
Hi I have run a stored proc against a database to retrieve a list of date values. What i wanted to do is to add the values returned to an arraylist if the value is not null. here is a small portion of my code that i am using... Tr MyConn.Open( Dim ...more >>

server control for asp.net that has server events ... but only displays as a hyperlink.. or text lnk
Posted by Darren Clark at 2/29/2004 2:59:20 PM
I need a server control for asp.net that has server events ... but only displays as a hyperlink.. or text lnk somethink that behaves like the ImageButton would be good... with click events and CommandArguments would be great anyone know any? ...more >>

Exception setting SocketOption
Posted by Milosz - [playseven.com] at 2/29/2004 5:59:40 AM
Dim EP As System.Net.IPEndPoint = New System.Net.IPEndPoint(mIP, mPort) Dim S As Socket = New Socket(EP.AddressFamily, SocketType.Dgram, ProtocolType.Udp) S.SetSocketOption(Sockets.SocketOptionLevel.Socket, Sockets.SocketOptionName.SendTimeout, Me.mTimeOUT) ....... it crashes with Ex...more >>

Even on their so-called strengths, they still can't produce :or: Why OSS kicks CSS ass .
Posted by Travis 'Bailo' Bickel at 2/29/2004 4:41:43 AM
Ok, so I'm a reasonable person...sometimes /too/ reasonable. I like to give credit where credit is due. Maybe, I think, Linvocates are too zealous. But then, there it is, the crappiness of Micropox software, always there to remind me how great Linux is... Take gaming and video, one o...more >>

mscomm in smarttphone vb.net application?
Posted by Wim at 2/29/2004 1:27:34 AM
Hi, Is it possible to use a mscomm control in a smartphone vb.net application? I found solutions for vb.net but these work only in windows solution.. thankd for help! Wim ...more >>

email component
Posted by R Shoemaker at 2/28/2004 8:25:24 PM
I am looking for an email component to interface with an exchange server for use in my .Net application. Now there are probably dozens of built in and 3rd party objects to do that, problem is I need one that can read, create and update exchange appointments. This functionality I cannot...more >>

Installing .Net Compiler on Win2K -- Upgrade Question
Posted by Steven O. at 2/28/2004 6:38:54 PM
I am considering installing the .Net IDE and Compiler on my Win2K system. However, a friend tells me that since I have Win2K SP3, the ..Net installation software will, in essence, insist on first upgrading my system to SP4. Is this correct? This is a problem, because I've found in the past...more >>

OleDBDataAdapter Question
Posted by Homey at 2/28/2004 6:01:08 PM
I have set up a dataAdapter to a Access .mdb file. When I check the data connection the adapter displays it could not return data from the source No value given for one or more required paramaters. Where and How do I fix this?...more >>



reading users exchange 2000 calendar with vb.net?
Posted by dave at 2/28/2004 1:06:05 PM
I am looking for code resources on how to read ms exchange calendar with vb.net. Can anyone point me in the right direction to some code samples thx...more >>

Read/Extract Excel Data in .NET
Posted by Dianna K at 2/28/2004 10:51:05 AM
I am opening, reading and extracting an Excel spreadsheet in .Net (VB). It seems to work fine, however, when I am finished and I open up Excel and try to open up the file a message pops up "File Now Available", "select Read-Write or Cancel". Its almost like my code is changing the documents attrib...more >>

Displaying Output
Posted by Fakhruddin Zavery at 2/28/2004 9:36:21 AM
Hello, Is it possible to display output from a simple select statement e.g select * from employee and display it on your apsx page in text boxes or label fields? I have seen it that you can display one particular field e.g select phone from employee where firstname =@firstname. I can ass...more >>

Handling Null Dates
Posted by kmcnet at 2/28/2004 9:26:05 AM
Hello Everyone and thanks for your help in advance. I am developing an application that utilizes a separate class library for data access to a SQL Server database. One of the tables has several fields defined as DateTime. The data access layer exposes properties for each field in the table. In the i...more >>

Thread termination
Posted by ian_edwards NO[at]SPAM ntlworld.com at 2/28/2004 7:56:53 AM
I would like to execute some code when a thread terminates, in the context of that thread - I guess similar to an ExitThread handler - is it possible in a C# .NET application? I can see a way to execute code when a thread is thrown away - by having per-thread static attributes that are themsel...more >>

Displaying data in one multiline textbox
Posted by cleggy79 NO[at]SPAM btinternet.com at 2/28/2004 3:49:56 AM
Hello, all I want to do is display details such as name, surname etc which are read from a database into 1 multiline textbox. I am able to display name and thats about it. My code looks like this : For Each objCurrentrow In drrows txtdetails.Text = objCurrentrow("Firs...more >>

Versioning problem
Posted by Sampat Dixit at 2/27/2004 9:06:06 PM
Hi I am building a .NET Windows application using C#. In my application I am referring to shared library which updates very often(only revision change). Now I want my executable to load latest version of the shared library available in GAC In short, If I have a shared assembly with version 1.0...more >>

Please get it together MS
Posted by Lloyd Sheen at 2/27/2004 6:37:38 PM
Another screwup in the IDE. Had to reinstall. Did not want to but things stopped working. So ok bite the bullet. Now things work. Need help on a topic F1 no problem. Leave workstation, locked return from lunch, F1 and now it want to install the help, which worked only an hour ago. WHAT...more >>

Setting Application properties
Posted by Laurence Nuttall at 2/27/2004 5:43:07 PM
How does one set the application Comment, Company name, File version major, minor, product name, and product version in .NET? I have looked in project - properties but can't find them. Thanks in Advance, Laurence Nuttall Programmer Analyst III UCLA - Division of Continuing Education...more >>

Namespaces and Visibility
Posted by kele at 2/27/2004 5:01:39 PM
Do sub Namespaces have visibility to parent class. ie. I am trying to develop an application that is made up of modules and the main module contains a variables class that contains all the variables needed for the application. eg. MainModule Namespace Contains MainMod Class ...more >>

Use VS2003 on Win2K/IIS5/ASP3.0?
Posted by ANTHONY at 2/27/2004 4:19:03 PM
Greetings, I've searched Google, as well as the Microsoft VStudio product site, for quite a few days now and cant find a definitive answer as to whether or not I can installed VS2003 on a Win2K development PC running IIS 5.0 and ASP 3.0 (the .Net Framework is NOT installed as of yet either). ...more >>

object reference
Posted by Ray at 2/27/2004 3:51:07 PM
I am starting to realize that there are differences in vb.net and c#: in terms of syntax, object and keyword in small or big letter In the routine below, I got this error message in c An object reference is required for the nonstatic field, method, or property 'System.Web.UI.Page.MapPath(string)...more >>

The Active Directory datatype cannot be converted to/from a native DS datatype
Posted by Hechmi at 2/27/2004 3:10:42 PM
I am trying to retrieve the users of the company using active directory. When i execute the code below , it gives the following error "The Active Directory datatype cannot be converted to/from a native DS datatype" could anyone help me with this please. i already passed two days trying to ...more >>

Help! MailMessage Body is stripping carriage return/line feeds
Posted by Tim Mavers at 2/27/2004 3:04:09 PM
I am using the MailMessage class and am dynamically building the message body field. I know I am using String and not String builder but I don't want to worry about that now. The problem is after I build my message (which contains CR\LFs -- blank lines), the message received by the user ha...more >>

Service Pack
Posted by Lloyd Sheen at 2/27/2004 2:56:56 PM
Now I have installed (reinstalled 4 times) the IDE. This is the worst implementation I have ever seen. Please MS provide a service pack to fix the problems. Some of us are tired of waiting for next release. Latest screwup. Make a change to a user control to make a text box multiline. Soun...more >>

Does Microsoft accept bug reports for their Application Blocks?
Posted by BStorm at 2/27/2004 2:54:38 PM
I ran into a maddening bug that I finally tracked down to Microsoft's Data Access Blocks. It is in the SQL Helper UpdateDataSet method as follows: Microsoft Code: #region UpdateDataset public static void UpdateDataset(SqlCommand insertCommand, SqlCommand deleteCommand, SqlCommand updateComm...more >>

VB basics
Posted by BobS at 2/27/2004 1:22:21 PM
I'm new go VB --- I'm new to programming. I have VB.net and I've been tasked with creating a program that reads a data file takes the information in the file and draws a colored square on a form. It's for a computer inventory that draws squares on a map to show the location of equipment. t...more >>

I can write a .Net Application that can show a message dialog when .Net Framework in NOT installed?
Posted by babylon at 2/27/2004 12:55:58 PM
If I have a Hello.exe, which is a .net application Currently, if I run it without .net framework, it just crash How can I make it display a messagebox, showing to the user that the .net framework is not installed? thank you ...more >>

Help on access denied when create a com object
Posted by Cristiano Trebian at 2/27/2004 12:09:35 PM
Hi all, This is my problem: I try to create the Msxml 4.0 object in an vb.net class in an asp.net project and it return me the following error message: System.UnauthorizedAccessException: Access is denied. at MSXML2.ServerXMLHTTP40Class.send(Object varBody) I've already tried to low ...more >>

Files system events
Posted by Buddy Ackerman at 2/27/2004 12:03:18 PM
Windows Explorer windows can update autmatically when a a file is deleted from another application, I want to be able to respond to similar events. What file system events are there and how do I respond to them in .NET? --Buddy ...more >>

Forms Authentication against SQL Server Db
Posted by mo at 2/27/2004 11:34:15 AM
Hello, I'm pretty new to to .NET and come from a VB background. I've been trying to understand how to develop secure Web Apps using the .NET approach. I've found some articles on the MSDN site that go throught this in quite some detail, for example here: http://msdn.microsoft.com/library/...more >>

VS.Net Fee Trial.... is it possible?
Posted by Dan Allen at 2/27/2004 11:11:08 AM
Is there a way to get a free trial of VS.net?...more >>

List of activated fonts does not include shortcut activations
Posted by jusovsky NO[at]SPAM anotherretarded.com at 2/27/2004 10:51:09 AM
Our font management tool, Suitcase, activates fonts dynamically by creating shortcuts in the Windows font folder. Using System.Drawing.Text.InstalledFontCollection to get the list of font families from the system yields only the fonts whose files are physically in the system font folder- not the sh...more >>

Copy directory
Posted by Sam Johnson at 2/27/2004 10:46:05 AM
Hi again how can I programmatically copy a diretory in .net Thank Sam...more >>

Enum directories
Posted by Gordon Knote at 2/27/2004 10:36:06 AM
H how can I enum all directories in a specfic directory doing VB.NET Gordon...more >>

C# to Vb.net conversion
Posted by dusan drobac at 2/27/2004 9:30:23 AM
How to convert this while clause to vb.net private void LoadChildren(XmlNode parent) { XmlNode lastNode = null; while (reader.Read() && ((lastNode = this.ReadCurrentNode()) != null)) { if (parent.NodeType != XmlNo...more >>

What needs to be copied for Crystal to work
Posted by BStorm at 2/27/2004 9:16:48 AM
We have an application that is using .NET Crystal Reports. However, doing an XCOPY of this application to a client machine does not seem to work. What needs to be included? ...more >>

Question on html files and helpProvider
Posted by consumer62000 NO[at]SPAM yahoo.com at 2/27/2004 6:19:01 AM
I have a bunch of .HTML files . Each html file has help specific to a dialog box of windows form app. I want to make use of help provider to provide help. So I set index.HTML as the namespace of helpprovide. Now my problem is that I don't know how to lauch /activate the proper .htm file when u...more >>

Animation
Posted by dr. S. at 2/27/2004 5:16:05 AM
I could use some assistance in code writing, as I am trying to create a simple colored picturebox that moves back and forth, repetetively, (left to right and back again, etc.). Below is one of the closest I have come up with thus far If P1.Left < 900 The P1.Left = P1.Left + ...more >>

Polymorphism in ASP.Net
Posted by Danny Ni at 2/27/2004 4:26:44 AM
Hi, I was asked a question in a recent interview, where in ASP.Net is polymorphism used? I got differrent answers from different people, One said ToString() method because it is working for different classes. One said OnInit() method of System.Web.UI.Page class because it's defined virtual...more >>

Are there Dynamic Arrays in C#?
Posted by Rashad Rivera at 2/26/2004 9:06:05 PM
What I would like to do is create an array that grows. But I don't see any functionality in .NET that allows it other that in other languages like VB or JScript. Is there a reason for this? The only way I can see to do this is to allocate arrays and copy the content to bigger arrays as needed. A...more >>

What is ASP.NET?
Posted by Dan Allen at 2/26/2004 7:56:05 PM
have a lot of questions about ASP.Net. 1. What products do I need from Microsoft to develop and run ASP.NET As background, I currently use Visual InterDev to make ASP applications deployed on IIS/Windows 2000 Server 2. What changes do I need to make on my desktop to start developing in ASP...more >>

How to implement Trace best
Posted by Thorsten Tarrach at 2/26/2004 7:35:19 PM
Hallo, The best thing would be to implement a trace call in every procedure to write an entry in the log file: If MySwitch.TraceVerbose() then trace.writeline("Procedure xyz started with Parameters ...") Unfortuantelly is this a lot of work. Is there an easier way to implement a good tracing...more >>

Rename a Class
Posted by Laurence Nuttall at 2/26/2004 5:35:59 PM
I have a solution that has two projects one a class library, and the other a windows application that I use to test the class library. The class library project has a class called Class1. When I reference the class in the windows app I say Dim clsAbout As New About.Class1 clsAbout.ShowAbo...more >>

Treeview Help
Posted by A-PK at 2/26/2004 3:39:54 PM
Hi, I am using treeview as my menu. my menu is like the following + Users & Groups - Users -Groups + Departmenuts - Engineering - Business Currently, I am using mouse down event and trigger my mouse right click. so when my mouse cursor is in the treeview, and I right ...more >>

Microsoft.mshtml.dll should I distribute this?
Posted by Hadi at 2/26/2004 1:42:49 PM
I have application that uses the web browser control, this is quite a big file 7.5Mb, I found that if I don't include this file in the installation everything is ok, but I'm a bit nervous, so is this file included in every windows installation? All at least .Net installation? Thanks, Hadi ...more >>

Connection to AS/400
Posted by T. Lu at 2/26/2004 1:00:27 PM
Hi All, I am getting the following message: DB_E_BADPROPERTYVALUE(0x80040E44) when trying to establish a connection to AS/400 with the connection string: Protected Const AS400_CONNECTION As String = _ "provider=IBMDA400.Datasource.1;password=SECRET;us er ID=USER...more >>

.NET assembly only PARTIALLY exposed to COM
Posted by Andrew J. Marshall at 2/26/2004 12:56:31 PM
I built my assembly with the "Register for COM Interop" box checked. I could reference my assembly and see the classes, but IntelliSense and the Object Browser could not see the methods nor properties. I used TlbExp and RegAsm with the same result. How can I get IntelliSense and Object Bro...more >>

Anybody done a MCSD with Koenig-Solutions?
Posted by Andy Kendall at 2/26/2004 12:40:18 PM
Hi, I was thinking about getting the MCSD with a company called Koenig-Solutions. They are based in India and are CHEAP! Anybody had any expereinces or heard any comments about them? Thanks, Andy ...more >>

Will .NET apps run on Win98?
Posted by Billy at 2/26/2004 12:31:10 PM
Can I deploy a .NET app to Win 98 & ME? Are there any limitations in doing so? Thanks Billy...more >>

Build an ASP.NET project from Command Prompt
Posted by Praveena Adabala at 2/26/2004 12:21:10 PM
Hi Can i Build an ASP.NET Project from the command Prompt THank yo Praveena....more >>

MS Access 2000 Automation, can't quit process... (originally posted to wrong group).
Posted by David Conorozzo at 2/26/2004 11:16:05 AM
I create a new Access.Application instance. As soon as I refernce the property "References", I am unable to issue a truly successful quit on that instance. By that I mean the call to quit is fine but if you look in task manager, the instance is still running. Furthermore, if you opened a database...more >>


DevelopmentNow Blog