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
all groups > vb.net > february 2004 > threads for monday february 2

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

AspCompat = "true" leads to the COM Exception
Posted by Neeraj at 2/2/2004 11:40:23 PM
I am using AspCompat="true" in the page directive from where I am calling Interop written in vb 6.0 which is deployed on COM+ Server. On some pages I am getting the error : Exception Type: System.Web.HttpUnhandledException Info: System.Web.HttpUnhandledException: Exception of type Sys...more >>


Bit Encoding design
Posted by at 2/2/2004 11:31:59 PM
I am woking on a base64 encoder and I am looking for some design help. I have a woking model but would like some input on the design. I currently read 3 bytes from a binary stream with each byte place in a seperate int32 var. Bytes are shifted to the left 0 8 or 16 places then the 3 vars are ...more >>

Position owned form relative to owner form on screen
Posted by Dean Slindee at 2/2/2004 11:23:20 PM
I would like to show an owned form at a predetermined spot on the screen relative to the the owner form's position on the screen (example: frmOwner.Top + 100 and frmOwner.Left + 50). How to do? Thanks, Dean Slindee ...more >>

Compiling Pb: 'System.DirectoryServices' namespace could not be found!
Posted by Julien at 2/2/2004 11:01:13 PM
Hello, I'm quite new in the .Net Framework Environment. I am currently trying to develop a VB.net appli that connects to my domain Active Directory using the "Microsoft.DirectoryServices" namespace, but when I try to compile the source file named "logoff.vb" using the following command:"vbc /refe...more >>

Lowdown on finalization
Posted by Frank Rizzo at 2/2/2004 9:13:04 PM
Can someone give a reader's digest on finalization of objects in .net framework. When do I need to call .Dispose? What happens when I set the object to Nothing (or null in c#) What else do I need to know? Thanks...more >>

DataCombo problem
Posted by R at 2/2/2004 8:06:03 PM
Hi, I'm really stuck here. I have a data combo called cmbHvem which I link to a recordset RS23 like this If RS23.State = adStateOpen Then cmbHvem.RowSource = Nothing RS23.Close() End If SQL = "SELECT AID,(FNavn + ' ' + ENavn) AS Ans FROM Ansatte WHERE KID = '" & varKID & "'" ...more >>

Regional Settings conflict
Posted by Dino M. Buljubasic at 2/2/2004 6:28:24 PM
I am having problems each time I have to deploy my application to some other machine. So far, each time I was having problems because of regional settings, date and time problems. My question is how can I avoid these problems? How can I make my application work no matter what settinsg for date...more >>

