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 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 30 31

How I can show a mesage box
Posted by Ari at 8/31/2004 11:59:02 PM
Hi, I need help. follow my question. I'm trying to show in a mesagge box a record that I select on a combo box, but it show the first time the first record in the data table and then I select anotherone.it just gave me a message of System.Data.DataRowView. The code that I'm using is the fol...more >>


What is the right way to organize projects in .NET,? thanks!
Posted by davidw at 8/31/2004 11:07:48 PM
I am using microsoft development enviroment 2003. I created a solution, and have some projects, I put the root dir as my IIS home, and each project has their own directory, so it is like c:\solution c:\solution\project1 c:\solution\project2 .... I put my main dll under c:\solution\bin, ...more >>

Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Posted by DC Gringo at 8/31/2004 10:30:17 PM
Using latest SP Win2k and .NET versions, I have a .NET application running on server1 with a SQL Server database running on server2. I have the Windows user account passwords sync'd for server1\aspnet (installed by .NET Framework and server2\aspnet (created by me--this machine has no .NET Frame...more >>

Change mouse cursor in VB.NET
Posted by Tippy G at 8/31/2004 6:05:07 PM
Can someone please give me an example of how to change the mousepointer to an hourglass or whatever other constant in VB.NET? I need to do it from a start-up module (VB6 days would have been System.Mousepointer = vbHourGlass), and also from a form (VB6 would have been Me.Mousepointer = vbHourG...more >>

How to create config file for dll
Posted by Al at 8/31/2004 4:37:06 PM
I use my assembly from asp and I need to config the dll from config file. What is the better way to do this? I don't want to hardcode file path in my dll (because AppDomain.CurrentDomain.BaseDirectory="C:\windows\system32") and I don't know where exactly my dll will be placed on the customer...more >>

Very simple but completely stumped...
Posted by Aravind NO[at]SPAM Office at 8/31/2004 4:09:13 PM
Hello Everyone What will following string contains thru this assignment string strList = "\"" + "test" + "\""; If the result is \"test\" then what should I do to get "test". This seems so basic but I am really confused with all different languages (c/c++/java and c#). Thanks Aravind ...more >>

Compile errors in VS.Net 2003
Posted by Ravi Chaudhary at 8/31/2004 3:03:05 PM
Hi, We are using VS.Net 2003 and coding in VB.net. The solution has 38 projects; most of the projects in the solution reference other projects (without any circular references) and all the references were added to using the Projects tab on the Add Reference dialog and not by browsing to...more >>

help:where can i download Visual Studo .NET English Version?
Posted by huffman.hwang at 8/31/2004 2:39:56 PM



Retrieving font information
Posted by Mike at 8/31/2004 2:32:56 PM
I am trying to retrieve (from unmanaged code) the font information from windows within a .NET application using SendMessage( hEnd, WM_GETFONT, 0, 0 ).. However the return value is NULL every time....:-( Does anyone know whether this is actually possibly, or is it just a bug within Windows form...more >>

Web application in .NET using C
Posted by M. D'Costa at 8/31/2004 11:59:30 AM
Hello, I'm fairly new to .NET and need to develop a web application. Any pointers or help will be greatly appreciated. Many thanks, Marise ...more >>

Unable to return active directory email field
Posted by ujjc001 NO[at]SPAM charter.net at 8/31/2004 11:32:28 AM
Hello. I am 100% stumped by this and am very needy of a fix. Please help me figure out why this code does not work- I can access active directory information but can not return email address. Here's the code--- Dim Root As New DirectoryEntry("LDAP://dc=dcomp1,dc=net") Dim Searcher As New D...more >>

Drive Type???
Posted by Shannon Richards at 8/31/2004 11:13:02 AM
Hello all: I am trying to retrieve all drives of a specific type. I can obtain all drives via the Directory.GetLogicalDrives() method however there is no obvious way to determine the type of drive? Thank you, Shannon Richards. ...more >>

COM Objects in VB.NET
Posted by Remulac at 8/31/2004 10:35:47 AM
I'm trying to run a COM object that I created in VB.NET inside another VB.NET program. I'm running into problems with I try to use "CreateObject ()" -- I get the error message, "Cannot Create ActiveX Object". After that, I try to instantiate it with "New", but I don't see the object anywh...more >>

For john skeet cryptography
Posted by Alen Gurovic at 8/31/2004 9:51:40 AM
hello john i did not saw your messgae Now i want to set secret key but i do not know how need help with that code In sub crypt encrypt text and that is ok I don't know how to set .key and .IV property so i want to set my secret key in other sub decrypt i can't decrypt text th...more >>

MailMessage Headers
Posted by simrang333 NO[at]SPAM yahoo.com at 8/31/2004 9:00:26 AM
I need to set up an automated email system , which means users should not be able to respond back to the emails but at the same time, we need to track bounced emails. This is important as our customers are paying for this service, so we need to track the bounced email Id's. This is the code wh...more >>

Accessing objects in active directory via asp.net
Posted by toufani NO[at]SPAM gmail.com at 8/31/2004 5:30:13 AM
Hi everybody, I want to retrieve information about objects in active directory windows 2000 and their properties. I got some codes that don't work absolutely. for example I can't retrieve users list and group list separatedly.there is my code that downloaded from the internet : public class...more >>

Dropdown in datagrid
Posted by Christopher at 8/31/2004 4:31:03 AM
I am attempting to put a combo box into a datagrid, I have created a component class called DataGridComboBoxColumn.cs */ I keep getting these 2 errors when I run the project : 1)Object reference not set to an instance of the object AND 2)dgcbcProducts = null*/ The same applies to the othe...more >>

