Forms :: Check On App Startup Is Login Is Else Start Mainform?

Aug 13, 2011

I'm creating an app, with a splashscreen, loginform (just enter a name) and a mainform.With I use my.settings. Now here comes the issue I run into.The splashscreen should check (onload) if the my.settings.user contains any info, if it does, the mainform should be shown, if not the loginform should be shown. On my app settings I have splashscreen set to the splashscreen and the first form is set to login form.

[Code]...

View 11 Replies


ADVERTISEMENT

Application Startup MainForm Is Loaded?

Apr 1, 2010

I have mainFom and a subForm. what I am trying to do is application startup MainForm is Loaded

(2) in the Load event of mainForm. I am creating the SubFom and made it visible and also making MainForm disable

[Code]...

View 4 Replies

All Of Mdi Child Forms Dont Open When Start From Login Form?

Dec 15, 2011

wen i open mdi through the login form, the forms inside the mdi child forms dont seem to execute.

View 2 Replies

Windows Forms: LoginForm And MainForm?

Jun 14, 2010

Currently, I have a LoginForm that authenticates a user and it works fine. I have a MainForm, which is displayed if a valid username and password is entered. I have done this by using the following code in my LoginForm:Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles

[Code]...

Now this does exactly what I want except I fear it's a work around and it's not the best approach. Also, note that I am using Me.Hide() to hide the LoginForm, is there a way to show the MainForm and then close the LoginForm instead of hiding it? Doesn't Me.Hide() call creates an overhead?

View 7 Replies

Forms :: Enter Login Details Login Page Just Refreshes Itself And Login Wasn't Proceed?

Dec 13, 2010

I had a problem with WebBrowser component. Basically, it works improperly when try to log in on one web-site (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site). I am working with Visual Studio 2010 Professional. I created a simple WebBrowser trying to access the indicated web-site. The problem begins. Well, the website loads, but when you go to the login page (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site) and try to log in, it doesn't work. I mean, when I enter the login details the login page just refreshes itself and the login wasn't proceed. The same login page appear with every login attempt. The is the current problem!I check with Google, it works. But, it doesn't work with Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site! Why?

View 14 Replies

Forms :: Close Form - App With Vb 2010 Which Holds A Mainform

Oct 24, 2010

I've made an app with vb 2010, which holds a mainform. On it is a menutoolstrip with button, when I click on that button a second form is opened on a second monitor and the button is being checked (different color).

When I click the button again, it is unchecked, but the form on the second monitor is still open, while it should be closed.

Here is the code I use:

CODE:

View 1 Replies

Getting An Application To Start On Startup?

Nov 21, 2010

I want A application that im going to make in VB.NET to load on Startup. I found a few topics on Windows Service for creating a start up service but then I read that you can't use it to load up a form. So there must be a way to have your program load on a computer when the user turns on or log's in at startup.Thing is, this application is going to be installed on many computers and people wont like having to remember to run it.

View 11 Replies

Start The Application On Startup?

Jun 1, 2011

With my new ventures in VB, I wondered how I can allow the user to start the application on startup if they wish. Where when the checkbox for it is checked, it will launch on startup. And when its not checked, it is normally launched. (e.g. Windows Live Messenger)

[Code]...

View 11 Replies

Auto Login - Check If The Login Was Succesfull And Report It With A Msgbox ?

Feb 27, 2009

I'm making an application for a website and it's going to be used by multiple people.The application will open up a site in webbrowser, use HTML ID to fill in textfields and then it will press "Logon"The problem is, in my application i need to tell the user if login was succesful or no.I couldn't do it with URL string because:

The login page is [url]....for example once they are logged on they will get [url]......But the ID for everyone will be diferent.How can I check if the login was succesfull and report it with a msgbox or in a log/listbox "login succesfull" or "login un-succesfull"

View 1 Replies

Program To Automatically Start On Startup?

Sep 11, 2010

i am trying to make my own user authentication system after i log on with the windows authentication. I want the program to automatically start on startup and i want to enable:

NoDeletePrinter : Disables printer deletion
NoAddPrinter : Disables printer adding
NoRun : Removes run from the start menu
NoSetFolders : Removes folders from the Settings option on Start Menu
NoSetTaskbar : Removes taskbar settings

[Code]..

