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 > july 2003

Filter by week: 1 2 3 4 5

Help: Requiredfield validator
Posted by Sean at 7/31/2003 8:40:00 AM
Hi, I have 2 buttons A and B, textbox C and dropdown list D. When A is clicked, C is required field. When B is clicked, C and D are required fields. There is a dummy entry "please select" in the dropdown list. When B is clicked, D can't be the dummy option. I wonder what is the best practic...more >>

Should I learn VB.NET or ASP.NET?
Posted by TAM at 7/30/2003 5:43:47 PM
Hi, I read that ASP.NET uses VB.NET instead of VBScript. I also read that ASP.NET is a subset of VB.NET. So if I learn VB.NET first then do I have the knowledge for programming ASP.NET applications or do I need to learn both VB.NET and ASP.NET. Thank you. TAM ...more >>

Dataset Update che funziona in modo strano
Posted by Webmaster of Moon at 7/30/2003 3:09:38 PM
Ciao ho una piccola anomalia, in un dataset. Ho una form di dettaglio collegata con delle textbox a un database sqlserver tramite dataadapter, dopo aver generato il dataset e le stringhe sql per aggiornamenti e selezioni, mi si presenta il prblema. Tramite metodo fill riempio il database, e poi ...more >>

VS.NET 2003 consume 150MB of physical memory !!!!HELP!!
Posted by Ms.net at 7/30/2003 12:38:42 PM
Please, what to do??? ...more >>

RadioButtonList and JavaScript ... Help
Posted by Sean at 7/30/2003 11:54:58 AM
Hi .... I have a radiobutton list and a label in a webform. <asp:radiobuttonlist id="one" runat="server" CssClass="text" AutoPostBack="False" RepeatDirection="Horizontal"> <asp:ListItem Value="one">one</asp:ListItem> <asp:ListItem Value="two">two</asp:ListItem> <asp:ListItem Value="thre...more >>

ANN: Future of .NET, Whidbey, Orcas
Posted by Thomas Scheidegger [MVP] at 7/30/2003 2:54:24 AM
Some new details to the next .NET and Visual Studio.NET versions: http://www.microsoft.com/presspass/press/2003/Jul03/07-29InnovationListPR.asp New 'Roadmap' up to 2005 ! http://msdn.microsoft.com/vstudio/productinfo/roadmap.aspx -- Thomas Scheidegger - MVP .NET - 'NETMaster' ...more >>

Problems with ImageList Control
Posted by Alan at 7/29/2003 11:01:37 PM
I am developing a Windows Form application and I am experiencing issues = with the following line of code..... Me.ImageListCRSGroupImages.ImageStream =3D = CType(resources.GetObject("ImageListCRSGroupImages.ImageStream"), = System.Windows.Forms.ImageListStreamer) The type of error I get is a ...more >>

Using RegConnectRegistry() with VB.net
Posted by Brian Patrick at 7/29/2003 5:28:07 PM
I cannot seem to get the following code to work in VB.net: ---------------------------------------------------------------------------- ------------------------- Const HKEY_LOCAL_MACHINE = &H80000002 Declare Function RegConnectRegistry Lib "advapi32.dll" Alias "RegConnectRegistryA" _ (B...more >>



Page Caching Problem
Posted by Paul M. Frazier, Ph.D. at 7/28/2003 6:51:05 AM
I am having a problem with web forms I have uploaded to my hosting site not running the most recent version. The .aspx file I have FTPed to my server has the current code I need to test, but when I view the page in my browser, I see a version of the page that I have deleted and copied over se...more >>

TextBox.Text value not changing when it is prepopulated
Posted by Paul M. Frazier, Ph.D. at 7/28/2003 6:49:32 AM
I am writing a user information update page and I populate the form on Page_Load with the current values of the user's name, etc. When I change the text in one of the textbox controls (e.g., change the user's middle initial from M. to X.) and submit the form, the value seen for middleinitial.te...more >>

Q: How to Work with Control Arrays?
Posted by Mr. B at 7/26/2003 3:28:12 PM
With Deft Fingers, "Jan Driesen" <jan.driesen@tiscali.be> wrote: I've an app with a bunch of Control Array of Buttons. I'll use code from my App using 5 buttons as my example: 1) I've Dim them as a button in my Form Dim btnUsrMonday() As Button ' User Monday Buttons 2) I've th...more >>

