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 > may 2004 > threads for monday may 10

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

Changing color with in a single label??
Posted by Bob Achgill at 5/10/2004 11:52:58 PM
Label example: "See the dog run." I would like to be able to highlight a given word in the example label using another color than the rest of the words in the sentence and/or maybe underline the highlighted word. Said another way...Does labels support in-line font/color tags for setti...more >>


Calling RVT in VB6
Posted by Suzie at 5/10/2004 11:31:02 PM
How would call a rational visual test application in VB6...more >>

lots of data
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 5/10/2004 11:00:08 PM
Im working in some hydraulics calcs.(using lots of loops) that produces lots of data, where can I send this data to be easy readable. I tried with rictextboxes but it only accepts one line. I was triying to send the data to a blank page but the help is horible. What Can I do?...more >>

DataFormats.Bitmap
Posted by LoSTMaN at 5/10/2004 10:36:49 PM
Hi, Did someone have a idea why this code always return False when i drag a filename.bmp in my PictureBox. Private Sub PictureBox1_DragEnter(ByVal sender As Object, ByVal e As DragEventArgs) Handles PictureBox1.DragEnter If e.Data.GetDataPresent(DataFormats.Bitmap) Then ========...more >>

implement Active EXE automation server in VS.NET
Posted by lena at 5/10/2004 8:12:02 PM
hi there, In VS.NET ,does anyone ever implement a component like old a active exe automation server, which ever could be made by vb 6. Any good solution will be useful. Thanks ...more >>

Calling a .net form from vb6
Posted by William Gower at 5/10/2004 7:56:51 PM
We are gradually converting a huge vb6 app to .net. How can I call a .net winform from a button on a vb6 form? ...more >>

How To Cancell Character Entry in a text box?
Posted by Dino Buljubasic at 5/10/2004 6:51:50 PM
Hi, I'd like to be able to enter only letters in my text box. If a user enters anything except a letter, the key entered would simply not be displayed in the text box.j How can I do ;that? Thank you...more >>

read color names from a jpeg image
Posted by prem at 5/10/2004 6:37:09 PM
Hi all, I want to read the colors used in a jpeg image. I want the code or any any other code components that can do that. any suggestion , links and samples will be gratly appreciated thanks in advance, --prem ...more >>



How To Obtain Type for Generic Conversion
Posted by Charles Law at 5/10/2004 6:02:43 PM
I want to do something like this: obj = CType(value, Value.Type) Well, not exactly, but I think that captures the essence. I realise it won't work as I have written it, and it looks a bit like a nebulous statement, but I am looking for a generic way to convert a variable of unknown type to i...more >>

system Arithmetic Exception Error.
Posted by mfc2004 at 5/10/2004 5:11:01 PM
Hi, I have a pc with windows XP SP1, net Framworks 1.1 and visual studio net 2003 When I first installed Visual Studio 2003, I noticed I was getting th follow error when showing a form A first chance exception of type 'System.ArithmeticException' occurred i system.drawing.dl Additional infor...more >>

pop3 smtp free server accessible from vb.net
Posted by John Smith at 5/10/2004 4:44:12 PM
i need some app that i can run on my win2k pc and send and receive email and to control it from my vb.net app i dont have any mail servers, but i can install 1 if its needed any help is welcome TIA ...more >>

How to make Object Browser window not appear on startup?
Posted by Frank Rizzo at 5/10/2004 4:42:26 PM
I have VS.NET 2003. For some reason the Object Browser window appears as one of the tabs for every project I open. Even if I just open VS.NET without any projects, it still appears. How can make it go away? I've looked in all the settings but can't find anything. Regards, Frank...more >>

How to check the textbox is empty or not ?
Posted by Agnes at 5/10/2004 4:04:31 PM
Except trim(Me.txtTextBox.text) = "" ?? for vfp, there is empty(), for c++ there is isblank() . any function call can check it in .net ??? Thanks From Agnes ...more >>

automation adding a chart to a word document
Posted by andreas at 5/10/2004 3:56:04 PM
Hi, I can not add a chart to a word document I have the following code ...... ....... xlblad.Range("A1:B3").Select() xxlChart = xlprog.Charts.Add() 'here i would copy the chart into the clipboard lprog.Visible = True Dim wrd As New Word.Application() Dim wrdDoc As New Word....more >>

