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 > november 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

where is ItemData of List/ComboBox ???
Posted by Tark Siala at 11/30/2004 11:27:19 PM
hi in VB6 (Listbox and Combobox) have nice Properties called (Item Data) when i go to VB.NET i can't Find this Properties :( please help me , i want Save tow value in one item in ComboBox 1 - Text like (CostumerName) - to show it to user. 2 - Integer (CostumerId) - to working in Database. an...more >>


dll problem: vb6 and vb.net writing smart tags
Posted by C Williams at 11/30/2004 11:12:35 PM
Hi, In a nutshell, my question is: how do i make a dll that I compile from vb.net code register and work like one compiled as an ActiveX dll in VB6? The IDE of my copy of visual basic.net does not provide me with the option to build a class library (dll)--instead I can use the command li...more >>

Menu at runtime
Posted by mailme.faisal NO[at]SPAM gmail.com at 11/30/2004 10:44:18 PM
Hiiiiiiii all I m new to vb.net. I want to add about 100 menuitems at runtime to Tools entry in main menu. Main menu consist of three entries File , Tools ,Help. Previously i was using Vb 6 & was using API's to add these menuitems to main menu at runtime. Any Help ? or Sa...more >>

Threading
Posted by Charles A. Lackman at 11/30/2004 9:49:00 PM
Hello, I am making a app that creates a thread to show a clipboard. If the clipboard is double clicked, another window is displayed, the event is handled inside the main app. What I would like to do is have the clipboard use the main thread of the application that called it to handle the ...more >>

IIS Problem ...
Posted by fripper at 11/30/2004 9:40:00 PM
I posted this problem a couple of days ago but felt I might have better luck re-stating the problem. Apparently I messed up IIS (v. 5) somehow because I am suddenly unable to load web forms! A simple example will help. I created a simple web project [WebTest] that contains two simple form...more >>

how to locate record
Posted by hui at 11/30/2004 8:48:24 PM
hi guys I have got a datareader, now I wanna move next or move to last or move to first. How can I do it? thanks hui ...more >>

Plug-In Models in .NET
Posted by Saradhi at 11/30/2004 8:15:44 PM
This is a multi-part message in MIME format. ------=_NextPart_000_0021_01C4D719.5F2DFC60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, Can any one give details about plug-in models in .NET?=20 We have an application which will cons...more >>

Application.EnableVisualStyles() And Image on the button
Posted by Sylvain Barde at 11/30/2004 7:37:03 PM
When I use Application.EnableVisualStyles() Public Sub New() MyBase.New() Application.EnableVisualStyles() Application.DoEvents() InitializeComponent() End Sub And I set the Flatstyle property of a button to System, and I set the Image property of the button, I can't see the im...more >>



.Proj / .Sln as object
Posted by Farouche at 11/30/2004 5:53:34 PM
Hi all Was wondering: Is there anything out there that will me able to represent ..sln or .vbproj files as .Net objects. I need to access the different properties of the files such as Project paths and names in an .Sln file, and Reference paths and config properties from a ..vbproj ...more >>

Implementing Rowstate in Custom IBindingList Object
Posted by Cary Linkfield at 11/30/2004 3:55:11 PM
I have created a custom class inheriting CollectionBase and implementing IBindingList. I am binding the list to a datagrid. I would like to have a property on the class that works like the RowState of a DataRow that can tell the datagrid not to display the item anymore after it is marked for d...more >>

Newbie: Printing Web Form
Posted by Calvin KD at 11/30/2004 3:39:01 PM
Hi everyone, I'm new to the .NET technology. I have a Web Form with data fields which I want to print to the printer. I don't want to use the IE's default print because I can't have my own Header & Footer. Does anyone know if there's anything else that I can use to print which allow me to ins...more >>

C# SendMessage(...) question
Posted by nidhi.i.sharma NO[at]SPAM gmail.com at 11/30/2004 3:14:18 PM
Hi, I am trying to write code to retrieve the small icon for an application in C#. I am using SendMessage with WM_GETICON for this purpose but the return value I get is 0. I don't understand this. Is that expected? What am I doing wrong? Any help would be appreciated. Here is the snippet of c...more >>