Going Crazy nearly 2 weeks
Posted by Merlin at 2/2/2004 6:19:23 PM
Hi Again Group, Sorry to trouble you all again but i`ve been looking at this problem for 2 weeks now and just don`t seem to be able to grasp how to create a relationship in VB.NET with ADO.NET. I have the following: Private Sub frmMainMenu_Load(ByVal sender As System.Object, ByVal e As S...more >>



Change icon size in code
Posted by Szafranr at 2/2/2004 5:02:35 PM
Hi I try to load icon from the icon file. this icon is in 32x32 size, but I need in code icon sometimes as 16x16 and sometimes as 32x32. I don't know how I can convert this size during the load image from the file. Anyone able to advise please? Szafranr ...more >>

Need recommendation
Posted by Ashish at 2/2/2004 4:46:19 PM
Hi, Can someone recommend a VB.NET book for an experienced VB programmer? I have extensive experience in programming in VB, but lately I decided to try VB.NET too. I think I have pretty good hold of this new language and framework now. I was wondering if someone can suggest a good (and ch...more >>

How to hide sub form's ico of MDI form?
Posted by Steven at 2/2/2004 4:36:07 PM
Hello everyone I am editing a MDI form now. The container do not have menu. So there has no menu bar at the top of the container. When I load a sub form of it and set the WindowState property is "Maximized", the container will display the sub form's ico and Maximized, Minimized & Close buttons...more >>

how to get the end date of a month
Posted by Bob at 2/2/2004 4:29:33 PM
I passed in a DateTime object, and want to get its end date of the month. Is there a easy way to do it? Thanks. ...more >>

Output Parameters in VB .NET ?
Posted by jcsutton NO[at]SPAM usa.com at 2/2/2004 4:13:32 PM
I'm building a web service and trying to get an output similar to this: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <Add2Response> <Add2Result>3</Add2Result> <sum>3</sum> </Add2Response> ...more >>

Console.Writeline() hangs IDE?
Posted by Bob at 2/2/2004 3:47:41 PM
I just recently noticed that when I start my applicatoin in debug mode, the IDE hangs (no disk or CPU activity) indefinitely (at least 20 minutes). Pausing the application shows that it's hung up at a line in a referenced assembly, one of my own, which is a simple Console.WriteLine() statement. T...more >>

Can I change more than one control's properties at the same time?
Posted by Mike Chan at 2/2/2004 3:11:51 PM
Can I use some loop to change a series of control's properties at same time? for example. I have textbox1, textbox2, textbox3, ... If I want textbox1.text = "1", textbox2.text="2", textbox3.text="3"...... Can I use some loop method to do this? ...more >>

XML and the Datagrid
Posted by solex at 2/2/2004 3:03:52 PM
Hello, I am developing a small single user data entry/reporting application, and was wondering if the approach of using XML with a schema and the datagrid control is a valid approach or should I use a database instead? I do not expect the total number of elements to be greater then 2500 rows. ...more >>

Calculate Average Date
Posted by Steve at 2/2/2004 2:52:01 PM
Hi all How would I find out the average date when given a bunch of dates? For example, I want to find the average length in time from the following dates: ---------------------------------------------------- Start Date End Date 01/01/2004 12:50pm 02/01/2004 18:40p...more >>

Anybody know anything about WIA (Windows Image Acqusition?)
Posted by Simon Verona at 2/2/2004 2:40:56 PM
I'm using wia in a vb.net project to capture images from a scanner.. This works fine. However, I want to control the way that images are scanned - ie B+W, Greyscale and resolution etc, but can't work out how to. My code for scanning is below (sorry it's a bit messy - it's been chopped and cha...more >>

Properties only ByVal
Posted by Onno Ceelen at 2/2/2004 1:55:54 PM
Hi, I am testing interop code by use of some prototypes. What I have is the following: 1. VB 6.0 library 2. VB.NET class library 3. Interop assembly of the VB 6.0 library (tlbimp output) I want my VB.NET class library to have the exact same definition as my VB 6.0 library. The code o...more >>

Populating a datagrid dynamically, creating Session Variabbles
Posted by coleenholley at 2/2/2004 1:49:07 PM
Hi all :-) I have a couple of web pages created using ASP.Net and VB code-behind. We use a connection call through an RPC to COBOL, NOT an SQL connection, so my connection to get the data is done in a Class Module (VB), which populates the datagrid. The datagrid is bound in the code-behind the AS...more >>

Databinding & Combobox
Posted by francesco at 2/2/2004 1:41:28 PM
Hi, I have a combobox and I bind it with a dataset I display one field of the dataset SqlDataAdapter1.Fill(DsDataSet) ComboBox.DataSource = DsDataSet(0) ComboBox.DisplayMember = "Description" I would like that when the user select one of the item of the combo, in a textbox of the for...more >>

Is dynamic code execution possible?
Posted by Alex Blekhman at 2/2/2004 12:13:10 PM
Hello, I want to execute piece of code, which was created/loaded dynamically. JScript/VBScript have this possibility via eval() method. How can I do something similar in VB.NET? If I can't, then what are the alternatives? A little background for my problem. I need to implement an application...more >>

Using a third party DLL
Posted by John Dann at 2/2/2004 12:12:18 PM
I'd like to talk to a (serial port linked) external instrument from within a .Net project. The makers supply a Win32 compatible DLL (written in C and not an ActiveX DLL I think) that handles the low level communication to and from the instrument. So by using the available DLL, hopefully I can ac...more >>

Deployment Strategies
Posted by Parveen at 2/2/2004 12:11:07 PM
I am ready to deploy my first windows vb.net application. Which strategy should I use for this deployment? Is XCOPY available Thanks in advance! Parveen...more >>

Syncfusion Grid
Posted by Vasanth at 2/2/2004 12:02:36 PM
Hi All, I am using syncfusion grid for Windows Application using VB.net. As per our requirement, user should be able to close the window at any time. The application should cancel what the user is entering in the grid and should close the screen when the user presses Close command button or W...more >>

multitask visualbasic.net
Posted by adam at 2/2/2004 11:48:51 AM
Is it possible to have 2 different people working on the same program over a network, and how is this done?...more >>

The referenced component CommonDialog is missing a design time license
Posted by Jim H at 2/2/2004 11:24:29 AM
I get this error trying to open a VB6 project in VS .NET 2003 when the upgrade wizard first starts running. I assume it's because I don't have VS6 installed on this computer. I don't want to install VS6 either. Anybody know a way around this or what's going on. Thanks, jim ...more >>

Spawning multiple processes at same time
Posted by Jeremy at 2/2/2004 11:22:46 AM
I have a core VB service that monitors a database, and based on data in the records will execute code to send email notifications. Problem: I don't want my main program code to halt and wait for this execution... we need immediate execution of all notification processes and would prefer to sp...more >>

Best Practice ?
Posted by Marten Van Keer at 2/2/2004 11:20:55 AM
Hello; Given a class A. class A has a function: calculate() Class A can calls another Class: B The problem is: Class B also wants to use the calculate() function. I do not think it is a good way to duplicate the calculate() function in both classes. How do I solve such a problem ?...more >>

Datagrid add and edit features
Posted by tmckinney NO[at]SPAM upstate.com at 2/2/2004 11:11:48 AM
I have a read-only datagrid that I use to display a heirarchal model of three tables (The example I am setting up uses the Customer, Orders, and Order Detail tables from the northwind database). I load the three tables into a single dataset and then create the relationships. What I want to d...more >>

best algorithm for getting distinct list
Posted by Bob at 2/2/2004 10:46:12 AM
It's not especially important, but I always like to know the best way of doing things for when I encounter a case where performance becomes a factor... say I have a string array and I want to get a distinct list, that is, get a list without duplicates. In SQL this is easy because it's done for yo...more >>

Ctrl + Break
Posted by Will at 2/2/2004 9:51:07 AM
Hey guys in vb 6.0 you can Ctrl+Break the program and add/edit code while the program is still running. Can you do that with vb.net ? and how THANX IN ADVANCE...more >>

Ctrl + Break
Posted by Will at 2/2/2004 9:21:10 AM
Hey guys in vb 6.0 you can Ctrl+Break the program and add/edit code while the program is still running. Can you do that with vb.net ? and how THANX IN ADVANCE...more >>

URGENT!!! Generating a connetionstring property from the designer...
Posted by Christopher Calhoun at 2/2/2004 9:19:53 AM
This functionality is implemented in the SQLConnection control in the connectionstring property. I am Building a custom control from an inherited base class. (datagrid) I have exposed a property for a connectionstring which I want the user of this control to be able to use the way the connecti...more >>

IP Multicast with MSMQ
Posted by Thien Le at 2/2/2004 9:06:06 AM
How can I do IP Multicast with MSMQ (System.Messaging.MessageQueue) Thank you for your help Thien Le ...more >>

Should I use eventArgs or e
Posted by SamSpade at 2/2/2004 8:52:50 AM
I'm working on something the wizard converted from VB6. I have some event handlers that use eventArgs and some that use e. It may be simply that the wizard used eventArgs and the IDE uses e. I know either will work but I'm wondering if there is a convention I should follow? Is there? ...more >>

True Transparency
Posted by Leonard at 2/2/2004 7:16:08 AM
I am writing an application that shows videos, flashmovies, images, text, etc on a form inside usercontrols. certain controls like the videos (directx) flash movies (shockwave Flash ocx) do not let me know if the user has clicked them. I want to put an invisible (transparent) control over the enti...more >>

store file in string...not openfile
Posted by Trint Smith at 2/2/2004 7:04:14 AM
How can I store an entire html file in a string with all it's formating, double quotes, multiple lines and all?? like this: Dim FileString As String = ENTIRE HTML FILE thanks, Trint .Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.com *** Do...more >>

File in a string...Don't openfile...
Posted by Trint Smith at 2/2/2004 7:04:13 AM
I need to store an entire html file in a string and not call it from a file. Is that possible?? How can I do this?? with rows double quotes and all...It needs to be something like this: Dim file As String = "<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:offi...more >>

Difference between version in VS.NET
Posted by Joachim Jen at 2/2/2004 2:36:16 AM
Hi, I have a (or two) question(s), and I hope somebody can answer it. I have made a project with my VS.NET Professional Edition version 2003. I brough my project to my friend who has VS.NET Enterprise Architect Edition version 2002. His PC can't open my project, it said that the project is NOT V...more >>

Odd runtime error
Posted by AussieRules at 2/2/2004 2:00:03 AM
I am gettin an error that I can not workout why it is happening. It seems to happen when I select an item in my combo. Setting a break point, and stepping through, or using try catch doesn't seem to trap it either. From what I can see(and I look blindly) its some sort of unsafe method. Any i...more >>

Two questions about textbox
Posted by Luis Mendes at 2/2/2004 1:51:07 AM
Hello, 1. I've created a dataform with the wizard. There is textbox that is bounded to a field, if I make this textbox invisible, I'm not able to read is value. I' ve other projects thaT I´m able to do it. It doesn´t seem to be very consistent. So, my first question is - How to read the value ...more >>


DevelopmentNow Blog