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 > april 2004 > threads for monday april 26

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

deselect item in list box
Posted by GJP at 4/26/2004 9:24:22 PM
Hello. I have two list boxes. One with a picture name, and one for the ID of that picture (both coming from a database). The user selects the name of the picture and presses a button, the picture and the picture ID are then moved to other list boxes. This works ok, but once this has been d...more >>

How to get info about Control Panel applet, i.e. Desc, icon...(Null)?
Posted by yxq at 4/26/2004 9:13:03 PM

Type Mismatch Error
Posted by duha at 4/26/2004 9:10:19 PM
I get this "Run-Time error '13': Type Mismatch" when I run the sample code below. The debugger highlight the line "Set MSHFlexGrid1.DataSource = rs" Any ideas? I am using VB6. Thanks, duha ---------------------- Option Explicit Public db As Database Public rs As Recordset Public SQL A...more >>

multi column combobox in datagrid
Posted by jaYPee at 4/26/2004 8:03:53 PM
i have search a lot of newsgroup and some website to find a sample for multi column combobox in datagrid but no luck. there are so many sample i found but it is not located in datagrid. i would be very glad if you can direct me to a website that has this sample thanks in advance....more >>

Empty string
Posted by tinman at 4/26/2004 7:24:42 PM
Hi... Is there a .NET equivalent to VB6's vbNullString ? If not, how do we set a string to NULL? Is the following 1 & 2 equivalent: Dim Test as String 1. Test = String.Empty 2. Test = "" ...more >>

Property Question
Posted by WStoreyII at 4/26/2004 6:21:02 PM
does a property keep its value even when a program is turned off for instance if i make a class account with a property of account name will it keep that value when i turn off the program WStoreyII...more >>

ldap users and groups security
Posted by Yaron Lapidot at 4/26/2004 6:14:54 PM
Hi all i would like to know if there is some way to use ldap users and groups management when user request for asp document ? i have gorup policy at my server , and i want to integate it into my asp.net app any samples , links or any kind off help will be fine with a lot of thank's Ya...more >>

Event driven program exits
Posted by Deadly_M at 4/26/2004 6:08:17 PM
I have a basic VB.NET "windows application" it does not need a form and is purely event driven. At the moment when its is ran it performs the Sub Main startup then simply EXITs because all the other code is event driven so there is nothing else to run what is the best way to keep my program run...more >>



Form becomes unresponsive after 2 hours.
Posted by google NO[at]SPAM deniznet.com at 4/26/2004 6:02:51 PM
Hi, I'm having problem with this internet application. It's a simple form with a button and couple text boxes where I can enter parameters like timeout etc. Once I push the button, it starts reading the content of a specific URL and updating the database every minute or so. When I leave the...more >>

Tasklist Walking
Posted by Jeff Law at 4/26/2004 5:52:07 PM
Can anyone point me in the right direction with some code to 'walk' the Windows Tasklist? I need to be able to find out if a specific application is running. Many thanks in advance, Jeff Law New Zealand ...more >>

Time user takes before hitting submit
Posted by asadikhan NO[at]SPAM hotmail.com at 4/26/2004 4:39:04 PM
Hi, I was wondering how I can find out the time user takes on an aspx page before hitting a submit button. Since there is that whole server-side vs. client-side issue, I was thinking I can store the current time in a variable on server side, and when the user hits submit, inside the method i...more >>

difference VB.NET on NT, W2000 and W2003
Posted by DraguVaso at 4/26/2004 3:06:47 PM
Hi, I need to know the different performance and possiblities of VB.NET on Windows 97, Windows 2000 and Windows 2003. I guess that VB.NET-applications on a W2003 should work better, but where is exactly the diference? Are there more possiblities? And what about Office 97, 2000 en 2003? Are t...more >>

How do I call an assembly across the network?
Posted by Dmitry at 4/26/2004 3:02:52 PM
hi there, Quick question. I am new to .Net and was wondering if anyone can point me to the resource on the web or may be explain how I can use an assembly installed on another server? I have a multi-tier application which consists of several layers - 2 of which are installed on different serv...more >>

ToolBar buttons by name?
Posted by Tom Williams at 4/26/2004 2:51:56 PM
Surely there must be some way to refer to a button on a toolbar by its name. I don't mean when the button is clicked, I can see how to do that. Depending on what's going on, I want to enable or disable certain buttons. For example, it the user hasn't done anything, disable the "cancel" bu...more >>