Hiding inherited members
Posted by thechaosengine at 11/30/2004 2:25:40 PM
Hi all, Is there a way to hide a member in a subclass that has been inherited from a base class? Lets leave aside any issues regarding whether its a good idea for a moment. Here's an example similar to what I'm thinking about. Lets suppose I make a class called RoleCollection. RoleCo...more >>

Create box-like Caret for textbox
Posted by Dayne at 11/30/2004 1:25:22 PM
I would like to create a box-like caret for a textbox(vb.net) . Any idea. Sample code would be nice. DT ...more >>

Does Windows .NET application require framework ?
Posted by mscertified at 11/30/2004 11:43:03 AM
Does a Windows desktop application (not a web app) written with .NET require the .NET framework be installed on the users machines?...more >>

Password Reset for Workstation Login
Posted by Ian at 11/30/2004 10:55:10 AM
Hi I know there are products out there that can do this like http://www.psynch.com/technology/ska.html What is the code that is used to Reset a Users password so the next time they logon to the domain they are promoted for a new password? I know the code will have to run under the Admin. ...more >>

How to display a list of user objects
Posted by RCCNH at 11/30/2004 10:53:02 AM
I am creating a Windows application using C# in .NET. In one of the windows, I have to show a scrollable list of user objects. Those user objects contain various controls themselves (textbox, buttons, etc) and are all of the same type of user object - just showing different data. In this cas...more >>

Closing Winforms
Posted by ksedran at 11/30/2004 10:23:04 AM
Hi all, I am running into an issue trying to close a form from another form. I have a main form called MainForm. A child form is opened in the MainForm as follows: Dim Form2 As New Form2 Form2.MdiParent = Me Form2.Show() Now from Form2 I am opening another form as follows: Dim Form3 ...more >>