invalid user / password on installing the windows services.
Posted by Sam at 7/25/2003 7:12:37 PM
Hi everyone, I create a windows service and its installer in VS Net. but when I try to install it on command line, "installutil myservice.exe" ,I kept receiving the error message: System.ComponentModel.Win32Exception: The account name is invalid or does not exist, or the password is invali...more >>

sockets problem
Posted by Dmitry Akselrod at 7/25/2003 3:39:10 PM
Hello everyone, I have a vb.net application that wraps the TCPListener object in a class. The server connects to the local interface and establishes itself on port 9900. It then polls for pending connections every 500ms. I also have a vb6 application that uses the WinSock control at the ot...more >>

How can i found out the current user's role/permission level
Posted by MJB at 7/24/2003 1:56:42 PM
I know I can get the current username through the System.Environment class, but I can't seem to find where I can retrieve the user's role / permission level (i.e. Admin, power user, etc). If anyone has done this and can shed some light on the issue I would appreciate it. TIA, Matt ...more >>

Exchange Server Contact list into VB.NET
Posted by Brian Henry at 7/24/2003 8:28:11 AM
Does anyone know of a way to pull my contact lists out of exchange server and into a VB.net application? or even a public contact list? Thanks! This is something I need really bad, any help would be nice. -- ================================ Brian Henry The Reschini Group HTTP://www.reschin...more >>

Where's the DataGrid scrollbars (winforms) ?
Posted by Fabrício de Novaes Kucinskis at 7/24/2003 12:44:02 AM
Hi all, I have to problems concerning datagrids, tabcontrols and scrollbars: 1) I created a form with a TabControl. This TabControl has two TabPages: the first with a datagrid to browse database records and the second with some controls (TextBoxes, OptionButtons...) to edit these records. W...more >>

.NET and what end-users think.
Posted by owen at 7/23/2003 11:42:18 AM
Your opinion please! Do end-users know, think they know, or even care, what .NET is.? Do customers hear the word ".NET" and think its the latest thing and must only have .NET applications, even though they've not a clue what it means? IMHO the customer shouldnt really care as long as the p...more >>

difference between Convert.ToString(obj) and CType(obj, String)
Posted by Mark Kamoski at 7/23/2003 11:41:15 AM
Hi-- What is the difference between Convert.ToString(obj) and CType(obj, String)? (Assume obj is a variable of type Object.) Please advise. Thank you. --Mark ...more >>

default access modifier for a sub or a function when not set
Posted by Mark Kamoski at 7/23/2003 11:23:58 AM
Hi-- Please help. What is the default access modifier value for a Sub or a Function when one has not explicitly been set. In MSDN, in "Access Types", it states... "If no access modifier has been specified, the default access type depends on the declaration context" ....which, al...more >>

Inserts into a DB with a Command
Posted by Teo at 7/21/2003 10:00:46 AM
Hi! Sorry for my many postings on this Newsgroup. I am new to ADO.NET and I got Sceppa's book on ADO.NET. It's a great book but covers a lot on the DataAdapter and Offline Data. Now, if I want to Insert Data into my MSDE Database, can I do it without using the DataAdapter? Here are the steps I u...more >>

Strong Name problem
Posted by Programatix at 7/20/2003 3:23:55 AM
Hi, I'm trying to apply Strong Name to my project and I get the following error while building the project, Building satellite assemblies... Satellite build for culture 'ms-MY' failed. Please see the output window for more detailed error information. ALINK: error AL1044: Error reading key ...more >>

How to make sure ComboBox select nothing...
Posted by Programatix at 7/18/2003 5:30:44 PM
Hi, I'm having problem with ComboBox. I'm trying to force the ComboBox select nothing by doing this, myCombo.SelectedText = "" myCombo.SelectedIndex = -1 but in vain, as the ComboBox will automatically select the first available selection. If I make the ComboBox visible before set...more >>

Question about SqlDataAdapter.RowUpdating Event
Posted by Programatix at 7/18/2003 5:24:51 PM
Hi, I'm working on a WebService project. I'm trying to validate data before they are updated to the database by handling the RowUpdating event for a SqlDataAdapter. The data being handled has DataRelation which is related to another DataTable. As for that, I also need to retrieve the DataRe...more >>