Windows 98 and Vb.Net
Posted by Ed Willis at 4/26/2004 2:42:43 PM
Is there any web site etc. that lists the known bugs? I have a Vb.Net application that runs fine on any Windows XP machines but we get error on Windows 98 machines when the user tries to close the application? Thanks for the help ...more >>

Types
Posted by Kim Madsen at 4/26/2004 2:39:02 PM
Hi, in VB I could create types like : Public Type DEVMODE dmDeviceName As String * CCHDEVICENAME dmSpecVersion As Integer dmPelsHeight As Long dmDisplayFlags As Long dmDisplayFrequency As Long End Type How do I do in VB.NET ?? Best regards Kim ...more >>

Threads, progressbar, and webclient
Posted by Lisa at 4/26/2004 12:44:21 PM
Hi, I'm trying to show some sign of activity while my app downloads a file from the internet. My download routine is such: Private Sub DownloadWebFile() Dim wdc As New System.Net.WebClient() Try wdc.DownloadFile(FTD, "temp.temp") 'FTD is a global string, the address & filename...more >>

Web.config file
Posted by ruca at 4/26/2004 12:36:03 PM
Hi, I have an application that I want to setup for each folder a web.config file with different authentication, but when I try to do that it gives me an error saying that maybe that folder is not configured in IIS as virtual directory. In the root I don't want to have redirect to login page...more >>

Listing database servers on local network
Posted by DKC at 4/26/2004 11:09:35 AM
Hi All, Is there any way wherein I can get a list of database servers on my local network. Any help appreciated. I am using VB.NET 2003 Thanks DKC ...more >>

Reading through a datareader
Posted by Sam anonymous at 4/26/2004 11:08:21 AM
This is what I have so far but if someone could show me how to read through the datareader once I can get the rest. Thank you. Private Sub lstCoursesOffered_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lstCoursesOffered.SelectedIndexChanged ...more >>

Datagrid question
Posted by Scott Meddows at 4/26/2004 10:57:56 AM
I know how to put data INTO a datagrid. If I want to get data out of the datagrid how do I do that? I've read somewhere about a currency manager? Is that the correct way? Anyone have some simple code or links for reference? Thanks Scott ...more >>

delimited file converted to XML
Posted by (harold_frohlich NO[at]SPAM yahoo.com) at 4/26/2004 10:52:50 AM
I have the need of converting a delimited file to an XML file i BUILT THE format using XMLspy -- does anyone have any examples that I can use for a reference or plagerize ********************************************************************** Sent via Fuzzy Software @ http://www.fuzzysoftware.co...more >>

problem with vb.net and powerpoint automation
Posted by rutledj NO[at]SPAM rjrt.com at 4/26/2004 10:39:01 AM
Does anyone know how to start powerpoint from vb.net without the ppt screen appearing. I want to keep it hidden? Using this code: Try pp = New PowerPoint.Application pp.Visible = Office.MsoTriState.msoTrue pp.WindowState = PowerPoint.PpWindowState....more >>

FindFormForMenuItem
Posted by JackRazz at 4/26/2004 10:10:29 AM
I can't figure out how to find the Form for a MenuItem is on using a reference to the MenuItem only? I'm looking for something like the FindForm method for controls. I finally figured out how do do it for components (see below), but I can't figure out how to do something similar for menu items....more >>

Closeing all child forms in MDI app
Posted by Brian Henry at 4/26/2004 9:50:28 AM
Hi, this task sounds like it should be easy but what I tried didn't work. My app has a logoff button, and when a user clicks it i need to close all the child mdi windows in a mdi container... i thought this would work ' close any forms open Dim f As Form For Each f In Me.OwnedForms f....more >>

Outlook application with VBA - converting to VB.NET
Posted by Ernie at 4/26/2004 9:46:02 AM
We have an Outlook 2000 VBA application - 8 user forms, and about a thousand lines of code - that we wish to distribute. We know that we can password-protect the code, but that does not give us the desired level of security We plan to use VB.NET to create an executable file which we will distribu...more >>

Softer Windows Forms
Posted by IcedCrow at 4/26/2004 9:06:06 AM
I've noticed that a lot of programs have began to use a "softer" windows form. By that I mean the caption bar has lighter, softer colors and the corners are more rounded How do you go about getting that look in a Visual Basic application? (v6 or .NET Thanks~...more >>

