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 wednesday february 18

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

I need 'how to' on web form timer in vb.net...
Posted by Trint Smith at 2/18/2004 11:40:07 PM
I know how to set a timer in a windows app, but is it possible to fire an event, with out too much processing, every 1000 mil. sec.s using the web form timer? I noticed there's no 'tick' in the declairations choices on the code page after I dragged a timer control over to my aspx page. How can...more >>


setting the initial focus
Posted by raja NO[at]SPAM cs.indiana.edu at 2/18/2004 10:50:09 PM
How does one set the initial focus to a control such as a picture box? Suppose I have a form with a single picture box on it. When the application starts to run I would like to set the focus to the picture box so that it can respond to KeyDown events. I tried placing a picBox.focus in a Form...more >>

Shared Instance of MS Word?
Posted by scorpion53061 at 2/18/2004 10:34:28 PM
My boss indicated he was pleased with the reports that were being generated in MS Word by me and that made me happy. However he also told me he wants the wait eliminated for Word to start up. I explained Word takes a while to start and that is why. He indicated I should find a way for it to st...more >>

Using A CheckedListBox
Posted by Gobble.D.Gook at 2/18/2004 10:29:52 PM
Could anybody help ne with this? In VB6 / VBA, I could set up a listbox, with tickboxes/circles to the side of each item. Selecting an Item caused the box to tick. Choosing another deticked the original and ticekd the new one. In .net, with a CheckedListBox with single selection, you can onl...more >>

Custom values in app.config
Posted by MS Newsgroups at 2/18/2004 9:27:51 PM
Hi, I am building an appliaction that will do some processing on specified databases. I would like to specify in a configuration file what databases to process.There is not a fixed number of databases so the number can vary. Ideal (If i just could figure out how to do this) would be if i cou...more >>

Beta when?
Posted by John at 2/18/2004 8:57:44 PM
Hi The spring is upon us, when are we going see the promised vs beta? Thanks Regards ...more >>

Please Help!! Arraylist of structures and textboxes
Posted by RBCC at 2/18/2004 8:46:49 PM
I have the following structure: Structure member Dim name As String Dim phone As String End Structure Dim memberarray As New ArrayList Dim membership As member ******************** Ihave the following form: a lstbox filled with the last,first of all the m...more >>

Random numbers and letters
Posted by aahmad76 at 2/18/2004 7:52:09 PM
Can anyone please help me. I am trying to desing a program that will create a 10 digit alphanumeric password. I am new to the Vb.net environment, and sometimes have no idea what to do. I appreciate any help!!! Thank you...more >>



ArrayList
Posted by masoodadnan NO[at]SPAM hotmail.com at 2/18/2004 7:33:16 PM
All, I have an arraylist in which I need to add a string, but before I add I need to make sure that the same string is not already there. Yes, I could run a for loop to check all the items but I could have thousands of items and I don't want to run the loop everytime (CPU usage got upto 100%...more >>

Textbox with fixed size
Posted by Julian Hershel at 2/18/2004 7:22:27 PM
I am creating an user control containing a textbox and a button. I don't want my users to resize the control. In VB6 I use the Size statement to define a fixed size for my control. How do I do that in vb.net? Thank you Julian ...more >>

How to pass a Two Date parameter to a report at runtime using VB .NET
Posted by Raj at 2/18/2004 7:00:58 PM
How to pass a Two Date parameter to a report at runtime using VB .NET -- Raj Kumar Mishra jcast Networks Ltd. New Delhi. India. 91-51678212,13,14 ...more >>

Dynamic .dll reference
Posted by Brian Mitchell at 2/18/2004 6:27:14 PM
Hello, I have an application that uses word automation and everything is working perfectly. However, I have one potential issue 1) I am using Office XP on my machine to design the app, however I realize that not everyone will have that version of Office and thus won't have the version...more >>

Sort a HashTable
Posted by Ali at 2/18/2004 4:32:46 PM
I am binding a hashTable to a dropDownList to pick a State (key: like New York) and sends the state designation (value: NY) to a filtering procedure. I have entered the states in the hashTable in alphabetical order, but the dropDownList renders them in a non-order list. code snippet: Di...more >>