Object models in .NET
Posted by onedaywhen NO[at]SPAM fmail.co.uk at 7/18/2003 3:57:27 AM
Does anyone know of a good .NET article, sample, etc to demonstrate creating an object model, one where you have one externally creatable object with a hierarchy of dependent objects? For example, the only way to create a new Spoke object is to first create a new Bicycle object, add to its Wheel...more >>

running win.net app from system tray
Posted by alien2_51 at 7/17/2003 5:16:49 PM
Does anyone know where I can find a sample app that demonstrates running the app from the system tray..? I want all of my UI elements available from the context menu in the tray.. tia ...more >>

TextBox - what is going wrong?
Posted by M O J O at 7/17/2003 4:59:03 PM
Hi, I have a TextBox on my form. I capture the KeyDown event and examines the e.KeyValue - that is, I examine it like this: dim chr = chr(KeyValue). This seams to work ok .... well almost. In Denmark we have some special characters like this one (hope you can see it): "ø", which is a...more >>

console app problem
Posted by Chris Williams at 7/16/2003 9:36:18 PM
Hi... I'm trying to find some code samples that will show me how to capture non-character keypresses in a console app. I've tried the standard stuff, such as console.read and console.readline, and I've tried ConsoleEx which does a great job, but still doesn't handle non-character keys like CTR...more >>

Reflection on COM object.
Posted by Lars Nielsen at 7/16/2003 9:00:41 PM
Hi everybody, I've run into a problem when using the reflection assembly on COM objects and been browsing around the net for some while. Apparently a few has asked the same question though no answer has ever occoured. This is what I'm trying to do: I wish to build a function that crawls a...more >>

= operator overloaded in VB6 or VB.NET
Posted by John Davis at 7/15/2003 6:08:42 PM
One interesting observation I found is VB6 or VB.NET overloads = opeartor. i.e. = operator has 2 meanings. Case 1: relational operator. In other languages, usually use == instead. If a = b Then statement Case 2: assignment operator a = b Just my observation. Please discuss. ...more >>

Contextmenu & TreeView
Posted by Peter Zentner at 7/15/2003 2:06:57 PM
Hi all, if I assign a context menu to a treeview and popup the contextmenu with the APP-key the context menu appears in the center of the treeview control and not at the selected treenode. Is there a chance to change this behaviour? Regards Peter ...more >>

Ack! - ODBC.NET Supported In Only the v1.1 .NET Framework!?!
Posted by Mythran at 7/15/2003 1:36:23 PM
I navigated to the following site and noticed this in bright red letters: Note: This namespace, class, or member is supported only in version 1.1 of the ..NET Framework. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdataodbcodbcdatareaderclassgetschema...more >>

Shell Function in .NET
Posted by Lenny at 7/14/2003 8:31:06 PM
Hello, What's the equilevant of VB6 shell funtion in ( Shell(pathname[,windowstyle]) ) .NET framework. Thanks ...more >>

Screencapture without using SendKeys?
Posted by Nick Jacobsen at 7/14/2003 4:55:40 PM
I am looking for some sample code to do a screen capture (printscreen) without using SendKeys. Anyone? TIA, Nick Jacobsen njacobsen@pfastship.com ...more >>

Attn: Application Architects... Design Question... please give me your feedback...
Posted by alien2_51 at 7/14/2003 4:04:45 PM
I was tasked with designing an ASP.NET web application and one of the requirements was a single save button.. The application consisted of approx 5 data input screens that affected approximately the same number of data tables in the database, one of the tables required an attachment file that wa...more >>

Determine if Shift is down?
Posted by Ben Dilts at 7/14/2003 1:10:46 PM
Using VB.NET, is there a way to determine if the Shift key is down (or the Control key, etc.)? ~BenDilts( void );...more >>

Using the MonthView Control But Cannot Update the Text Field on Another Form
Posted by John Davis at 7/13/2003 9:00:04 AM
I am writing a program that allows user to select the date in a calendar, and it will update the text fields automatically. I created 2 forms. The first form has 2 text fields (start date and end date), and 2 buttons. When the user clicks the button, it will invoke the calendar form. Here's th...more >>

Problem with WebService when setting rows with error
Posted by Programatix at 7/13/2003 4:57:36 AM
Hi, I upgraded my application from dotNetFramework 1.0 to dotNetFramework 1.1 When calling a WebService method which returns a dataset, I get the following error, "There is an error in XML doument (1,xxxxxxx)" This error will be displayed if I use the following method for any datarow ...more >>

