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 2007 > threads for tuesday february 13

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

Filling a combo box
Posted by giannis at 2/13/2007 10:11:17 PM
Sorry because i dont speak english very well. I am a newbie at VB and i have the bellow question: How can i fill a combo box with data from a SQL clause ? Can you explain me ? Is there any way to do this without code? If need code , what code must i write ? ...more >>


the beginning of the end for VB?
Posted by Larry Linson at 2/13/2007 10:04:16 PM
http://www.eetimes.com/news/latest/showArticle.jhtml?articleID=197005873 it looks to me like M$ is not supporting VB anymore ...more >>

Performance Issue
Posted by Bill NO[at]SPAM msn.com at 2/13/2007 7:11:24 PM
Every now and then when I go on my form in the IDE the form goes blank and the computer grinds away for 10 or 20 seconds and then everything reaapears. What exactly is the computer doing and is there a way to prevent this from happening...more >>

Enum = Integer prevention
Posted by Zytan at 2/13/2007 6:13:03 PM
Even with Option Strict On, which prevents an enum being set to an Integer, you can still compare an enum to an integer without complaint: myEnum = 1 'fails if (myEnum = 1) Then ... 'works Is it possible to have strict type checking so strict that it prevents all integer / enum interaction...more >>

groupbox
Posted by jim NO[at]SPAM aol.com at 2/13/2007 6:06:02 PM
I have two panels of identical sie. I would like to postion them on the same part of the form and have one become visible and the other invisible depending on other actions that occur on the form. The problem is that when I position one over the other one becomes "contained" with in the other. ...more >>

Threading question
Posted by kevinforbes NO[at]SPAM gmail.com at 2/13/2007 5:11:58 PM
Hi All, I inherited a multi-threaded windows serviece from a contractor where every thread checks a shared dataset every 100ms for messages to act on. Is this the best way to communicate across threads? Is it possible to push messages/call methods to individual threads by using delegates or...more >>

Bookmark in RichTextBox?
Posted by tomb at 2/13/2007 3:39:50 PM
Does anyone know how to add a bookmark to the RichTextBox control in VB.net 2003? I found a great control that adds links that aren't web pages, but I can't figure out how to add the bookmark to link to. MS documentation doesn't shed any light on it at all! Thanks to all, T...more >>

remove date second part
Posted by martin1 at 2/13/2007 3:15:01 PM
Hi, All, I want to remove date second part or change second pard to 00 if second part is not 00. For example, change 2/13/2007 2:30:15 PM to 2/13/2007 2:30 PM , or change 2/13/2007 2:30:15 PM to 2/13/2007 2:30:00 PM, can anyone help this out? Thanks in advance, Martin...more >>



Need VB.NET 2005 Programmer for start up company in Houston, Tx (Perm position)
Posted by shawncraig NO[at]SPAM yahoo.com at 2/13/2007 2:47:10 PM
As a programmer, I've posted here many times but I'm not sure if its ok to post a job here. If not, please delete or point me to a better area. -------------------------------------------------------------------------------- Progressive Work Software is a start-up company based in Houston, Tx ...more >>

Need to add domain user to local group
Posted by Terry Olsen at 2/13/2007 2:36:53 PM
I'm trying to add a domain user to a local group using the code below: Dim LCL As New DirectoryEntry("WinNT://" + Environment.MachineName + ",computer") Dim DOM As New DirectoryEntry("WinNT://us.ups.com") Dim DOMUSR As DirectoryEntry = DOM.Children.Find("USERID", "user") Dim LCLGRP As Dir...more >>

const string = chr() & chr() is picky
Posted by Zytan at 2/13/2007 2:26:49 PM
I am trying to set a const string made up of Chr(), but if the value passed into Chr() is too large, the compiler complains that it is not constant!! Example: Public Const m_Data As String = Chr(&HD) & Chr(&HE) 'ok Public Const m_Data As String = Chr(&HD0) & Chr(&HE0) 'not ok But, Char sto...more >>

