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 faqs > march 2004

Filter by week: 1 2 3 4 5

Why doesnt VB.Net allow semicolons at end of the statement?
Posted by Andrew Baker at 3/31/2004 9:52:49 AM
One of by biggest hassels in the past jumping from C++ to VB and back was the forgetting or adding a semicolon at the end of a statement. (the other was bracketing method calls in VB, but that is now fixed). Why didnt Microsoft allow for the optional use of semicolons in VB, so the code would...more >>


Regsvcs issue
Posted by mccutjm1 NO[at]SPAM hotmail.com at 3/30/2004 10:05:14 AM
Hi all. I'm trying to install a .NET component into COM+ using Regsvcs. I get the following error when attempting to do so: The following installation error occurred: 1: Could not install type library XXX.tlb' into application YYY'. XXX.tlb: The object is already registered XXX: The ...more >>

Please help.
Posted by Anil at 3/27/2004 4:24:46 PM
I need to know whether .Net provides methods/classes for displaying shared folders of a device. One way to solve this problem is to import Win32 dlls ,but is there a direct way provided by .Net by which all the user level shared folders can be displayed ? ...more >>

Can i write .Net application running on Win95?
Posted by maxixi at 3/26/2004 11:06:06 PM
Hi, Can i write .Net application running on Win95? Maxixi ...more >>

Displaying shared folders
Posted by Anil at 3/26/2004 4:04:50 PM
I need to know whether .Net provides methods/classes for displaying shared folders of a device. One way to solve this problem is to import Win32 dlls ,but is there a direct way provided by .Net by which all the user level shared folders can be displayed ? ...more >>

ASP.NET on Macintosh OS X
Posted by N4709L at 3/26/2004 3:54:55 AM
We are developing an application using ASP.NET technology. Our users/customers make use of Macintosh PCs. In theory, since ASP.NET delivers "plain HTML" to the client, we wonder if there are any problems that others have found that would prevent an ASP.NET application from being successfully ope...more >>

Different connection strings. What to use?
Posted by Erik Cruz at 3/25/2004 12:06:34 PM
Hi. I have seen ado.net samples using two different connection strings for sql server: "data source=local;initial catalog=northwind;integrated security=sspi" or "server=(localhost);database=northwind;trusted_connection=true" I can see that they do the same things, but what are the re...more >>

Calling a webservice asynchronously
Posted by JTrigger at 3/25/2004 11:02:46 AM
I have a webservice that I want to call from a web app asynchronously, but not wait around for a result. Basically I want to fire it off and then forget about it. I have figured out the asynchronous call all right, but when the client browser window is closed it sends an HTTP abort and kills t...more >>



Which development approach should I choose
Posted by R.A. at 3/25/2004 10:55:55 AM
Hi, Here are a project tasks I have and would like to share it with you to see which approach would be the best for developing this project - cost and time saving. I need to develop an application that does the following: The application is suppose to create a customized printing. Based on ...more >>

Installed FP2000 and now VS.Net 2K3 has to configure MSDN Library every time it starts.
Posted by Seeker at 3/24/2004 11:20:58 PM
*sigh* Can't Microsoft get anything right? Just installed FP 2000 for some troubleshooting that I need to do and now whenver I start the VS 2K3 IDE I have to wait 20 minutes while is has to "configure MSDN Libarary - April 2003"... Why does this keep happening and how do I stop it? ...more >>

Slow Debug enviroment
Posted by robkeates NO[at]SPAM hotmail.com at 3/24/2004 2:14:57 AM
Debugging 'C' Projects in .net seem unacceptably slow, inserting a breakpoint is OK, removing it breakpoints takes an age, even before starting the debugger. Any easy solutions to this problem, ?? Rob...more >>

web.config best pratices for passwords
Posted by Jay Douglas at 3/23/2004 12:28:11 PM
Hello all. I have a few different applications that store passwords for various items in the web.config file in plain text. (i.e. SMTP Credentials, DB connection strings) .. I know this is a pretty serious security risk, however I'm having a hard time find a better way to allow easy modifi...more >>

build only what is needed
Posted by interuser NO[at]SPAM hotmail.com at 3/23/2004 3:08:57 AM
Hi I use .net 2002 framework 1.0 I have a huge .net solution consisting of many projects. Depending on the case, each time I change different project(s) It is extremely time consuming to build all projects every time I want to debug. Isn't there a switch somewhere to tell .net to build only wh...more >>