Help: Asp.net applications so many people can use it.
Posted by mrwoopey NO[at]SPAM yahoo.com at 7/11/2003 7:42:01 AM
Hi, I added a new .net login (http://support.microsoft.com/default.aspx?scid=KB;EN-US;326340) and a ..net Web Report Viewer (Crystal) to our site. If we are going to potentially have many people logging in and viewing reports via the web (.net), what do I need to add to my .net app to handle ...more >>

Pleas How to Debug VB.NET addin with Outlook 2000?
Posted by Ms.net at 7/10/2003 6:14:21 PM

How not to get hidden files :-)
Posted by Saranjit Singh at 7/10/2003 5:58:00 PM
Hi, I am trying to get file listing that would ignore hidden files and folders. But using the Directory.GetFiles method seems to get all files and folders in the specified path irrespective of their hidden status. Any ideas or help would be appreciated. Thanks, Saranjit ...more >>

/useenv in '2003?
Posted by Phill. W at 7/10/2003 3:33:55 PM
Either I'm missing something (sanity, mayhap?) or the "/useenv" command-line option has disappeared from devenv in VS 2003. I'm in charge of our Audit Build Server and, to date, I've used this option to ensure that the build environment remains stable, regardless of what our Developers dream u...more >>

Looping through specific controls on a form
Posted by Eric.I.Feurich at 7/10/2003 2:27:58 PM
Dear all, I'm trying to validate if information has been added in to textboxes and combo boxes. Private Function CheckValues() As Boolean '************************************************** '*** '*** Function : CheckValues() '*** Purpose : Check if all values as filled -in '*** '*** '*** ...more >>

form in a dll
Posted by Ahmet AKGUN at 7/10/2003 2:24:01 PM
Hi; Using vb.net, can we create forms in a dll and call this forms from an executable ? If yes, can anybody explain how to do it ? Helps'll be appreciated.. Regards; Ahmet ...more >>

Odd problem with InputBox
Posted by news.microsoft.com at 7/10/2003 2:17:38 PM
hey all, I am having an odd problem with the InputBox in VB.NET, and it ONLY happens on one of my computers. When I try "Dim x as String = InputBox("TESTPROMPT"), I get the following error: ---------------------------------------------------------------------------- ---- [Exception Details] ...more >>

Data Grid
Posted by Chris Wilmot at 7/10/2003 12:51:06 PM
Does anyone know how to make a datagrid row selection only. I have a data grid with a list of jobs. on selecting a field I want the whole line to be selected not the specific col & row Thanks in advance Chris Wilmot ...more >>

Bug in object browser? (VB 2003)
Posted by Armin Zingler at 7/10/2003 12:24:13 PM
Hi, in VB 2003, open the object browser and have the members selected "by member type". Then select Microsoft.Win32.RegistryKey (only an example representing any class). It is sorted by member type (methods first, properties next), but: among the same member type, the members are not sorted al...more >>

NetMessageBufferSend Replacement?
Posted by Elliot Rodriguez at 7/10/2003 12:11:54 PM
What is the .Net Framework equivalent of the NetMessageBufferSend API call? -- Elliot M. Rodriguez, MCSD *** It would take 227 cans of Mountain Dew to kill me*** ...more >>

image.fromfile(...)
Posted by steve at 7/10/2003 12:07:26 PM
imports system.drawing imports system.drawing.image dim img as image = image.fromfile("a.bmp") picturebox1.image = img i'm using vs 2003 and the error i have is that fromfile is not a member of system.drawind.image...what gives?!? tia, steve ...more >>

can we call function whose name store in variable
Posted by Abdul Qadir Khan at 7/10/2003 11:53:01 AM
Hi All, Is it possible to call a function whose name is store in variable using VB.Net. Assume this dim a as string a = "GetEmployee()" Now I have function name in a variable, how can I call this function. Thanks AQ ...more >>

activex dll or tlb
Posted by Alan Kosmonov at 7/10/2003 11:15:56 AM
hello, in win2000 or XP i have written a dll application with vb.net.It produced a dll and a tlb file.I cannot register the dll and tlb files with regsvr32.I couldnt register the dll to the COM+ services but I could register the tlb file.Do i have to register the tlb file to the COM+ services...more >>


DevelopmentNow Blog