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 > april 2006 > threads for wednesday april 12

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

EndEdit problem in bindinglist
Posted by Bryan at 4/12/2006 11:51:56 PM
I am calling BindingList.EndEdit during a 'TextChanged' sub for a texbox. In theory, the key should be pressed changing the value in the text box, the EndEdit call should append the changes to the BindingList datasource, and then a ListChanged event should fire from the BindingList. However, t...more >>

Send email
Posted by Peter at 4/12/2006 9:01:02 PM
I have created a small windows app that gathers some user entered data, then prints it to a designated printer. A specific person then collects the prints from the printer and processes the info contained thereon. This all happens within an organisation and no external communication is requi...more >>

i need timer interval more than 1 Minute.
Posted by Tark Siala at 4/12/2006 8:38:30 PM
hi i am using timer control, its good but if my event doing less than one time in 1 Minute. i want make event every 5 minute, how i can do that? i am using VB6, VB.NET -- Best Regards Tark M. Siala Development Manager INTERNATIONAL COMPUTER CENTER (ICC.Networking) Mobile: ...more >>

string value to new form instance?
Posted by Paul at 4/12/2006 8:10:42 PM
Hi, Suppose you had a listbox1 with 3 items; Form1 Form2 Form3 Now add an event handler for listbox1.selectedindexchanged in which you wish to create a new form instance depending on the value of the SelectedItem.ToString value. i.e. If "Form3" is clicked then a new instance of Form3 ...more >>

Changing control's visibility does not rearrange docked controls
Posted by Netter at 4/12/2006 7:37:49 PM
I have two controls on a form. The first is Dock top and the second is dock Fill When the first changes from not visible to visible the second does not move down. That is the top of the one that is Dock Fill is covered by the one that is Dock Top. Is there a way to fix that? thanks...more >>

Mail attachment from memory
Posted by Goran Djuranovic at 4/12/2006 7:22:05 PM
Hi all, Does anyone know how to send mail with attachment from memory, rather = than from a file on disk? I am using VB.NET 2003. Thanks in advance Goran Djuranovic...more >>

docking in vbnet 2005
Posted by glenn at 4/12/2006 6:38:11 PM
hi How can i make a autohide docking tool. I need the same tool that microsoft use in visual studio 2005. Where can i find it. Ore a tool of a example that do the same Greetings Glenn ...more >>

Determine if a File exists
Posted by Stephen E. Weber at 4/12/2006 6:05:49 PM
I need to determine if a file exists using code. I tried using the system.io.file.exists function, that will appears to locate the file if I use the complete filespec, when I move the project to the web server, that command will not work because I can not specify the entire path, just the p...more >>



Title Bar is visible
Posted by Al at 4/12/2006 5:58:31 PM
I'm loading Child forms into MDI form. I set ControlBox = False to all children forms at design time. But during loading the blue title bar appears for a portion of a second. This thing along with other delays (populating controls with data, resizing, docking etc.) makes the form flicker. The...more >>

Capture monitor
Posted by iwdu15 at 4/12/2006 5:39:02 PM
hi, im trying to create a remoting program that will allow me to access the monitor of any computer on my network. the problem im coming accross with is how i can see relativly real-time images of the remote computer. im guessing a print-screen loop would be very inefficient, so im wondering h...more >>

Send email throught VB.NET 2005
Posted by Mike TI at 4/12/2006 5:17:55 PM
April 12, 2006 Hi all I want to send an email through a VB.Net 2005 application. Can someone show me some examples: 1. To send an email through the current default email client, Outlook Express or Microsoft Office Outlook. 2. Can you determine which is the default client in the applica...more >>

VC6 ATL DLL interop with VB.NET
Posted by Dave at 4/12/2006 4:59:10 PM
I have an existing VC6 ATL COM DLL. It has a number of methods within it that take a byte array as the methods parameters. Here's what the IDL looks like in the VC6 DLL: [id(32), helpstring("method GetSystemConfig")] HRESULT GetSystemConfig([in, out] SAFEARRAY(unsigned char) *pData, [out, re...more >>

Cascade changed data in open forms
Posted by Bryan at 4/12/2006 4:43:42 PM
What are some of the methods you guys have used to update data in forms that has been changed by another open form? For example I might open an form to edit an employee, and when I close it I would want to update any comboboxes or listboxes that might contain a list of employees. In MS Access ...more >>

All the king's horses and all the king's men.......
Posted by Jim Hubbard at 4/12/2006 4:29:28 PM
It seems that Microsoft is valiantly trying to undo the harm it has done to itself by destroying VB6 in favor of the more bloated, less-RAD, less-user friendly, less-productive VB.Net. In fact, it is now giving away it's ebook "" in an effort to draw more abandoned VB programmers into the g...more >>

