Groups | Blog | Home


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 > november 2005 > threads for tuesday november 29

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

Advice on whether or not Microsoft has fixed the buggy combos .. thus worth the move from VS2003 to VS2005
Posted by Earl at 11/29/2005 10:52:34 PM
To upgrade or not? This, to me, is based upon whether or not Microsoft has -- at least -- fixed the buggy controls from VS2003: Combo (clearing and binding context issues) Checked ListBox (checked items losing status when control goes visible) Datagrid (header alignment to the right smashes i...more >>


transmit file to ftp server
Posted by Mike W at 11/29/2005 10:39:40 PM
I'm looking for sample code on how to send a file to an FTP server with vb2003. I've been running through a sample in the programmer's cookbook but it seems to only cover downloading files which is interesting but not what I need. Thanks in advance. -m ...more >>

Convert HTML -> PlainText (-> HTML)
Posted by Joerg Battermann at 11/29/2005 10:27:43 PM
Hey there, mmmm does anyone know a library or anything I can use to convert plaintext to html real quick and vice-versa? Regex surely would do the trick to a certain level, but maybe there's already a useful library out there which I might have a look at.. Thanks, -J...more >>

Multiple NotifyIcons (one per Thread)?
Posted by Joerg Battermann at 11/29/2005 10:22:13 PM
Hello everyone, I am currently writing a little vb .net (2.0) based application which utilizes a thread every now and then which works perfectly until I started using one NotifyIcon for the Form to minimize the tool to the systray etc: whenever the tool calls/starts a thread, an additional ...more >>

EventHandling problem : Java has solution but what about Microsoft???
Posted by Mahesh Devjibhai Dhola [MVP] at 11/29/2005 9:44:44 PM
Hi, I have added few of the events in some control, example code is: btnControl.GotFocus +=3Dnew EventHandler(EventHandlingMethod); btnControl.Click +=3Dnew EventHandler(EventHandlingMethod); lblControl.Click +=3Dnew EventHandler(EventHandlingMethod); private void EventHandlingMethod(object s...more >>

Ahem. Greetings
Posted by James Messick at 11/29/2005 9:08:13 PM
Hello, I'd like to introduce myself and make sure I'm in the best forum. I'm currently studying VB .NET to prepare for the 70-306 certification exam. I am definitely not new to programming, not completely new to VB, but pretty new to .NET. Is this group the best place to ask questions when I...more >>

ListView with item column as dropdown? Or any time of control for that matter
Posted by Dachshund Digital at 11/29/2005 7:54:03 PM
Ok, some one has to have done this... I have a listview with 3 columns. I want one column to hold a dropdown control so the user selects the listview item/column can select a option for that item/colum Help! LOL ...more >>

Background Image File Location
Posted by aiki727 via DotNetMonster.com at 11/29/2005 7:23:25 PM
Hello everyone, Where do I store a bitmap or jpeg that I am using for a forms background image when I deploy the application? Or do I link these files to the app during the deployment? Thanks -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb...more >>



Reading databound value
Posted by Vayse at 11/29/2005 5:28:31 PM
In my code, I have lines like this If Me.txtDeprLife.Text > iNumPeriods Then stSQL = "SELECT * FROM qryPeriodSchedule WHERE DeprDate >= " & gstfunAmerDate(Me.txtDeprStartDate.Text) txtDeprLife is a text box bound to AssetsBinding source. txtDeprStartDate is a datetime picker bound the sam...more >>

beginner help working with text files
Posted by Gaz at 11/29/2005 5:13:39 PM
> Hi all > > I am trying to write a program that opens a text file and manipulates the data. > > I have managed to open the text file into a textbox1 as a string > i now wish to add code to a button that will find a line in the string that begins with a certain letter eg I and when it...more >>

format datagrid column
Posted by zoneal NO[at]SPAM yahoo.com at 11/29/2005 4:19:21 PM
How to format the datagrid column? If I want to change to width of second column only, how can I do ? Thanks ...more >>

How to check if file is OPEN
Posted by Alex Simic at 11/29/2005 4:14:08 PM
Dear All, Is there a function in dotnet VB, which returns if a file is open or used by other process? Thanks, Alex ...more >>

Sending email in VB6
Posted by ReidarT at 11/29/2005 4:06:45 PM
I use Mapi to send emails with attachments. When I use the MAPISession1.DownLoadMail = False MAPISession1.SignOn With Me.MAPIMessages1 .SessionID = MAPISession1.SessionID .MsgIndex = -1 .Compose .MsgSubject = strSubject '.RecipType = ma...more >>

ListView Sorting
Posted by Curtis at 11/29/2005 3:53:00 PM
I am trying to do a simple sort on a list view.With the listview control the first time I sort on the control it sorts the items but anytime after that it fails to sort. I'm sure this is a simple answer but anyways here is my code any help would be greatly apperciated. Private Sub Form1_Load...more >>

Why SHIFT in Shortcuts in TextBox?
Posted by Morten Dahl at 11/29/2005 3:15:55 PM
The shortcuts won't work in my application. CTRL+Z CTRL+C CTRL+Y CTRL+X etc... In stead I must use the SHIFT key: CTRL+SHIFT+Z CTRL+SHIFT+C CTRL+SHIFT+Y CTRL+SHIFT+X etc... Why?... I want the first one. How? I'm using VB 2005. -- Morten ...more >>

License Key Error
Posted by Chubbly Geezer at 11/29/2005 3:03:52 PM
Hi when trying to build a vb 2005 app I get the following error that stops the build Property 'License Key' is non-nullable Any ideas please Chubbly ...more >>

ASP.Net and Vb.net
Posted by Andy at 11/29/2005 2:52:07 PM
Hi If I focus on learning Vb.Net programming, will I be able to develop in APS.Net? I guess that the language I use is Vb.Net. /A. ...more >>

VB.NET Compiled Executable footprint in .Net 2.0
Posted by SkipV at 11/29/2005 2:48:08 PM
In converting my projects from VS2003 to VS2005, I've found that my compiled components file size has grown considerably (on average, by about 38%!!). Althought drives are cheap, bandwidth and Time is not! Investigating the assemblies with ILDASM (comparing my v1.1 to my v2.0), I've noti...more >>

Array or ArrayList
Posted by Sam at 11/29/2005 2:05:35 PM
Hi All I'm planing to write an application which allows users dynamically add their points (say you can add upto 30,000) and then draw xy graph. Should I use an array for my coordinate point storage and dynamically resize it when there is a new point or should I use ArrayList? Is speed noti...more >>

Premo un tasto con un evento: solita domanda, come?
Posted by Ciccio at 11/29/2005 1:47:39 PM
Scusate se è la solita domanda ma neanche con San Google ho trovato un esempio di codice semplice che mi facesse capire. Il tasto Button1 con Button1_Click fa tante cose. Da un'altra parte del programma vorrei facesse le stesse cose se soddisfatta una certa if. O faccio una funzione che poi c...more >>

Form Inheritance Question
Posted by Martin Horn at 11/29/2005 1:38:15 PM
Hi, I would be grateful if someone can advise me on the following problem I have encountered. I have created a test project to demonstrate the problem, it has 2 forms: Form1, with one button (Button1) on it, as the base class I have set Button1's modifier to protected Form 2 inherits Fo...more >>

animated icon in status bar of form?
Posted by Flashster at 11/29/2005 1:01:58 PM
How do I put a custom animated icon on the status bar of a form? I have an animated icon file called icon.ani, and I've tried getting 'statusbar1.Animate' to work with no success. Can someone give me some pointers please? Thanks, Flashster ...more >>

Avoid validation on cancel
Posted by Boni at 11/29/2005 12:59:25 PM
Dear all, I simple question is driving me crazy. following lost focus of a Textbox must work all time except, when focus is lost because a cancel button is pressed. How can I do that? Thanks a lot, Boni Private SubXX_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) ...more >>

Pop-up login dialog box
Posted by Dusty Hackney at 11/29/2005 12:57:05 PM
Hello, I am programming in Visual Basic .NET. I have seen examples of creating a login form to use for users to type in their username and password, but I want to accomplish the same thing with a pop-up dialog box instead. How can I make my program bring up a pop-up login dialog box for a...more >>

need good pdf VS 2005
Posted by Dzemo at 11/29/2005 11:47:45 AM
Like I said I need good PDF to catch up to VS2005 I'm good in VS2003 so any good pages or sources or anything. Thx ...more >>

Dropdownlist whoas
Posted by Kent Ogletree at 11/29/2005 11:32:01 AM
I do not know why this is being such a problem to me today, hopefully someone can help me figure out where I am going wrong. Simple DropDownList that is populated from a arraylist. Current setting of the item is set to selected, otehr items are possible other settings. When I select a diffe...more >>

Loading Large Lists
Posted by Thomas Beyerlein at 11/29/2005 10:42:54 AM
I am writing code for a list box editor, one of the lists is large was hoping that there is a way to either speed it up by making the server do the IF statements of there is a faster way of checking the lists? Any help would be useful. Have posted the code I am using below Tom parentContr...more >>

300Mb Download to run a .NET2.0 Application?
Posted by Scott H at 11/29/2005 10:30:56 AM
I spent most of yesterday looking into this, and still didn't really find an answer... I have a .NET2.0 app that I need to install on a server, and then possibly several other servers later, it requires access to LAN and internet. I installed the 20mb Framework, then drop my program on...more >>

VB 2005 Express - SQL Server 2000 and Data Sources
Posted by Chris Strug at 11/29/2005 10:02:33 AM
Hi, Probably a very silly question but I've been scratching my head for days now so... I'd also like to point out that my knowledge of VB.net is somewhat limited... I recently downloaded VB2005 Express (and SQL Server 2005 Express). I also have an existing SQL Server 2000 install on m...more >>

list system files
Posted by greg chu at 11/29/2005 8:33:42 AM
If I type dir /s in the command line prompt I can list all system files ex. get into the IE temporary files C:\Documents and Settings\XXXXXX\Local Settings\Temporary Internet Files XXXXXX is a user name of the system then do a dir /s But I need to use VB.net to list all system files. ...more >>

Any way to capture errors from Shell command
Posted by standish22 NO[at]SPAM hotmail.com at 11/29/2005 8:24:47 AM
I want to programmatically capture an error that is done from a Shell command in VB.Net code. What I have is a Test.sql file that looks like --------------------------------------------------- select * from Table1 GO select * from Table2 GO -----------------------------------------------...more >>

Toolbars Help
Posted by zoneal NO[at]SPAM yahoo.com at 11/29/2005 7:52:36 AM
I was wondering I have a toolbar on a form with two buttons on the toolbar. And also a timer control, i was wondering if anyone would know the code to make the two buttons exchange places every 1 second. Thanks ...more >>

Change display setting of monitor use vb.net
Posted by kmercer46 NO[at]SPAM yahoo.com at 11/29/2005 7:49:42 AM
I'm building a application but it only work well on display setting 1024x768. I want to change display setting of monitor when form load from 800x600 (if display setting monitor of user is 800x600) to 1024x768 by using vb.net. Can you help me? ...more >>

FileSystemWatcher fired twice when modify a file
Posted by Li Pang at 11/29/2005 7:36:21 AM
Hi, I create a FileSystemWatcher service to audit some files. Every thing works fine except that the service fired twice when a specific file is changed. I know that is within the design, but I want to know if there is a easy way to avoid the first or second firing? thanks in advance...more >>

DataGridView
Posted by Rasmus A at 11/29/2005 7:15:05 AM
Hey I have som problem with the datagridview. I have 2 tables in a database, i need to show some information from both in the same datagrid while using databinding, with the datasource, and datamember. I cant get update to work if I join the 2 tables where I generate my DataSet. If i use...more >>

DataGridTableStyle and relationship
Posted by dbuchanan at 11/29/2005 7:08:24 AM
Hello, I am using Win forms VB 2003 When my form loads I fill two tables that have a relationship between them. One table1 is the main data table. Table2 is a lookup table. The Table1 stores the key from Table2 . The goal is to display the value from Table2 in the DataGrid as if it were a f...more >>

Get size of file using vb.net
Posted by XxLicherxX at 11/29/2005 6:52:31 AM
Hello everyone, I need to get the size of a file using vb.net. I have tried using the Length property from the FileInfo class, but the values its returning aren't making any sense. For example, I had a 1 KB file and the value returned was 358. For another 1 KB file, the value 160 was returned....more >>

How to add new records to the top of the DataGrid
Posted by dbuchanan at 11/29/2005 4:39:09 AM
Hello, I am using Win forms VB 2003 The form design requires the newest records appear at the top of the DataGrid. I load my form with a stored procedure that orders the records with the newest one on top of the DataGrid. New records are added by the user by filling out the controls on...more >>

detect if .Net security is disabled
Posted by Joe Abou Jaoude at 11/29/2005 2:54:05 AM
hi, Is there a way to detect if code access security is disabled (using caspol -security off for example) I know that in COM+ you can detect if role-based security is disabled using the ContextUtil.IsSecurityEnabled Property. I was wondering if something similar can be done to detect if code ...more >>

How to get the public key
Posted by Joe Abou Jaoude at 11/29/2005 2:12:42 AM
Hi, I am using StrongNameIdentityPermission to restrict users to access our dll components. we use a file key.snk to sign our assemblies with a strong name. Now I want to retrieve the public key from key.snk to give the StrongNameIdentityPermission attribute the proper publickey value. <Stro...more >>

Parsing doubles in vb.NET
Posted by SL33PY at 11/29/2005 12:36:03 AM
Hi, I'm having a problem parsing strings (comming from a flat text input file) to doubles. the code: currentImportDetail.Result = CType(line.Substring(7, 8).Trim(" "), System.Double) What is in my Watch: line.Substring(7, 8).Trim(" ") "0.006000" CType(line.Substring(7, 8).Trim(" "), ...more >>

How to connect vb2005 express and SqlServer Express through a network
Posted by saroxonline76 NO[at]SPAM vodafone.it at 11/29/2005 12:11:00 AM
Dear all, I installed Visual Basic 2005 Express and SqlServer Express. I tried some features of both of them but I'm not able to connect a databse through a network. To explain, I have two computer in the same work group. In one of them I have installed SqlServer Express and the other one works...more >>

ABOUT VB IAD - very confusing
Posted by James at 11/29/2005 12:00:00 AM
I m really confused. In MSDN SDK, they show examples of declaration below. When i try this on vb2003.net at console applications, it does not seems to work. do i need to impport namespace ? Pls advise Below is always underline by vb.net 2003 Dim ads As IADs Dim cls As IADsClass ...more >>

Trying to programmatically execute command line utils with switches
Posted by Mike W at 11/29/2005 12:00:00 AM
I'm trying to programmatically run msinfo32.exe /? with the following line of code but it is not taking the switch: System.Diagnostics.Process.Start("c:\program files\common files\Microsoft Shared\MSInfo\msinfo32.exe /?") I have a couple other command line tools with switches that I would ...more >>

netstat to check th SQL connection
Posted by Agnes at 11/29/2005 12:00:00 AM
in form_load, i will new a sql connection ,fill in the dataset and then close the connection. I use Netstat to check the status. (1)Open the form , The status to the SQL server is "ESTABILISHED" (2)Close the form, The status is "TIME_WAIT" (3)WAIT a sec. that thread is disappear . my questi...more >>


DevelopmentNow Blog