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 friday april 28

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

vb.Script to VB.NET 2005
Posted by eSolTec, Inc. 501(c)(3) at 4/28/2006 9:49:01 PM
Thank you in advance for any and all assistance. I'm attempting to make WMI calls in VB.NET 2005 Pro and I've found the VB.Script WMI calls. Is there a SDK or converter to convert scripts to VB.NET? I want to find out "all" installed software> "all" hardware > register in read only > startu...more >>


Is there an easy way to get my Subnet Mask?
Posted by Terry Olsen at 4/28/2006 9:43:11 PM
I am using VB 2005. I can't seem to find a way to get my local Subnet Mask. The only thing mentioned from googling is the GetIpAddrTable API, but so far, i've had no luck getting a call to it working. Another idea was to traverse the registry at HKLM/System/CurrentControlSet/Services/Tcpip/P...more >>

Loading controls with objects versus recordsets
Posted by mrmagoo at 4/28/2006 9:26:22 PM
I'm building a vb.net Forms project that is getting data from a SQL Server database. One of the main goals of the project is to be really responsive to events, such as textbox change events. I have a textbox for searching, a listbox to display the searched results, and a big textbox (memo) to ...more >>

TableCell: BackColor Property But No BackGround Property?
Posted by Nathan Sokalski at 4/28/2006 6:04:24 PM
I am using an ASP:Table Control to make a table. I know that the HTML TD tag has a background attribute and a bgcolor attribute. The TableCell has a BackColor property, which is the equivelant of the HTML bgcolor attribute, but what can I use as an equivelant for the HTML background attribute?...more >>

DataTable Loop and String Building
Posted by ILCSP NO[at]SPAM NETZERO.NET at 4/28/2006 1:50:35 PM
Hi, I have a sql table containing the answers for some tests. The information in this table is presented vertically and I need to create strings with them. I know how to read the data in VB.Net and use a StreamWriter to build the strings. However, the problem lies with the reading of each...more >>

inheritance question
Posted by Craig Buchanan at 4/28/2006 1:24:46 PM
I have three classes: Core Assembly Application - creates instances of User using Activator.CreateInstance Item - marked MustInherit; has an Init method UserPlugin Assembly User - Inherits Item, has an Init method I would like to be able to call the Init method from the Application where...more >>

TAG Property
Posted by c_shah at 4/28/2006 1:12:19 PM
Can someone please explain to me the purpose of the tag property for WindowsForm controls such as a TEXTBOX? What is the benefit of using this property if any? ...more >>

BeginInvoke with a property?
Posted by AMDRIT at 4/28/2006 1:02:49 PM
Hello everyone, How do I access a property from another thread in VB'05? Thanks public class frmblah inherits system.windows.forms.form private mCount as integer private property Count as integer get return mCount end get set (value as integer) mCount...more >>



Stored Procedure runs in SQL Server Management Studio but not in VB
Posted by Crazy Cat at 4/28/2006 12:37:20 PM
I'm calling several SQL Server 2005 stored procedures from Visual Basic 2005. I've got one stored procedure that locks up at the same point everytime, but if I copy the stored procedure from the SQL Profiler trace and paste it into SQL Server Management Studio it runs fine -- I even tried settin...more >>

create an .exe
Posted by iwdu15 at 4/28/2006 11:13:01 AM
hi, im creating an installer program, like install shield, and am wondering how i can programmactically create an installer executable after the user chooses which files to add. thanks -- -iwdu15...more >>

VS.NET 2005
Posted by PJ6 at 4/28/2006 11:12:34 AM
Now that I've spent a significant amount of time using VS.NET 2005, I just have to say that it is the most fantastic developer tool I have ever had the pleasure of working with. Both the language and the IDE are beautifully conceived and executed, it makes me so glad I chose this career path. ...more >>

CLR
Posted by pooja at 4/28/2006 10:54:02 AM
what is clr in .net architecture? ...more >>

assembly and portable executable
Posted by pooja at 4/28/2006 10:52:02 AM
what is an assembly and how does it related with portable executable in ..net architecture? ...more >>

Export nText as Files
Posted by Jerry at 4/28/2006 8:59:03 AM
Hello! I have a SQL Server database with gif images stored in a nText field as binary. I've been asked to export these images to actual gif files (about 250 of them). I found a stored procedure that was using some ADO and it would write a small part of the image correctly and then the rest wa...more >>

Cast from string to System.DayOfWeek
Posted by Charlie Brown at 4/28/2006 8:51:05 AM
I am trying to cast a string to System.DayOfWeek. Don't even know if this is possible but it would sure save me a lot of headache if it is. Trying... Dim strDay As String = "Wednesday" Dim day As System.DayOfWeek = ctype(strDay, System.DayOfWeek) ...more >>

Need help in converting from C# to vb.net.
Posted by Learner at 4/28/2006 8:25:23 AM
Hello Friends, I need help converting the below C# code snippet to vb.net. case "CreationDate": comparison = new Comparison<MembershipUserWrapper>( delegate(MembershipUserWrapper lhs, MembershipUserWrapper rhs) { ...more >>

Please explain
Posted by John at 4/28/2006 7:31:02 AM
I am having trouble understanding how to use different properties. For example, I have a maskedtext box on a form. Lets call it msk1. I want to remove the mask from msk1. I figured out to do the following: msk1.textMaskFormat=maskFormat.ExcludePromptAndLiterals However, I don't understa...more >>

Calling PaintBox Paint event
Posted by Sam at 4/28/2006 7:07:09 AM
Hai, I use a paintbox paint event to draw some images in a paintbox. I call the paint event by refreshing the paintbox using paintboxname.refresh() or paintboxname.update(). Problem with this kind of paint event is that the event is not raised when the application is run in a minimized state....more >>

Invalid Cast Errors
Posted by Alan at 4/28/2006 6:01:06 AM
I keep getting an invalid cast error on this line of code: Dim gridCol As MyGridColumn = CType(dgt.GridColumnStyles(hi.Column), MyGridColumn) I am trying to develop a sub that will change the colors on a cell that is clicked on in a DataGrid control. Here is the full code: Private Sub ...more >>

How to Obsolete two related classes?
Posted by Phill W. at 4/28/2006 12:00:00 AM
If I have a reusbale (GAC-'registered') assembly that contains two, [cross-]related classes (imagine a DataSet and DataTable; the former contains instances of the latter, the latter has a reference to its parent .. er .. former). I want to make /both/ of these classes Obsolete, so I added O...more >>

Generate Excel spreadsheet from Windows form app
Posted by Niclas at 4/28/2006 12:00:00 AM
Hi, I am looking to develop a Windows Forms application that collects some user information and then as a final step generates a simple Excel spreadsheet based on the input. I am using Visual Studio 2005 (VB) and have the Office Development Tools installed. Is the programmatic way to gen...more >>


DevelopmentNow Blog