VS 2005 Fast Showing Of Form?
Jun 26, 2009
Showing of my forms is somewhat slow, I am thinking of loading them when the app is started but I am worried it will take too much memory. What other means can I do to make the showing of the form faster?
View 8 Replies
ADVERTISEMENT
Dec 2, 2008
I have a Setup form that calls the main form after the user clicks on a button. This works fine in VB6, but in VB.Net, the original form either hangs around if I call the new form with .ShowDialog() or the new form exits immediately if I call the new form with .Show()...
View 1 Replies
Aug 19, 2010
I have a menu which when clicked will load form which take quite sometimes (although not very long) but the user keeps on clicking the menu and so the "not responding" message appears on the title bar of the app. I am thinking of displaying "Loading....Please Wait" so that users will stop clicking the menu or will wait until the loading of the form is completed. I tried these code but the form is still displayed even if form has loaded completely. [Code] I like to use the same concept also when the user clicked the save button, to tell the user to wait while changes are being saved.
View 36 Replies
Aug 2, 2009
I have text file which contain the 15000000 Rows with the Comma delimiters..i want to import that file to SQL Table Through VB.net(2005) With 1000 Rows per seconds. Is that Possible through VB.net
View 2 Replies
Feb 5, 2010
What is the fastest way to receive TCP (with 'read') and update a form with the data?
A background polling thread seems to messy.
But is there a TCP receive/read event that can be added to the form, so that the form can pick up the incoming data to display it?
View 2 Replies
Jan 15, 2012
im using krypton free toolkit and we all know the speed is not good?i should try and code in diffrent ways using more apps to do small stuff taking more load of app but just an idea?
View 1 Replies
Apr 27, 2009
I make a program upon sending emails to my friends using smtp. The problem is that I have confusions why my another form will not show until it is not finished sending all of the messages. I want my next form to show how many percent were finished but the problem is that my form will show only until all the emails are sent on my listbox. I put my code on the load event of the for
View 5 Replies
Feb 18, 2009
I am currently utilizing the StatusStrip and a form which auto-close after a second or two, is there other funkier way of showing some status like if a save has been successful or not? For exceptions I am already using ErrorProvider.
View 3 Replies
Oct 18, 2011
i am working on Scrollable form, when i am trying to print this form with PrintForm object its printing only the showing part not all the form this the code which am using. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Me.PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable) End Sub
View 7 Replies
Mar 26, 2009
I want to be able to show a different usercontrol in a single container depending on a criteria, something like
Quote:
if a = 1 then
show usercontrol1
else if a = 2 then
show usercontrol2
etc
I could add all of them at a time and just tweak their visibility per each case but is that the best method for such task?
View 2 Replies
Jun 5, 2012
I'm developing a windows application using vb.net (VS 2005 and windows XP) I've set images (transparent png files) to buttons.I do it importing images into the resources of the project I could do it for most of the buttons of this project, but today I noticed new images I set, not showing in run time. In the development form I can see all images on buttons, but when I run the application, buttons with new images are missing. This happens to the new images I import and set as button images. I tried few times new images I set are not showing.
View 18 Replies
Nov 9, 2010
I fear that there is something obviously wrong with my code, but I have come across a situation where the Form.Load event is not firing when I create and show my form. The form is not subclassed (as I've seen some problems with that in some searches), and I am not getting any errors thrown when I step through the code in the debugger.
I have a break point set on the IDE-created form load function (which does have the Handles MyBase.Load signature suffix) but the breakpoint is never reached and the form does display and work.The form is passed three arguments in the constructor but the IntializeComponent() function is called before anything else is done.
[Code]...
View 8 Replies
Dec 2, 2005
I open a form using .showdialog and load some info onto it. I have code that runs on the MyBase.Load event. Basically, I have a Try, Catch, End Try block and if the Catch executes in preparing my information, I want the form to stop loading i.e. give a message and not show at all.
View 20 Replies
Jan 20, 2011
I have ComboBoxes on my form that have two functions.Editable / AutoComplete - SuggestAppend Non Editable. If the ComboBox is not editable, I am looking to set the SelectedIndex = 0 but not to set any SelectedIndex if the ComboBox is editable/AutoComplete. I have the following in my code and all the values are right; however, all ComboBoxes are showing a default item regardless. Any ideas? [Code]
View 3 Replies
Sep 5, 2009
How do I show a continuous time stamp on a label in windows form.
I am using vs.2005 - vb language
View 2 Replies
Feb 1, 2009
I have created a series of custom user controls for a wizard interface that I am making. Each user control represents one step in the wizard and really shouldn't be used outside of the wizard. The thing that is bugging me is that each wizard step user control shows up in the toolbox of components to insert into a form.
Is it possible to hide a user control from the toolbox? Better yet is it possible to hide a user control from other classes not in the same namespace of an assembly? Is this a good approach or should I think of a different approach?
View 5 Replies
Oct 31, 2011
Why is my MDIChild form not being displayed in my MDIParent form? I want to click a button on form frmStudyResultsFilter which will then display an MDIContainer form frmCalculatedResults (maximized). When frmCalculatedResults is shown I want a small dialog modal form to be in the center of frmCalculatedResults. For some reason frmCalculatedResults will not show on top. Plus I get this error"Form that is not a top-level form cannot be displayed as a modal dialog box. Remove the form from any parent form before calling ShowDialog." Here is my code:
Public Class frmStudyResultsFilter
Private Sub btnCalculated_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculated.Click
Dim frm As New frmCalculatedResults
[code]....
View 5 Replies
Jan 19, 2012
am trying to figure out why my 2nd form is not displaying the value i recived in my first form.The code for the first form is:
Private Sub scannerOnCom_DataReceived(ByVal sender As Object, ByVal e As SerialDataReceivedEventArgs)
responceBack = scannerOnCom.ReadLine
[code].....
View 2 Replies
Aug 18, 2009
I'm sure I'm doing my login process for my app in a not so perfect way, but as with lots of things, it works. The issue is to make it work I have to use the very unpopular DoEvents thing. I would like my application to show a login screen before loading my main form. Currently I have a login dialog box with a FormOpen boolean property and an authenticated boolean property. If a user logs in successfully, I hide the login form, set formopen to false, and authenticated to true. If they cancel out, then I do the same and just set the authenticated property to false. If authenticated=false then I end the app, else I show the main form via application.run(MainForm)
[Code]...
View 3 Replies
Jun 6, 2009
I am getting this error on showing the form from another form. [code]
View 2 Replies
Oct 26, 2009
I'm currently using VB.Net 2008. The project has the "make single instance application" checkbox checked. The application works by hiding the form when the form is minimized.
[Code]...
View 1 Replies
May 15, 2011
I am making a Sport Carnival timer for a local school. Currently, I have the results go into another form that I want to get printed. I tried using the PrintForm method, but it did not work as I have to show, and have that window open to print it. This form also has graphics that I want to print too.
View 3 Replies
Jul 27, 2010
I'm trying to figure out how to set the form's location/size before calling the .show method. I figured out the location part, but still can't figure out the size part. No matter what size I set the form to in the designer, it never uses that, so I figured I would set it with code right after setting the location.
'set location before .show
Form2.StartPosition = FormStartPosition.Manual
Form2.Location = New Point(103, 449)
[code].....
View 4 Replies
Apr 19, 2011
In a Winform application, I'd like to animate the showing of a form a bit like when an email comes in and the notification window raises slowly from the bottom of the task bar.
I've got a few ideas involving timers and resize but they all seem complicated and/or clumsy so I wonder if anybody could suggest a simple way to do this or some magic function I could use to do it automatically.
I'm using VS 2005 and .NET framework 2
View 1 Replies
Oct 13, 2011
I have a form that has two buttons and a lable on it. The first button shows up and works fine (it opens a file). But the second button does not show up on the form at all. Yes, the Visible property = TRUE. I also have a second label on the screen, but it is not showing up either.
View 1 Replies
Oct 8, 2011
Using VB.Net[code]...
When textbox1.focus() at that time i clicked Control + Enter key, the formid=55 is showing instead of formid=54.
View 1 Replies
Jun 7, 2011
I have a single form called 'FolderSelector' with a label, textbox and a button.The problem I'm having is that everytime I run the application, the only thing that shows up is a blank form called 'Form1', the program runs everything it should do except to show the actual form which is really weird.Here's the code in case there's something in there that's causing it that I haven't spotted.
Imports System.IO.Directory
Public Class FolderSelector
Public Const SPI_SETDESKWALLPAPER As Integer = &H14
Public Const SPIF_UPDATEINIFILE As Integer = &H1
[code]....
View 6 Replies
Jul 8, 2009
I wrote an application with multiple forms.One form is used to show any kind of messages helpful to the user (frmMessageWindow).The user has the option to not show frmMessage Window.I would like to hide frmMessageWindowbut keep it loaded and continue to add messages to it so they will be available when the user chooses to show the form again.I use frm MessageWindow.Visible = false to hide the form and this works fine.But there is a check box on frmMessageWindow and if I check the value from another form it makes frmMessageWindow visible.
View 2 Replies
Oct 16, 2010
Something annoying suddenly happened with a text box in a self made program in Visual basic 2008. Whenever I try to run the program, this text box shows what is behind the program itself. (For example my desktop background)
Not only that, if I click on it with the mouse, the window which is behind my application will pop up in front.
I tried to replace it with a new text box and a new name, in case I'd been messing around with some wrong properties, but the problem still remained.
View 2 Replies
Nov 15, 2009
I don't know why but text that should display in a text box, ALSO appears at the top of the form, where the title would be. Here are pictures of what I mean. The first picture is before the button to display the text is clicked. The title at the top is "Surrogates (20009)". The second picture is after the button is clicked and as you can see the text shows up in both the textbox and at the top.
View 5 Replies