VS 2008 Why Does Window Always Start Below Others
Jan 25, 2010
On my program I have a splash screen, which then goes to a form. For some reason, my form (not the splash screen, that's ontop) always starts up behind all the other windows on the screen. Is there a way to fix this, so it starts ontop, but its not always ontop of other windows?
View 12 Replies
ADVERTISEMENT
Aug 1, 2011
We create a window service that will launch multiple process of an application with different configuration. And application further communicate with sql server. It works fine when we start service manually from service manager. It launch all the process ( try with launching 3 process ). But when we test it by restart the machine and service launch automatically then it launch only one process third one. I check the event log in event viewer. I see the following message by MSSQL$MSSQLEXPRESS service
Login failed for user 'dduser'. Reason: Failed to open the explicitly specified database. [CLIENT: <local machine>]
one thing we also tried by delaying ( with thread sleep ) the code execution of service. Then by starting machine again , it launch 2 process , first one still not launch.
View 3 Replies
Dec 14, 2009
I want to open a command window on a remote machine. I'm using a tool called RCTRLX to launch remote process (very similar to PSEXEC) but I can't get it to display the actual window. The process is always launched hidden. What do I need to do to have actually display the console window?
[Code]...
View 2 Replies
Oct 21, 2011
im using vs to create a simple security form, i am successful to create a a form of log but i need some more improve like
1) if the software remain untouch for a minute the login form should be shown as the user try to use it again
2) and how the software start automatically when window start
View 17 Replies
Nov 24, 2010
I have a WPF app and want to start from Main.xaml which is located in a different assembly. Both assemblies are in the same location.
How can I do this? I took out the StartupUri from the XAML and tried with these and some slight variations:
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
[Code]....
View 2 Replies
Nov 18, 2009
I need to start a "Run" window(The one that opens when you press Windows+R or Start->Run) and run few commands in it from a VB.NET program.
View 5 Replies
Dec 14, 2010
I can't find anything about a Visual Basic application that doesn't open with focus I've written an application that takes the current clipboard text and changes all letters to lower case, then the first letter of every word to upper case (the first letter after a space), this is for when I download a file that I want to look neat (such as an mp3 audio file). It's output is then placed in the clipboard to be used as the filename (or text).
I've set a shortcut key (Ctrl+Alt+X) to open the application by placing a shortcut in Accessories so it runs instantly whenever I hit the shortcut combination. However the application steals focus when it runs, so as soon as it ends I lose focus altogether, and I then have to Alt+Tab and find where I was when I used the shortcut! There are 2 possibilities for my application, the latter is what I really want, but the former is OK for me:
1. I use Ctrl+C to copy, The application runs and then switches to the original focus (focus before using my shortcut combination), I can then Ctrl+V to paste.
2. The application runs WITHOUT stealing focus altogether, this way I can have the application copy the selected text for me, and replace it aswel
[Code]...
View 13 Replies
Sep 7, 2011
I have an application that gathers information from a user into a Win.Form and then uses the Process.Start() to start Notepad and then using Sendkeys write the Notepad document.Sometimes this works great and sometimes the Notepad window is not started as the foreground process and the document is not written.What is the best way to ensure that the window opened by Process.Start("Notepad.exe") is the active window for the duration of the Process?
View 10 Replies
Jan 22, 2010
How can i start The command prompt (cmd.exe) without the window showing or in the taskbar, like "hidden" and pass a parameter onto it.
NOTE: I esnt to know this for a completly LEDGIT reason.
View 2 Replies
Feb 24, 2009
I have this VB.Net 1.1 project that I have to make some changes to. There is a flag in the App.config file. If it is false, the page just loads a splash screen and runs the program normally. If it is true it first opens a login window. VB.Net is not something I've ever worked with before. I can't for the life of me figure out where the logic for the picking the startup object is. In the property pages, Main.vb is always set as the startup object, but that's not even the window that loads up when the flag is false, it always comes after the splash screen.
View 2 Replies
Sep 19, 2009
How can I move my window to a specific System.Windows.Forms.Screen?
View 4 Replies
Apr 3, 2009
I want to launch a browser session from a Windows App to load a specified file using system.diagnostics.process.start("http://www.abc.com/doc1.doc") but I'd also like to specify that there shouldn't be a toolbar etc. on the browser window. Is this possible?
View 6 Replies
Dec 28, 2011
Im trying to debug a troublesome Project. I downloaded and installed the Symbols from MS, set my Project to use the Folder where I installed them, etc. When I start Debugging, I can see at the bottom of my IDE window that it is loading Symbols at a rapid clip, until it gets to It stops, and I have tried waiting 15 minutes to no avail.
The file exists - D:Symbols
asapi32.pdb90DF78A27042428D99A8021F064506472
asapi32.pdb - 1.40 MB (1,469,440 bytes) - Created Wednesday, November 24, 2010, 12:25:44 PM
View 3 Replies
Feb 28, 2011
I have made my application to start automaticly when windows start (registry ../currentversion/run/appname + path). In this mode the application start minimized and an little icon appear in the notification icon area. With this icon you can maximize the app or exit it.If you exit the app and start it again using the Menu (Start/programs etc) than the application start in minimized mode (and in this case I would like to have it in normal mode) because the setting autostart is still true.Is there a way you can detect when the application start when windows startup using the above registry or when people click on an icon in the programs menu (or desktop)?
View 2 Replies
Mar 29, 2011
When I run project splashscreen is popup and then Logon window is run. But unfortunately when Logon window is run the splashscreen still open like maximized window and I cannot see Logon window. How to fix that problem?
View 1 Replies
Nov 20, 2011
How can I make something like this: I have now made everything in Finnish but Id like to add English too. So it must chage everything (labels, menus, checkboxes, tooltips, etc) but the contents of program is the same. And compobox isnt necessary if there is easier way to do this. I just like to have "start" window to choose language.
View 2 Replies
Nov 28, 2009
I recently installed vb express 2008 and with that download i also installed Sql server 2008. Earlier i have been working in MS Access so i have no experience in SQL server. My first problem is how to start sql server. I can see only following:
Start>All Programmes>MS SQL server 2008>Configuration Tools, Import and Export Data(32 bit)>SQL server configuration Manager,SQL server Error and Usage Reporting,SQL server Installation Centre. Moreover in Programme Files i have two folders:
1. MS SQL SERVER and
2. MS SQL SERVER COMPACT EDITION
how to start to create a database in SQL server with Vb express 2008.
View 2 Replies
Jul 24, 2011
I have custom asynchronous WebRequest class that I am testing to find out how fast the request will be cancelled and found some odd results, that starting 6 WebRequests with TPL and cancelling them right away takes 25 sec, but when I used just regular background threads it took only 5 sec.
Update: Running them without cancelling takes with Task.Start 9 sec and Thread.Start 3 sec accordingly.
Imports System.Net
Imports System.Threading
[Code]....
View 1 Replies
Aug 4, 2009
I'm using Process.Start to start an external command line application and using the StartInfo.Arguments method to send parameters to the application. I imagine I'll need to use a loop... but I can't figure out exactly how yet.I need to send anywhere from 1 - an infinite number of files names to this application. Each file has to be sent one after the other. So once the first one is done, I need to loop back around and past the second one.I can probably use the Directory.GetFiles method to get all of the files, but I don't know how to assign them.
View 7 Replies
Jul 23, 2009
I created 3 timers, i want each timer to take turn start which means timer1 stop then timer2 start, once timer2 stop timer3 start. But my code seem to be running together once i click the play button.And is there any ways to easy control how my picturebox move? Because my code for controlling it movement need to keep finding the correct number for it to move.
[Code]...
View 1 Replies
Feb 24, 2012
Visual Basic 2010 - Net Framework 4.0 Client
I have an application (application #1) running with Administrator privileges on Windows 7.
I want application # 1 to start another application (application #2) without Administrator privileges so application #2 is running as a standard user.
Is there a way to do this? I have been using Process.Start.
View 5 Replies
Jun 18, 2011
Here's what I currently have:
[Code]...
I've commented out various things to limit it to specifically this command (example, I can swap mklink out with notepad and it works fine). The command runs fine from a DOS window, but can't be found when I use it this way. I also tried using the SHELL command just to test and I get the same results. No idea why it can't be found, as like I said it executes from the command prompt just fine.
View 2 Replies
Mar 12, 2009
[code]...Cannot Start a Service After Changing 'Start' Property Through Registry
View 3 Replies
Aug 18, 2007
I am confused with the terms Build ,rebuild ,start , start without debugging in VS.NET.After writing the code what actually we want to do .We have to run directly by pressing F5 key or we have to build the solution .Usually i tried to run the application after coding and if shows any any errors i will fix that and run again .I never used build or rebuild thing .What exactly meant by building the solution .What is meant by rebuild and start without debugging.
View 5 Replies
Feb 24, 2012
How can I get my application to load the Sub Main at the start rather than loading a form on start up.
I have tried declaring 'Public Sub Main' on my forms and in some modules, yet in my project properties, it is not one of the options.
View 12 Replies
Mar 29, 2009
How can I make it so when a button is clicked it will make the program start on start-up but only if the checkbox is checked?
View 9 Replies
Dec 28, 2008
how to save user settings. i've been doing this by using a .txt file... now i want this .txt to load on the form startup so the settings will load automatic?
View 3 Replies
Nov 15, 2009
I want one of my programs to start only in one folder for example So i want Hello.exe to only start in this folder C:The Hello if the user starts the program on his desktop i want it to show an error and not start.
View 5 Replies
Apr 5, 2010
Is it possible to open another app without losing focus of the current foreground app? I have a program that will open another app and test something on it then close it, and reopen it again and repeat. Can this be all done in the back while i am typing away on another app in the foreground without getting interrupted by the new app opening and changing focus?
i dont want the new app open minimized or anything, just quietly open in the background.
I tried using process startinfo.windowstyle and that doesnt help much.
View 8 Replies
Jun 2, 2011
I know that to start a program at startup, we should add this subkey
"C:Program Files<myprogram's path><nameoftheprog>.exe"
to
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun
Alright!
But the problem is when my program has to delete a certain file in C:/ at startup, it just can't because it's not ran as administrator!
View 1 Replies