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 > january 2007 > threads for monday january 29

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

Can't get graphics to display
Posted by Harley at 1/29/2007 11:30:53 PM
I am trying to build graphic charts in a vb.net module callable from another form. I have translated this code from VB6 where it worked well. I can make the code work to bring up and display the form and its command buttons. I can track the code execution with debug. However, I cannot change t...more >>


COM-Interop: How to pass on / throw exceptions?
Posted by Olaf Rabbachin at 1/29/2007 8:23:08 PM
Hi folks, I have a (VB.Net-) DLL that I'm using from MS Access 2003. Everything's pretty fine except for one thing - When I throw or pass on exceptions from within the .Net-DLL, all I get is Err #440 ("Automation Error"). I'm passing on exceptions like this: Throw ex .... and I'm throw...more >>

Removing items from the Solution Explorer in VBE 2005
Posted by Scanboy at 1/29/2007 7:50:00 PM
Guyz, I want to remove items from the Solution Explorer. The VBE 2005 help system claims that to do this, you have to:- 1. Select the item you want to remove. 2. On the 'Edit' menu, choose 'Remove'. The problem is that there is no 'Edit' menu in the Solution Explorer, and t...more >>

HELP
Posted by Robert NO[at]SPAM AOL..com at 1/29/2007 5:40:11 PM
I am pullig my hairs out. What does this error message mean?? Failed to create component 'CustomButton2'. The error message follows: 'System.IO.FileNotFoundException: Could not load file or assembly 'SpecialButton, Version=1.0.2585.31087, Culture=neutral, PublicKeyToken=null' or one of i...more >>

The control with 9 Lives
Posted by Bob NO[at]SPAM gmail.com at 1/29/2007 5:31:33 PM
I created a control that didnot work out and I removed it from the project. How do I get it off the toolbox ..I triet restting the toolbox but it refuses to die!!! HELP!!...more >>

How to using XML as a simple table storage?
Posted by Cylix at 1/29/2007 5:11:31 PM
Which object should be using for this purpose? I just need to using the xml file for read and insert, is it good to using XmlTextWriter to do so? Thanks. ...more >>

Working
Posted by Darth Ferret at 1/29/2007 4:01:00 PM
Thanks again Robin, Your suggestions worked. I had it going through with a library list problem on the other side that was easy to fix once I knew it was there. I just didn't see the message at first. Anything on the AS400 side is easy - it's just getting there that is hard. Joe ...more >>

Report recommendations please
Posted by John Dann at 1/29/2007 3:53:01 PM
I'm writing a VB2005 program that needs to generate some printed output, including a main table. At present I'm doing this output simply as a text file, which works well enough to allow printing via eg NotePad, but there are a couple of important refinements that I'd like to add: one or more ima...more >>



information on processes
Posted by ngr at 1/29/2007 3:39:14 PM
I need to be able to find out which user started a particular process. I need to know what user is running an instance of an application I am writing. It is possible in my environment to have more than one user running the same program. I have an application which will run on a citrix run...more >>

Creating new settings on the fly
Posted by lord.zoltar NO[at]SPAM gmail.com at 1/29/2007 3:12:56 PM
I have a problem which I think can be solved by creating new Settings on the fly, but I'mnot sure if it's possible, or if a better solution may exists. Here's the situation: I have a project with many different dataGridViews to display data, and many of them have 10-20 columns (the actual n...more >>

How to determine if a number is odd or even?
Posted by Ron at 1/29/2007 2:04:32 PM
Hello, I want to write some code to determine if a number entered in a textbox txtnumber is odd or even. How do I do this? Then if even I want to add 3 to that number and multiply by 4 Or if odd I want to add 2 to that number and multiply by 5 thanks for any help. ...more >>

My.Settings - Runtime parameters
Posted by Spam Catcher at 1/29/2007 1:59:13 PM
Does anyone use the My.Settings for runtime parameters? I.E. storing global variables? Is that proper?...more >>

How to suppress Ctrl+i key combination in a RichTextbox?
Posted by papalarge at 1/29/2007 1:51:30 PM
I've noticed that Ctrl+i creates a Tab, whereas I'd like to make it italicize instead. My code is as follows Private Sub txtPrivate_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtPrivate.KeyDown 'IF CTRL WAS PRESSED If e.Control Then...more >>