readonly for combobox and datetimepicker
Posted by lasha at 8/31/2004 3:49:03 AM
hi all how can i make combobox and datetimepicker readonly? thank...more >>

MSI questions
Posted by John at 8/31/2004 3:25:10 AM
Hi, I'm trying to create a custom MSI project, I have added a textbox (a) dialog to the installation and I'm passing the value set to the installer class via custom data. However, when I'm uninstalling the package this value doesn't seem to be what the user orignally set, do I have to pers...more >>

lashapositioning in datatables
Posted by lasha at 8/31/2004 2:51:03 AM
hi all i have datatable with columns "id" and "name" how can i set the position of cursor to the row where "id" equals to, for example 5? thanks ...more >>

.NET Service Error 1053
Posted by 3dr at 8/30/2004 11:11:01 PM
I am developing a service which I install and run on a number of servers. It works on most machines I have installed it on, but I always get a 1053, service will not start in a timely fashion message on one server. I have reduced the code to almost nothing so as to remove almost all the pro...more >>

response.redirect and window.open
Posted by bubbles at 8/30/2004 10:53:01 PM
hi, I've got an aspx page with a button. Upon clicking this button, it will pop up a new window to go a new page. At the same time, the parent window will redirect itself to another page. How can this be done? Thanks !!...more >>

Distributing application to customers?
Posted by Job Lot at 8/30/2004 6:35:03 PM
I have created an application which creates a financial plan for our customers. Now my financial planner wants to distribute a copy of application to our customer with their respective plans and limited functionality. How can I can I do this? I am using SQL Server at the back end with several ...more >>

.NET, XP and Longhorn
Posted by Larry__Weiss at 8/30/2004 6:12:42 PM
What is the relationship of .NET to XP compared to .NET's relationship to Longhorn? Is that even a proper way to phrase the question?...more >>

Break point
Posted by Doug Bell at 8/30/2004 5:14:11 PM
Hi I am trying to debug a bit of code (while learning .net) and I put in some break points. I was surprised to find that the code didn't halt. On further inspection I noticed that the Break Line inserted a "?" in the dot in the margin after the code ran. The "Tool-Tip" says "The break point ...more >>

How to serialize a stream
Posted by Brad at 8/30/2004 5:12:09 PM
I have tried both the binary and the XML serialization; both give the same results. I have an object with a MemoryStream member. When I serialize and deserialize the object, the MemoryStream member is created, but it's actual stream blank. All primitive typed members of my object deseri...more >>