Built an document scanning application
Posted by Ajit at 3/22/2004 10:40:47 AM
I am to start working on a new application to scan multiple document using ASP.NET/VB.NET If anyone can give me any lead/tips/suggession as to how to do this it will be of great help and i will take it from there. ...more >>

Help neede in setup.
Posted by SS at 3/19/2004 5:57:35 PM
Apart from using .NET Setup Project, which is the right product to develop an "Install shield" for the .NET application? We have tried using "Install Shield for Microsoft Visual C++ 6", which has limitation (possibly could be because of an evaluation copy or product limitation) for defin...more >>

About datagrid
Posted by zhimin at 3/19/2004 10:14:41 AM
Hi There is a column named IsInUsing which data type is bit in my database(MS SQL Server 2000). I want to show this column in a datagrid by setting SqlDataAdapter in GUI design. But the result of this column shown is true or false, it should shown the string Yes or No in my idea. Thanks! ...more >>

setup for .net
Posted by SS at 3/18/2004 8:04:47 PM
Apart from using .NET Setup Project, which is the right product to develop an "Install shield" for the .NET application? We have tried using "Install Shield for Microsoft Visual C++ 6", which has limitation (possibly could be because of an evaluation copy or product limitation) for defin...more >>

Best Practices - VSS integration with VS.NET, migrating our Classic ASP projects
Posted by Keith A. Rowe at 3/18/2004 11:53:38 AM
We currently have many Classic ASP projects that are stored in VSS 6.0c and are maintained with VID 6.0. We have purchased VS.NET 2003 and know we need to upgrade to VSS 6.0d if we want to integrate VS.NET with VSS. We *eventually* want to convert the ClassicASP code to ASP.NET, but need to r...more >>

Using Access with C#.NET
Posted by Curt Emich at 3/17/2004 6:33:17 PM
I'm tyring to use MS Access with .NET, but I'm having some problems. Here's the code: string sSQL = "SELECT Statement_Id,Statement_In_Brief FROM Statements"; OleDbDataAdapter thisAdapter = new OleDbDataAdapter(sSQL,oleDbConnection1); DataSet thisDataset = new DataSet(); thisAdapter...more >>

Using the Desktop Engine
Posted by Curt Emich at 3/17/2004 6:20:09 PM
I'm attempting to use MS Access with .NET but am not having much luck, so I've decided maybe I should just use the SQL Server Desktop Engine. Is there any way to import my tables from Access into the Desktop Engine? ...more >>

Threads, VB.NET and VB 6
Posted by Lisandro A. Palermo at 3/17/2004 9:47:31 AM
Can I create a console en VB.NET and execute multithreading calls to a COM+ componente developed in VB 6? ------------------------------------------------------- Saludos, A.U.S. Lisandro A. Palermo ...more >>

Using VB.Net objects in .ASP pages
Posted by owen at 3/17/2004 8:18:34 AM
I have standalone VB.NET, that is, not the whole VS.NET environment, just VB.NET. So I can develop VB.NET objects but not ASP.NET (aspx) pages. Therefore I want to write a Business layer in VB.NET and call it's objects, methods, etc. from ASP pages. Is this possible? An example of embedded...more >>

Solutions Won't Load
Posted by Curt Emich at 3/16/2004 12:58:56 PM
I've been using Visual Studio .NET for several weeks now. I've finished some example solutions as well as started others. Now when I open the environment, very few of them will load properly. Usually, I get no listing of files in the properties window to the right or anything like that. Doe...more >>

Write customized attribute which has functionality like ObseleteAttribute
Posted by indianiowan NO[at]SPAM yahoo.com at 3/16/2004 12:14:53 AM
Hello again Attribute Gurus... Can someone throw an idea, on what to tweak, or flush out, some kind of code. if one has to write a custom attribute like ObseleteAttribute, with the aim to inject the code in various methods at compile time, the example of code that needs to be injected is like ...more >>

AOP or developers writing custom attributes -- pls check this
Posted by indianiowan NO[at]SPAM yahoo.com at 3/16/2004 12:05:57 AM
A classic case of writing to a log file each time a particular method is called for rudimentary performance statistics. Ordinarily the code below satisfy the requirements: //Considering EventLogManager to be singleton class defined in system. public class Foo { public void bar() ...more >>

