VS 2008 Starting A Website In A New Window?
Sep 27, 2009
I am using the following code
[code]...
The arguement -new is not being passed and the window that shows the website will open if no other windows are open. However, if any other windows are open, the last opened window gets the website.I have IE6 on my system. Is there any special syntax that will open a new browser window without using one that is currently open?
View 1 Replies
ADVERTISEMENT
Jan 8, 2012
I have a created window service and installed successfully. I have enclosed a exe file in service but it does not start .exe.
Protected Overrides Sub OnStart(ByVal args() As String)
System.Diagnostics.Process.Start("C:UsersDr.FazanDesktopDebugMacro Recording System.exe")
View 2 Replies
Sep 22, 2010
I have this in a VB.NET console application:
Dim p As ProcessStartInfo
p = New ProcessStartInfo(Environment.CurrentDirectory & "injavac.exe",ClassName & ".java")
Dim ps As Process = Process.Start(p)
This does run the java compiler on the file, but it does so in a new window. I want the output from javac to appear in the same console that is running my application. How can I do this? Perhaps there is another method for running commands in the current console? Or maybe I can supress the second console window from opening and redirect its output to the current console?
View 2 Replies
Jun 10, 2009
I am using the code below, but it still shows the program.For example, if I pass in CALCIt will start the calculator but show it.
Code: Public Function ExecuteFileHidden(ByVal lFile As String, ByVal largs() As String) As String Dim oSTR As String = "" oSTR += "Attempting to execute " & lFile & vbCrLf Try Dim p As New System.Diagnostics.Process p.StartInfo.FileName = lFile Dim a As String = "" For Each l In
[code]....
View 1 Replies
Nov 22, 2010
I have a game that will open four windows on the desktop using VBE2008.How do I control the starting location where on the desktop those four windows will appear when I Load (Open) the Window?
View 2 Replies
May 26, 2011
I am in need of a small application, that will allways be topmost and will send keystrokes to the last active application (typically notepad or an explorer window). My problem is retrieving the current active form (or application), when my application is started up. Every search seems to return old and rather complex solutions using Win32 library functions, but I was kinda hoping, that .Net allowed for a neater and more simple solution.I need a code example or link on how to retrieve the currently active application window from another application just starting up.
View 2 Replies
Feb 19, 2010
What Im making is like a face book and tagged login from my app
1. I have Combobox with 3 urls in there ( Facebook.com Tagged.com and Bebo.com )
2. I have a Form2 with webbrowser
3. I have a Button when clicked it should open up my form 2 and preview of the website which I selected in my combobox in form1
All I'm trying to do is when I select lets say facebook in my form 1 and click load it should open up my form 2 with facebook website in it.[code]Now when I click my button in form 1 it will load Form2 ( named Explorer1) but my form2 is not showing me facebook or tagged page for some reason
View 13 Replies
Feb 1, 2010
I've a created a website using asp.net (vb). For data I used ms access. I am developing a window application in vb.net using visual studio 2005. Now how can I access and use my website's ms access database in my window application.
View 11 Replies
Apr 6, 2009
What I want is: To scan a website every 15 mins or so, (craigslist in this case), and email myself any new posts that come up. I know I need to use WebClient, but I never used that before. Another question would be how to only email when a new post is up and not receive the same email every 15 mins.
View 2 Replies
Sep 14, 2010
I have used webbrowser control to automate the login issues(entering username/password)).ie programattically i can enter username & password for websites that requires it.But the problem is, for certain website ,credentials are asked in a POPUP window, not in the windows form. So how to enter the username/password in popup windows.
View 2 Replies
Jan 6, 2009
I am just starting to program with Visual Basic 2008. I would consider myself at a Beginner - Intermedite level of programming with VB and looking to get better. I noticed that in other language forums on this site that there were program suggestions but didnt see one here so I thought i'd ask.
View 2 Replies
Oct 20, 2011
I have an executable (EXE) that I would like to run from within my VB.NET program. I've looked into Process.Start("[PATH][EXE]"), where PATH is the path to my executable, and EXE is the name of the executable. However this throws an error, saying "The parameter is incorrect". I've managed to avoid this error with the following
[Code]....
View 4 Replies
Oct 4, 2009
Shell("CommandHere")How would I make it start CMD hidden?
View 2 Replies
Mar 8, 2010
the below code starts the correct process but the windows form never displays on the remote machine. How do I get the application to actually load.
Private Sub RunRemoteProcess()
Dim sCmd As String = "C:Program FilesInternet ExplorerIEXPLORE.EXE " & txtData.Text.Trim
' add a reference to System.Management in Solution Explorer
[code].....
View 6 Replies
Sep 11, 2010
I like to have assistance with the VB 6 codes below; a few cheeky lines dock into positions I do not mean them to be in; sorry; I am on VB 2008 Express; a few lines have errors; adjacent to them I have described what VB 2008 reports.
[Code]...
View 8 Replies
Nov 29, 2009
I am trying to set a form position before it shows but i cant get it working.Form Name: ColorCentraling.vb
I've tried: Private Sub ClickNPC_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ClickNPC.Tick
[Code]...
are 2 integers which represent a number which does not need to be explained.There i've made a DIM as the form but new! I've tried settings its location but its not possible for me.I know this is possible because: I've visited many VB.NET 2008 Programs that do this
View 6 Replies
Oct 10, 2010
Ok so my main form takes around 5 seconds to load i can't make it so that my load subs are on a seperate thread because too many cross thread calls being made besides i want a splash screen anyway i want a splash screen on a seperate thread that can update status while main thread is loading this way main thread carries the load subs and invokes status label changes in the splash form which is on another thread
this is my code
Dim SPForm As SplashForm
Public Sub LoaderSub(ByVal Splashed As Boolean)
If Splashed = False Then
[Code]...
what happens is the splash form shows and so does the main form but they both lag for 5 seconds (as if they are both on main thread) how do i make it so that the splash form loads from the new thread? I thought the way i did it that's what should happen...
EDIT: also why did code wraps failed to show proper vb code?
View 10 Replies
Dec 16, 2010
I have created a setup project that after the installation, starts the app that is being installed. To do that I have added an Installer class to the app I want to get started and I am using it's commited event to start the app (Process.Start("...myapp.exe").
While this works fine on XP, on Windows Vista the application gets started as a "System" user which makes some parts of the app missbehave i.e. retreiving special folders of the user etc...
This is the question: way to start myapp as the logged in user? Mind you I will not have the credentials of the users.
View 2 Replies
Mar 19, 2009
How can i set the starting directory for a FolderBrowserDialog.showDialog() ??
View 4 Replies
Jul 27, 2010
I�ve had a problem iwht my app for some time now. It�s very slow and above all it takes forever to startup. I�ve been adressing som issues that has to do with the database behind it.Recently I noticed that the app is starting an instance of excel, which seems to be what�s taking it so long in the starting process. The app is using access as db, and the db has some linked excelsheets. The app is also running some code in excel, but it�s starting, and terrminating, separate instances for that.The linked excelsheets are also "live-linked" to another app (third party), fetching real time data via DDE I think.
View 1 Replies
Jul 7, 2011
I have a "Please Wait..." form that I show when doing some long task. This works quite well. But I cannot seem to control the opening position of the form. Currently I am using:
WaitWindow.StartPosition = FormStartPosition.CenterParent
WaitWindow.Show()
and this is just being ignored. The window opens at random locations. If I change it to CenterScreen, that works! But I don't want it center screen, I want it centered on the parent. Can I manually set the location? I am using VB 2008 Express and the wait form is a plain windows form.
View 3 Replies
Mar 16, 2009
I just had to rebuild a PC and saved my old project files -- hopefully I'm going to be ok with a new installation. I just opened my new install of VB2008 and clicked on a project.
[Code]...
View 3 Replies
Jan 14, 2009
First of all, Hi to everyone, I'm new here..I'm currently investigating a way of doing the following and seem to be coming up with dead-ends!I am trying to create a windows service that sits in the background waiting for programs to be started. When the programs start I want to be able to check a unique bit of information for each program (I believe GUIDs may provide this) to see what the program is. If the program is not allowed, I aim to provide a warning to the user and possibly close the program. The aim of the application is to identify when users are attempting to install additional software on to the computer so simply monitoring for a certain executable wouldn't work as msiexec is called for all MSI's and as I only want to stop blacklisted programs...this wouldnt work.
View 14 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
Dec 18, 2009
I'm just starting out with VB and have downloaded and installed VB Express 2008. I'm researching and trying to wrap my head around programming in VB before I start working on any projects. I have a little bit of experience with ASP Classic so some of the syntax looks familiar, but I can't get a handle on database integration. Let's say I am creating an address book. Each installation is a stand-alone (no network connectivity). How are databases used in this situation? Are they built using VB Express and packaged into the installer or can you create them separately (using either Access or MySQL) and then package them into the installer? What is needed to read and write to these databases? Are there extra bits of software that need to be packaged into the installer to allow access to the databases?
What if this application does connect to a centralized database (let's say a MySQL or Access database on a web server). Is the connectivity handled the same way? Sorry for so many questions, but I just can find the answers I'm looking for when searching. I'm not necessarily looking for the actual code to do this, just an explanation of how it's possible (or even a link to some examples/tutorials).
View 6 Replies
Dec 20, 2011
I want that when I start a particular vb.net application, the caps lock should be automatically turned on. How can this be done?
View 1 Replies
Jul 5, 2010
I've created a Windows Service and installed it via InstallUtil so I can test it out.The installation goes seamlessly, but it will not start from some reason. When I attempt to start it, I get an "Access Denied" error and that's it.
I haven't been able to find any information via the normal channels.I first thought to give the service admin rights, but that didn't work either.
View 10 Replies
Nov 28, 2009
VS 2008 Starting a program with a chosen path
View 6 Replies
Mar 14, 2011
how to PROPERLY make a multi-tabbed or multi-window application that can handle file start requests.
For example, on startup my "Desktop Application" runs and sits there waiting for a task, either through the main menu, or for a file to display in a window. Now the problem is simple, how can I make this already running program load the dropped file (dropped on the executable (!)), instead of starting a new instance.
I understand I will have to check if the process is running, and if so, do some stuff with it. But the problem is passing the message to the active program.
Previously I used text files with paths/arguments in them, but I don't like the idea of the OS/program checking every 500 ms if a file is created in the "load this" folder...
Then I thought of sending a message using "Send Message", for example changing the text in a textbox and handle the "Text Changed" event, but is this reliable? Can any other program interfere with it?
So, basically I need the proper way of doing all of this. For example, Microsoft Visual Studio does this nicely, and no lag whatsoever...
View 2 Replies
Oct 18, 2009
I have a background worker which runs, at the start it stops a timer which has it's interval set to 500ms, at the end of the bgworker sub it starts it again. I've debugged and found out that the line that starts the timer up again (tTimer.Enabled=True) runs. However the timer does not resume. I'm don't know, but I'm thinking perhaps because I'm stopping and starting it on another thread it's not resuming properly or the sub it was attached to (via AddHandler) has been reset or something so it's running but not running the code in the sub it was attached to. If I never stop the timer in the code, it continues to run just fine, but I need it to stop at the start.
View 2 Replies