Installer in Polish in VB.NET 2003
Posted by Marcin Floryan at 2/18/2004 4:27:34 PM
Hello! How can I create an Installer entirely in Polish language using Deployment Project in VB.NET (I have already translated the available texts into Polish). I have .NET 2003 EN and I read I have to download some addins/components but have got no clue where from? regards ...more >>

Stopping .Net Resolving all references
Posted by Steve W at 2/18/2004 4:08:46 PM
I hope this makes sense ! We have an VB ASP.NET Web Application. In the bin directory are all our compiled dlls. We have written some integration with a 3rd party, which some of our clients use and some that don't. Those that don't won't have a particular dll in the bin directory of the ...more >>

Detecting Logged on Users in Win2K domain
Posted by Lee at 2/18/2004 3:40:39 PM
Hi, Is it possible to detect whether a user is logged into a Win2000/2003 domain? I'm writing a VB.NET app and require this functionality within it. Any help would be greatly appreciated. Thanks. Lee. ...more >>

A -> Z in listbox
Posted by ZippyV at 2/18/2004 3:39:04 PM
Hello, I would like to populate a listbox with values A to Z. What would be the best and fastest way to do this? I tried to use a for-loop but I don't know how I would change the current char value to the next letter. ...more >>

send file
Posted by klesjezot NO[at]SPAM hotmail-dot-com.no-spam.invalid at 2/18/2004 2:33:20 PM
Hi, I made a client and server application. I'm trying to send an xml file from the server to the client. It works, but there are some problems: the file the client receives is the same as the file the server sends but there are some spaces added at the end, and this causes that I can't open the...more >>

An Unhandled Exception
Posted by Laurence Nuttall at 2/18/2004 2:09:54 PM
Doing, Dim arrFiles() as string Dim strWinDir as String Dim intRet as Integer Dim strWavFilePath as string StrWinDir = Space(255) intRet = GetWindowsDirectory(StrWinDir, Len(StrWinDir)) If intRet > 0 Then arrFiles = system.IO...more >>

How to Persist HtmlInputFile Value through postback?
Posted by Dave Adler at 2/18/2004 2:01:07 PM
Is there any way to retain the value of an HtmlInputFile control through a postback? I do some server side validation on the page when it is submitted and if an error occurs on the page the HtmlInputFile control value is blank after the postback. The EnableViewState for the control is set to t...more >>

XML to replace INI
Posted by Brad Markisohn at 2/18/2004 1:45:09 PM
I've seen a posting stating that INI files are obsolete and that the registry or XML file should be used instead. I do not want to use the registry and I've never used XML. Can somebody please post a simple example that would get me started? TIA Brad ...more >>

Question, what is this a bug, a documentation error how you call this?
Posted by Cor at 2/18/2004 1:06:48 PM
Hi group, I was making a sample and then I did got a problem. (I never made a dataset with a bytearray in it for directwriting to disk without a database). I got errors and as usual I did not look to the error message and it took more time than I did want. ds.Tables(0).Columns(0).DataTyp...more >>

usercontrol - how to hide properties and events in VB .NET
Posted by Benoist LUGNIER at 2/18/2004 12:40:53 PM
Hello, I've done a user control named for example myUC with 1 fonction "Beep". When I use it on a project, I put myUC on a form (it is called myUC1). When I type "myUC1.", intellisense give me lot of thing like visible.... I just want to have 1 choice : Beep. What have I to do to hide other...more >>

VB.Net syntax for an Access2003 SQL LIKE query?
Posted by felechaji NO[at]SPAM yahoo-dot-com.no-spam.invalid at 2/18/2004 12:29:49 PM
Puzzled - I have a fairly simple query against an Access database that wants to eliminate the records in the table where the DeviceType is either MasterStation1 or MasterStation2 or .... in other words, I want the records that do not involve the Master Stations in our system. So, I expect t...more >>