config files question for console apps / windows apps
Posted by jai hanuman at 3/12/2004 5:41:13 PM
hi, where can you set the "startup" directory for the config files? (like in the ini days). In those days, the project directory would be the startup and search path for the ini files. now however, i found that the myapp.exe.config does not get picked from the folder where myapp.csproj is. It...more >>

Can .NET and Visual Studio 6.0 work on the same PC ?
Posted by Julie Shi at 3/12/2004 4:21:10 PM
Hi, I have Visual Studio installed on Windows 2000 Professional. I wonder if I can install .Net on the same PC and have both working. Thanks! Julie ...more >>

open MS Word
Posted by Amal T. at 3/11/2004 12:50:02 PM
Hello, am trying to open a word document from a vb.net web application, and the MS word interface never shows up. However when i view the task manager i find the ASPNET user running the winword.exe. Have any idea why? ...more >>

Open MS Word from Web app
Posted by Amal T. at 3/11/2004 12:46:34 PM
Hello, am trying to open a word document from a vb.net web application, and the MS word interface never shows up. However when i view the task manager i find the ASPNET user running the winword.exe. Have any idea why? ...more >>

Opening anoter .aspx window from a a .aspx main project.
Posted by microsoft.com at 3/11/2004 11:01:22 AM
I need to open a login window. So I designed another .aspx window and am trying to get it to come up but I don't know the command(s) todo so. Thanks in advance ...more >>

What the......?
Posted by Jodie Rapson at 3/11/2004 2:57:49 AM
Hi All, I am absolutely baffled as to why I can't add an internet shortcut as a file to a setup project, to be placed on the desktop! Not even in a Favourites folder! I really would like to know how to, anyone know? Thanks in advance (also posted in vsnet.general & framework) Jodie Raps...more >>

Which reporting tool for business objects
Posted by David Pizzi at 3/10/2004 5:05:38 PM
Hi guys we are evaluating different reporting tools/engines and would appreciate any help/suggestion. What we need in first line is a tool with an high level report designer (WYSWYG). We would like to avoid a raster engines, which would make the design of a report a heavy programming job. ...more >>

logging application block
Posted by fix at 3/9/2004 1:48:23 PM
Hi, I am looking for any information on logging application block ... An Exemple or Information. I already took the file of Microsoft with the basic class, but I would like a sample to test and see. Thank you . Mathieu ...more >>

Basic OO Question that I need to solve!
Posted by fretts at 3/8/2004 10:39:41 PM
Hi all, We are adopting .NET and specifically c# I want to ensure future development gets off on the right foot by adhering to good object oriented principles. It would help if you could assist with one issue thats on my mind. ==== Simplified example: If we have a concept of custom...more >>

regasm /regfile does not work
Posted by Prasanna Padmanabhan at 3/8/2004 7:32:04 PM
When I do a regasm /regfile on a dll it creates a reg file. Fine. I am also able to successfully import it into the registry. No problem. The problem happens at runtime. The COM component cannot be created, CreateObject returns an error. Based on some newsgroup article, I found that replacing ...more >>

Obfuscation and Salamander
Posted by Matt at 3/8/2004 3:27:25 PM
My question is simple, why should I, as a freelance developer, spend good time producing client/server software and libraries in .net when any stupid monkey can extract all of my source using Salamander? And what's more, for those that don't get Salamander, what is the point of using obfuscation ...more >>

Add hoc Reports
Posted by Hadeel at 3/8/2004 10:19:48 AM
Hi, I'm trying to develop Dynamic reports (Add Hoc Reports) in Windows application using VB.Net and .Net crystal Reports ( ver. 9). The user will choose the fields he/she wants to view in the report and choose the group or sorting field, and depending on that I will view the right fields in t...more >>

Debugging problem - watches dont work
Posted by owen at 3/8/2004 8:26:13 AM
I'm writing an ASP.NET application and all of a sudden my watches don't work. The "+" sign appears next to them but you cannot drill into them. (The "+" dissappears when you click it and the item does not expand). Is it possible that a change to web.config would cause this? Or is this a kno...more >>