Trouble with DragDrop event
Posted by Jim R at 2/13/2007 1:57:17 PM
I am trying to use Dragdrop event on a control in a VB.NET 2005 app. The app is getting the DragEnter event, but is never getting a DragDrop event. My control has its "AllowDrop" property set to "True". But it seems to me that I am missing something very fundamental. Thanks in advance for any ...more >>

vb .net web page error before page_Init with IE6
Posted by BoogieWithStu22 NO[at]SPAM gmail.com at 2/13/2007 12:59:36 PM
I am running into a problem with a web page I have created when viewing it in IE6 on some machines. The page has a database lookup. The user enters an account name or number and clicks a lookup button. This hits an AS400 database looks for matches and returns a dataset that is used to populate ...more >>

The breakpoint will not currently be hit. Compiler error help.
Posted by Michael at 2/13/2007 12:29:00 PM
Hi Everyone, I just started to get this error today. "The breakpoint will not currently be hit. The source code is different then the original. It seems to walk right over my breakpoints. I'm not sure whats going on here. I only have the code in one location, so I'm not sure why I'd get a m...more >>

Creating control arrays at runtime
Posted by olds350racer at 2/13/2007 11:55:21 AM
I am a newbie but have come across a question I hope someone can help with. Given the following code for a UserControl: ' Declares in the class Private intCount as Interger Private myLabel() as Label ' Code in the Load event of my UserControl Dim xCount as Integer intCount = 10 redim myLa...more >>

Registry on Vista again
Posted by vovan at 2/13/2007 10:43:57 AM
I'm asking for help one more time. Below are 2 procedures. The first one is used in VB 2005 Windows Form project. It works fine on XP, Vista. Private Sub RegistryReadingTest() Try Dim f As New RegistryPermission(RegistryPermissionAccess.Read, _ "HKEY_L...more >>

Editing xml
Posted by Deepak at 2/13/2007 9:57:02 AM
Hi i m having trouble saving xml file . Dim mxnode As XmlNode Dim xElem As XmlElement Dim xDoc As New XmlDocument() xDoc.Load("PingAddress.xml") Me.LoadXMLFromFile() mxnode = xDoc.SelectSingleNode("//Item[@ID='one1']")...more >>

dbase III, IV, 5 files and ADO 2.0
Posted by ray well at 2/13/2007 9:17:40 AM
hi, how can i access a dBase *.dbf database in CODE only, in Visual Basic .Net 2005 and Ado 2.0 ? this is for a off site machine where i have to access the data thru code. how do i make the connection and which provider do i use? all the code i saw is for Sql server or Access. i would pr...more >>

Outlook Security
Posted by PaulDHC at 2/13/2007 9:10:00 AM
Hi all, another outlook question I'm afraid. is there a way of disabling the security settings within outlook. When my app tries to send an email, a little message appears stating that another program is trying to send an email. Shall Outlook let it. if the user clicks yes then the emai...more >>

Outlook Express
Posted by PaulDHC at 2/13/2007 7:54:02 AM
Hi all, I have a customer that has Outlook and Outlook Express installed on thier PC's. I've written an app that sends emails and checks through the inbox etc to progress thier orders. This works really well, unfortunatley this works in Outlook (which I thought it was meant to be run in). T...more >>

Designing Menus To Change Control Properties
Posted by onionman07 at 2/13/2007 6:59:38 AM
I am having a problem with a program i am trying to develop that uses menus to modify and track current properties of controls on a form. I have 2 PictureBox controls where I can choose how to change their properties. What I have to do is change colors, increase or decrease the size by 5 pixels ...more >>

Download free ebook MCTS Exam : 70-431 ebook
Posted by Free Ebooks at 2/13/2007 5:55:26 AM
Download free ebook MCTS Exam : 70-431 ebook Go to http://free-tech-ebooks.blogspot.com/2007/02/download-free-ebook-mcts-exam-70-431.html ...more >>