Connection to Access Db with a password?
Posted by Lars Netzel at 4/12/2006 3:38:32 PM
Hi, I have built an application that is driven by an access database. This is then deplaoy onto about 80 clients through an installation package that also proved a local copy of an emtyp database to start working with. This have worked flawless. Now I have added som information in this ...more >>

Why does Replace return Nothing???
Posted by Joe HM at 4/12/2006 3:15:00 PM
Hello - I have the following very simple code ... Dim lStringA As String = "" Dim lStringB As String = "" .... lStringB = Replace(lStringA, "DUMMY", "", Compare:=CompareMethod.Text) lStringB.TrimEnd("\"c) According to the documenation, Replace will return a zero-length string ("") ...more >>

plugin architecture - repost
Posted by Craig Buchanan at 4/12/2006 2:36:52 PM
I am building an application to help researcher record the outcomes of their studies. These outcomes are document across a number of paper forms. The information documented on these forms varies widely. My current approach is to use a Document class with a collection of Question classes. I ...more >>

Redistribute ADOX
Posted by adebiasio NO[at]SPAM sympatico.ca at 4/12/2006 1:40:56 PM
Hello. My application requires an Access database to be created. If the client does not have Access installed, am I allowed to redistribute ADOX that is used to create these databases. Also, can I use ADOX to create a workgroup database without Access being installed? Thanks! ...more >>

Call control's event from a collection
Posted by Bryan at 4/12/2006 1:38:40 PM
I pass my form's collection of controls to a public sub in a module that loops through and checks for any ErrorProvider text. The sub returns all the ErrorProvider strings that were found for display in a msgbox to let the user know that there were data errors found. This works great, however,...more >>

getting application version...
Posted by Support at 4/12/2006 1:34:13 PM
My vb.net 2.0 application has a publish version of major = 1, Minor =0, Build = 2 and Revision = 11 with Automatically increment selected. How do I programatically extract that information. Thanks Terry ...more >>

Purpose of Keyword "Overloads"?
Posted by Arthur Dent at 4/12/2006 11:53:12 AM
Hi all, Im just curious, what is the purpose of the keyword "Overloads" in VB nowadays? I understand conceptually what overloads are and what they do, but im a little puzzled, because if you declare two subs or properties or functions with the same name but different signatures, it seems...more >>

Plugin architecture questions
Posted by Craig Buchanan at 4/12/2006 11:47:20 AM
I am building an application to help researcher record the outcomes of their studies. These outcomes are document across a number of paper forms. The information documented on these forms varies widely. My current approach is to use a Document class with a collection of Question classes. ...more >>

How do I determine if a control has a specific property
Posted by rmiller at 4/12/2006 11:40:05 AM
I'm looping through controls on my form and grabbing the TabIndex off each one, but when it hits a control w/out a TabIndex (like a timer) it crashes. So, how do i check to see if the current control has a specific property? Thanks ...more >>

Class Inheritance
Posted by AWesner at 4/12/2006 11:15:01 AM
I've been working on a project to help myself better understand how inherited classes work. I think I've learned more about classes by doing this than any other effort I've made. I've tried to create a simple problem by creating a class named TestThis that inherits System.Windows.Forms.Form...more >>

listview usage
Posted by Gonzosez at 4/12/2006 10:47:22 AM
I have an application that creates a list view. I want the user to be able to select several items. How do I retrieve then information for several selections. I can do it for 1 but not several. Also the list has check box once the user has selected an item I want the check box checked. I do not...more >>

AutoScroll listbox as I type
Posted by Selva Chinnasamy at 4/12/2006 8:21:02 AM
I like to implement auto scrolling to the best match in the listbox as I type. Your response is highly appreciated. Selva ...more >>

Color Dialog Custom colors
Posted by J-Rod at 4/12/2006 7:20:07 AM
Hi everyone/anyone, I am using a button in my app that opens the color dialog, and allows the user to select a color which changes the backcolor of a label. I then store the color in my db as a hash value, since i found this to be the easiest way to store it. However, i want the user to be abl...more >>

using UNO components (OpenOffice) in VB.NET
Posted by Amedee Van Gasse at 4/12/2006 6:35:48 AM
Hello, Sorry for the crosspost, I think both groups are relevant. How can I create and/or open an OpenWriter and an OpenCalc document from a VB.NET application? According to the OOo documentation, OpenOffice 2.0 supports the Common Language Infrastructure (CLI) for bindings to UNO (Univer...more >>

How to get GetDefaultCommConfig to work with VB.NET?
Posted by Joe HM at 4/12/2006 6:30:25 AM
Hello - I am trying to detect whether a computer has a COM2 Port. I found the following non-VB.NET Code on the Internet ... Private Type DCB DCBlength As Long BaudRate As Long fBitFields As Long wReserved As Integer XonLim As Integer Xoff...more >>

Saving a File to the Desktop
Posted by Devlei at 4/12/2006 6:11:09 AM
I want to be able to save a file to the Desktop. I realise the Desktop path varies according to the version of Windows being used. Can some-one help me with the following three issues: 1. Is the best option to use 'Environment.OSVersion.Version.Major' to determine which version of Windows? 2....more >>

DataGridView
Posted by Art at 4/12/2006 4:00:01 AM
Hi, I'm having some trouble with my DataGridView. I have it bound to a DataTable. One column of the grid is a boolean that says whether a row should be visible. There is also a checkbox outside of the grid that toggles whether or not the marked rows should be displayed or not. The pro...more >>

Tool strip size
Posted by Adam Honek at 4/12/2006 1:44:49 AM
Hi all, The tool strip control is set to flow layout, no autosize and to anchor top, left. When the form is maximized all the icons and text fit in one line across the screen. The menu strip stays with the default height causing there to be a space from left to right under all icons. ...more >>

Tree view node selection
Posted by Adam Honek at 4/12/2006 1:20:46 AM
Hi all, How do we select a tree view's node outside of a tree view event? Looking through the lists there's no select function, the nearest I can find is GetNodeAt but this seems to want the screen coordinates. Thanks, Adam ...more >>

Ending the appliation reliably
Posted by Adam Honek at 4/12/2006 1:13:33 AM
Hi all, Is it safe to use application.exit or application.exitthread to end a program in .NET? If we didn't use the forms designer then there isn't any generated code to dispose of controls upon termination, would the above clear any resources up? Also, what if we have a multi-thread ...more >>

Maximize/Minimize form without API
Posted by Adam Honek at 4/12/2006 1:11:25 AM
Hi all, Is there an inherent function within a form object to maximize and minimize it? Or must we use the API using SendMessage? I can't seem to see anything from the list. Thanks, Adam ...more >>

Linked tables in Access [VB .Net 2005]
Posted by Marchetto at 4/12/2006 1:08:04 AM
Hi all, I found many posts about this problem... but unfortunately I still can't solve it. I have an Access DB with some linked tables (to text files). >From Access itself I can open these tables and run every query I want with no problem.... all works correctly. But..creating a new data co...more >>

Typing in a ComboBox
Posted by Helen Trim at 4/12/2006 1:03:01 AM
Is there any way of getting a combo box to move to an item as the user types? For example, if they type FR in a country list, it scrolls down to France. This is the usual way that a combo box works, but it doesn't seem to happen in VB .NET. Do I have to add code to get it to do this or is ...more >>

VS2005 IDE Status bar question
Posted by CMM at 4/12/2006 12:58:48 AM
This might be common knowledge... but, what does this animated icon in the VS2005 IDE mean? (http://www.cflashsoft.com/temp/vs05sb.JPG) it's a VS icon... animated... slowly blowing up). I've personally never noticed it until tonight. What does it mean (there's no tooltip!.... bad UI design ...more >>

DragImageBits
Posted by Klaus at 4/12/2006 12:26:42 AM
Hi All, I have some problem of understanding and hope that maybe someone here can help me. I want to make some Drag&Drop from a File or link towards my program, want to catch the file information including the file icon and store the information to show a similar picture. (So you get a list...more >>

property access from the form
Posted by Vivek Sharma at 4/12/2006 12:00:00 AM
Hi, I have a form in a windows application. In that form I have declared the public property InvoiceNo. I am trying to access this property from the other form. In the other form I declared the first form as public frmInvoice as InvoiceForm after the declaration I have on load event in ...more >>

Casting question
Posted by Robert Schneider at 4/12/2006 12:00:00 AM
Why is this possible: DirectCast(obj, IList(Of T)).GetEnumerator IList does not have the GetEnumerator method according to the documentation .. Is seems that I get a ICollection interface after the cast. But why? Cheers, Robert -- E-Mail: r._sch_nei_d_er#_we_ingar_t_ner.c_om (rem...more >>

DataGrid update problem
Posted by LinasB at 4/12/2006 12:00:00 AM
Hi all, I use DataGrid with DataView.AllowNew=False. All works fine, when user changes data in DataGrid row and when he goes to the next row, data flows to the database. But sometimes DataGrid have only one record! And user can't leave the row after changes. How to update data to dataset w...more >>

Can you tell me if this makes sense?
Posted by JJ at 4/12/2006 12:00:00 AM
I am getting my head around encryption. Maybe someone can comment on my approach here - be gentle. I have written a forms app that I want tied to particular machines. I have formulated a 'request number' based on the windows serial number and some other info on that machine. The user w...more >>


DevelopmentNow Blog