If your trying to reduce the following line it is easily done: If openFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then Can be reduced to: ...
I have Visual Stuido 2005 Standard. My main menu selections are: File Edit View Tools Window Community Help How do I get the Web menu to display? Thanks....
In VB6 I could have a function return a structure. In VB.Net I get an error message saying the default property could not be resolved. How can I return a...
I haven't been able to locate my copy of this book. But unless its a different version than the one I have (or had), I believe Mr. Grier wrote his own serial ...
In VB6 I could have a function return a structure. In VB.Net I get an error message saying the default property could not be resolved. How can I return a...
'This code is in a module file (*.bas) and written in VB6. Public Structure Param Dim returnCode As Short Dim sband As Short Dim value As Integer End Structure...
A bit of a puzzlement. In .NET, classes can have default properties, which must be array properties. I have included an excerpt from an online tutorial that...
Try the following changes: 'This code is in a module file (*.bas) and written in VB6. Module Module1 Public Structure Param Dim returnCode As Short Dim sband...
Is there a way to determine whether the Up arrow or Down arrow was clicked without keeping a copy of the original value and comparing it to the new value after...
The UpButton and DownButton methods of the control can be overridden. You may want to check out modifying the NumericUpDown to have the behavior that you...
I ran into an issue using Optional arguments in VB6. In one subroutine I declare the only argument as optional, but IsMissing() always returns false whether or...
Yep. You found it... Ismissing only works with variants. -BDN ________________________________ From: helpwithvb@yahoogroups.com on behalf of Steve Trigero ...
But the MS Programmer's Guide uses strings in its examples, and I've used boolean in my apps with success. This is very strange. Steve ... From: "Neiger, Bruce...
Back-In-The-Day, Bruce probably did this as well, but I was taught to always provide a default value when I used Optional Arguments, and then I didn't have to ...
Don't tell me that all Booleans are really Variants ? Bruce ? Tim ? Frank ? Adelle ? Steve ? IIRC, we can provide any type of Optional Argument, but the...
... You called? I have to admit I'm not too familiar with the peculiarities of VB on this one. The Optional keyword conflates two distinct COM concepts -...
... I did. I missed you :) My ESP is running low. I had to use e-mail :) I could not imagine that a 'switch' was going to be transformed under the hood into...
I would like to display a progress bar as I fill my data adapter. I'm not finding much in the way of discussions on how this might be accomplished and I'm...
I think I may have figured it out. I've tested it with my crystal report and it appears to work. Here's what I did. Dim strCommand = "SELECT COUNT(*) as...
This is why Optional arguments are not recommended in VB7+ (.Net) A procedure can't detect whether a given argument has been omitted or the calling code has...
I am off topic here and would like to ask two questions When I open Alta Vista for a Search I would like to have past search terms not show up in the search...
... Start->Internet Explorer->Tools->Internet Options or Control Panel->Classic View->Internet Options then Content->AutoComplete That will allow you to toggle...
... I am on XP and am using VB6. The mouse-wheel does work. Make sure in the Add-In Manager that the Add-In MouseWheel Fix has the Loaded/Loaded and Load on...
If this code will unload the form when the ESC key is pressed Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyEscape Then ...
What I was trying to do was scroll through the record set with a press of the Left arrow key or the Right arrow key I have even tried the code in the Form...
Hi Dwight, VB-6 has built-in constants for all of the keyboard keys. Something like vbArrowLeft or vbUpArrow, you'll have to check the Intelli-Sense lists. ...
I have VS.Net 2003, 2005, & 2008 installed on my computer. I want to remove 2003. But there is no Uninstall application in the 2003 directory and the 2003...
http://support.microsoft.com/kb/824642 _____ From: helpwithvb@yahoogroups.com [mailto:helpwithvb@yahoogroups.com] On Behalf Of Steve Trigero Sent: Tuesday, May...