Deployment Issue
Posted by Marty Cruise at 2/18/2004 12:01:06 PM
My application is run within an intranet environment and is installed on client machines. Each time the application is executed, it checks to see if a newer version is availble. If there is, it launches a new process and starts the installation while shutting down the original process. I'm runnin...more >>

another inheritance question
Posted by Craig Buchanan at 2/18/2004 11:46:30 AM
I have a class named "Generic" and a second class named "Specific" which inherits from Generic. I have a Save method in the Generic class. I don't have an override in the Specific class. If I call Specific.Save, is there a way for the Generic class's logic to route back to methods of the Speci...more >>

AD current user
Posted by Brian Henry at 2/18/2004 11:23:20 AM
is there a way to use the directory service to get the current user logged into active directory? thanks ...more >>

System.Array.BinarySearch
Posted by Sueffel at 2/18/2004 11:01:13 AM
Okay, I can certinatly use a For..Next loop to find the specified info I need, but I'm thinking the BinarySearch will be faster, if I can get it working LOL Anyhew, got an array, may have 5 or 5,000 elements, and I need to find the string, say it's "Start here". I've tried this: Dim MyObj...more >>

Global variable.
Posted by Phoebe. at 2/18/2004 10:59:36 AM
Hi, Good Day! I need to create a variable that it's value can be carry across within a form. I've created some above the "web form designer generated code" but it seems not working. It reset back to nothing when i click on a button. Can someone help? Thanks in advanced. rgds, Phoe...more >>

How to send an email with SmtpMail.SmtpServer using a server which requires authentication?
Posted by Volker Jobst at 2/18/2004 10:58:07 AM
Hi, The following code works fine as long as I don't use a smtp-server which requires authentication: Sub sendMail() Dim sfrom As String = TextBox1.Text Dim sto As String = TextBox2.Text Dim ssubject As String = TextBox3.Text Dim sbody As String = RichTextBox1.Text Dim omail As New MailM...more >>