Objects and code just disappearing!
Posted by bidalah NO[at]SPAM yahoo.com at 3/7/2004 8:38:19 PM
Hello all, This is an extremely frustrating issue. I have a datagrid that is populated with three different custom datagridtextboxcolumns that I inherited they all work perfectly, while the code exist! The problem is that every now and then, when I switch between the design view and the cod...more >>

Basic Authentication and popup windows
Posted by nmethani NO[at]SPAM yahoo.com at 3/7/2004 8:35:47 PM
We are using Basic Authentication for our site. However, I could not find any suitable Logout process except to close the window (the solutions suggested on this site that point to old VB6 code which requires creating an ActiveX object does not work correctly and I don't want to create an Active...more >>

Urgent Pls help
Posted by omavlana NO[at]SPAM rediffmail.com at 3/7/2004 7:33:19 PM
Hi, I am going to takeup a project on VB.NET. My client is asking to develop on VB6 and he asked about my recommondation for .NET. I need to provide a technical writeup on the advantages of .NET compared with VB6. I need to include the features and advantages in using .NET instead of VB6. ...more >>

Problem with Shaped Windows Forms
Posted by husoway NO[at]SPAM hotmail.com at 3/5/2004 11:57:10 PM
Hi, I have a problem driving me nuts! Visual Studio has a doc that explains how to create a shaped window. I followed the doc exactly yet the purple color that I choose as my transparent color, which IS also on the bitmap I used as the background of my form will not show as transparent. The purp...more >>

Icon editor in VS .Net
Posted by Paolo Nunberg at 3/5/2004 8:38:17 AM
Hi, when I edit and save a new icon in the VS .Net development environment strange things happen. The icon shows up allright in the IDE itself and in the images and fax viewer, but the default VS icon appears in both Resource Explorer and my own applications. Any suggestion? Thanks! ...more >>

[Vb.net question] how to apply online update function into program (the effect just like Norton system work live update)
Posted by chan at 3/4/2004 10:43:03 PM
[Vb.net question] how to apply online update function into program (the effect just like Norton system work live update) The situation is below: I want to develop a program that contains some product information (in the database) for customer choosing. My partner suggest that the prog...more >>

Filling a listbox with the values in a enumeration
Posted by Timothy Parez at 3/4/2004 12:16:51 AM
Hello, I have an enumeration for example enum Speed { slow, fast, faster } Is there a way to bind this to a listbox ? so that the listbox displays the items "slow" "fast" "faster" and holds the correct values for this enumeration Thnx...more >>

Could not access 'CDO.Message' object
Posted by Sabin at 3/3/2004 5:19:12 PM
Hi there, I built a .NET windows service application, which uses SystemWeb.Mail.SmtpMail class. On my development machine (XP OS) it runs well. When I install the application on other machine (Windows 2000 OS + .NET Framework 1.1), it rises an exception: "Could not access 'CDO.Message' objec...more >>

User Control + <asp:LinkButton> = JavaScript Error
Posted by Fresh_Air_Rider NO[at]SPAM Hotmail.com at 3/2/2004 2:34:53 PM
Can anyone please tell me why I get a javascript error (expected ';') when I simply add an <asp:LinkButton> to a User Control and the reference that user control in a webpage ? The <asp:LinkButton> is within a form which is set to runat="server" I am referencing my control as follows :- <...more >>

Writing applet-like apps...
Posted by Terry Mulvany at 3/1/2004 8:06:27 PM
I am constantly struggling with the problem of what 'type' of application to develop. WinForm or WebForm? The customer says I need a central database for all sites but the sites are geographically disperse limited to DSL Internet access (VPN solution not an option due to huge support burden). ...more >>

Trying to find code for blocking ip's
Posted by (martien NO[at]SPAM liveplaygirls.com) at 3/1/2004 12:34:14 PM
Hello all, i am trying to find some code or script for blocking ip's from entering my website. is this possible ? i am a newbie in asp.net so please keep the answers simple :) Thanks Martien ********************************************************************** Sent via Fuzzy ...more >>

Problem With Winforms UserControl on VS.net design time
Posted by CV at 3/1/2004 10:40:03 AM
Hi, I'm working on a Win form application which is being developed in VB.Net. I have created few User Controls quite some time back and implemented them successfully. Now the problem is, I'm not able to use UserControls using my VS.NET IDE. When I tried to drag and place the user controls on W...more >>


DevelopmentNow Blog