Make Code Run When The Application Opens?
Jan 28, 2010How can I make code run when an application starts instead of needing an event to happen like a button being pressed or something like that?
View 3 RepliesHow can I make code run when an application starts instead of needing an event to happen like a button being pressed or something like that?
View 3 Replieshow to make forms disappear when a new one opens up?For example, I have a log in, and after logging in, the log in form disappears and my application appears.
View 1 Repliesis it possible to make a button that when it is pressed it opens up a window i am using vb 2008
View 10 RepliesI have a few questions. first, how do i make it so that when you open your program you can not open ctrl+alt+del = task manager? second how do i make it so that a button opens a .bat file? third Is it possible to a button open multiple Internet Explorer Windows? When i try to do this it only opens a bunch of tabs? and lastly how do I make it so that when it installs on a computer it installs straight to the start-up folder without the user knowing it, or how do you make it so it opens automatically on start-up?
View 1 Repliesi googled many and many keywords and sentences but , i cant found a code that opens the default web browser and gets it a address ( address is : text1.text )
View 3 RepliesI wan't to make a button in my program that opens it when the computer starts up but how would I do that? I am using Visual Basic 2008 Express Edition.
View 4 Repliesim trying to make a program that opens multiple urls in a webbroswer box. like a url opens and after it loads that url closes and moves to the next one.
example: i have around 4 to 5 url....
[URL]
so how do i make it so after it loads google.com it moves to the next url [URL] but i wanter to do that in the same webbrower box.
I am new to VBA and looking at an application code, being developed by some one. Although I do get an over view but not entirly sure what these lines of code do, speciallyAddress(True, False, xlA1). I figured it is property but not sure how it works
ColNum2ColRef = Cells(1, ColNum).Address(True, False, xlA1)
ColNum2ColRef = Left(ColNum2ColRef, InStr(1, ColNum2ColRef, "$") - 1
I need an application which opens a table from a database(in my project) in a Datagridview. Then it allows me to modify it and save the table. I managed to do all this but when I open the database in my project( with Ms Access) the data remains the same. Why is this happening?
I have all connections working and I am using this code to save:
Me.RegistrationTableAdapter.Update(Me.ContactsDataSet.Registration)I need a reply asap if it is not a problem.
When a dialog form opens, does all code and timers stop until it is closed?
View 19 RepliesI'm running VS2005, and when I right click on an object and select Go to Definition it brings me to the object browser instead of the actual code.Is there some settings that I can change to fix this? Note: it works properly for C# solutions, I am having the problem with Basic.
View 2 RepliesI wanna know if it's possible to make an application that opens a web page and auto-click a defined text from that page.
View 2 RepliesI would like to know how to write a code for an application to make use of windows login and password to loginto application (single sign-on).
View 1 RepliesI'm using VB 2008, and I have a dual core computer.Is it possible to make a code that sends one application or program in 1 core, and other application in the other core?
View 1 RepliesI'm trying to make an application that would give me the source code off a web page. But so far I have nothing.
View 39 RepliesI've had a search through a number of extremely useful articles on the forums, however rather than reinvent the wheel I thought I would ask if anyone already had what I am looking for..A simply little VB app that opens a session to a specific IP port and then writes to a test file everything it receives. If the connection drops, simply re-stablish it and keep listening for text to write to the file.
View 1 RepliesHow can I make the main form grey out/translucent black when a new form opens on top?
View 8 RepliesHow do I make a program that opens a file in the folder the program is stored?
View 6 RepliesThe code below opens a file in Example 1 and writes on another file only the lines that satisfy the condition If times > 4 to another file. What I want to do is illustrated in example 2
[code]...
t= 2 comes from Subtracting t= 11 - t= 9 from the script in example 1. I have scripts with thousands of lines every time the program should automatically subtract the next value with the previous one and write the result into a new file starting from t= 0
I have a question. I am creating a VB .NET application that opens Visio to do some stuff there. Visio runs a splash screen on startup and the only way to stop the splash screen from loading is to use code like:
"C:Program FilesMicrosoft OfficeVisio10Visio.exe" /nologo
"C:Program FilesMicrosoft OfficeVisio11Visio.exe" /nologo
"C:Program FilesMicrosoft OfficeVisio12Visio.exe" /nologo
For each Visio versions in the command line (but I am not using the command line).
The problem I am having is that I can't run this code from my vb .net application, because my application uses the following code to load Visio:
Dim vsoApplication As Application
vsoApplication = New Visio.Application()
vsoApplication.Visible = False
And I do not know how to call the "/nologo" feature on loading time from my code to skip the Visio splash screen.
can we make code which can make copying a file in a particular drive invalid/access denied?
View 3 RepliesI am trying to rewrite some code and I am trying to determine if I am writing it correctly. My goal is to make sure that the old code and my new code produce the same results(i.e. are logically equivalent). Are the 2 code blocks below equivalent?
Old
If a = 1 then
If b = 3 OrElse b = 18 OrElse b = 20 OrElse b = 21 OrElse b = 4 then
' Do something
[code]....
I've been looking through the book I own and I've been looking online but I just don't understand what code would I write to have it check the text box or input box for the right letters in a word?
View 2 Replieswhat is the different writing code application vbnet 2005 application for single user and multiuser?
View 3 Repliesis it possible to make one application send a task to another application and recieve the result from that secondary app?i made a text editor program and i added a scan feature and i made another app that has ocr capabilities.The scanner ability is in my text editor program, the ocr program doesnt scan you have to input an image into it and it will give text result a few seconds later.the prob is alot of times the ocr code uses sooo much memory and crashes when its incorporated with my text editor, but individually each application works fine and doesnt take too much memory. Memory wont be even an issue if the ocr program is standalone so that when it is done decoding image the application can be made to exit. now here is the question, how do i make my text editor send the image to the ocr program and how do i make my ocr program send the text back to my text editor? is it possible? i mean the only way i know off is creating temp files in a certain folder and having a timer on each program that keeps waiting for temp files. That just seems like pretty lame coding to me i was wondering if there's a better way?
View 11 RepliesI want to make a Hidden Application,my application Block Unwanted software or Application
View 13 RepliesI use SetParent to make an external application a "child" of my Main .Net application. This works fine.What I need to know is why can't I use Me.MDIChildren(0)I thought that using SetParent would increase the number of children by 1, thus allowing me to reference it with the above code, but it shows there are no children in the array.I have been trying, without luck, for 2 days to try to maximize an external app being displayed in my app. I can get it to display, but I would love it if it could Dock to the same size as its container (a panel)
View 3 RepliesI am making a exe application and i am using mysql as my database. So the thing is, when i change to a new computer, i need to change the file path for the database connection string to that computer.
like below:
Dim connectionString As String = "Data Source=----------SQLEXPRESS;Initial Catalog=Flexlink;" & "Integrated Security=SSPI;"
i need to change the data source = --------------- SQLEXPRESS to the computer name that i am using for my project.
May i ask is there any method such that the user dont have to go in to the source code to change the computer's name like those normal installer?
Just install and the application will run according like any exe file that we buy.
Okay so basically I want to see if I can make an windows application or just a console application in VB.NET that will verify an MD5 Checksum. I have no idea how to start this out, but I have the ideas of what I'd like to make it.
[Code]...
I have been trying to reference Application.ThreadException in my application to make an addhandler, but I also am using imports growl.connector which has a growl.connector.application method. When I create my addhandler:AddHandler Application.ThreadException, AddressOf ThreadExceptionHandler
And I get "ThreadExecption is not an event of 'growl.connector.application'"