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 > october 2007 > threads for wednesday october 17

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

Treeview and ContextMenuStrip
Posted by Joe Cool at 10/17/2007 11:37:35 PM
Let's say I have a Treeview control on a form. Each leaf node in the Treeview has a ContextMenuStrip, each with one ToolStripMenuItem, and all ToolStripMenuItems Click event is handled by a comment event handler. How do I determine which Treeview Node signalled the menu event in the common ev...more >>


.NET Equivalent of an Applet?
Posted by Spam Catcher at 10/17/2007 10:15:22 PM
Does the .NET framework provide any equivalent of an applet? I've under Winforms Hosted in IE - but Security is a major headache. Is there a way to bypass these security headaches? Can I sign the control, etc. etc?...more >>

Can the .NET2.0 application apply Vista theme in Windows Vista?
Posted by yxq at 10/17/2007 8:09:04 PM
I want to know if my .net2.0 application can apply Vista theme when run in Windows Vista. How to do if it is possible. Thank you. ...more >>

Excel Interaction
Posted by at 10/17/2007 5:35:35 PM
Alright, so I've got a pretty hefty program that is integrating with excel. My problem is that I'm wanting to avoid a particular dialog from appearing, just because the portion that it pertains to is automated. Basically, this has to deal with the .merge function for a range of cells in excel. I...more >>

Where can I get IIS 6 and can I install it on XP?
Posted by cj at 10/17/2007 4:51:40 PM
I have IIS 5.1 on my pc now and it doesn't have all the options that 6 has in the manager app. I can't figure it out. I have figured out 6 now which is running on our server but I would like to have a local copy as well to do some testing....more >>

Excel Automation issue.
Posted by Satish Itty at 10/17/2007 4:44:24 PM
Hi all, I using excel automation to generate some reports in excel. I guess I'm not doing it correctly because Every time the report is run it leaves a Excel.exe process open in the system.process even after the user closes the excel file generated. Here is the code block I'm using Di...more >>

Don't understand BindingSource.Item(0).Row(0)
Posted by HONOREDANCESTOR NO[at]SPAM YAHOO.COM at 10/17/2007 3:12:17 PM
I have a book on vb.net that came out in 2006. It uses properties and methods that I can't find in documentation. For instance, it has a line such as: MyBindingSource.Item(0).Row(0). What is Item zero, and what is Row zero of that item? In another section, the book has a listbox on a form, an...more >>

Weird Math problem
Posted by Bill Nguyen at 10/17/2007 2:55:11 PM
I'm running into a very weird problem regarding subtraction. Subtraction behaves as if it's an addition in the below sub txtJacoCost.Text = Format(mRackc - (mDisc + mJaEc), "0.#####0") txtWfCost.Text = Format(mRackc - mDisc + mWfEC, "0.#####0") txtFactorCost.Text = Format(mRackc - (m...more >>



Is a user logged in remotely?
Posted by Viza at 10/17/2007 12:49:48 PM
Can I get some suggestions on how I can tell if a user is logged in remotely on a Win XP Pro box and kill a certain process? Any solutions are welcome. ...more >>

Finalize
Posted by Lou at 10/17/2007 12:49:37 PM
Why wouldn't the Finalize method of a class not get called when the class is destroyed? I have a Com class that gets created from a VB6 client. In the VB6 client code I destroy the .NET Com componenet. Set Bla=Nothing When I trap in the .NET code the "Finalize" method never gets called? ...more >>

Threading
Posted by Lou at 10/17/2007 12:44:42 PM
I have a project with a COM class. It creates a new thread whose function loops continually. Within the looping function I Raise an event. When the client app (VB6) receives the event, what thread does it receive it on and is this thread safe. Is there a better way to raise an event from the...more >>

Adding a record to an existing Dataset
Posted by id10t error at 10/17/2007 12:09:20 PM
Hello, I am working on a project where I read in data from a flat file using a dataset .The program than lets the user scan the barcode. The problem is when the person scans a barcode on another form and the bar code is not in the dataset I want to add the new barcode to the dataset. Here is ...more >>

GDI Objects not releaseing
Posted by Smokey Grindel at 10/17/2007 9:43:00 AM
I have an application that has a system tray icon, which updates every 10 seconds to a custom made image... and every time it updates my GDI object count increments, this shouldn't happen, any ideas on what to look for? I am custom drawing the 16x16 image as a bitmap. It takes an existing ico...more >>

Security problem w/ VB.Net and Word/Excel on Vista 32bit
Posted by at 10/17/2007 9:05:55 AM
Hi, I have a VB.Net application that I have recently upgraded from Visual Studio 2003 to Visual Studio 2005. The VB.Net app accesses Word and Excel. When I run the newly compiled VB.Net app on the Windows XP Pro system the app can interact with Word and Excel just fine. I'm pretty certain I h...more >>

Is there any one in the world who can help me in plotting data from grid to scatter chart in MSchart
Posted by Amit at 10/17/2007 8:33:04 AM
Hello Gurus, I am entering data through data grid , what i want is that once user enter the data in the grid and click on button graph should come on the basis of data values are like X Y 1 10 10 20 20 30 30 40 40 50 This is dead end urgent please help me Thanks ...more >>

LINQ. Inner Join.
Posted by shapper at 10/17/2007 7:48:49 AM
Hello, I have 2 tables: [A] > Aid, Aname ... [B] > Bid, Aid, Bname ... I need to get the records in B given a Bname and a Aname. I think I should use Inner Join. I wrote the following code: Dim Bs = From a In db.A _ Join b In db.B _ On a.Aid Equal...more >>

Windows Form Designer
Posted by MikeS at 10/17/2007 7:42:09 AM
Why does my code window NOT display the "Windows Form Designer generated code" section? This was always there in 2003 but only certain programs have it in 2005, or else I can't figure out how to display it. This is especially useful in seeing how to build controls using code. More specifica...more >>

CodeDom and GenerateInMemory memory leak
Posted by AMercer at 10/17/2007 7:01:04 AM
I may have painted myself into a corner with GenerateInMemory=true. My app need a custom user step. Users want to code (sort of - they are not programmers) some refinements to a search procedure. They can concoct a moderately complex boolean expression, and that suffices. I will take their...more >>

How do I get the width of a column using Type Datasets?
Posted by Mike OKC at 10/17/2007 3:37:03 AM
How do I get the width of a column using Type Datasets? I don't want to know the length of the data in the column, I want to know the width of the column. In my code, if the column width is 50 characters, but a string with 55 characters tries to insert then I get runtime error. So, I want the ...more >>

Merging images together
Posted by toby.k.webb NO[at]SPAM googlemail.com at 10/17/2007 12:00:00 AM
Hi all, I have two images that I would like to merge together similar to a watermark (one becomes semi-transparent). Is there a way to do this in vb.net? Thanks. ...more >>


DevelopmentNow Blog