Compile error
Posted by Rog1 at 2/18/2004 10:41:04 AM
Can anyone tell me why the following code line would give a "Compile error: wrong number of arguments or invalid property assignment" TodaysDate = Date ActiveCell.Select ActiveCell.AddComment ActiveCell.Comment.Visible = False ActiveCell.Comment.Text Text:="(" & Format(T...more >>

Problemos with SQL and ComboBox
Posted by Pepehammer at 2/18/2004 10:39:01 AM
Hi there guys! I'm still having problems with my ComboBox. I got a table, in SQL, with two columns, ProductID, ProductDescription. I want to fill a ComboBox with the ProductDescription column, but when the user selects an item, I want to return the ProductID, so I guess I got to fill some...more >>

How to get app version of another application?
Posted by john at 2/18/2004 10:11:28 AM
Hello Is there a way in vb.net to get the application version of another appliation. IE App1 is running and I want to get the version of App2 using App1. Thanks in advance John ...more >>

titlebar of visual studio program
Posted by Dominique Vandensteen at 2/18/2004 9:53:32 AM
maybe asked this before... I want that the titlebar of my visual studio to show the current open solution name and not the name of the current open project in my solution is this possible? if so, how? dominique ...more >>

How do I get project folder in .NET?
Posted by astroboy at 2/18/2004 9:36:46 AM
How do I get project folder in .NET? ...more >>

Currency amounts spelled out
Posted by Ed Willis at 2/18/2004 9:17:08 AM
Is there any .net function that will create the text that is needed for checks. Example: $5.50 would be Five dollars and 50/100 etc. Thanks. ...more >>

Links in a TextBox
Posted by Amjad at 2/18/2004 9:01:20 AM
Hi.. Can I display a clickable Web link within the text in a TextBox control Also can I display a specific word in a TextBox in a different color than the rest of other words in the TextBox?...more >>

Microsoft .NET Project
Posted by Rich Lee at 2/18/2004 8:50:54 AM
Hi, I have an existing project using Microsoft.NET. I need helpes. Most programs are 80% finished, just need someone to complete the code. For those who is interested in such project, please contact me. Please no head hunters! You must be able to read Chinese!! ...more >>

How can I 'writeline' a string from a loop...
Posted by Trint Smith at 2/18/2004 7:54:12 AM
Ok, I want to let the user use the .aspx page they are on while there is a process going on from a 'while loop': while not resultint = 0 code...... Label1.Text.WriteLine(ntime) end while Help is appreciated. Thanks, Trint ..Net programmer trintsmith@hotmail.com *** Sent via Develo...more >>

Distribute Application Redistribute
Posted by Shawnjwright NO[at]SPAM hotmail.com at 2/18/2004 7:51:57 AM
It's easy to create an install package for a VB .Net application, however, I want to install this application on about 20 machines over my companies network without having to install it on every single machine individually. I know this is possible but I can't seem to find the right direction. W...more >>

Registry Permissions
Posted by Al Kaufman at 2/18/2004 7:48:49 AM
I have a simple console app that uses: regSubKey = <some registry key> Dim reg As RegistryKey = Registry.ClassesRoot.OpenSubKey(regSubKey) Dim path As String path = CStr(reg.GetValue("")) to grab the default value of a registry key. It works great on my machine. When I try to ac...more >>

enable visual styles and toolbars
Posted by Brian Henry at 2/18/2004 7:17:58 AM
here's something odd, maybe someone can explain it, when i turn on application.enablevisualstyles at application start before i do my application.run(context) command in the sub main, when the app context runs and I get my main form, the toolbar is now missing all its icons (24x24) the buttons a...more >>

Convertin HTML to RTF
Posted by Peter Walburn at 2/18/2004 7:11:12 AM
Hi, I have a VB .Net web application that is displaying some text in a textbox with lots of formatting on it. The text has multiple fonts, colours and sizes. I need to be able to report the data and am using Crystal Reports. I want the report to show the text in the same format that it is s...more >>

property drop down control
Posted by google NO[at]SPAM gencode.com at 2/18/2004 6:34:45 AM
I am trying to make a property that creates a drop down control that I can fill with string options..."test1", "test2", "test2" I can make one with True false as shown here but I cant figure out how to make it do a dropdown with custom strings Private _numericTextBox As Boolean = False ...more >>

Wierd thing with a class
Posted by Shaman at 2/18/2004 5:11:05 AM
ok i got this wierd problem which took me 4 hours already and im still stuck :/ anybody know what is wrong here ------Code----- Public Class guildnod Private node() As TreeNod Private tot As Intege Sub New(ByVal gname As String tot = node(tot) = New TreeNode(gna...more >>

Windows Service that interacts with desktop
Posted by RaggiHolm at 2/18/2004 2:36:05 AM
I am writing a service that I want to be able to display "debug" information on a desktop window. I have the following code that displays the form (when service is properly set up) and the service starts. However the form is not drawing itself completely and it is non responsive ("Not Responding" ...more >>

Tooltip and Errorprovider problem
Posted by Issac at 2/18/2004 2:31:46 AM
Hi, I am writing a program which will be used in Win2000 and Win98 platform. The program include a Form (called myForm) which has a TextBox, Tooltip, Errorprovider and a Button. Tooltip will be set with TextBox content and Errorprovider will be set in TextBox Validating event if it is...more >>

Store output of OpenFileDialog in memorystream
Posted by Rasmus Teglgaard at 2/18/2004 2:16:10 AM
Hi I need to know how to store the OpenfileDialog.OpenFile() in a memorystream. Do I need to do some kind of conversion before this works I can't write dim mem as new memorystream( mem = OpenfileDialog.Openfile( It says not supported cast or something like that So, how to do this Also, h...more >>

Toolbar problems in VB.NET
Posted by Martin Keeton at 2/18/2004 12:36:09 AM
I'm having the problem of toolbars not appearing correctly on my forms. While in design view the toolbar appears deformed and when the application is run the toolbar appears with a black background. This is a problem that I have only encountered in VB.NET and would appreciate any help you can give m...more >>


DevelopmentNow Blog