Backslash concatenation problem in VB.NET
Posted by Marina at 2/13/2007 5:55:18 AM
Hi, I'm trying to concatenate: "\" & variable, where variable is some string, but VB is making it to be "\\variable". for example if variable is "Test", vb is making it to be "\\Test" instead of "\Test". I've tried almost everything. Does anyone has an idea. Thanks a lot, Marina marina...more >>

Backslash concatination problem
Posted by Marina at 2/13/2007 5:51:28 AM
Hi, I'm trying to concat: "\" & variable, where variable is some string, but VB is making it to be "\\variable". for example if variable is "Test", vb is making it to be "\\Test" instead of "\Test". I've tried almost everything. Does anyone has an idea. Thanks a lot, Marina marina@noga...more >>

Using User-defined Functions in VB.net
Posted by SemiNoviceProgramer at 2/13/2007 5:22:21 AM
Hi Every body I used access succefully for years and I created many scientefic databases with it Now I want to use VB.net2005 environmment with access database I succesfuly loaded my database BUT all the custom functions in the modules had not been imported So I created a module in VB...more >>

convert to pdf
Posted by nil at 2/13/2007 3:31:40 AM
hello everyone can any one tell me how can i convert my grid data in to pdf?pls provide some code snippet or some link that contains the related topic.. Thanks & Regards, Nil ...more >>

DataTable or Array
Posted by twq NO[at]SPAM hispeed.ch at 2/13/2007 2:19:15 AM
Hello I would like to populate a 2-dimensional array with different datatyps , 1. dimension is always a String, 2. dimension could be of Typ Double or String. What would be the better solution performance wise, to create an String Array and then try to Convert the 2. Dimension into either ...more >>

DataGrid Advice
Posted by Miro at 2/13/2007 12:41:09 AM
I have created an app that uses an Access Database ( or is trying to ). The problem is, is that I do not know the Access Database name ( mdb file name ) until the program is running. Im starting to realize that creating something like a datagrid where everything can be clicked thru and pro...more >>

How to write in VB.NET from this code?
Posted by Cylix at 2/13/2007 12:41:05 AM
The following is a c# code about using browser helper object(BHO) anyone know in VB.NET? [ ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("FC4801A3-2BA9-11CF-A229-00AA003D7352") ] public interface IObjectWithSite { ...more >>

Suddenly Missing "Enable Application Framework"
Posted by Miro at 2/13/2007 12:38:16 AM
My form suddenly wouldnt compile. It had an error - main form must be specified. So i went to my Solution and went to properties. In the Application Tab I reset my opening form, but my "Enable Application Framework" checkbox is missing and everything under it is missing. If I create a n...more >>

TO ROBINSON, RE: Keeping connection _OPEN_ in ADO.net
Posted by punjab_tom at 2/13/2007 12:23:49 AM
Robinson I found something where you say I can keep a connection open in .net and I've got books from MS press that say that I can't do this. This is probably one of my top three pet peeves in .NET (right up there with: a) framework not being on anyones desktop b) vbScript not workign clien...more >>

How can I execute Javascript from codebehind...
Posted by Hakan ÖRNEK at 2/13/2007 12:00:00 AM
Hi , I register client scripts like this; -------------------------------------------------------------------------- ----------- Public Sub CreateClientAlert(ByVal Message As String, ByVal objPage As Page) Dim StrScript As New StringBuilder("") With StrScript ...more >>

How to call an ASP page?
Posted by MeAgin at 2/13/2007 12:00:00 AM
Hi all, I want to call a classic ASP page from my vb.net code. How this can be done? Normally I would create an object from MSXML2.XMLHTTP and then call the Get method and the ResponseText wiuld have the return value. Thnaks. Nadee ...more >>

How to split a combined XML document
Posted by MeAgin at 2/13/2007 12:00:00 AM
Hi all, I have a XML string which contains 3 XML documents. I want to split these 3 and load to 3 separate XML documents in my vb.net code. How can I achieve this? Thanks. Nadee ...more >>


DevelopmentNow Blog