New SQL Table Value Won't Stay
May 21, 2012
I am new to dealing with SQL Express DB tables. I have a Windows application that gives the user a textbox that is bound to a value in my dataset (ds) which reflects my SQL table (Specs) field. The user can change the numeric value of the textbox and I can see by setting breakpoints that it created the new value in my dataset (I used MsgBox(Ds.Specs.Rows(0).Item(10) to determine this to be true). However, when I open the application back up, the OLD value appears again in the text box. It is like my dataset is not updating the SQL server table.
Again, I am new to SQL tables and allowed the wizard to create all my insert/update/delete statements which appear to be in place. Any idea why my values won't stick?
View 2 Replies
ADVERTISEMENT
Sep 7, 2009
I have a document with 3 pages and with VB I always insert text in page 1.
The problem is that the text in page 2 always goes down when text in page 1 is inserted.
My question is: How can i do to make the text in page 2 always stay at the top of the page, and if it haves too, move down one page but always staying at the top.
View 2 Replies
Dec 29, 2011
Basically what it does is - you can mark a section of the screen and it creates a preview window for that section and keeps it on top of all other windows. I want to make a similar thing, for 3 reasons: 1. I can't use third party software in my office PC, 2.I can't afford it, 3. It will be an immense pleasure to create something useful, which I can share with the community.So, I was wondering, what would be the way to go about it.se dot net (probably VB.net)make a frameless windowet it to stay on topcreate a context menu to exit
View 1 Replies
Mar 3, 2009
My application is an Touch Screen HMI to operate some machinery using VB.net 2008. I am trying to get a button to activate code while touched then other code when released. I have experienced HMI's where when a button is pressed then slide finger out of focus the button stays down. This is what I am looking for.
View 5 Replies
May 4, 2009
When I am on my modify page and you scroll through the records with the Binding Navigator, somehow the previous records data stays on the screen and puts it into the next data. Now this only happens on my one screen with 2 combo boxes. How do I get my information to stay put so that users don't have to worry about scrolling through multiple records and screwing up the data?
View 6 Replies
Jan 14, 2011
I'm trying to get my splash screen to stay up for more that a second.I have used the code suggested by the book I have, the problem is that the book isn't specific about where the code goes.
I'm using the SplashScreen template. I've added the code in various places. Either the code will delay the splash screen from showing, then it flashes up for half a second, or the code will do nothing.
[Code]...
View 2 Replies
Mar 29, 2009
Like Say If I was Playing Halo..and I wanted my Program in Visual basic To stay on Top Of The Halo Game ...how would I do that.
View 4 Replies
Jun 5, 2012
I have a problem where a form is loaded but the control does not stay with it and control of the previous form continues.
The code below loads the search form:
'frmBookingForm
Private Sub btnSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSearch.Click
If txtAccountNo.Text = "" Then
[code]....
why the control does not stay with frmsearchForm.If it was VB 6, I would have used VBMODAL to keep control.I am using VB2008 Express
View 3 Replies
Mar 5, 2010
I have made a program with a main Form and several auxilary forms. Is it possible to modify the auxilary form in a way like a msgbox. It stays always in focus, and you cannot interact with the main form. What I did find was the Form.enabled (True or False) method, but then the main form completely greys out, but I don't like the way it looks.
View 1 Replies
Mar 18, 2010
With that program, it has extra dialogs within it. They cannot be scrolled out and stay topmost while the whole app is focused. How can I do that?
View 1 Replies
Dec 16, 2010
I'm planning to create a standalone problem that triggered by scheduler.When the program is triggered, I would like the program to stay on top all the time, even though user clicks on other programs.
View 4 Replies
Feb 3, 2010
I'm making a loginsystem and I want the form that I'm making it in will keep focus so if the "user" try click on another program there is running my form will take focus again, so the user cant get into the other programs there is running.
View 3 Replies
Mar 26, 2009
im using VS2005 and when using a tab control on my windows mobile 5 pocket pc emulator im creating a design but im unsure how to get all my radio buttons,textbox's ect to stay on only one tab? so when clicking tab 2 ect the next tab is clear ...
[URL]
View 1 Replies
Jun 1, 2007
I've written a VB . Net 2003 Application.Same Application on various pc's works the same in most cases BUT occasionally on some laptops the controls will resize themselves for no apparent reason.Say I have a picture or tab control with multiple items on it on a form.Some laptops when my software is run will shrink these items to a smaller size for no apparent reason even though my program forces the size of the object to say 400 x 300 or 600 x 400.How can my application detect this issue and scale the object to the right size OR prevent this issue in the first place?
View 6 Replies
Oct 15, 2011
im looking for code that will let me keep a form on top with in my application, Like form2.vb will stay on top of my form1.vb, How can i do this i searched the forum and could not find what i was looking for.
View 1 Replies
Feb 19, 2010
I have a Tab control and placed a toolstrip bar on a tabpage. It was working fine staying on top of everything else. But now for some reason the toolstrip gets hidden behind the tabpage.The only thing I can think of is make a new toolstrip bar but that will take a ton of time and frustration since I will have to manually redo the toolstrip buttons and labels, ect.. Plus I will have to go through and manually change the codes for each controls event.So is there someway to get the toolstrip to stay on top like it should? I also tried a toolstrip container but that was a no go as well.
View 1 Replies
Feb 14, 2010
I am working on this project, as I am trying to set the control of 'lbl' to stay visible for 7 seconds before they will fade out.
Here it is the
Public Class Form1
Private Const FADESPEED As Integer = 20
Private Structure FadeLabel
[Code]....
When I debug the project, the control of 'lbl' will fade out without stay visible for 7 seconds. How do I set the control of lbl to stay visible for 7 seconds before it will fade out?
View 7 Replies
May 21, 2012
The title basically says it all. What are the main differences between .NET 4.0 and .NET 4.5 and is it worth upgrading to .NET 4.5?Jordan St. Godard |Microsoft® Community Contributor 2011
double twoCents = .02;Console.WriteLine("$" + twoCents.ToString());
View 9 Replies
Feb 1, 2010
I am using the following code to save 3 pictures. The problem is that after you save the first picture the save as dialog box goes back to the the initial settings, how can I keep it in the last position, in other words the last place the user saved too
[code]...
I thought the restore directory setting would take care of that?
View 8 Replies
Jul 2, 2010
allow label1 to stay on the form when i close it or load it?
View 10 Replies
Apr 21, 2009
Im using MDI parent form with a menu script and then the other forms will pop on the form with the same dimensions and size (for a more tidy look).My problem is that whenever i open multiple forms they move a litle down So when i open a form over an openned form it screws all the design.Theres no way of when oppening a form over a form and the new oppened form pops in the same position as default? (same size and position so the design wont get screwed).Even if i close the previous form and open a new form the position stills go a bit down and the design gets screwed again )
View 1 Replies
Aug 2, 2010
I have a DataGridView in which one column has data that the user needs to align by adding spaces. For example, the first two rows might contain:
kumbu
kuimbiu
And the user needs to be able to line up the letters that match by adding spaces. Something like this:
ku mb u
kuimbiu
Now in order to do that with the DataGridView, the user must enter edit mode in the top cell, add spaces, hit enter, re-enter edit mode in the bottom cell, and then add spaces. Our users would like to be able to, while in edit mode in the top cell, hit the down arrow and advance to the second cell while staying in edit mode, saving clicks or F2 hits.
Is there a good way to do this? I have tried trapping the down arrow key press, leaving edit mode, advancing a cell, and then entering edit mode with the grid's BeginEdit method, but this does not do what I want.
View 1 Replies
Sep 29, 2011
As you can see thats a properties window for an object, but is there a way to customize the properties, so that everytime I create a new project some custom values stay the same?
View 4 Replies
Apr 28, 2010
I have an application with a "filtered" DataView. The Dataview is bound to a form through a CurrencyManager. The problem is that when I add a new record using CurrMgr.AddNew(), and then use the CurrMgr.EndCurrentEdit() before saving the new record, the currency manager will point inmediatelly to the last record. How can I ensure the currency manager stays in the new record?.[code]
View 4 Replies
Dec 20, 2009
How can I make a button once i click it to stay latched and if i click it again it will drop then if i cleck it again it will latch and so on?
View 2 Replies
Mar 31, 2011
Ho can you make a dynamic label stay right justified, so that when the label.text is filled the text starts at the right edge of the label and fills to the left? Currently the text fills to the right from the left edge of the labels location and tends to run off the form.
View 1 Replies
Jun 18, 2009
While using SelectionBullets in a RichtextBox I am experiencing some issues with FontColor and the SelectionBullets Color. For example I am selecting the entire text in the RTB and set it to FontColor Yellow - the font color itself is fine; the problem: some Bullets turn Yellow, some stay black. Would there be a way to have those Bullets permanently colored in black?
View 1 Replies
Jan 17, 2010
Here's the thing. I play EVE online, and I want to use my second monitor while having eve stay fullscreen on the primary.Currently, any time you click the second monitor, and EVE loses focus, EVE minimizes itself. Can I make a utility that forces the game to stay maximized at all times?
View 3 Replies
Oct 2, 2009
I have a app with two functions. The first function use http post to log into a website. The site gives a cookie once I login, and the function have CookieContainer() to catch the cookie and then it proceeds to update my profile. I then use a second function to visit a different specific page on the website so I can grab/scrap the specific page's source code, but it appears that the script is no longer logged into the site. I see source code for a login form instead of the target page's source code. So the cookie must not being kept for the second function to be able to grab the target page source.
View 1 Replies
Aug 22, 2009
How can I make a form stay above a game? Something like a D3D/OpenGL game
View 12 Replies