Continue execution after exception?
Posted by Antipode at 8/30/2004 4:13:07 PM
Hi, I'm writing a simple application that deletes multiple directories. I want to write it so that it will simply continue on through the list of directories if an exception is thrown (the directory is not there). Is there a way to do this? Am I approaching this all wrong?...more >>

send parameter to XSL
Posted by Eli at 8/30/2004 10:33:05 AM
Hello. I have an ASPX file. I want to transform my XML stored in file by XSL (from file too). I successfully use the code below: <asp:xml runat="server" id="myXMLTag" DocumentSource="myXML.xml" TransformSource="myXSL.xslt" /> or <asp:xml runat="server" id="myXMLTag" /> <scri...more >>

Screen resolution
Posted by Frank at 8/30/2004 8:54:45 AM
Hello, What is an acceptable screen resolution for windows forms. I am designing an application and I don't want the windows forms to be too big or too small. Thank you in advance. ...more >>

VS.NET Hangs on F5(Debug)
Posted by Philip at 8/30/2004 7:31:05 AM
My debugging capabilities within Visual Studio 2003 have stopped working. None of my applications created over the past year will run in debug (F5) mode. I created a simple "Hello World" application and it will not run in debug mode either. My applications run successfully using Skip De...more >>

loop with field names
Posted by Filip De Backer at 8/30/2004 3:59:04 AM
Hi everybody, I want something like I used in MS Access: for i = 1 to 20 me("FieldName" & i).Text = "Text bla bla bla" next i I want something like that because I have a series of fields like FieldName1; FieldName2, FieldName3, ... which I want to fill in programmaticaly. thanks...more >>

aspnet worker process to start .bat file
Posted by Matt Calhoon at 8/30/2004 2:15:02 AM
Hi there, I have specified a aspnet user account to run all .net sites. This account needs access to start a .BAT File (in my global.asax on session start the app needs to execute this bat file). I have given the aspnet user Read and execute but the .bat will still not start. What specif...more >>

Validation questions...
Posted by Ray Cassick (Home) at 8/30/2004 12:19:41 AM
Ok, I have been looking all over fro answers to these two questions and can't seem to locate anything... I am still looking but figured that I would drop a query here also.... 1) The ErrorProvider control does not seem to offer any way that I can check the control once to see if it has ANY ...more >>

ListView Problem
Posted by VIJAY KUMAR at 8/30/2004 12:03:23 AM
Hi pals, I am using Listview control. I encouter 2 problems in my codeing ----------------------------- 1. How to add image to Column Header ? Ex: |Description Image| ...more >>

Visual Express <-> VS2005?
Posted by Kai Rohrbacher at 8/30/2004 12:00:00 AM
Hi all, does someone know a good resource which describes the differences between MS' new "Express" editions vs. the full-fledged VisualStudio2005? -I didn't find a good in-deep comparison on the web till now, so I hope for your analysis. tnx, Kai...more >>