Because i dont want someone else to just delete or tamper with the files that my program made to authenticate me. After i enter my credentials in my program and they are correct i want to disable these. I am using Visual Basic 2010 Express and my computer is Windows 7 64 Bit Home Premium.

View 7 Replies

Force Prompt For Windows Login On WinForms Startup?

Dec 9, 2008

Is there a way to force the Windows Login prompt, just like in web applications, in the startup of a WinForms application (see attached image)?I'm creating a WinForms app that is going to use NT Authentication, but some machines in the company are shared, and logged in with a common login account.I don't want my app to run under the Identity of the common login account. Rather,I want to use Impersonation and prompt for the user to enter their actual domain account name and password.Googling for this in the context of a WinForms application has produces curiously useless results so far.

View 1 Replies

Automatically Start Application On Windows Startup Or Load?

Sep 7, 2009

How can i automatically start a vb.net application on windows startup or load?

View 13 Replies

Forms :: Startup A Second Windows Forms Inside The Parent Form?

Aug 26, 2010

I would like to know if its possible to start up a second windows forms inside the parent form. Ex: A button is pressed and a new form is showed. I would like to keep that new form inside the parent form, and have it not be able to go outside the parent form.

View 2 Replies

C# - Placing A Shortcut In User's Startup Folder To Start With Windows?

Aug 2, 2010

I wanted to give my user an option for "Start with Windows". When user check this option it will place a shortcut icon into Startup folder (not in registry). On Windows restart, it will load my app automatically.

View 1 Replies

System.Diagnostics.Process.Start Won't Work In Startup When Supplied User Account

Jan 31, 2011

I have a vb.net 2008 application that is supposed to run at startup. After meeting certain conditions, the PC is supposed to restart. Below is the code that is failing:

System.Diagnostics.Process.Start("shutdown", "-r -t 00 -f", myUsername, myPassword, myDomain)

myUsername and myDomain are both strings while myPassword is a SecureString. The application works properly when execute manually, but give the following error when executed from startup (either by placing in the startup folder or by adding to the registry):

The directory name is invalid

Also, the program executes properly when the last 3 arguments are left out and the user has the necessary rights.

How do I force a restart using an specific, alternate user credentials on startup?

View 1 Replies

Forms :: MDIContainer Inside Another MDIContainer - MainForm For My System ?

Aug 30, 2010

I have One MainForm for my system. This MainForm is MDIContainer. From that form, i call other forms that are MDIContainers too. So, when i try to open one of this childForms from the MainForm

frmMain is GrandParent form
frmSub is Parent form
frmChild is child form

frmSub.MdiParent = Me // Me is the frmMain which is the Grandparent form
frmSub.Show()

I get this error.

Form cannot be both an MDI child and MDI parent.
Parameter name: value

View 3 Replies

WebBrowser - Check If Is Logged - When The Script Submit The Login A MsgBox("The Login Is Wrong!")

Jun 13, 2011

Well this script is working partially, when the script submit the login a MsgBox("The login is wrong!") appeared, but when the page load a MsgBox("The login is ok!") appears. Why the "The login is wrong!" is appearing?

Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
If WebBrowser1.Url.AbsoluteUri = "https://steamcommunity.com/login/" Then

[CODE]...

View 2 Replies

Check If Program Was Launched At System Startup?

Feb 29, 2012

I have set my program up to run on system startup like so:

Code:
Private Sub enableRunOnSystemStartup()
My.Computer.Registry.CurrentUser.OpenSubKey("SOFTWAREMicrosoftWindowsCurrentVersionRun", True).SetValue(Application.ProductName, Application.ExecutablePath)
End Sub

The problem is that when it does start, it opens up in a window. I wish to provide the user with 4 options for what to do on system startup.

1. Don't run on system start.
2. Run and open a window.
3. Run but start minimized to the taskbar.
4. Run but start minimized to the system tray.

It's options 3 and 4 that cause the problem. If the user starts the program manually, it should start in window mode, but if the program starts from system startup, I need to check which option the user has selected and perform that option.

I was thinking of passing some sort of parameters to the program when it loads but I am not sure how these parameters could be sent to the program. One way would be to create a separate program that loads on system startup. When that program loads, tell it to load my program but pass a parameter to it to tell it that it was booted from startup. I feel like there should be a better way.

I was also thinking of getting the time of the last system bootup. Then comparing it with the current time, although this might not work if the user loaded my program as soon as they logged on.

