Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 2007

Filter by week: 1 2 3 4 5

List View
Posted by Lou at 11/30/2007 2:55:25 PM
How do you add items(Insert) to the top of the List View? -Lou ...more >>

Best way to update data
Posted by Kevin at 11/30/2007 2:22:57 PM
I have a Windows Forms app with a form that displays/updates student data. When it activates I fill a DataTable with just the names of the students from a table of about 10,000 names. I have Previous/Next buttons to scroll through students on the form. I fill another DataTable from a SELECT statem...more >>

Get Paid $$$$ for Taking Online Surveys
Posted by Mike at 11/30/2007 11:34:01 AM
Get Paid $$$$ for Taking Online Surveys Join today and receive $4 to $250 for taking online surveys that influence the development of new products and services. Check my web site and start immediately earning extra money from your own computer at anywhere by taking online surveys http://w...more >>

MouseDown-Drag-MouseUp Screen capturing routine
Posted by Mark at 11/30/2007 11:12:01 AM
Does anyone know where there is some sample code that explains now a user; using the mouse can click on an image on the screen. Capture the image by boxing it in using the mouse and then save it to a bitmap or onto another form? Thank you -- Mark...more >>

Deleting images after viewed thru a picturebox
Posted by Bart Steur at 11/30/2007 10:38:06 AM
Hi, I'm writing an app to maintain products. The products are listed in a listbox and when I click a product in a listbox some info of that product is shown including a picture of the product. I do this by using the image.fromfile function: pbProduct.Image = Image.FromFile(myImagePath & ...more >>

File Owner
Posted by BHz00 at 11/30/2007 10:29:01 AM
I see that I can identify a files owner in windows explorer, hpw do I get that information using VB.net...more >>

Hex VS Integer
Posted by Charlie Brown at 11/30/2007 8:36:57 AM
Out of curiosity, what is the advantage of the following... opacity = CInt(IIf(pressed, &HCC, &H7F)) Over... opacity = CInt(IIf(pressed, 204, 127))...more >>

Framework Questions
Posted by jay at 11/29/2007 6:59:33 PM
I am confused; what is the current production release of the .NET Framework, 3.0, 3.5? How do I change the Project->References in my converted VS2005 Project->VS2008 Project to use the latest framework : system is currently 2.0.0.0 system.data is currently 2.0.0.0 system.design is currently 2....more >>



Suppress Outlook 2003 security promps VB2005
Posted by Rich at 11/29/2007 2:34:08 PM
How to suppress the Outlook 2003 security prompts from VB2005. When I tried to look at the body of a message or any other part of an outlook mailItem -- I get these annoying security prompts. I have to loop through several emails a day. Is there some code for suppressing this? I saw som...more >>

Saving data in a datatable
Posted by Kevin at 11/29/2007 2:29:37 PM
I'm new to ADO.NET--trying to make the switch from ADO, which I've been using in my VB2005 apps up until now. Here's what I have: Sub Save_Record() Dim OldRecord as DataTable Dim NewRecord as DataTable Using testConnection As SqlConnection = New SqlConnection(SQLConnectionString) ...more >>

