Is the FolderBrowserDialog part of the V1.1 framework and not V1.0? I can't seem to find it and I'm using V1.0.
Is it possible to use the V1.1 framework with Visual Studio 2002?
To see the real error, replace the line
MessageBox.Show("Microsoft Word must be installed for Spell/Grammer Check to run.", "Spell Checker")
with
MessageBox.Show(COMExcep.toString)
I'm also using the 1.0 framework, but I'm pretty sure the ListView.SelectedIndexChanged hasn't changed in V1.1.
When I run the code in the above post, with the listview's MultiSelect property set to true, I do get the same results. The thing here is that a listview, with the MultiSelect...
RoguePoet01,
The Left and Right string methods are still in VB.net, they are part of the Strings class.
From VB6 to VB.net, str = Left("Test String",4) becomes str=Strings.Left("Test String",4)
This is the new object oriented way of doing things. Since there may be...
Rsx02,
As a simple solution, replace the single quote with two single quotes:
dv.RowFilter() = "First_Name = '" & Me.TextBox16.Text.replace("'","''") & "'"
It is important that you know about SQL injection. Here is one of the many articles on the net...
The SelectedIndexChanged event occurs in single selection ListView controls, whenever there is a change to the index position of the selected item.
In a multiple selection ListView control, this event occurs whenever an item is removed or added to the list of selected items.
If you need to...
The stock NotifyIcon doesn't have this ability, but there are many free components available for download.
here's a couple of links:
http://www.dnzone.com/showDetail.asp?TypeId=3&NewsId=334
http://www.codeproject.com/cs/miscctrl/taskbarnotifier.asp
Or you could create your own. I had a look...
try this:
Label1.Font = New Font(Label1.Font, FontStyle.Bold)
To turn it back to regular:
Label1.Font = New Font(Label1.Font, FontStyle.Regular)
-Stephen Paszt
Speaking of the keyword search,
I've done searches for keywords on subjects that I knew I had just read a couple of days before and received no results.
To double check, I entered a title from a recent post (knowing for sure that it exists) and also got no posts.
Just now, I entered "Set...
Oh, I see. Try this:
Dim wctrl As System.Web.UI.WebControls.WebControl
For Each wctrl In Me.FindControl("Form1").Controls
If wctrl.ID = vDataRow("ItemName") Then
'set controls properties
End If
Next
-Stephen Paszt...
CType Function - Returns the result of explicitly converting an expression to a specified data type, object, structure, class, or interface.
CType(expression, typename)
expression - Any valid expression. If the value of expression is outside the range allowed by typename, an error occurs...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.