How do you place a progressbar in a statusbar panel?
Posted by Robert Dufour at 1/29/2007 1:48:09 PM
On a winform have StatusBar1, StausBar1Panel1 and StatusBar1Pannel2, How do I put a progressbar In StatusBar1Pannel2? Thanks for any help, Bob ...more >>

Trap ENTER in textbox with an Accept Button set
Posted by Zytan at 1/29/2007 1:01:00 PM
Hello everyone, I would like to trap the ENTER key press in a RichTextBox, when it is in focus. I have an Accept Button set, which grabs it. In Win32, I could use the WM_GETDLGCODE Notification to accomplish this, but I am unsure where that functionality exists in VB .NET. Handling the ...more >>

network folder is read-only even though file attribute says its writeable
Posted by James Maeding at 1/29/2007 12:56:20 PM
I am familiar with using My.Computer.FileSystem.GetDirectoryInfo to get folder attributes, see code below... This does not work though for network drives on my companies system. We use windows as our server, nothing exotic. I looked at the security permissions and the "write" box for domain users...more >>

groupbox and radiobutton relationship - which radiobutton is check
Posted by Rich at 1/29/2007 11:45:01 AM
Hello, GroupBox1 contains 3 radiobuttons. Is there a builtin way - a Container property - in the groupbox control to determine which radiobutton is checked - if any? I did not see anything like GroupBox1.Value, but in pseudocode I am thinking something like Console.WriteLine(GroupBox1...more >>

Should .sln be kept out of VSS?
Posted by Ronald S. Cook at 1/29/2007 11:22:35 AM
Should Visual Studio solution files (.sln) be kept out of VSS? I'm thinking so, but want verification before I propose the policy change to my management. Thanks, Ron ...more >>

How to use WebBrowser (vb) to show various kinds of file?
Posted by Benson at 1/29/2007 11:18:24 AM
I want to write a program to display files (xls, doc,html,pdf,jpg) on screen. I thought I can use WebBrowser in VB2005 to do this job since those kinds of files can be displayed in IE. I try to use the following code, but FAIL: Dim fs As FileStream fs = File.OpenRead("D:\doc\joblist.xls") ...more >>

Help again
Posted by Darth Ferret at 1/29/2007 11:13:38 AM
This thing is about to drive me crazy. I have about 50 queries in the AS400 that I need to put on a menu. Once I conquer this I have a bunch more rpg reports that I need to pass a date to. In the AS400 I have a stored procedure (SPRUNQRY) that runs the RUNQRY command with the name of the query...more >>

Get user info from AD
Posted by Alex at 1/29/2007 9:21:35 AM
Hello All, Is it possible to get when a user logged in the network? I'm interested in time (Logged in and logged out). I'll be using VB 2005 and connecting to Active Directory. Thanks!!! Alex...more >>

Validating event not fired when moving from text- to combobox
Posted by appi NO[at]SPAM gmx.at at 1/29/2007 4:41:57 AM
Hello, I have created a custom control in VS 2005 using VB.NET. In this Control, there are multiple text- and comboboxes. Two of the textboxes react on the validating event. But when I move from these textboxes to a combobox, the event is not fired. When I move to another textbox, it work...more >>

PerformanceCounter
Posted by Mike Behrendt at 1/29/2007 3:49:16 AM
Hey! For any interested programmer: Here is a tool to list and explain all available performance-counters on your system. Site in german only but tool shows entrys in system-language. Hope it helps. Greets, Mike. ...more >>

data sourse problem
Posted by eyad at 1/29/2007 1:23:26 AM
some time when i work on project some of the data source disappear when i import another data set for another report .....can anyone help me???? --- Posted via DotNetSlackers.com...more >>

Your opinion about rethrowing exceptions
Posted by Michel Posseth [MCP] at 1/29/2007 12:32:00 AM
In my opinion rethrowing exceptions without providing anny extra information is a totall waste Examples : in my opinion wrong : A: Public sub DoSomeStuff() Try do it Catch ex As Exception Throw New Exception(ex.tostring ) End Try ...more >>


DevelopmentNow Blog