A third idea I came up with was to use a shortcut to the exe file and check if the program was executed using that shortcut. I could place the shortcut in the folder ...AppDataRoamingMicrosoftWindowsStart MenuProgramsStartup as opposed to adding it to the registry. But would this work on other Windows operating systems? I'm using Windows 7.

Ideally, this program should be able to run on other computers, but if that is too complicated, I'd rather just get it running on mine first.

Also, in case anyone is interested, my program creates a copy of the user's files on a separate drive, although I don't think this affects what I am trying to do with checking if my program was launched at system startup.

View 8 Replies

How To Code A Check Box To Change Startup Form

Dec 20, 2009

Well on my program I made a licence that shows at the begining. So, I was wondering how do I code a check box to change the startup form?

View 2 Replies

Make A Program Start As Soon As Login?

Jul 22, 2010

how to make a program start as soon as you login

View 1 Replies

VS 2008 : Start Form On User Login?

Aug 6, 2009

How can i set the form to startup when the user logs in? Like other things start up when u log in. Like Msn and xFire.

View 1 Replies

.net - Different Startup Forms For Different Developers Using SVN?

Jul 9, 2009

My scenario is such that I have a VB.NET project in SVN and I am using the Application Framework to start the application. This poses a great problem when different developers are working on different forms and they want to have different startup forms. Right now if we change the project settings, its changed for everyone else too. How can we work around this? Can SVN have a class committed into the repository and later changes cannot be committed into it? (more like ignoring a file but with a initial copy in the repo)

View 2 Replies

Getting Multiple Startup Forms?

Mar 27, 2009

I'm using Visual Studio 2008 in vb.net. When I run my application both forms display even though I have a startup form selected in my application. If I select the first form I created the correct window is displayed, but when I select the other form to be my startup both are displayed.

View 3 Replies

Load 2 Forms On Startup?

Apr 16, 2010

Is there a way I can load 2 forms on startup, but immediately hide one of them? I want to load both initially, so that there is no flicker the first time when the second form appears.

View 4 Replies

Startup Forms And Constructors?

Mar 5, 2012

I was able to narrow down a problem to a certain point. I was hoping for an explanation or some light shed upon it. I went to Project/Project1/Application/Startup Forms. I found that when I included a "New" constructor in the form I wanted as startup, the form became unavailable for choosing as a startup form. I do not quite understand this because I noticed from work in another document that the form I want (call it StartupForm) actually has a basic "New" construction with no arguments, so that is why I do not understand quite what is happening here.

[Code]...

View 1 Replies

Forms :: Thread And Updating Forms - Set Options And Start The Encode By Spawning A New FFMpeg Process

Sep 21, 2010

I'm working on a website where we'll be getting a lot of videos to be uploaded. To keep things simple and secure, I'm just writing VB.net windows app to suck all the files in a directory in, allow you to set some options, and start the encode by spawning a new FFMpeg process.

[Code]...

View 5 Replies

Restrict Windows Service To Start After User Login?

Apr 20, 2012

I have developed a windows services that Log On As "Local System" account with Statup Type "Automatic". I understand that windows services starts before user logins. But I want my service to start when ever user logs in.

View 3 Replies

.NET Windows Service Randomly Stops And Will Not Start Due To A Login Failure?

Sep 24, 2010

I created a service which monitors a few servers and file shares for exchange. Written in VB.NET 2.The service is installed and running fine(ish) but randomly and without any warning or entries in the event log it stops.Upon noticing it stops (the web front end that it generates stops working) we have to manage ther hosting server to attempt to start it again.If we simply try to restart it, it fails to start with a logon failure.

View 1 Replies

All Project Forms Not In Application > Startup Form Combo Box

Jun 3, 2011

I am wanting to change my startup form for my application in Visual Studio for VB.Net. I double clicked "My Project" in the Solution Explorer and then clicked on the Application tab. For some reason I only see 12 forms out of the 6 forms I have in my project when the "Enable Application Framework" check box is True. When the check box is False I see all my forms, why?

View 9 Replies

VS 2010 Forms Startup Position To Be Right Side Of Users Screen?

Nov 8, 2011

I have my main form which will have the option to hide itself and open up a mini version. I would like this mini version to start at the top-right of the users screen.I have went through other posts and understand that you can set distance from top-left.

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved