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 > march 2006 > threads for wednesday march 15

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

Hide some columns of listview
Posted by Li Pang at 3/15/2006 11:56:39 PM
Hi, I want to know how to hide a column of listview. Thanks in advance...more >>

Stored procedure handling 1 parent record and multiple child recor
Posted by alee at 3/15/2006 10:46:27 PM
I am writing a stored procedure to handle Order and OrderDetail tables. I created a tempTable physically on the database, and insert the OrderDetails into the tempTable first, then I try to use the tempTable in a select statement to insert the all the records to the OrderDetails. If there is a...more >>

combobox
Posted by be.special NO[at]SPAM gmail.com at 3/15/2006 10:29:56 PM
Hi! I m using combobox in vb.net form, and i would like to know if there is a way that when the user types the first letter, only items that starts with this letter will only be displayed. any solution? ...more >>

Resource for developing your own accounting software using MS technologies
Posted by pedaammulu NO[at]SPAM yahoo.com at 3/15/2006 10:18:58 PM
Hi, Save precious time and dollars in learning the secrets of programming. Complex logics made simple and easy to learn. Own a complete Database Application built using OOPs, Classes, Datagrids, ADO (ADO .Net) with options like Sale, Purchase, Receipt, Payment, Reports like Cash Book, Reg...more >>

Icons in Application Menus
Posted by Siv at 3/15/2006 5:49:25 PM
Hi, I have just searched MSDN and Google and can't find a tutorial about how to add icons to menus in a VB.NET or C#.NET Windows Forms application. Does anyone know how it's done or can point me at a tutorial that is easy to follow. In anticipation, thanks. Graham Sivill Martley, Near W...more >>

Using SQL Server Application Roles from VB.NET Application
Posted by Matt at 3/15/2006 5:43:08 PM
I'm not entirely sure if this is the best place to post this; if it is not, kindly redirect me to the proper posting area. I'm deploying a Windows Forms application using VB 2005 on top of SQL Server 2005, and I was trying to figure out the best possible way to secure the system such that o...more >>

vb.net to c# conversion help please
Posted by htpc_2006 NO[at]SPAM hotmail.com at 3/15/2006 4:53:33 PM
Hi everyone, i have a vb.net program ive converted most of the code but i know events dont translate well, the original vb.net code uses withevents and .handles and i can't get the events in c# to work 100% they seem to hook up ok but when the eventhandler is called from the method its n...more >>

Printing Question
Posted by Samuel Shulman at 3/15/2006 4:32:06 PM
Hi I have written an entire module in .NET printing using a PrintDocument but now the users complain that they want something like .lay files that will allow them to change the layout of the printed document. Is there any tool that can be attached to .NET which has a similar function? Tha...more >>



Setting Foreground Color Property at Row Level in Datagrid
Posted by fripper at 3/15/2006 3:51:08 PM
I think I am using the proper terminology here ... I am using VB 2003 and have a DataGrid to which I then attach a TableStyle ... then I set the properties of the TableStyle (BackColor, HeaderBackColor, etc.) ... then I create several DataGridTextBoxColumns and set their properties (MappingNam...more >>

Application.OpenForms
Posted by Luis Gustavo at 3/15/2006 3:45:42 PM
FrameWork 2 Hi. Can anyone say how I prevent the error: "'Function' is not a member of 'System.Windows.Forms.Form'". I have a form where I have many public functions created for me. The user will can open 'x' forms(the same form.) and I'm accessing this forms with the new function "Op...more >>

exe/dll as scheduled task
Posted by helpful sql at 3/15/2006 3:28:42 PM
Hi all, I want to write a .Net solution that I would like to run as a scheduled task in windows. I am not going to need any user interface. What I don't understand is what kind of project I need to create in Visual Studio for this solution. Is it Console App, Windows App, Class Library or...more >>

Converting Base 2 Numbers to Base 10
Posted by Phil Galey at 3/15/2006 2:30:56 PM
Is it possible to convert from a BitArray to its Base 10 counterpart? So if you have Dim x As New BitArray(New Integer() {1, 0, 1}) Then how can you get to 5 from x being 101?...more >>

what control can do this?
Posted by iwdu15 at 3/15/2006 1:41:30 PM
hi, im making an AIM application using the AIM sdk, and i was wondering how i would be able to chanmge the back color of certain parts of the control...like in aim with when one user sends his or her message, the back color is what they choose and so on. ive tried to find a control that does ...more >>

Access, OLE & VB.NET
Posted by Stan Smith at 3/15/2006 1:37:24 PM
I couldn't decide which newsgroup to post this in so I thought I would start here. I can create an "OLE Object" field manually in Microsoft Access and insert an Excel spreadsheet or a Word document, etc. into the field. I would like to be able to programmatically do the same thing. Basica...more >>

CLose application
Posted by GeorgeK at 3/15/2006 1:27:27 PM
Hello guys, I'm writing a little application and I need to copy something into the clipboard and then close the application. When I terminate the app with END or Me.Close the clipboard gets cleared and I get nothing out of it. I'm sorry if this is too easy for you guys but I'm not a progra...more >>

How Many SQL Connections Should I Use?
Posted by db.guru at 3/15/2006 12:05:53 PM
Hello, I was wondering what the best practices are as far as how many connections one should use for a data-driven app. Here's my situation: I have a business object that I load data into, this object also has 3 collections which I also load data into (via their own method). Right now each...more >>

Name 'ADODB' is not declared Error
Posted by valeria007 NO[at]SPAM gmail.com at 3/15/2006 12:00:51 PM
I have a VS 2005 project that has some pages that still use ADO and need to stay that way for the time being. I've added the reference to ADODB and it shows on the references list as ADODB GAC 7.0.3300.0. The problem is that none of the code references to ADODB work and they all error out. Even ...more >>

How To Cancel Edits on a control?
Posted by Crazy Cat at 3/15/2006 11:32:28 AM
Using Visual Basic 2005 how do I cancel edits on a databound control. I want the user to be able to cancel all edits on a form. My main databound control is a DataGridView which is bound to a BindingSource, which in turn is bound to a SQL Server data source. I tried ResetBindings, but nothing ap...more >>

Free C# to VB converter?
Posted by Allen at 3/15/2006 10:32:34 AM
Are there any good free C# to VB converters? Thanks ...more >>

UrlEncode outside ASP. Net???
Posted by AspDotNetDvlpr at 3/15/2006 9:34:06 AM
Hi, I'm writing a console application that will be running as a scheduled application, that basically sends out nag email messages to users of a web application on a daily basis. It's going great so far, but I ran into a problem that I can't figure out. I need to use the UrlEncode method...more >>

VB.Net File.Copy Conundrum
Posted by RitaG at 3/15/2006 9:32:43 AM
Hello. I have a VB.Net program that copies a file from one server to another server. This program has been working without any problems for about a year. A couple of weeks ago the "server from" crashed and had to be rebuilt. Now, when the File.Copy method in the VB.Net program is executed an e...more >>

Tracking changes made to form...
Posted by YYZ at 3/15/2006 7:50:26 AM
Just wondering if there is a good way to do this that won't take me forever and a day. My form has many textboxes and comboboxes and radio buttons and checkboxes on it. I want to know if a user changes a value on any of those things...and if so, when they close the form, if they haven't save...more >>

MDI Parent/Child forms
Posted by Linda U at 3/15/2006 6:59:13 AM
This is what I have - Form1 is an MDI Container, form2 is an MDI Child of form1, Form3 is a model form. What I want to be able to do is activte form2 as a child of form1 from form3. The problem is that form3 is not a child of form1 so I have no way of setting the mdiParent property from form2....more >>

Datetime arithmetic in VB.Net?
Posted by Joe Befumo at 3/15/2006 6:52:53 AM
I have a program that processes a large number of records & would like to display the remaining time, in days:hours:minutes. I'm looking to do something like: Dim tsTimeRemaining as System.Timespan Dim tsElapsedTime as System.Timespan dtTimeRemaining = intRemainingRecords * (tsElapsedTime ...more >>

Should I Use "Dim ___ As New ___"?
Posted by Tim Baur at 3/15/2006 6:39:23 AM
Hi All, I'm a VB6er who's recently started using VB2005; I have a general question about variable declaration. In VB, I've always tried to avoid using the "As New" construct when declaring a variable preferring instead to instantiate in the class' or form's initialize event or as needed. ...more >>

XmlHttp can access webservices from javascript, but not from within applications?
Posted by DSmith1974 NO[at]SPAM googlemail.com at 3/15/2006 6:29:14 AM
Hi All, After creating an end-point with batches enabled using SQL Server 2005, I can easily query a database and have xml returned from within javascript using something like Pablo's code (below). But, if I try the same code from VB6 or VB.NET (a straight forward port - swap ActiveXObject ...more >>

KeyDown event
Posted by Helen Trim at 3/15/2006 5:37:28 AM
I am struggling to get the keydown event for checkboxes to work when pressing down arrow and enter. The so-called help talks about overriding the IsInputKey method for the controls, but doesn't give an example. How do I override a control's method? TIA -- Helen...more >>

Calendar control
Posted by MB at 3/15/2006 4:24:47 AM
The following code just displays the current month, is it possble to generate a full year view? An example would be nice. <html> <head> <script language="VB" runat="server"> Sub Date_Selected(sender As Object, e As EventArgs) Label1.Text = "Selected date is: " + Cal...more >>

Playing System Sounds/WAV files
Posted by Devlei at 3/15/2006 2:30:53 AM
Can someone please point me in the right direction as to how to play system sounds and/or WAV files from a VS.Net 2003 application. I can find plenty of info about how easy it is with VS2005, but from VS.Net 2003 I can only find the Windows Multimedia article about the Statement: PlaySound("M...more >>

membership class
Posted by guy at 3/15/2006 2:12:26 AM
3rd question! vb2005 I have been looking at the Membership Class and it looks very intersting. However it seems to be aimed at ASP.NET applications. is it practical to use it in a winforms app? this would provide consistency as our app will have both a winforms and a webforms interface ch...more >>

bindingsource
Posted by guy at 3/15/2006 1:43:27 AM
has anyone any good links to articles on using BindingSource (other than the MSDN2 stuff) cheers...more >>

binding to a datagridview
Posted by guy at 3/15/2006 1:04:27 AM
i have a datagridview and i am attempting to bind a bindingList to it. if autoGenerate columns is true the grid corectly displays all columns in the list. if AutoGenerateColumns is false i still get all the rows however the data is not displayed. the columns are generated and appear to be corr...more >>

what should i use?
Posted by VB Newbie at 3/15/2006 12:00:00 AM
good day pros, i would like to make a sample program that will act as a report service... if someone sends a request via email the system will receive the mail and sends back a respond with an attached pdf report file from a report server depending on the parameter given on the subject line ...more >>

how to add labels at runtime for a datagrid control
Posted by jaffar at 3/15/2006 12:00:00 AM
hi, I am developing an application in vb.net windows,in this application i am using a datagrid control, how can i add label to a coloumn in the datagrid at runtime , send me the code for this requirement,, warm regards, jaffar ...more >>


DevelopmentNow Blog