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 > january 2007

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 31

WebBrowser and CanGoForward
Posted by Fla at 1/31/2007 11:58:41 PM
Hy! I've developed a small browser for navigate into an HTML manual inside a form, but I found the following problem when I browse through links in the same HTML doc: I can't use the GoForward button 'cause CanGoForward boolean value switches from true to false when I go back in the link hist...more >>


System.Net.Mail
Posted by verinews at 1/31/2007 11:49:59 PM
Does anyone know if there's a System.Net.Mail class on the web that can be adapted to COM so it can be called from VB6? ...more >>

how to load a image in picture box
Posted by JAWAAHAR at 1/31/2007 9:44:00 PM
hi how to load a image in picture box using application path. i stored my image in my application path....more >>

amend a control by function or class
Posted by Benson Wong at 1/31/2007 9:38:23 PM
I want to write a tailor-made function or class to amend textedit controls, so that their properties are consistent or changed by some rules. My idea is as follows: TailorMadeRoutine(TextBox1) sub TailorMadeRoutine(object textbox) textbox.color=... textbox.size=... end Is this idea works...more >>

Explicit Linking of DLL's in VB.net
Posted by Noone at 1/31/2007 7:45:41 PM
Hello all, Ok, I want to create a program that will load plugins (dll's) from a plugin folder. I can create the forms and put them into a dll but I cannot actually add them dynamically at run time. I have tried to use the LoadLibrary and GetProc functions, which sort of worked. I got the p...more >>

Forcing TextChanged event on setting Control.Text
Posted by Zytan at 1/31/2007 6:07:17 PM
TextChanged is only called when the user modifes a control's text, not if the program does. How can I make it be called when the program modifies the text? Zytan ...more >>

Help Please - sorting array of objects
Posted by Larry at 1/31/2007 6:00:09 PM
Thanks for the help in advance. Does anyone have a code sample for the following scenario. how would you sort the array of books (BookView) by author and by price. if there were a number of items in BookView Array? Public BookView(0) As Book Class Book Public author As String P...more >>

OT: Need good English translation of 1 sentence
Posted by Martha Stark at 1/31/2007 5:24:27 PM
Hi newsgroup, could an original English speaker please freshen up my bad English translation? It is about a virtual keyboard. My sentence is: "To type on the keyboard you need to have a text editor open that you can write in/ inside/ into/ within (just like when using a normal compute...more >>



AutoSize Default =True
Posted by Bob at 1/31/2007 4:39:01 PM
In VB.Net 2003 and previous versions new labels were created with AutoSize=False. In VB.Net 2005, new labels are created with AutoSize=True. Why was it changed? Is there somewhere in VB.Net 2005 where this defalut can be changed back to Autosize=False. I am not interested in creating my ow...more >>

regular expressions question
Posted by Robert Dufour at 1/31/2007 4:35:29 PM
How do you use regular expression to validate a string to be a validly constructed email address? Thanks for any help Bob ...more >>

help me toread a access 2000 file
Posted by luca.gere at 1/31/2007 3:29:35 PM
I have an access 2000 file and if i open one table and i scroll the records i see some records with errors. So i want to do an application in vb.net to read it and write only the correct data in another database. I try to do it using OleDbCommand...OleDbDataAdapter but when i use the "fill" ...more >>

VB.NET 2005 Version Number in Application
Posted by Zim Babwe at 1/31/2007 3:13:25 PM
I posted in another group but thought this was the better place to post, since it had to do with the vb language I have been making changes to my Windows Application and in the Project/Properties the Publish Version shows the following: Major: 1 Minor: 0 Build: 0 Revision: 45 I would ...more >>

How to use Updates option in vb express 2005
Posted by raz230 at 1/31/2007 12:20:27 PM
I have recently begun working with VS 2005 (Visual Basic Express 2005). I have been using 2003 using the 1.1 version of the framework before that and I notice all these new options with the 2005 projects. Specifically under your project properties, on the Publish pane, there is an Updates bu...more >>

Assign Type at Runtime
Posted by blisspikle at 1/31/2007 10:16:37 AM
I tried closely copying some code that I found on this group for assigning a type at runtime, but I cannot get it to work. Can someone see what is wrong with my logic? Thanks, Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ...more >>

Formattazione Testo come euro
Posted by Enzo Cavallaro at 1/31/2007 10:06:59 AM
Buon giorno a tutti, potreste spiegarmi come si fa a formattare con vb2005 un numero 1234 in 1.234,00 oppure un numero come 1255,00 in 1.255,00 Grazie a tutti ...more >>

How to return a list of files located on an FTP server
Posted by vbnewbie at 1/31/2007 9:27:23 AM
I need to capture the names and paths of all files located on an ftp server. I will then populate a listbox with these file names so that a user can select which to download. In the following example, I would need to get a list of all the file names in the folder named Data2 ftp://myftp/Da...more >>

Auto-adjust height of richtextbox (or textbox) based on length of string?
Posted by papalarge at 1/31/2007 9:16:41 AM
Hey all... I've been using the following to calculate the height the textbox needs to be in order to grow it vertically to its necessary size. textbox1.Height = Me.CreateGraphics().MeasureString(textbox1.Text, textbox1.Font, textbox1.Width).Height However it's not appearing to work that w...more >>

pull dates out of a text file
Posted by Smokey Grindle at 1/31/2007 8:10:52 AM
Ok I must admit I stink at regular expressions... been trying to learn them for a while now and its not sticking how I wish it would... but I am trying to take a very long string (about 30KB) and pull out all the dates in it that are in mm/dd/yyyy format and put them into a collection... how w...more >>

Help with a DataGridView
Posted by Ryan at 1/31/2007 8:09:07 AM
Hi all, I'm loading a datagridview from an Excel file using a dataadapter.fill() method. A few questions: 1) Is there any way to control the column datatypes? The columns are defined by the .fill method based on the excel file, and the data is read in during the .file method, so everythi...more >>

how to output to both speakers one channel (left or right) when playing MP3 in VB 2005.net ?
Posted by red_tea at 1/31/2007 8:05:19 AM
Hi, here is my situation: I am building an applicaiton using VB 2005.net + Windows Media Player 11 COM object. I want to use this application to play some MP3 files that have two channels (left, right), however, sometime, i need to only play one of the channels (either left or right), then ...more >>

Question about Firing and event from a dll
Posted by Andrew at 1/31/2007 7:51:02 AM
I wanted to know what is the best or cleanest way to fire an event from a dll to the app that is using the dll in vb.net 2.0. Description: The dll will call or fire an event called “MyEventName(“Info to pass”)” every 60 seconds. I want the app the process the event with the informa...more >>

Using $ in some commands
Posted by Doogie at 1/31/2007 7:25:12 AM
Hi, I have a lot of old VB 6 experience and for the last several years have been programming in C#. Now I'm going to be doing some VB.NET development. As I'm "relearning" things so to speak, I remember I was taught that using commands like Trim$ and LTrim$ instead of Trim and LTrim were the...more >>

Vertical ScrollBar in RTB
Posted by ShaneO at 1/31/2007 7:05:39 AM
In a Windows Form I have a RichTextBox with Multiline = True and ScrollBars = Vertical. As expected, when Text is loaded into the RTB the Vertical ScrollBar will appear if needed. Does anyone know of a way (in Code) to determine if the Vertical ScrollBar is visible or not? (VB 2005) Thi...more >>

Microsoft bug in excel.Please suggest a work around !!
Posted by only2gayathri NO[at]SPAM gmail.com at 1/31/2007 4:24:23 AM
Hi all, I have a page(vb.net) which directs to a excel sheet.This excel sheet retains all the values(mainly numbers) from the page and displays it.The problem is that sometimes the number's remain in text format when downloaded to excel and this kind of creates a flag(similar to the one when ...more >>

VS2K5 doesn't compile/execute latest code
Posted by Adil Akram at 1/31/2007 3:36:00 AM
I posted this question in vsnet.ide newsgroup about more than a week back but didn't get any single response yet therefore, reposting again same to several newsgroups. When I run my C# WinForms project either by pressing F5 or clicking Start button on toolbar, it sometimes doesn't execu...more >>

Get Culture Info from Language Name
Posted by lucky at 1/31/2007 3:29:07 AM
hi guys, right now i'm going through System.Globalization Namespace. and i found very intersting class there called CultureInfo. i was trying to get cultureInfo on the basis of name but i didnt find the way to do it. for example, if i pass the language name "Danish","German",Russian", i'm sup...more >>

How do i get Web page Source?
Posted by kdh7807 NO[at]SPAM gmail.com at 1/31/2007 2:03:12 AM
I've Used inet Control at vb 6.0 But in .NET, I Can't fint that. Anyone can help me? ...more >>

taking a very very long time to build a small project
Posted by Aussie Rules at 1/30/2007 8:37:36 PM
Hi, I am unable to build a project, and can not figure out why. Is there a log file or some way of seeing what is going on. I get 'visual studio is busy.....' message if i try to click or do something within VS.net 2005. The project use to take a few seconds to build, but now it seems t...more >>

Sending key strokes to a process
Posted by paul at 1/30/2007 6:07:50 PM
Hello, I have a program which (vb .net) which creates an Access.Application (thus starting an MSAccess.exe process. What I want to do is to send a key stroke to the process. Can anyone help? Thanks Paul...more >>

wmi help required please
Posted by ngr at 1/30/2007 6:06:45 PM
I have been directed to investigate WMI but have not touched this before and I am getting bogged down trying to find out the information I require, so I hope someone can assist me. Could anyone give me details on WMI that I may find useful. I need to be able to find out which user started ...more >>

SMTP & Mailer.exe Sample
Posted by Al G at 1/30/2007 4:56:26 PM
Has anyone played with MS's SMTP sample, mailer.exe? I downloaded the sample, and ran it, but keep getting the error "Failure sending mail". Where might I look for more information? Maybe some troubleshooting tips? Thanks in advance, you folks have helped with some of my other projects, sim...more >>

Debugging - Want to Skip Code
Posted by Paul at 1/30/2007 2:15:09 PM
I am running VB.NET 2005. I have a multi-project solution. One project contains all my base classes and user-controls. My other project is my application that uses the base classes and UCs. I want to debug parts of the base and all of my application code. But there are parts of the base...more >>

.NET 1.1 x .NET 2.0
Posted by Antonio Lima at 1/30/2007 1:31:00 PM
Hi Guys, is there any form that i can develop a solution using Visual Web Developer in the framework .NET 1.1. All that i knows i sthat VWD is especific for developing solutions in .NET 2.0. I´ll have to use Webmatrix??? Tks ...more >>

long strings in vb.net
Posted by xkeops NO[at]SPAM gmail.com at 1/30/2007 1:10:30 PM
I have forgotten how vb.net deals with long strings, I know I used this once but I don't remember. Or was it C# ??? dim s as string = @"string1 string2 string3" instead of dim s as string = "string1" & _ string2" & _ string3" So is it possible in vb.net to write a long string with...more >>

SQL Server Timeouts
Posted by Connull at 1/30/2007 12:20:00 PM
What could the possible reason be for obtaining "timeouts" when executing a stored procedure from my application? If I execute the specific stored procedure in Query Analyzer I do not get any timeouts and the stored procedure takes approximately 30 to 40 seconds to execute....more >>

I don't like this behavior - implicitly returning value types
Posted by rowe_newsgroups at 1/30/2007 12:02:57 PM
I just noticed this about value types and return values, and it kind of bugs me that the compiler won't treat it as an error, even with Option Strict On. Try this out: Option Strict On Public Class MyClass Private Sub ExtractionSettings_Load(ByVal sender As System.O...more >>

need advice for Upgrading from vb6 to .net -software and OS
Posted by billsahiker NO[at]SPAM yahoo.com at 1/30/2007 12:02:31 PM
I need to buy into .NET, primarily for VB development. I need to upgrade my Visual Studio 97 and get a new computer(currently on Windows 98). I will be doing personal development at home to learn the new stuff. At work, we will migrate to .NET in a year or so, so I want to learn it to keep m...more >>

Need Your Opinion!
Posted by Izzy at 1/30/2007 11:18:58 AM
I'm writting an app that has two DataGridViews, in the first grid I load a list on companies. Between the 2 grids are two buttons with arrows, one points to the right the other to the left. When the user selects rows from grid 1 (on the left) and clicks the arrow pointing to the right, it mov...more >>

null error
Posted by JFB at 1/30/2007 11:13:43 AM
Hi All, In my function bellow I try to check for a null or empty value coming from my database before I set my phone format. Function Format(ByVal value As Object) 'LabelTest.Text = value If (Not value Is DBNull.Value) And (value <> "") Then Dim n As Long = Convert.ToInt64(value) Ret...more >>

Forms Read-Only when running program
Posted by VB .NET Rookie at 1/30/2007 10:53:00 AM
I am creating an application and now when I try to run my program the forms open as Read Only and I can't type any text into my text boxes. How do I change this back to normal???? Thanks in advance....more >>

Need suggestion for retreiving data from a server
Posted by dave m at 1/30/2007 10:16:09 AM
Here's the scenerio: I have several (10 - 30) PCs that periodically need to get data (simple Y/N flag values) from a server in the same network. While all PCs run SQL Server, I don't want to use a Sql connection for this purpose. I was thinking about having the client PCs get the data f...more >>

display checkbox label on left hand side - possible?
Posted by Rich at 1/30/2007 9:34:01 AM
Hello, Is there a setting/property for displaying a checkbox label (or radiobutton label) on the left hand side instead of the right hand side? Or am I limited to no text in the label - take on parent backcolor and add my own label to the left side? Thanks, Rich...more >>

Skinning a scrollbar, adding custom colors
Posted by papalarge at 1/30/2007 9:25:23 AM
Hey all... My boss typically dislikes the packaged components, and so I'm wondering if there's any code out there to modify the way a scrollbar looks. I'd love to change colors and, if possible, the arrow buttons. I've seen http://www.codeproject.com/vb/net/corescrollbar.asp and tried g...more >>

Rander data grid as Div on run time
Posted by neeraj at 1/30/2007 5:51:41 AM
Hi all, Can its possible in asp.net application, whenever data grid render in page on run time its render as "HTML DIV Base lay out". Not as "HTML table layout". Thanks ...more >>

Cant get database to update
Posted by aasif at 1/30/2007 5:30:08 AM
Hi all I have a problem. I update a tablerow, with a new field value, then do accept changes, but when I restart the app the data is the same its not that the old data is copied again to the ouput folder as I actually run from the debug folder, and do not rebuild Seems the data row chan...more >>

VB.NET vs C#.NET (and 1.1 vs 3.0)
Posted by Adrian B at 1/30/2007 3:18:01 AM
Hi - sorry if this is not the best place to post, but need advice and would appreciate some thoughts. I inherited a boxed set MCAD self-study course which I am about to launch into. The course is based on VB.NET. I have never programmed in VB or C#, but have worked with some Java derivative...more >>

Problem with Windows2000
Posted by Mizietto at 1/30/2007 3:17:55 AM
Hi guys, i have an application that run on WinXp and Win2000. When it run on WinXp there aren't error and it's all ok. In Windows2000 i have this error: "Application has generated an exception that could not be handled" I tryed to look for information about this it but nothing to do i c...more >>

Problema applicazione con windows2000
Posted by Mizietto at 1/30/2007 3:07:55 AM
Ciao a tutti, =E8 la prima volta che scrivo su questo ng ma non riesco=20 ad uscire da questo problema. Ho un'applicazione realizzata in vb.net framework 1.1 che NON=20 "scoppia" su Windows 2000 mentre su winXp non da alcun problema. Premetto che in tutti i pc c'e' installato il framework 1....more >>

System.Threading.ThreadStateException
Posted by Pooh at 1/30/2007 2:49:51 AM
hi all, i faced an error in my project: "An unhandled exception of type 'System.Threading.ThreadStateException' occurred in system.windows.forms.dll Additional information: Could not instantiate ActiveX control '648a5600-2c6e-101b-82b6-000000000014' because the current thread is not in a s...more >>

Read Autocad drawing object properties in VB
Posted by Mark at 1/30/2007 1:40:39 AM
Hi Sorry if this seems a little OT but we have a simple document management system developed in vb.NET (VS 2005 etc.) which need to be able to: a) scan selected locations for autocad drawings b) extract from those drawings particular object properties (such as tag numbers etc.) c) store ...more >>


DevelopmentNow Blog