Program Is Setup To Instantiate/build Five Labels At Run Times?
Jan 29, 2012
shove in the right direction on this:My program is setup to instantiate/build five labels at run times, corresponding with those labels five texts boxes are built at run time. The user inputs four numbers into the first four text boxes and then when you click the total button, it totals the four boxes and outputs to the last text box
View 5 Replies
ADVERTISEMENT
Oct 21, 2008
I created a program that has serval labels on a form and a listview object. It has a button that when clicked reads a textfile and loads up values in the listview object. I then can click and drag text from the listview box to any label on the form and then the program removes the value from the listview box. Now, my question is how can I instruct VB to save these values in the text property of the labels so that the next time the program is loaded the labels will contain the values loaded during the last run time session?
View 1 Replies
Jul 8, 2005
I am using vs 2003 to build a setup project but got this error message"Could not find file ..., Not enough storage is available to complete this operation."I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the total size of msi file? If so, how can I build the setup project?
View 19 Replies
Mar 16, 2010
I added a setup project to a winform vb.net app which otherwise builds fine. Once the setup project is added to the solution, however, the build fails with the following error;Unrecoverable build error.As there does not seem to be much information I can't figure what the problem is. What can I do from here to fix this to get deployment package?
View 1 Replies
Apr 7, 2009
I have a setup project which is full of VB Libraries / apps...when I try to build it in the debug configuration it always errors out with this error[code]...
View 9 Replies
May 17, 2009
how can i get the folder path for the system tray or how can i buid a setup file that install a icon in the system tray using VS 2005.I know how to build setup file with creating icons in desktop and quick launch bar, but wanted to know how to add the icon into system tray after i install it
View 1 Replies
Aug 30, 2010
I was studying visual basic 2008 and had reached almost 60% of it when I was told that my course curriculum included visual basic 2005. I will now have to reinstall visual basic 2005(.net framework 2) instead of visual basic 2008(3.5 .net framework). I was wondering- will it be completely different vb2005 and vb2008? I really wanted to stick to vb2008, I was getting the hang of it. Also, I was wondering, can I run my application vb2008 in .net framework? Is there any way around? Also, I used advanced installer to build a setup file for my application? Now the question is will the other computer(the one which will install from the set up) need .net framework of 3.5(since I built apps in vb2008)?
View 1 Replies
Nov 8, 2005
I got "Unrecoverable build error" when building setup project.I try the solution in [URL].. but did not work out.
View 1 Replies
Mar 19, 2010
I am trying to build a setup package for a VB 6 project. I get a "Path/file access error", what can i do to over come that
View 2 Replies
Jan 14, 2010
I have a program that uses two forms. The program opens to the Main form, and the user can navigate to the other form from the Main form through use of a button. Here's the way I've currently written it: When the Main form loads, it declares and instantiates the other form during the load procedure. When the user presses a button, the second form is displayed by means of the ShowDialog method. On the second form, there is a Return to Main Screen button which closes the second form, bringing the user back to the Main form.
So, here's the structure of the code:
Code:
Public Class frmMainForm
Dim frmSecondForm As New SecondForm
Private Sub btnSecondForm_Click(blah, blah, blah) Handles blah, blah, blah
[CODE]...
Here's my reasoning: Originally, I wrote the code so that a new instance of the second form was created every time the button was pressed. The problem was that whatever data was displayed on the second form, previously, was lost when the user returned to it a second time. Since the user would be switching back and forth between these forms, frequently, I needed that data to persist.
What is the best practice for accomplishing this:
1) Declare and instantiate the second form on program start, as I have done, and use the button simply to show the form?
2) Declare and instantiate the second form each time the button is pressed but maintain the variables on the Main form and pass them ByRef to a custom constructor for the second form? Is this even possible?
3) Something else?
View 5 Replies
Aug 13, 2010
VB2005 So I've created a pretty good and simple program to query a database and then export the data to a text file. i then transfer the file to a remote server via FTP. It all works really well and i have all the functionality setup with a button event. Now that its working what is the best way to have this program run automatically every day at 9AM and then shut down once its done. Im looking into a command line and also a service but wanted to see.
View 1 Replies
Nov 21, 2010
i am trying to make a coin toss program where you toss a coin a certain number of times then repeat it a certain number of times.
the problem i have is "heads(counter2)" the word "heads" has a blue error line under it how do i sort the error out and also is all the code right
Public Class Form1
Dim tosses, repeat, heads As Integer
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[code]....
View 1 Replies
Jan 21, 2010
Create a simple Times Table program which will allow the user to enter an integer value n (between 1 and 20) into a textbox. On the click of a button output to a label the n times tables. Use a For�Next loop to perform the repetition.
View 2 Replies
Nov 5, 2010
Is there any way that I can tell if a second version of the same program is opened by the user.
View 5 Replies
Jan 27, 2011
Is there a better way to program an array of Labels ?
( L(90) has already been declared as type Object )[code]...
View 23 Replies
Apr 17, 2009
I am trying to build a small program which will allow some one to click on the exit button and the sound will play and at the end of the sound the program will then close. The sound clip is about 3 seconds long Here is what I have:
Imports Microsoft.DirectX
Imports Microsoft.DirectX.DirectSound
Public Class Form1
Private Dsound As CSoundDevice
[code]....
View 14 Replies
Jun 16, 2010
I want to create labels in my page dynamicly, for example the user will choose in a textbox the number of labels, and I will display the number of this label with .text = "XYZ".
View 3 Replies
Sep 11, 2011
I need to create new labels during running my program. It's something like
Dim lblTemp As New Label
but doesn't work.
View 2 Replies
Aug 23, 2011
I have this labels in my project[code]...
What's the best way to hide/show them?
View 2 Replies
Nov 17, 2009
I have designed a program that, when the "caclulate" button (btnCalc) is pressed, it asks the user for a file name, then pulls data from that file (file is a .txt of 100 decimals, one per line) and displays the Total, Average, Highest and Lowest. To do this, I have placed all the data into an array, and then used the array to get the information I need. All the code is in place, the only issue is that when the "calculate" button is pressed and the file name is entered, nothing happens.Need to figure out why the values are not displaying in my 4 labels (lblTotal, lblAverage, lblHighest, lblLowest)!!Here is the code:
Imports
System.IO
Public
[code]....
(For the record, I know I could get the data in one pass, however, being a beginner, I like seeing each value computed separately.)
View 3 Replies
Apr 4, 2010
I want my program to: send.sendkeys(textbox1.text) as many times as someone types in so for example if someone types in 20 it will send it like this:
send.sendkeys(textbox1.text)
send.sendkeys(textbox1.text)
send.sendkeys(textbox1.text)
send.sendkeys(textbox1.text)
[CODE]...
View 3 Replies
Oct 4, 2011
How to write a VB.NET metronome program that beeps X times a minute? I have tried several solutions but the down work. The sound is either delayed or doesn't occur at all.
View 3 Replies
Sep 16, 2010
I want to develop a DLL in VB.
How do I "expose" the Functions and Subs contained in the DLL such that they are accessible from another application ?
For example, in Fortran the "DLLEXPORT :: MyFunctionToBeAccessed" attribute is given after the declaration of the Function; it adds the name of the Function to a table at the beginning of the DLL, name which can be referenced after to access the functionnalities of the function in the DLL.
View 12 Replies
Jan 27, 2010
I've been looking at API and cURL and I'm thinking of creating a program for delicious which adds a bookmark for me a certain times during the day. They have an API page here which I think you use a cURL command to use but I don't know what any of this means
I reckon I could figure out everything except how to actually get the program to connect to delicious and add the bookmark, there doesn't seem to be anyone else using vb.net and cURL together so maybe there is a reason.
View 5 Replies
Apr 20, 2011
Im trying to create a program that can search files and display the amount of times that it has been encountered, for example it will show the number 4 because it will run into four instances of the word. Im kinda stuck on how to do this,
View 3 Replies
Oct 14, 2010
I'm looking for some good tutorials for building applications with visual studio 2008
the programming language i prefer is VBA
View 4 Replies
Dec 27, 2008
I am trying to build an IM program i found one (see attachment) but it is network only and i want to build one that goes over the internet?
View 6 Replies
Dec 12, 2011
I want to enlarge an image, possibly up to 32 times or 64 times bigger than original dimensions (so that the user can see each pixel) if possible. The following is a simple function that I have to enlarge an image.
Private Function xEnlarge(ByVal Source As Image, ByVal Rate As Double, Optional ByVal Quality As Drawing2D.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic) As Image
[Code].....
View 6 Replies
Sep 30, 2009
I know the code to make labels invisible but i dont know how to make them invisible as soon as the program starts. where would i have to put the code fro that to work?
View 2 Replies
Oct 22, 2009
I want to make a Label showing an arrow (To show something become another one - such as Dollar converted into Yen using Arrow in a Label). Eg: "Dollar --> Yen"
View 1 Replies