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 > may 2005

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

asp.net 2.0 on production server
Posted by Aaron at 5/31/2005 10:50:30 PM
I'm too excited about the new features in 2.0. I'm think about installing beta 2 to my live production server. Is there going to be any problems running .net framework 2.0 beta 2 on a production web server? security issues? compatibility with existing com, ..net 1.0, 1.1 apps? Do you guy...more >>


Installation Directory Access from Installer Class
Posted by Jamie Bissett at 5/31/2005 8:57:00 PM
I cannot find ant doc to indicate how to access the user selected installation directory during the install process. I am trying to update the application confiduration file based upon some of the responses from the user during installation. Thanks in advance Jamie ...more >>

BadImageFormatException with Microsoft.mshtml
Posted by stahl NO[at]SPAM online.nospam at 5/31/2005 7:44:51 PM
Hello, I have written an application in .NET (C#) which uses some stuff from the Microsoft.mshtml. Unfortunately some customers reported that they are missing this DLL. Therefore we now redistribute a copy of the Microsoft.mshtml-DLL with our installation routine (just copy it into the applic...more >>

asp.net control and javascript
Posted by Aaron at 5/31/2005 7:26:25 PM
how dependent is asp.net controls on javascript? If I understand correctly some of the postback features will not work with js disabled. is asp.net 2.0 any different? Could someone verify this Thanks, Aaron ...more >>

FileTimeToSystemTime in dotnet?
Posted by lastusernameleft at 5/31/2005 4:14:28 PM
Does anyone know of a .NET method/function for passing a Filetime (long integer) [for example, badpasswordtime property in ActiveDirectory] and passing back a valid system time? The old VB6 method required API calls which I would prefer to avoid. thanks...more >>

Error installing VS.2005 beta 2 DVD
Posted by DaVBGuy at 5/31/2005 4:12:19 PM
I get an error installing beta2 on a VPC - clean XP pro drive. The beta2 came via DVD from Microsoft, so this isn't a downloaded and burnt copy. The error is Error 1310. Error writing to file: Microsoft.VisualStudio.QualityTools.Resource.dll. Verify that you have access to that directory....more >>

WinNT provider, c#, retrieving NT computers
Posted by John P at 5/31/2005 4:03:32 PM
My application needs to enumerate computers on both AD domains and also on existing NT domains. The earch of Ad domains was a snap, but the WinNT provider errors out telling me you cannot search on this provider. I need to return a list of computers (and distinguish servers fron workstations) ...more >>

Random Crash in my .NET Program
Posted by Renzska at 5/31/2005 3:51:17 PM
I am getting a random crash in my program. I think it has to do with the only listbox I have. It uses the WMP to play songs and when a song completes I set the selected item in the listbox. I am assuming that is has to do with the listbox because of this line: "at System.Windows.Forms.S...more >>



Web page
Posted by Helen Trim at 5/31/2005 3:40:35 PM
How can I open a new web page in VB ASP.NET? I want the new page to appear in front of the existing page. TIA -- Helen...more >>

Forms inaccuratly calculate size
Posted by Chris at 5/31/2005 12:38:33 PM
I have a fairly straight-forward form that loads preferences upon running, and saves them upon exiting. Included in the preferences are things like window size & location, working directory, etc. There seems to be a problem with the way the size of the form is being calculated. If you run/ex...more >>

c# . Convert image to Base64 string!
Posted by marcelo szwarc via .NET 247 at 5/31/2005 10:47:50 AM
I already broke my head, searched everywhere. PLEASE I NEED YOUR HELP! Do you know how can I convert an image file( like a gif or jpeg ) to a Base64 string? I need to use it to send embedded image files through email. I only need this to finish my app. Thank you!!! ---------------------------...more >>

Connect to SQL server 2005 using SQLDMO
Posted by João Santa Bárbara at 5/31/2005 10:16:01 AM
Hi all i need to know if sql dmo can connect to SQL server 2005 if can! how can i do this ?? i have this code Dim xServer a SQLDMO.Server ......bla..bla... xServer.LoginSecure = True xServer.Connect("SQLServer2005") but it can´t connect. is there anyother way ?? thks JSB ...more >>

adding reference in visual studio
Posted by viktor9990 at 5/31/2005 7:12:07 AM
I'm getting this error while trying to build my project although I have added a reference to PowerPoint which is installed on my machine. How to solve this problem? thanks. The error is: The type or namespace name 'PowerPoint' could not be found (are you missing a using directive or an as...more >>

Connection to Legacy Application
Posted by Rajiv Kumar at 5/31/2005 6:35:36 AM
Hi, I am a Java prof for last 5 years and have delivered many enterprise application using J2EE. Now my company is making headway in the .NET area of the market, and I am trying to sort out few issues. I have not been able to understand the way my application in .NET should interact with a L...more >>

upgrade to framework2
Posted by ofir at 5/31/2005 1:32:06 AM
i want to upgrade my server to framework2 but i affraid that it will mess up my framework1 websites and applications.is there any risk in upgrading to framework2?...more >>

Use VC++ 6.0 library
Posted by Usman at 5/31/2005 12:00:00 AM
Hi I've a library that I've built using VC++ 6.0. Is there any way to use this library in my C# code. Regards Usman ...more >>

net2 documentation works very slow
Posted by radoslaw tereszczuk at 5/31/2005 12:00:00 AM
I thought that it is only beta 1 "feature" but... in beta 2 and in latest winfx sdk it is the same what? for example when displaying all members for System.Windows.Control class it takes over 30 seconds on 2Ghz / 512 Mb pc ; it is far more than acceptable ;p I think that it is becouse of ta...more >>

Fixed columns in DataGrid
Posted by Lalit Bhatia at 5/31/2005 12:00:00 AM
how can we fix first column in DataGrid? Regards, Lalit Bhatia ...more >>

.Net vs MFC
Posted by Lou_Arnold NO[at]SPAM nospam.com at 5/30/2005 8:30:22 PM
I'm confused about MFC and .NET. I programmed C++ under MFC several years ago, but haven't touched it since. I assume from what I read of ..Net that MFC is no longer used when writing applications using the .Net framework. Is that correct? Is it possible to upgrade VC++ V5 to programming .NET ...more >>

install vs2005 beta2
Posted by Asher Efrati at 5/30/2005 3:05:27 PM
I get 3 dvd, 1:vsteam foundation server, 2: sqlserver 2005, 3: team suite I want to install "singel user" can I install on xp pro or I need to install befor win 2003 server? ...more >>

Yellow Controls - How do I make them disappear?
Posted by kvrdev1 at 5/30/2005 2:42:07 PM
On one page of my web application, some of the text boxes/combo boxes are appearing with a Yellow background. Within ASP.NET, I've deleted them and put new controls on the screen, and it then migrates to other controls (turning their background yellow, instead!). My other pages are not doing...more >>

Date Drop-down - Web Application
Posted by kvrdev1 at 5/30/2005 10:17:28 AM
What reference do I need to add in to be able to use a date drop-down control within my web application? Thank you! -Valerie...more >>

go live license
Posted by DaVBGuy at 5/30/2005 9:01:01 AM
Is there any assurances from Microsoft that programs that I create with vs.2005 beta2 will not break once the final version vs.2005 comes out. Their go live program indicates that you are allowed to create "production" applications with beta2, and I thought I heard that Microsoft has a clause i...more >>

beta2 XHTML compliance? is this necessary. OR STUPID...read UP MICROSOFT
Posted by rhat at 5/30/2005 7:34:09 AM
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see, http://www.alistapart.com/articles/betterliving/ I read on http://msdn.microsoft.com/netframework/defaul...more >>

OT: Fastest Database?
Posted by Jim Hubbard at 5/30/2005 5:19:56 AM
What is the fastest database to use for searching vast amounts of data (650 billion records - 7 fields)? ...more >>

Prompt user to save changes before navigating away.
Posted by rufus at 5/30/2005 3:13:19 AM
Hi, In an ASP.NET application I have tried using javascript to prompt a user to save their changes if they try and navigate away without saving their changes. The problem is that this client-side solution is not reliable under different browser-sets. Does anyone know of a robust server-sid...more >>

Swapping the object instance in dot net
Posted by Sethu Madhavan at 5/30/2005 12:28:02 AM
Hi All Here i am facing one technical issue related to Swapping the Object Instance in Dotnet. e.g.. class Customer{ Order _lastOrder; void insertOrder (int ID, int quantity, double amount, int productId) Order currentOrder = new Order(ID, quantity, amount, productID); ...more >>

HLP: Treeview and Recurse (Parent/Child)
Posted by Mr. B at 5/30/2005 12:00:00 AM
I've been beating my brains out on trying to figure out how to do Recurse (Parent/Child) code for my application (VB.net). Basically a User enters data into an array. The data is pretty simple: Parent Child Data 10 15 123 10 16 456 20 25 789 20 28 246 30 35 890 40 ...more >>

Parent Forms and Window Form Tools
Posted by Terrance at 5/29/2005 9:58:02 PM
I'm hoping someone can help me solve a small problem that I have. I'm working on a windows app that has a parent form. On the parent form there are several objects such as a listview, buttons and textbox fields. When a user clicks a button a child form opens up; however, when the childform ope...more >>

Another way to do this?
Posted by Billg_sd at 5/29/2005 9:21:02 PM
I have a function I've written that monitors an application (server). If it goes down, I send out an email SMTP within our WAN. Is there a way to monitor this app from a different PC witihin our WAN? Here's the function I've been using: Private Function IsProcessRunning(ByVal sPr...more >>

.NET linker (=> running app without full .NET runtime) ?
Posted by O.L. at 5/29/2005 5:02:52 PM
Hello, I'd like to transform my app created with VJ# in a real stand-alone app, that I could easily distribute on the net, even if users' PC don't have a .NET framework. So I'm looking for a software which can link an entire .NET project to produce a stand-alone executable, which is indepe...more >>

simple spreadsheet property
Posted by FrankJeroen at 5/29/2005 9:52:05 AM
Hi there, I have a simple problem, but I can't fix it. I have worked with Visual Basic 6. But I recently switched to Visual Basic ..Net 2003. I have a Form with an Spreadsheet. I want to change the properties of the cells dynamically. (Alignment, Borders, Colors, Fontsize...) In VB6 I ...more >>

Treeview with checkboxes?
Posted by Michael A. Covington at 5/29/2005 9:48:44 AM
Can somebody point me to an example of how to put checkboxes on a treeview? I want to set up something that is very much like the way tape backup programs let you select a set of files and/or directories. Thanks. ...more >>

printing with pcl using winspool.drv
Posted by moital at 5/29/2005 1:44:01 AM
I am trying to print directly to an HP printer using winspool.drv API. when I try English every thing works fine, when i try hebrew, I got garbge. any suggestions? code: [ DllImport( "winspool.drv",CharSet=CharSet.Ansi,ExactSpelling=true, CallingConvention=CallingConvention.StdCall)] ...more >>

Obfuscate code
Posted by Aaron at 5/28/2005 3:41:37 PM
How would code obfuscation affect performance? in .net C# ...more >>

How to invoke an object method
Posted by FeOl at 5/28/2005 1:57:13 PM
Hi. How can I invoke the "Text1_LostFocus()" method within the "Button1_Clik()" method? Or wath parameters should I pass? Thanks in advance. ...more >>

How i do casting in VB .net
Posted by Sory Gomez at 5/28/2005 11:59:01 AM
How i do casting in VB .net...more >>

Please help rescue me from my ignorance. ;)
Posted by John at 5/28/2005 12:00:00 AM
Hi, In a nutshell, why am I getting the results I am getting? I would have expected a call to method1( n) to return an 'n' length string. At first I thought it was a problem in my function, but after finding an article showing how to do the salt, I noticed, they had basically the same c...more >>

Registry keys for .NET 1.0
Posted by gxdata at 5/28/2005 12:00:00 AM
I've been told that to test for the existence of ,NET Framework 1.0 the appropriate registry key is - [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\v1.0] "3705" Instead, my Registry shows (in part) - [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy] [HKEY_LOCAL...more >>

Assembly manifest vs metadata
Posted by Andy Turner at 5/28/2005 12:00:00 AM
I've read a few articles on this and I still can't seem to get it set in my brain! What's the correlation between these two? Some articles seem to use the terms interchangeably! Cheers for any explanation! andyt ...more >>

my profile tabs shuts down .net
Posted by dday76 at 5/27/2005 5:47:26 PM
What's going on? I just installed studio, and I start up the program, click on the my profile tab (per the tutorial in the book) and the program just shuts down. What's going on?...more >>

properties, events, methods, members order in a class
Posted by Ryan Taylor at 5/27/2005 2:53:43 PM
Hopefully a quick question. I remember seeing a guideline on Microsofts site that stated the recommended order for declaring members, properties, events and orders. As I am really trying to follow these guidelines I would like to find this site again however, it seems forever lost. Does ...more >>

asp.net equivelant to request("var").count property
Posted by bitTwideler at 5/27/2005 2:08:13 PM
I have a page with several input items with the same name (an array). In clasic asp, I can tell how many items there are with Request("var").count, but .net seems to have done away with this property. Is there an equivalent?...more >>

Asp.net update records using sql stored procedures
Posted by Sporke13 at 5/27/2005 1:56:21 PM
I have used stored procedures to insert and select but for some reason I can not get this code to update records. Please help I must have made a dumb mistake STORED PROCEDURE CREATE Procedure OrdersAddDetail ( @fname nvarchar(50), @lnametxt nvarchar(50), @add1 nvarchar(50), @add2 nvarcha...more >>

SDI and MDI in C#?
Posted by Pandiyan Pandiyan via .NET 247 at 5/27/2005 1:20:35 PM
Hi, I need to create the SDI and MDI equivalent in C#. Pls advice me on this front. Thanks. -------------------------------- From: Pandiyan Pandiyan ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>7IGNUaP3hkGHhFeAqPkP3g==</Id>...more >>

Pulling the Dataset from a Datagrid
Posted by John Scott at 5/27/2005 8:35:27 AM
I was just wondering if it's possible to cast a datagrid DataSource as a DataSet? I've stepped through my code when the grid is first being bound and the DataSource shows up as a DataSet for the datagrid. Then, when I handle on OnClick event for an image button and the page posts back, I l...more >>

app.config file disappearing
Posted by baylor at 5/27/2005 7:48:35 AM
I'm having a weird bug and wondering if anyone has ever seen this before A Hello World GUI app. Create an app.config. When you build, Studio copies app.config to bin\debug\ and renames it to the name of your EXE (sorta; turns out if your app is in a namespace, Studio names your EXE after the ...more >>

Application.StartupPath for windows service
Posted by David B Stinson at 5/27/2005 7:35:01 AM
I have a C# windows service. How can I determine the start up path for the service? The default current directory when the service starts is \windows\system32. The Application.StartupPath for a normal windows program does not seem to be available from a service program. Any help is greatly...more >>

Class structure questio n ???
Posted by serge calderara at 5/27/2005 5:04:02 AM
Dear all I have an Object that I will call for instance VEHICULE. This object contains some other type of objects like CAR and BICYCLE VEHICULE has necessary at least one object of type CAR or BYCICLE My question is that if I am at the VEHICLE lass level, it can contains a certain amoun...more >>

Word ADDin
Posted by Evgeniy at 5/27/2005 4:22:01 AM
I'm developing MS Word ADDin. (C#) I want to run a procedure every time the user open new document(without closing the applicaion). What shall I do to catch the event of opening new document? Thanks. ...more >>


DevelopmentNow Blog