Yes. Some users prefer to tabbing through a screen of textboxes, some users prefer entering through a screen of textboxes.
I want the user to be able to do either. Just not sure what the method of coding is.
Thanks
On most objects placed on a form, there is a property called tab stop. In my case I have textboxes I want to tab through, The tab stop property works fine, but I havent found anything that allows me to use return in the same way as tab stop.
Can you have tab stop and return stop at the same time?
On the combobox properties.
Set the datasource to the lookup table
Set the Displaymember to the field looking up
Set the Value member to the field that gets carried to the new table
Set the databindings text to the table and field that gets the valuemember carried to.
After you get this...
Use this code to keep the same form from opening twice.
Private frm2 As Form2
Private Sub Button1_Click(ByVal Sender As Object, ByVal e as EventArgs) Handles Button1.Click
If IsNothing(frm2) = False Then
'We have to check if its Nothing, If it is and you try to "Show()" it you will...
I bumped into this download - it's a textbox that can be formatted for various items. It does dates very well. It also works on formatting for accounting numbers.
It also allows you to tab or return your way through the textbox.
http://www.codeproject.com/vb/net/cpflexmaskeditbox.asp
I want a product to help me with the following.
formatted textboxes
comboboxes multi-column and sorted
dataviews that can be used with comboboxes and lookups
Has anyone used the $495 version of the above?
Can i use infragistics suite and sell my final product without licenses issues?
In...
The code below works if you click the textbox one time, but if you click twice an amount 500,000.00 becomes 500.00
It works perfectly on the first click, just strange behaviour on second click.
LOANAMT = TEXTBOX NAME.
Any ideas???????
Private Sub LoanAmt_Click(ByVal sender As Object, ByVal...
I would try adding a new item and select dataform. Follow the wizard and hook it up to a access data table. Its a good way to see working code without much work.
As a newby to vb.net (I used access and crystal reports alot) I have found that the first 60 days can be a pain. But after that it all starts making alot of sense. I use vb.net standard, and have the developer version of crystal.
This board can be an excellent source of knowledge.
Thanks for the great link.
Just so this thread is complete, I am posting two instructions needed before the code is entered.
Step 1:
Need to have MDAC2.6 installed on the computer (VS.NET installs MDAC2.7)
Step 2:
write-click References in your VB.NET or C#.NET project, select Add...
Found good article on this
http://www.ondotnet.com/pub/a/dotnet/2003/01/27/ztd.html
The app in the article can be reconfigured to a nice datastring.
XML FILE LOOKS LIKE THIS...
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="teststring"...
Great article, but i still have problem with data connection. My error message says that it can not find datafile - do you see anything that is screwup?
This is what i am placing on the form
Dim DbPath As String = System.Configuration.ConfigurationSettings.AppSettings("DatabasePath")...
Being somewhat an newby at vb.net, I am not sure where to start on a config file. Would this be a new item you add to a project?
Any suggestions on sample code?
Thanks for this post. I modified it slighly to work with my dataconnection.
Dim dbPath As String = "\DublinFundRaising\DublinFundRaising.mdb"
AS a follow up, How can i setup a function so a user of this program can later change the database location??
I believe i need to find a way...
I have the following connection string that works, however it is hardcoded to one location for my db.
The location of my database is below.
\DublinFundRaising\DublinFundRaising.mdb"";
Is there a way to change my programing to allows the database location to exist anywhere on the server...
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.