Using GOTO
Posted by Kartic at 4/26/2004 8:49:31 AM
Hi, Is it good practice using GOTO in .NET application? Please advice. Thanks, Kartic ...more >>

The specified protocol is unknown. Error while trying to send email with attachment.
Posted by m_evergreen NO[at]SPAM yahoo.com at 4/26/2004 8:24:07 AM
Errors: An unhandled exception of type 'System.Web.HttpException' occurred in system.web.dll Additional information: Could not access 'CDO.Message' object. innerexception is "Exception has been thrown by the target of an invocation." innerexception.innerexception is "The specified protoc...more >>

Arraylist to array
Posted by Russ Green at 4/26/2004 8:12:57 AM
I am currently working on a small VB.NET utility that accesses the = Microstation VBA object model via COM.=20 I have this code which I am trying to get to work... The key bits of information are Dim oEl As MicroStationDGN.Element Dim oTagEl() As MicroStationDGN.TagElement Dim oArrayList...more >>

RaiseEvent in DOT .NET so that VB6 can respond
Posted by Jeffrey.Reese NO[at]SPAM us.ing.com at 4/26/2004 7:43:58 AM
I created a user control in VB .NET and put a COM wrapper around the control so that a VB6 client could dynamically add the control to a form. The only thing I haven't figured out is if the VB .NET user control can raiseevent and have the VB6 container respond to that event. I've tried the...more >>

Sending email from a VB Dot Net Application
Posted by Majid Qazi at 4/26/2004 7:30:49 AM
I am writing a windows application in VB Dot Net. One of the requirement = is that it should be able to send email in certain situations. I could = not find any library to be used for this purpose.=20 Any ideas or suggestions will be much appreciated....more >>

Need Advice
Posted by Chris Lane at 4/26/2004 7:11:05 AM
Need Advice on prebuilt Exception Assemblies Please take a look at my post on the Titled: Need Advice on prebuilt Exception Assemblies posted on 04/21/04 Thank ...more >>

Writing reg_multi_sz values in VB.NET
Posted by steve NO[at]SPAM loungent.com at 4/26/2004 6:50:25 AM
Hey there, I was wondering if anyone has been able to write reg_multi_sz multi-string values to the registry from VB.NET. All the registry stuff I find from MS can't differentiate different types of strings. I see some examples of VBScript that use the WMI registry provider to write to the r...more >>

Navigation in Datagrid
Posted by Connull at 4/26/2004 6:11:02 AM
How can I disable navigation (arrow and tab keys) in a datagrid...more >>

IP address Change
Posted by matt at 4/26/2004 4:51:03 AM
Hi i need to be able to chanmge all of the differnt IP address settings on a computer such as the gateway IP address ETC can VB.net do thing??? thanks guys...more >>

slow reading of eventlog
Posted by zorro at 4/26/2004 3:21:04 AM
I need to read the entire eventlog and parse it. The application uses vb.net and the EventLog object. The problem i'm having is that it can take less then a second up to 15 seconds to read all entries in the eventlog. I used Perfmon and found the following two counters that were used heavily ..NE...more >>

Of CollectionBases, Enumerations and DataBinding
Posted by Good Enchiladas at 4/26/2004 3:06:28 AM
I have an object model that exposes a class inheriting from collection base. I would like to make this class available to an ASP.NET data grid, such as in the following code: grid.DataSource = MyObjectModel.MyCustomers.Filter("Smith%") The problem is that MyCustomers is a lazy loading pro...more >>

Check if an array is multidimensional
Posted by Philip Wagenaar at 4/26/2004 3:01:08 AM
what is the quickest way to check if an array is multidimensional...more >>

Need to display column name on detail section of a crystal report.
Posted by teenameenadotnet NO[at]SPAM yahoo.com at 4/26/2004 12:17:22 AM
Hi Every Body, I have created a crystal Report and linked to my vb.net forms and working fine, I added more drill drowns in groups everything fine, but What I need is I am not able to display the lables on details section. I have choosen Hide (Drill Down Ok ) For the groups, The details are b...more >>

Question about .NET
Posted by Nick at 4/26/2004 12:17:20 AM
Is there any real difference between .NET 2002 and .NET 2003? ...more >>


DevelopmentNow Blog