Make A Program Load Before Another?
Apr 26, 2011im making a game and i want it to start first but i made the game first so i cant seem to get the second form to load first?
View 2 Repliesim making a game and i want it to start first but i made the game first so i cant seem to get the second form to load first?
View 2 Repliesi want to make 1 slide for welcome message i make new .vb named: welc.vb make to load the program from that welc.vb for code it put:
Public Class Wel Inherits System.Windows.Forms.Form Private Sub Wel_Load_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]...
How to make it when the slide finished to close the welc.vb and start the form1.vb
I have my rpg, still, first time working on it n ages, and I want each user to be able to set their own personalized picture background for the game...
each character in the game has its own dedicated folder for each file that the character has relating to it...
what I want to know how to do, is to have my game copy the loaded/chosen background image to their respective characters data folder, and have the game reload/reset the games default background image, to the one piced by he player...I am having a hard time figuring out how to do this however...I've tried a lot of different things...and nothing is working yet...
here is my example code right now:
[Code].....
In class i saved my program in with load of other test programs for the same assignment and got everything mixed up i finally figured out what was what and loaded the program in Visual Basic. Now my program doesn't recognize one of my forms when i try to access the design view of it. I hit run for the hell of it and the program runs with errors of course but the form1 "the missing one" shows up with all the buttons etc and i can use it.
Heres the link to the files. [URL]
i have a application that i designed for an assignment which uses a DB (ACCESS) However when i publish the application it fails to load even though the application completes. I have managed to find that it is the database that is not copying over, how do i solve this (the db is located when debugging and is also in the project files)
View 3 RepliesI have a problem I've been struggeling with for a full week now, and I'm not able to solve it by myself. I've been googeling, and searching in all kind of forums.I have found lots of "this might work", tried it, but no, no success. If anyone have any clue,I'v got, from an external source, lots of classes and functions written in VB that I need to be able to use from a C++ application. My first though was: no problem, I turn the VB code into a dll, and load it from my C++-program. This was though harder than I ever could imagine. My C++-program is not written in Visual Studio, but for simplicity I started with trying to load my VB dll (written in Visual Studio 2010) from a Visual Studio C++ application. This is my code so far:
[Code]...
I looked at the link with the tutorial, but there is a small problem: there are no such thing as "ActiveX DLL" to choose among all the project types. And yes, I do have Visual Studio 2010 Professional (a trial version, but still).
I cannot find a way to make a program that I write make a shortcut in the start menu for all users.My final goal is to make an MSI and deploy it in group policy to all users on a computers OU. Is this possible?
View 5 RepliesHow do i make my button open a program and make it windows size?
View 6 RepliesI'm doing a project in computer programing. I need to make a game so I made pong.everything is working fine, except when it loads it is often so low that you cant see the bottom paddle and i have to move the form up.is there a way that i can make the form automatically load already maximized, or load at a certain point in my screen?
View 3 RepliesDear ALLCould you please tell me:How to save a TabPage that has ListBox Items ?How to load a TabPage that has ListBox Items ?Or only saving & loading ListBox Item
View 13 Repliesis there any way to make the app load and compile local dll?
an exemple:
All process over visual studio 2010
i made an app on win7 that uses shell32.dll but the way that win7 compile his own interlog.shell32.dll it makes the app don't work in XP. But if after i finish the app on win7 send the code to a xp machine and set the shell32.dll on XP the app will work fine.
so... if there was a way to make the app, at his first load, do search from needed dll to compile them for his needs, it will was fantastic.
Could I load a program into a tab?
I have a program and have been trying to put it in to modules (instead of just one massive peice of code) and was thinking I could make some of it as "mini programs" and run them when needed.
1) Is that possable?
2) Is it a good idea? (the "mini programs" would not be needed to run the main program just used very rarely for changing setting etc)
im making a web browser, but i dont know how to make a progress bar load when im loading a page. Please note that im using TabControl, so you cant use the WebBrowser function.Also i was wondering if you could add that little thing in the bottom left that says "connecting to http://..." and "transfering data from..." etc.
View 13 Repliesi have a problem to make a save and load button on my application.this is what i want:if i click on a exit button then need there show a window with "would you save youre settings" yes no cancel and i got more then 1 thing to save (it is a sidebar)can someone tell me pls how to do this ( don't use hard words to understand because i am pretty new )
View 1 RepliesWhen I load my page I populate my repeater with the following code.
Dim conn As Data.SqlClient.SqlConnection
Dim Comm As Data.SqlClient.SqlCommand
[code].....
After I RemoveAt my payList, it appear very slow in edit form, but in new form no problem.How to make it faster. [code]
View 1 RepliesIs there an Equivalent for the following code in VB2008?
VB6:
Load frmAlarm ' Loads the form
frmAlarm.EditAlarm oAlarm ' Loads what was saved on that form
[code]....
If e.CommandLine.Count > 0 Then
Dim IncomingCommand As String = e.CommandLine.Item(0).ToString
If IncomingCommand.Substring(0, 2) = "-1" Then
form1.close()
End If
End If
I am trying to make the program close if the -1 string is sent with the program. See my installer allows for me to run certain programs before it actually installs, but it doesn't shut down copies of the program itself. So I have a next startup instance set to shut the program down if the -1 is received. But if the program is not running it starts up instead. This is not desired. form1.close doesn't work. e.cancel = true doesn't work, etc etc. What can I do to make the program not start during this instance.
I made vb.net program for 1440x900 resolution, if i run my program on 800x600 or 1024x768, my program's resolution is bigger then windows, so i have problem with resolution. Now i want to change my program's size and i am interested in, wich resolution is correct to make program, 800x600 such as minimum?
View 9 RepliesBasically what I want is for the program to have an extension/directory called "Flash" and then when you click button one for example it will get that file. Anyone know how to do this and make it work? I have the following AxShockwaveFlash1.Movie = "/flash/flash.swf"
View 3 RepliesI'm trying to make a custom skin maker for a program I'm working for. The concept is, you provide all the images needed for the program in a folder and then load that folder into the program which then sorts out each image in their respective areas. I know how to load files, but instead of making the user load the files one by one I'd like them to be able to load them from a folder.On a related note, I'd also like to know if it was possible to allow my users to move their controls around the program. For example, say they'd like their exit button in a different location as it'd look nicer with their skin, is there a way to allow them to move it? Particularly, it'd be nice to have a check box that enabled or disabled the ability to drag them around so they don't accidentally drag it when trying to click it.Also, how could I save their changes to this skin so it'd load up the same every time without overriding the default skin.
Finally, I have a piece of code that allows me to drag the form around as it has no normal border but I have a button that keeps it on top at all times, I'd like that button to also disable the ability to move the program while active and restore the mobility once clicked again. Here is the code used to move the program if that helps any.
[code]...
I am trying to do a program in which I would like that program load with Windows. Ok, When I restart the computer and when I arrive to the desktop, program did not run. I am doing all this in Vb 2010.[code]...
View 4 RepliesWhat is the best way to do? Load the pictures to the program and using many different forms? or just make a folder to the pictures and load them by using the [code]....
View 15 RepliesI'm trying to make a system on my computer in which I can find out log-on versus log-off times, I already know how to load a program at log-on, I just need to know how to load a program at log-off or shut-down.
View 4 RepliesI'm trying to load the DLL ati2edxx.dll into my program to access temperatures from my ATI video card. Every time I load it I get the error "A reference to 'PATH' could not be added. make sure the file is accessible, and that it is a valid assembly or COM component".
why I may be getting these errors? I tried loading the DLL up in C# as well and got the same error.
The two gentlemen on this link seemed to get it to work just fine.
EDIT: It appears that the DLL is 32-Bit? How can I load it if im on a 64-Bit operating system?
How do I make a program that opens a file in the folder the program is stored?
View 6 RepliesI want to make a program that searches for a RGB color and clicks on it, WITHIN the program.
View 2 RepliesI'm trying to make a progressbar that shows the load time of the next form.I've tried alot of different ways to do it, but it and the speed is always the same whether the next form loads faster or slower.I'm not sure what variables to use or anything.
View 3 RepliesIs there any way to do this.Enter key make WebBrowser load text in textbox?
View 13 RepliesI am working on a project that convert images to text , and load them from text , so i can save them online then load them as image . But if u could just give me a code of a project with a textbox where i write the text instead of downloading it it will
View 3 Replies