You could provide them with 2 different short-cuts, labeled appropriately. In the Properties page of the short-cut, just add the appropriate command line argument to the end of the "target" string.
lbass
I was having a boar of a time trying to format my decimal fields to drop insignificant trailing zero's but keeping the digits if they were significant.
Your formula worked like a charm. Here's a star! Thanks!
Does anyone have any advice for this situation? I have researched everywhere I could think of. Surely someone has ran across this before....
Thanks in advance!
Hi all,
I have a form which has several buttons on it. Each button has a unique access key set in the text property. (i.e. E&xit). The access keys work fine when alt is pressed, as they should.
The problem is, that whenever any button on the form has focus, the access keys for ANY button work...
Hi,
Crystal XI...
I have a chart that is based off of a cross-tab report which counts the total of claims for each month by type.
The cross-tab looks like this:
Month HMO Traditional Total
Jan 5 2 7
Feb 2 1 3...
The reason why the app closes, is by default, applications are set to exit when the start-up form closes. There is a setting in the applications configuration file that can be changed to application exit on all forms closed.
Barring that change, you could also use your main form as the...
How about putting your Timer_1 Tick code within an infinite loop in another Sub, and then calling that sub on another thread. Then just have the thread sleep for 1 second at the end of each iteration of the loop?
Imports System.Threading
Module Module1
Sub main()
Dim timer as new...
OK, I missed the fields in your select statment. Still, Mydata will only pull the first column of your results, which is why you get "Smith".
MyDSName is initialized, but never filled via a DataAdapter. You should be filling the dataset just like you do on form2, with the line:
DA1.Fill(MYds...
I don't see anywehre in form1 where you fill the MyDSName dataset...Therefore it won't contain anything, thus the null reference exception.
As a side note, according to msdn, using cmd.ExecuteScalar() only returns the item contained in the first row and first column of the resultant data from...
Excuse my ignorance, as I'm still fairly new to VB.NET....
I want to hide my start up form while the form gathers some data from the users computer.
Why won't this work for hiding the form when the application loads?
Private Sub frmResults_Load(ByVal sender As Object, ByVal e As...
How about Regular Expressions? I'm not that good at them myself, but perhaps someone else with a little more experience could provide some insight as to if Regex might be the way to go?
Err,
got side tracked. the last line(s) of the code should be:
Return files.join()
End Function
Or you could keep the MessagBox statement if you didn't need to return the value...
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.