question about spaces in name
Posted by ST at 11/30/2004 10:19:03 AM
Can anyone tell me why the code below won't work for me? It's not picking up the results from the "OTHER" sections of "General Developmental" and "LAB TEST RESULTS". Because the OTHER section worked for "Musculoskeletal", I have a feeling this is a result of the values for that column (Gener...more >>

a simple help pls.
Posted by dentaro NO[at]SPAM walla-dot-com.no-spam.invalid at 11/30/2004 9:55:42 AM
i use c++.NET 2003.i simply make a windows form.2 text boxs( takes the number),a buton and another multilined textbox.So simple,when u hit the button it just takes the number in the 1st text box and 2nd textbox and writes to the multilined 3rd textbox.soo simple. code i have to use in the but...more >>

Fw: Com Interop error!!!
Posted by Ramakant at 11/30/2004 9:23:33 AM
Hi, I have created a component say MyAssembly.dll in .net and gave it t strong name. I have compiled the dll with 'Register for COM Interop' to true. Then I used Regasm to register it and create a tlb to use it in VB6.0. It works on my machine but dosent work on other machine. I get an follow...more >>

Capturing other processes excecptions
Posted by RoboCity at 11/30/2004 7:15:03 AM
Does anyone know of a way to detect when another process has produced an exception? Is there any way to tell from their state or is there some sort of message passing involved? Persumabley there must be a mechanism I can hijack as Dr Watson currently manages to log all of the exceptions. Th...more >>

.NET / Excel automation - MissingMethodException: Method not found
Posted by Benjamin at 11/30/2004 6:19:02 AM
I am making a Windows EXE (.NET Visual Basic Windows Application). I would like to make it possible to open Excel Worksheets from my EXE. This should work independent of Excel version on client machine (it is out of my control to know what versions of Excel different users has.) Anyway let us s...more >>

Question about SQL joins
Posted by Don at 11/30/2004 5:57:03 AM
I am trying to use SQL to return data from multiple tables at the same time. My first table is keyed on SSN. This table has an ID field in it. I will use this ID to find matching rows in 4 other tables. If any or all of the 4 tables do not have matching rows I still want to return a row fr...more >>

Concatenating DataColumn
Posted by Job Lot at 11/30/2004 4:17:04 AM
How can I concatenate values of two data columns and show the concatenated value in the third column. I am using a XML file which contains data and I am using DataSet’s ReadXml method to populate DataSet. I want FirstName and LastName column to show as one column containing full name. fo...more >>

validator positioning
Posted by rufus at 11/30/2004 3:19:01 AM
Hi, I have 2 validators (RegEx and RequiredField) validating a single field. When one of these validators fires I want it to always render in the same position as the other one. The problem is that we are not using absolute positioning for placement of these validators. What is the eai...more >>

problem with DNS.GetHostName
Posted by Darren teo at 11/30/2004 2:59:02 AM
Hi! i get an error when my application run at this line of code, please help DNS.GETHostName Return Error Msg: An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in system.dll Additional information: An operation on a socket could not be performed because the sy...more >>

printing excel file without using automation
Posted by Darklight at 11/30/2004 1:39:05 AM
Hi, does anybody have any idea how I can do this? I would like to avoid instantiating an excel application object as much as possible. I am able to read the file already by using ADO.NET. I would like to be able to finally remove the reference from my project file. thanks in advance....more >>

Problem reading Chr(0) from random file...
Posted by Venkatarajan at 11/29/2004 11:29:02 PM
hai, At present I'm facing a strange problem. We are converting a project from VB to .NET One record contains Chr(0). Let the record be of length 1800. In the 50th byte of a record a chr(0) is there. While I use VB to read it's giving all 1800 bytes. But when I converted my VB to VB.NE...more >>

Help plz...
Posted by Nirma at 11/29/2004 9:53:05 PM
Hi, I wants to find minimum hardware requirements(Ram size, Processor speed, HDD size..) for smart client (C# window) application. So how to identify the requirements? Any tools or techniques? Thanks, Nirma. ...more >>

How to debug Serviced Component in vb.NET?
Posted by william at 11/29/2004 8:57:01 PM
Could anyone tell me how to debug a Serviced Component (COM+) in .NET? I tried to attach the debugger to the host process, but failed, got error "unable to attach the process. There is no managed code running in the process. In order to attach to a process with the .NET debugger, managed code ...more >>

Dynamically add controls on a web page
Posted by Prasad Patil at 11/29/2004 8:47:07 PM
Hi, I ahave a web page, on which i have a placeholder control, a button control .. When i click on the button control it shoul add a user control to the placeholder control. I tried the same with textbox control, but whenever i click the button it adds only one textbox control to the page. H...more >>

Webbrowser - What fires before each page is downloaded?
Posted by Jim Hubbard at 11/29/2004 8:43:55 PM
According to Visual Studio 2003 Help files "In Internet Explorer 6 or later, the BeforeNavigate2 event fires only before the first navigation made in code. It does not fire when a user clicks a link on a Web page." If I want to intercept each webpage before it is rendered in the webbrowser ...more >>

Newbie help
Posted by trialproduct2004 NO[at]SPAM yahoo.com at 11/29/2004 8:24:32 PM
Hi all I am having vb.net application which is using reference of dll which is created in ATL COM. I have one method in COM dll which i am calling in vb.net. First time application is working find. But if i try to call same method again without closing program, application is giving error tha...more >>

asp.net session
Posted by phuongpv at 11/29/2004 8:13:01 PM
How to get asp.net session value from asp?...more >>

BeforeNavigate2 only fires once....
Posted by Jim Hubbard at 11/29/2004 7:10:23 PM
According to Visual Studio 2003 Help files "In Internet Explorer 6 or later, the BeforeNavigate2 event fires only before the first navigation made in code. It does not fire when a user clicks a link on a Web page." So what does fire? ...more >>

Is .NET 1.0 or 1.1 distributed with Windows XP SP2?
Posted by Nghia Nguyen at 11/29/2004 5:49:05 PM
Question: - Does anyone know if the .NET 1.0 or 1.1 platform is distributed with XP SP2? I want to avoid reditribute the .NET binary if it is included in XP SP2. Thanks...more >>

DateTime
Posted by Viorel Ghilas at 11/29/2004 4:39:12 PM
Hi all I have some trouble. I hava configurable date format, for ex. like this 'yyyyMMdd' and I try to convert strings to date time, and .net give me an error 'string is not recognized as a valid DateTime', my code is: DateTimeFormatInfo df = new DateTimeFormatInfo(); df.DateSeparator = str...more >>

how do i access methods when the .net assembly was loaded with late biding?
Posted by Daniel at 11/29/2004 4:23:28 PM
how do i access methods when the .net assembly was loaded with late biding? class Class1 { public static void Main() { System.Reflection.Assembly SampleAssembly; SampleAssembly = System.Reflection.Assembly.LoadFrom("C:\\SimpleSolutions\\asmload\\asmtoload \\bin\\Debug\\asmtoload.dll"...more >>

Evaluating Reporting Tools for .NET
Posted by mskhanis NO[at]SPAM hotmail.com at 11/29/2004 3:55:05 PM
I am currently doing some research on reporting features provided / compatible with dotnet features. Our current application has excel reprots that are emailed both with an without scheduling through a web front end that uses coldfusion as well as asp. There are custom vb compnents that generate...more >>

how to load a C# dll from another C# assembly if the path of the loaded dll is not known until runtime
Posted by Daniel at 11/29/2004 3:16:04 PM
how to load a C# dll from another C# assembly if the path of the loaded dll is not known until runtime ...more >>

How do i dynamicaly load and unload a C# dll at runtime
Posted by Daniel at 11/29/2004 3:06:44 PM
How do i dynamicaly load and unload a C# dll at runtime ...more >>

Problem with Webbrowser control....
Posted by Jim Hubbard at 11/29/2004 2:48:37 PM
When using the following code..... ------------------------------------ Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim HTMLString As String HTMLString = TextBox1.Text Dim doc As mshtml.HTMLDoc...more >>

help to find appropriate license
Posted by David at 11/29/2004 2:37:42 PM
we are a group of developer, our intention is to developer free Microsoft ..NET components Initially source code is not available, so we are trying to find the appropriate license. All components are totally free and royalty free for commercial and non-commercial applications. So, developers ...more >>

FTP and dotnet
Posted by ramya.chirawala NO[at]SPAM gmail.com at 11/29/2004 2:04:34 PM
Hi, Dotnet cannot upload huge files(more than 4 MB without tweaking the parameters in web config) http://support.microsoft.com/default.aspx?scid=kb;en-us;323246. So i am trying to upload files greater than 4 MB using FTP server. i am doing some socket programming as in http://support.micro...more >>

Load Testing Errors
Posted by Shabam at 11/29/2004 1:47:13 PM
A web application of mine developed using C# + MS SQL runs fine normally. However when I stress test it with a load testing software (using about 60 simultaneous users) some instances start erroring out. I see two different errors. One is a "Object reference not set to an instance of an object....more >>

.NET & Web Applications In General
Posted by Jim Douglas at 11/29/2004 12:30:32 PM
How many times a day do other's have to reset IIS or reboot a system? We are rolling out our first .NET application and during the pilot phase found that we need to reset IIS at lease 2-3 times a week, we have only about 50 users on it now! We have implemented exception handling and EIF and see n...more >>

Trouble loading Web forms
Posted by fripper at 11/29/2004 12:30:25 PM
I must have done something that has suddenly caused me to be unable to load a new web form when developing web apps. Simple example: WebForm1 has a button which when clicked simply does a Response.Redirect("WebForm2"). When I run the program and click the button I get "The page cannot be fou...more >>

Capture Shift Held Down When Application Starts?
Posted by Alex Stevens at 11/29/2004 12:30:10 PM
Hi All, I'm writing a launcher program which checks for updates and copies them down to the client. However, I would like the user to be able to modify the settings for the launcher. As this runs automatically, I would like it to be configurable by the user holding down the shift key when dou...more >>

Problem with Datagrid Sorting
Posted by MrMike at 11/29/2004 11:35:35 AM
Hi. I have a webform datagrid which should sort whenever the column is clicked. However, when the column is clicked no sorting occurs and the datagrid (with the exception of the header) disappears. My code to perform the datagrid sort is below. My datagrid's AllowSorting property is TRUE. ...more >>


DevelopmentNow Blog