Allow any derivation of a generic class
Posted by Arthur Dent at 11/29/2007 2:24:39 PM
Hello all, ... quick question, I hope there's a quick answer.... (please forgive pseudo-code, don't have VB open right now) Using VB2008 Express. I have several classes which inherit System.Collections.ObjectModel.KeyedCollection(Of TKey, TItem) I want to add events for change notification (...more >>

Something wrong with Newsgroup?
Posted by Terry at 11/29/2007 2:01:04 PM
I keep seeing the number of postings in a thread go up and then go down. 1 min its 8, the next 5. I have in a number of threads gotten something to the order of "Community posting not availbale". Anybody else experiencing problems? -- Terry...more >>

LABEL padding isn't really zero
Posted by ags5406 at 11/29/2007 11:53:04 AM
i have a normal label with a fixed width font with no padding... lblsizing.Font {Name = "Lucida Console" Size=12.0} System.Drawing.Font lblsizing.Padding.All 0 Integer but despite the fact that the padding property is set to zero, there is still some bit of (natural) padding that is not ad...more >>

Math functions in VB (or even a dll somewhere) Options
Posted by Nondisclosure007 at 11/29/2007 11:47:46 AM
Hello. If this is the wrong group for this, please let me know. I'll post it somewhere else. I've been doing data imports into MS Excel (ver 2007) and using the CORREL function. What I was wondering was is there anything like this in Visual Basic or C#? Or even a DLL? I've got VS2008 and...more >>

remember a forms position on the screen
Posted by cj at 11/29/2007 11:40:03 AM
I was googling for a way to have my single form application start in the same location on the screen it was in when it was closed. I found this very short article: http://blogs.techrepublic.com.com/programming-and-development/?p=540 I can create the my.settings object as specified but I c...more >>

Problem Accessing Network Drives (Network Authentication)
Posted by martin lanny at 11/29/2007 10:10:07 AM
My application should periodically connect to multiple network drives to see if the certain files were created. I would do this to retrieve the list of files in UNC path //server1/backup/: ---------------------------------- Folder = "//server1/backup/" Dim listoffiles As New List(Of System...more >>

bold selected text
Posted by mike at 11/29/2007 9:35:01 AM
trying to convert selected text in a textbox to bold font. can someone provide me code sample? thanks....more >>

Urgent: XP, Vista logoff application (WM_QUERYENDSESSION)
Posted by Clemente at 11/29/2007 7:34:16 AM
Hi, We have a VB.Net application that is sleeping until it receives a logoff/shutdown event. We want the application running on Vista and XP. When the application receives those events it has to show a message box, so the user can answer Yes or No, and then let the logoff/ shutdown process...more >>

If Statement, Please Help
Posted by plangla at 11/29/2007 2:24:23 AM
I am trying change the font size of text based on the menu item clicked. I can not seem to get this statement to work. Thanks in advance Perry Private Sub MenuItem16_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem16.Click Dim Width As Integer Wi...more >>

<<<<<<< HUNDSOME GAIN WITHOUT INVEST ON NET>>>>>>>
Posted by sf at 11/29/2007 1:07:09 AM
Hundsome Money Online Guaranteed payment month after month =B7 Work part time or full time as you like =2E Make quick good cash working 2 to 3 hours a day =2E Work anywhere from home/ office without restrictions =B7 Get the Secret Formula Money Making Formula a the links below http:/...more >>

List Boxes
Posted by HardySpicer at 11/28/2007 9:54:51 PM
I have a List Box which I fill with files and that bit works ok. I then want to click on one of the files to select it from the many others. Is this possible in a list box? Thanks Hardy...more >>

swap listview columns programmatically?
Posted by Rich Raffenetti at 11/28/2007 8:18:21 PM
I want to display the subitems column to the left side of the items column in a details listview. It's easy to drag the columns to swap their display in the listview window. Is it possible to do that in the program? ...more >>

How extract email address from the address book in Outlook Express?
Posted by Alexander Vasilevsky at 11/28/2007 8:18:09 PM
How extract email address from the address book in Outlook Express? http://www.alvas.net - Audio tools for C# and VB.Net developers ...more >>

Visual Studio 2008 Power Packs
Posted by jay at 11/28/2007 6:26:22 PM
Any idea when the Power Packs for 2008 [PrintForm] will be available?...more >>

SettingsProvider issue [VB.NET 2005]
Posted by Sid Price at 11/28/2007 6:21:55 PM
I have a class that inherits from SettingsProvider to allow my application to do some special processing that is needed on some of the settings. The class, "VMSettingsProvider", is in a class library in a namespace "VM". My class provides all the required methods as described in the documentati...more >>

how to call Change() with System.Threading.Timer
Posted by DougE at 11/28/2007 6:20:01 PM
Hi -- I am trying to implement a timer exactly the way it is shown in the documentation. I am sending a variable to the constructor for the class to manipulate the time-to-invoke parameter. This seems to work fine as below. My question is: if I send a -1 to stall the timer from invoking...more >>

Setting SelectedItem of ComboBox programatically not working
Posted by Crazy Cat at 11/28/2007 1:37:53 PM
Hi all, I have combobox that is bound to a custom object collection thusly Dim collection As List(Of StructureType) = StructureType.FindStructureTypes(SharedObjects.StructureTypes, DropDownListStructure.SelectedValue, DropDownListType.SelectedValue) DropDownListSubType.Dat...more >>

How does a project find dlls that it uses - where do I put them?
Posted by HONOREDANCESTOR@yahoo.com at 11/28/2007 12:12:10 PM
I am using some dlls from a third party, and I am writing a multiproject solution that is supposed to use them. So I copied the dlls to a bin directory in one of the projects, but the project does not find them when I compile it. Where should I put the dlls? Should I use 'add / reference'? Th...more >>

Multiple Stored Procedure Calls within single transaction
Posted by BostonNole at 11/28/2007 9:52:32 AM
I am using SQL 2000 and VB.NET (VS 2005). I have three stored procedure: sp_A, sp_B and sp_C I need to be able to call sp_A once and sp_B and sp_C 1 to n number of times all within a single transaction that can be rolled back if any of the calls to the stored procedures fail. sp_A - inser...more >>

VB RegEx Question
Posted by Masterx81 at 11/28/2007 9:42:41 AM
Hi to all... I'm new to regex, so sorry for the silly question... I want to do a client side validation for this string: [r|ra|tc|tr|t|e|c|a|hpa|lpa|hpe|R|RA|TC|TR|T|E|C|A|HPA|LPA|HPE]/ \d{1,2} But it passes also if the string is null, how i can prevent this? I've read that the switch (?...more >>

Num records returned from query
Posted by Michael at 11/28/2007 8:21:07 AM
Hi Everyone, I never noticed this before, I hope someone can help here. I have the following query: CREATE PROCEDURE [dbo].[GetWeeklyAttendance2] @PatientId varchar(20), @StartDate Datetime, @EndDate Datetime AS SELECT P.PatientID, A.AttendDate, 'Attendance' AS NarcoProgram, '3' AS Progr...more >>

CausesValidation
Posted by DC at 11/28/2007 8:12:03 AM
Hi all, I've a form with a Cancel Button. The button has its CausesValidation property set to false. I've got some Validating events on the form's controls. When I click the button everything works fine: No Validating event is fired. But when focus is on any other control and I press ESCAPE (...more >>

Multi language tooltips in Windows forms
Posted by coolCoder at 11/28/2007 4:21:46 AM
Hi, I am working on an application which needs localization. I am able to localize all the controls on the form except the tool tips. I searched alot on google, but was unable to find some sample application. Does anyone here have an idea for implementing localization easily for tool t...more >>

Help! Can't edit forms (VB2008)
Posted by Arthur Dent at 11/27/2007 7:56:13 PM
I am trying to make a VB2008 Express winforms project, and edit the form. However, when i try to open the form, i get this error: ..NET Framework 2.0 update not found. The win32manifest will not be embedded. It considers it a fatal error, and will not let me edit the form, either in code or...more >>

Kill explorer process and disable it restart automatically
Posted by yxq at 11/27/2007 7:28:52 PM
Hello, I want to kill the Explorer process, after Explorer process has been killed, it will restart automatically immediately. How to disable it restart automatically? for example, in Windows Task Manager, you can kill explorer process, but it will not restart automatically. My code: //...more >>

Simple Pulbic Variable
Posted by pvong at 11/27/2007 5:57:17 PM
I'm new. I have an aspx page and I want to declare a public variable "GroupID" at the top of the page and be able to change the value in different parts of that particular page. Bascially, how do you creat a public variable for one page only? Thanks! ...more >>

Exclude code of my application
Posted by Freddy Coal at 11/27/2007 5:26:44 PM
Hi, My application have some modules that use Excel like a external program. My problem is when the user don't have Excel, I would like exclude the code that use excel inside my code, because this make me a fatal crash. How I make that?. For example, I have the next code: '------------- ...more >>

Inherit listview user control
Posted by Manekurt at 11/27/2007 4:55:50 PM
Hello Everyone. Does anyone knows how to create a new property for an user control that inherits a list view? The property should be a boolean value set to each clumn that is created in the listview. Property "ALLOWEDIT", when I set this property to TRUE, then it runs a sub, if not, it do...more >>

Vb.Net/SQL slowdown
Posted by Tom wilson at 11/27/2007 3:17:43 PM
Hi! I have a massive SQL 2000 database that needs records extracted into another database. so I write a VB.Net (2005) program that simply queries the records I need, populates a new record in the new database and so on. There's no data transformation, it's a direct record to record copy. ...more >>

VB.NET desktop equivalent to asp.net stylesheets
Posted by z71mdridin@gmail.com at 11/27/2007 3:14:29 PM
This might be a very basic question. Is there an equivalent to stylesheets in vb.net desktop applications? Specifically is there a way to change control properties(color, height, width) for all controls(buttons, textboxes) in a desktop app? Is there a centralized place to control this? Any ...more >>

VB2008 changes?
Posted by Arthur Dent at 11/27/2007 11:22:39 AM
Does anyone know where i can find a decently thorough list of the language changes in VB2008, such as the new If() function? All i can seem to find through search engines, most of the articles all talk about LINQ, with only cursory mention - at best - of any other new features. Thanks in a...more >>

Upgrade: Use prepared Interop assemblies
Posted by Armin Zingler at 11/27/2007 11:06:06 AM
Hi group, after waiting more than 4 month in the .upgrade group for an answer, I dare to ask here. :-) I open a VB6 project in VB 2008 (express) and have the Wizard convert it. It also creates the necessary interop assemblies for the referenced ActiveX dlls. Problem: the interop assembl...more >>

using foxpro table from VB.net 2005 with oledb
Posted by cj at 11/27/2007 10:47:31 AM
We have a legacy accounting system (not developed in house) here that happens to be written in Visual FoxPro. One of the tables has an index that is actually a coded function COMPANY1 &&"G_RETSDX(COMPANY)". When I try to use this table in VFP I get an error message "File 'g_retsdx.prg' does n...more >>

sort two arrays as one?
Posted by BobAchgill at 11/27/2007 10:38:01 AM
I have 2 arrays with identical number or rows. arrword() as string arrnumber() as integer How can I best sort both arrays together using the integer array as the column to sort by in descending numerical order? This is what I want to achieve: 1 alive 1 beginning 1 cove...more >>

Taskbar Controls
Posted by NickP at 11/27/2007 10:33:49 AM
Hi there, I'm interested in making an application appear in the taskbar in a similar way to how Windows Media Player appears, in it's own custom taskbar group, where you can manipulate the program directly on the taskbar. Has anyone got any advice on how to do this? I've just been hunting...more >>

[VB2008] How to replace lines in a textfile?
Posted by Maurice van 't Loo at 11/27/2007 10:23:22 AM
Hi, I'm pretty new with VB, especialy with 2008 Express :-p So i need your help... I have a text file containing: VERSION 3 ADDEDVERSION 5 OPTION_GUILD_RECRUITMENT_CHANNEL AUTO CHANNELS guild 1 3 dutchworld 1 4 WorldTrade 1 5 GMhelp 1 6 END ...more >>

Copying files with progress bar
Posted by kimiraikkonen at 11/27/2007 10:01:38 AM
Hi, I use system.io.file class to copy files but i have a difficulty about implementing a basic / XP-like progress bar indicator during copying process. My code is this with no progress bar, or i couldn't find sth which give totalbytes/written bytes class. And does system.io.file class pro...more >>

How to stop disabled text boxes being greyed out
Posted by John Austin at 11/27/2007 8:25:01 AM
I have an app that displays about 20 items of data in text boxes. Very occasionally I need to allow these to be used for data entry, but the bulk of the time they are solely for information. They all sit in a GroupBox that is normally disabled, but is enabled when data can be edited. The users...more >>

VB.net voice recognition (System.Speech not found)
Posted by Slickuser at 11/27/2007 1:26:25 AM
I am running Windows XP Pro SP 2, have Office 2003, installed SDK 5.1, Visual Studio 2005. I tested out the voice the recognition code from this link but seem it can't recognize System.Speech. I try to search for (Add Reference) both in .NET & COM (found none.) Is there any else I need to a...more >>

Call HTML control in code behind (ASP.net 2.0)
Posted by tinique@gmail.com at 11/26/2007 7:32:19 PM
How can I call a HTML textbox in .aspx.vb code?? E.g. : <input id="Frequency" type="text" style="width: 44px" /> Thanks!...more >>


DevelopmentNow Blog