|
Tool tips I want to show a bit of data on a form as a tool tip text, to avoid cluttering up the form. I am using SetToolTip for a text box. tipNotesMoved.SetToolTip(ShowPatient.txtNotesTracking, strNotesMoved) I want the data to change from patient to patient, and according to MSDN, SetToolTip will allow this. ... 22 Feb 2005 09:29
DataBinding Hi All, I am databinding a DataSet field with a text box, which works fine, the syntax I am using is as follows txtTextbox.DataBinding.Add("Text",dvDataView,"Field") However, when I do Debug.Write(txtTextbox.Text) it come's up blank Any ideas. Thanks in advance Dave ... 17 Feb 2005 14:09
Read Key of a Collection Object Item I have a collection. I am looping through the collection using a FOR EACH. Is there a way to access the Key from the current item? This code obviously does not work, but I am providing it to illustrate the value that I am trying to get. Dim MyCollection as New Collection Dim objItem as Object FOR EA... 17 Feb 2005 21:49
VB.NET Equivalent of C++ RegisterHotKey I'd like to implement a hot key in my VB.NET application. I've seen a sample of C++ code that used the 'RegisterHotKey' and 'UnregisterHotKey' routines. Are there VB.NET routines that function like them? Any VB.NET code samples or web sites about implementing hot keys would be appreciated. Thanks. Randy ... 3 Mar 2005 12:40
New Value added to Combo is not visible Hi, I have a databound Combo Box where I'm adding a new value to the database on the Click of the button. I'm able to see the ComboText and it is writing to the database. But when I do a refresh on the Combo I'm not able to see the added value in the Combo. Please assist. Below is the code where I'm adding ... 16 Feb 2005 11:52
Load large files I am trying to load large flat files; > 250 MB. What is the best practice for this? I have already read through everything I could find on Google, to no avail. I have a SQL DTS process that will load the file in about 7 minutes. My code takes about an hour. Here is a snippet: Dim objSR As Strea... 16 Feb 2005 12:23
MsgBox formatting. I have about 20 MsgBox occurance in by program, which I use to inform the user of the progress of the program, or ask confirmation of an action, or simply to act separators to various parts of the program. They all vary in size and shape depending on the text length. To make the looks of the program more con... 22 Feb 2005 11:38
Image from SQL to PictureBox I have a column named "PictureImage" in a SQL database defined as datatype=image. It has a Bitmap picture in it. (I verified the type by creating an Access project and a looking at the data, which access reports as "Bitmap Image".) In my VB.NET app I use the following code: Dim bytBLOBData() As Byte = Me.data... 17 Feb 2005 10:33
Writing an HTML string to an mshtml.Document Hi, I have being trying to get a grip of HTML data manipulation and am using the mshtml class and System.Net to retriver HTML pages. Now as far as I can see, one can read HTML in different ways. 1. Using the WebBrowser and loading the HTML into the mshtml.HTMLDocument class and then step through the v... 16 Feb 2005 18:31
image to byte array problems... I'm trying to convert an image to a byte array. However, when i do this something is getting changed in the bytes (contents, length, etc). I know because I'm also looking at the image bytes in a hex editor. I want the image bytes in the program to match those that i'm looking at in the hex editor. I'm not sure if i... 15 Feb 2005 17:36 |