Exception at Windows Apps running on 1.0 and 1.1 frameworks side-by-side
Posted by lar_karaseva NO[at]SPAM yahoo.com at 5/10/2004 3:46:26 PM
Hi, everyone! Couple of user's Win 2000 Pro machines historically have framework 1.0 installed and Windows app (designed in-house), which successfully runs on it. I have developed app further in VS 2003, and XCopied new version on those machines for users to test. (Had to install framework 1.1 f...more >>

Shell() = ? in .net
Posted by Henry Craven at 5/10/2004 3:32:13 PM
Try as I might I can't get the following command to execute in .net C:\winnt\System32\xcopy.exe D:\Data\Test D:\VB /e /d /h /o /v > C:\Copyresults.txt How do I get it to execute in Shell() Or what would be the equivalent ..net Commands ( note: the /o is important ) Tried Shell, System.D...more >>

Get the Temp Directory for a user
Posted by Scott Meddows at 5/10/2004 3:03:05 PM
How can I get the location of the temp directory for the current user? Thanks! ...more >>

drawing image as a partly transparent one
Posted by Brian Henry at 5/10/2004 2:59:55 PM
I have an icon I want to draw onto the screen, but I want to streatch it out to be about 256x256 and make it about 75% transparent how would I go about this? do i need to convert it to a bitmap first then paint it larger? and how would i make the entire image transparent at 75% transparency (25% ...more >>

counting lines of textbox
Posted by HDB at 5/10/2004 2:37:49 PM
Ok. I have a windows form with a textbox for displaying certain messages. Multiline=true and wordwrap=true. I want to know the amount of the lines currently showing. That should not be any rocket-science, eh? Textbox.lines.length() only returns the amount of lines ending with a 'hard' CrLF, no...more >>

Think is should be simple but carn`t find info:(
Posted by MadCrazyNewbie at 5/10/2004 2:36:33 PM
Hey Group, Im Sure this is simple but I carn`t seem to find any info anywhere:( I have 2 x Forms: Form 1 has a DataConnecter and several DataAdapters on it, all bound together in my DataSet. On My Table(Faxs) I have a relationship to another Table(MeterReadings), on my Form I have a butto...more >>

datagrid sort order
Posted by John Smith at 5/10/2004 2:28:29 PM
i have a win form w/ a datagrid inside while the app is running many instances of this form r created and closed how can i ensure that the sort user used last time is kept until the whole app is closed TIA ...more >>

Application Help
Posted by JLW at 5/10/2004 2:26:02 PM
I have a program that the "interface" for it is a NotifyIcon. I really have no need for a form. How do I go about the start/execution of this program? Thank, JLW ...more >>

Detect change of focus on form?
Posted by kkk at 5/10/2004 2:24:43 PM
I need to control something (visibility of toolbar buttons) when the cursor moves between fields on a form (using VB .net). How do I detect that the focus has moved? Thanks, Paul. ...more >>

matching a condition in a list
Posted by Masahiro Ito at 5/10/2004 2:06:03 PM
I am trying to do an if statement that could have many different matches. In sql I would do it like: SELECT * FROM Customer WHERE Staff IN (10, 15, 23, 14) In VB, I would do: If Staff.Count = 10 or Staff.Count = 15 or Staff.Count = 23 or Staff.Count = 14 Then Console.writeline(Staff...more >>

Converting "A" to an Integer value
Posted by SQL at 5/10/2004 1:52:15 PM
This is a little more of a logic question. But I'm doing this in VB.NET, so I figured this is the right place to ask: I need to figure out the difference between a range that a user will enter...only they will be entering alphanumeric characters. Like "A" to "E"...I want to return the differ...more >>

going from vb.net to c#
Posted by - Dan - at 5/10/2004 1:51:08 PM
i've seen before people say to go from vb.net to c# you need to compile and then decompile to see the c#. can someone outline the steps for me to do that? ...more >>

How to step into excel macro?
Posted by cr113 NO[at]SPAM hotmail.com at 5/10/2004 1:25:21 PM
How do you "step into" an excel macro when using the VB.NET debugger? I'm using excel 2000. Here's is how I did it with VB6: Dim objExcel As Excel.Application objExcel = New Excel.Application objExcel.Visible = True objExcel.Workbooks.Open(FileName:="c:\test.xls") objExcel.CommandBars(1...more >>

Crystal report and VB
Posted by Eric Clapton at 5/10/2004 1:16:34 PM
I have written a Crystal Report 9 and put it as a control to VB 2002 in Visual Studio. In general, how do I put the Crystal Report on a web and how do I put the VB program, contained CR, to the web. ...more >>

Building an Office COM using VB .NET: Error running with Word
Posted by Howard Kaikow at 5/10/2004 1:14:42 PM
MSFT KB article 302896 includes a step by step example demonstrating how to build an Office COM in VB .NET, Yesterday, I implemented the example and it works correctly when starting each of the following Office 2003 apps from the quick launch bar: Access, Excel, Outlook, Powerpoint and Word. I ...more >>

Another (prolly silly) upgrade query
Posted by Jethro at 5/10/2004 12:52:25 PM
Hi all in my VB6 project, every function had a tidyup section at the end (approximates to the "finally" contsruct in a try..catch block). It did a SET OBJECT=NOTHING, for explicit memory release. In .NET, is this totally redundant, and I'm best off letting the compiler handle things ? ...more >>

MDIForms with log-ins
Posted by SeanPDX at 5/10/2004 12:36:06 PM
I have seen it done before but I forgot the systax. How would you have a log in form, show the mdi form, and keep the MDI loaded until the user wants it closed. I don't want to show it modally but I also don't want to load the MDIForm before I know who the user is. It was something about checkin...more >>

Combobox with oracle database
Posted by Antoine at 5/10/2004 12:31:12 PM
Hi I try to fill a combobox with a dataset. I see the data in the dataset, but when i try to bind this dataset with a combobox. The list is fill only whith this message "System.Data.DataRowView". That was my code, can you help me. Thanks! Tr 'Create connection object ...more >>

How many man-hours were used in creating .NET 1.0?
Posted by anon at 5/10/2004 12:10:02 PM
Does anyone know how many man-hours were used in creating .NET 1.0? I thought it would be an interesting statistic to know. Thanks. ...more >>

Adding a Progressbar (while loading a Form)
Posted by Lars Netzel at 5/10/2004 11:42:27 AM
In my MDI parent form I choose to open a Child thru a MenuClick... I want a progressabar to show up and progress allthru the loading of the new Child Form.. and then when it's done I want the progressbar to disapear and the child so show up. Sometimes there's a lot to load in these child windo...more >>

Force UpperCase in DataGrid
Posted by OHM at 5/10/2004 11:35:09 AM
Hi Guys, I wouldnt normally ask for help on this but Im really strapped for time. Does anyone know how I can force characters in a DataGrid cell to uppercase as they are typed. Cheers - OHM ...more >>

Capturing file attributes
Posted by JH at 5/10/2004 11:09:58 AM
I am scanning selected drives and computers and capture all files and their attributes. I am using the scripting file system object. It takes a long time to collect the attributes. Is there a better and faster way of capturing file attributes of all files in a selected drive or computer. Creat...more >>

How to check if Graphics object is Disposed
Posted by SamSpade at 5/10/2004 10:52:32 AM
Public Function PicCreateGraphics() As Graphics 'Client should dispose this PicCreateGraphics = Graphics.FromImage(mDocumentImage) mPicCreateGraphicsSaved = PicCreateGraphics 'Saved so I can later check to see if it is still valid End Function Probably should be a Propert...more >>

controls, resolution, and screens
Posted by steve at 5/10/2004 10:15:27 AM
i've got a form that i'm adding controls to dynamically. i'm doing development on a laptop and testing different resolutions. the screens look fine at each res. being tested. however, when i install the app on a different pc (desktop), the controls are out of alignment, some are even off the scr...more >>

Question on using "Property"
Posted by Gary at 5/10/2004 9:58:45 AM
Hi, In the program below, C = A+B, and the aim is to delay the calculation of C until the user asks for C. The boolean mUTD (UpToDate) is used indicate when Calc() must be run to make the C = A+B calculation before C is returned to user. When the Driver program at bottom is run, the beh...more >>

Registry Values
Posted by MadCrazyNewbie at 5/10/2004 9:48:19 AM
Hey Group, Im trying to load up some registry Values and display them in Text Box's: Here is my Code: Dim RegKeyRead As RegistryKey 'reset the resulting textbox txtNetworkDevelopmentPath.Text = "" txtLiveLocalPath.Text = "" txtLiveNetworkPath.Text = "" ...more >>

Sorting in datagrid
Posted by DKC at 5/10/2004 9:08:26 AM
Hi, Using VB.NET. I have a datagrid having a strongly typed array of objects as its data source. The data from the array of objects is displayed by means of a table style, which is fine, but I cannot sort the data when I click on the column header. I have set the tablestype.allowsorting = ...more >>

Use VB.net to run a Access 2000 module
Posted by peter NO[at]SPAM mclinn.com at 5/10/2004 8:37:45 AM
Is it possible to have vb.net open up an access db and run a module? Does anyone have any sample code?...more >>

Treeview and keys. Please help; I've been frustrated on this one for a long time
Posted by pmcguire67 at 5/10/2004 7:11:04 AM
There has been a lot of discussion lately about extending the treeview control to allow finding a node by key rather than by index. Everyone seems to agree that a hashtable is needed to accomplish this. Also, there is a KB article (http://support.microsoft.com/default.aspx?scid=kb;en-us;311318) pu...more >>

re:How do I make a Button "active" for the Enter Key?
Posted by felechaji NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/10/2004 6:00:12 AM
Maybe it's something that works on webpages but not in a .net Form application? ...more >>

re:How do I make a Button "active" for the Enter Key?
Posted by felechaji NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/10/2004 6:00:11 AM
I just tried adding a Handler to the password textbox, so when you enter the textbox it calls Loginbutton.Focus(), which set the Button to clickable with Enter, but then I couldn't get the password into the textbox, because the Button has the focus. shot myself in the foot. ...more >>

How do I make a Button "active" for the Enter Key?
Posted by felechaji NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/10/2004 6:00:10 AM
I'm something of a rookie at .Net. I know I can set TabIndex for controls in a GroupBox, and tab my way over to a button so it's "Active" and will be clicked by hitting the Enter key. But isn't there some way of setting it to the same state? I've built a very simple login for a tabpage in a ...more >>

navigating win forms
Posted by PeteSmith at 5/10/2004 4:46:02 AM
I have an application with 2 vb.net forms and an Excel Spreadsheet. I am struggking to get the navigation betwee the forms to work properly On startup frmMain is loaded. This frm has a button to open XL and direct user to correct area of ssheet. It opens a secon vb.net frm (frmNav) to assist navi...more >>

get index of combobox (compare text)
Posted by Niels at 5/10/2004 4:26:35 AM
Hello, I'm trying to get te index of a specific text in a ComboBox. The ComboBox is filled by searching for filenames in a directory. The text of the last item selected in the ComboBox is saved in a textfile in the OnExit Event of the Mainform. While loading the Mainform I want the text t...more >>

dynamically fill a selectbox
Posted by Stefan Richter at 5/10/2004 3:00:44 AM
I would like to fill a Selectbox dynamically. I am taking all values from a db, and fill them into a selectbox. I guess the best way was to use some kind of a dynamical array, where you don't have to say how many elements it will contain. In Java there exists special containers to achieve that,...more >>

Retrieve Information from Setup Application
Posted by Connull at 5/10/2004 1:26:04 AM
How do I retrieve the Customer Information and Serial Number used after my Application has been Installed (as per Visual Studio .NET splash screen)...more >>

Fetching from FoxPro tables and updating SQL server tables
Posted by Sarah at 5/10/2004 1:11:03 AM
Hi I am using vb.net Is it possible to fetch data from foxpro tables (vfp8) and update tables in sql server 2000? The table structures of the foxpro tables are different from those in sql server. Depending on the data fetched, I would like to update relavent table columns in sql server. How can ...more >>

Some questions about eCommerce and ASP.net.
Posted by Miguel Dias Moura at 5/10/2004 12:55:42 AM
Hello, in 2 months i will create an eCommerce web site in ASP.net. I have been creating web sites in Flash, ASP, ASP.net and PHP for quite sometime. However i never created an eCommerce web site. So i have a few questions: 1. How an eCommerce web site works? Where can i find some informat...more >>

Progressbar in listview...
Posted by George L. at 5/10/2004 12:41:29 AM
Hello, is it possible to add a progress bar as a subitem in a listview? I want to present the progress of a download similar to a p2p program. Any other suggestion? I tried with GDI+ but with no success. Thanx... ...more >>

Code pages
Posted by J M at 5/10/2004 12:34:12 AM
Hi, I'm working on a program that writes data to a DOS-file (a file that is to be read by a DOS-program), thus using codepage 437. When writing to a binary file there was no problem at all, I just used GetEncoder(437) to write the byte arrays to the file. But I also have to write to a sequent...more >>


DevelopmentNow Blog