Interesting VB.NET Intellisense
Posted by Rakesh Rajan at 8/29/2004 11:37:04 PM
Hi, Seems like VB.NET Intellisense and complier does check for method definitions much. The following code compiles with no errors in VB.NET! (but of course, trust C# to be strict and perfect :) ) [c#] public class MyOwnClass { public void Print() { Console.WriteLine("Pr...more >>

MS access 2000 and ASP.NET interoperability
Posted by rufus at 8/29/2004 11:15:38 PM
I have started a new project that requires an existing MS Access 2000 application to be written using asp.net web forms. We have downloaded a MS Access -> ASP.NET converter (www.microtools.us) and converted the access forms. The code looks quite messy and I'm not sure whether it will save us m...more >>

Minimize a process
Posted by Tippy G at 8/29/2004 6:57:04 PM
I have written code to start another process and a form is displayed within my app to let the user know the process is running. The problem is the process runs in normal mode and shows in front of the app. I would ideally like to manipulate the process's window mode to minimize it, or possibly...more >>

Crypthography helo
Posted by Alen GuroviƦ at 8/29/2004 5:57:02 PM
hello people here is example how to hash something I want to set key for that but i don't know how?? Code works but how can i put secret key code and after that decrypt sorry for my english :) Sub Main() Dim x_str As String = "Some text" Dim x_message_data() As Byte = Encoding.Default.G...more >>

Set Business day
Posted by Mel at 8/29/2004 5:15:02 PM
Hi, I have a text I called txtdate which is the system date or date today.How can I set the txtdate.text=8/29/04 even if the date today is equal to 8/30/04.Our business hours starts from 8am till 2am so if our business opens on 8/29/04 all transaction made past 12 midnight till 2am should...more >>

Advise on CASE tools for VisualStudio (Modelmaker for Delphi equivalent ?)
Posted by Craig Kenisston at 8/29/2004 12:35:20 PM
Hi, I'm an ex-Delphi developer and I'm used to the ModelMaker Case tool for Delphi. Now I'm starting a large project in C# and I need some help in design. I'm looking for case tools for VisualStudio.Net. Any advise is welcome. Regards, ...more >>

Setting Text property to null
Posted by Mike at 8/29/2004 12:29:07 PM
The following (C#) code snippet sets the text property of a label to null, then tests it for null, only to find out that is isn't. Can anyone explain why? Label1.Text = null; if (Label1.Text == null) { Label2.Text = "Is null"; } else { ...more >>

annoyed with vb.net
Posted by rufus at 8/29/2004 12:16:39 AM
Hi, I just downloaded everything I need to write some web forms. I have been searching everywhere for a SEARCHABLE class library but I can't find one anywhere. I found the .net class library on the microsoft website but you can't seem to search it. Very frustrating! I remember that Java ha...more >>

Disabled Control Background
Posted by Skip Borland at 8/29/2004 12:05:59 AM
Has anyone tried to control the color changes that occur when a .net control (in this case specifically, a combo box) is disabled? We are trying to limit input, yet not have the control go gray on gray when disabled (or at least be able to control the behavior). Any thoughts on this would be ap...more >>

ProgressBar in a listbox?
Posted by singhalvr at 8/28/2004 8:50:08 PM
Does anyone know how I can add a progress bar into a listbox in C# or VB.NET? I want to basically show a list of files that are transferring (or have some operation being performed on them simultaneously) and use the progress bar to show ... well ... progress. Any ideas? (Example code wou...more >>

Generate GUID
Posted by Jeff Lynch at 8/28/2004 7:53:44 PM
How do I create a new GUID programatically like the "Create Guid" tool does in VS.NET? -- Jeff Lynch "A BizTalk Enthusiast" http://dotnetjunkies.com/WebLog/jlynch/ ...more >>

Problem: function call in <% %> pair using Container.DataItem("") as parameter
Posted by neilnewton001 NO[at]SPAM yahoo.com at 8/28/2004 1:08:51 PM
Hi, I have some code written into the html in a dot.net form: <%if test(Container.DataItem("user_id")) =2%> I've been able to use container.dataitem in these <%%> pairs as an expression to provide values for clauses. I've also been able to call functions as above, as long as...more >>

Question about WriteEntry...
Posted by Ray Cassick (Home) at 8/28/2004 12:05:19 PM
I noticed that when I write an entry into the Windows event log using one of the various overloaded WriteEntry methods I always get the following text below my description: For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. I don't want to send m...more >>

change server specs
Posted by Aaron at 8/28/2004 11:11:43 AM
is there a way i can change the server info. i use windows 2003 server. how can i make it show windows nt 4.0 when requested on netcraft.com i know ebay does that. thanks in advance Aaron ...more >>

read xml file to dataset
Posted by s-galit at 8/28/2004 8:31:01 AM
how can i read xml file to dataSet? this is what i have written so far- dim db1 as database db1=new dataBase db1.readXmlSchema("fileName.xsd") db1.readXml("fileName.xml") what am i missing?? thanks in advanced!!...more >>


DevelopmentNow Blog