Have 15 Labels To Manipulate?
Feb 8, 2012Private sub updatelabels()
If me.invokerequired then 'entire form -- ok ?
me.invoke (new methodinvoker (addressof updatelabels))
[code].....
Private sub updatelabels()
If me.invokerequired then 'entire form -- ok ?
me.invoke (new methodinvoker (addressof updatelabels))
[code].....
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 RepliesWell im currently developing an application for public use, I have a login screen in which the user enter's their registered credential's and the progressbar loads by increments of 3, now i placed 6 labels ontop of eachother and where the progressbar coding is i put:
If Progressbar.Value >= 1 Then
Label3.Show()
If Progressbar.Value >= 20 Then
Label3.Hide()
Label4.show()
And so on up until Label8 Show at 100%,
Now the problem is... As i have placed the labels ontop of eachother i need them hidden until they are called to show, i have tried adding a background worker to do this but have had no luck, all i see is the labels overlapping eachother when i run my application when i want them hidden untill Label3.Show() is called, and then to display them as they are called and hide them when another one is called to show...
With VB, but I've got the few basics down, file naming, adding objects, naming objetcs, etc. But the reason I'm on here is because I cannot complete even the first step. Our form is 640 X 480, and we need to have two labels, both have vertical scrolls. I know how to add and resize the labels to meet my needs, but I do not know how to create scrolling labels. Or are they text boxes? On our bubble chart (Do you know what that means?) it says lblInformation. We are going to have clickable radio buttons which will update the lblInformation with info about each of the radio buttons.
View 7 RepliesI'm trying to make a program that allows the user to click on labels which have a number in it and then that value has to be stored into a different label.
For example the user click on label1 and the values goes into label12, then it click on label3 and the values goes to label13 and so on.
At the moment I can only code on the respective label underneath (1->12,2->13...) but it has to be in any order (5->12,7->13...)
Here a picture and below my code:
'defining the click order....
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
[Code]...
i have problem in manipulating DataSet, how can i filter rows without getting the whole records in tables.
[Code]...
I have a form with a bunch of tabs on it, but I don't want them to all be visible all the time.[code]...
View 4 RepliesI am developing an intranet app (so security isn't such a problem). The client wants to drag eml files from Outlook to a folder. I would like put a file watcher control that monitors the folder. When the new file is added I want to run some javascript in the open intranet window. How can the file watcher app communicate with the intranet app (also there may be more than one intranet app open). I am experienced at asp.net but a total novice to Winforms so bear with me.
View 4 RepliesI don't know much about the CIL, except that there is metadata in assemblies that record the type information.Would it be possible to create some reflecting tool that is able to read a C# or VB.NET assembly and change its metadata so that all class members become public?
View 4 RepliesI need to create a code, that allows me manipulate a scanner for to do the functions of scanning and save the image.
View 1 RepliesI want to create and application (I'm a rather Jr. programmer, with just a few apps in production), but I'm not sure where to start.
The app needs to be able to join videos of the same types, for instance, divx1.avi and divx2.avi into divx_joined.avi.
I've already google...err I mean, searched bing for some how to's and what not, but I don't think I'm looking for the right terms.
Where do I start to learn to deal with video streams? Is there a book, SDK, etc?
I'm currently using system.data.oledb but I can't seem to make the update , search, & delete work fine. Are there any other ways on how to manipulate an ms access database in vb.net easier than my method? Here is my code for searching:
[Code]...
I had a treeview that had checkbox and its content is like file explorer. the checkbox is check when users want to delete that files or directory, after the selection, press the command button then all selection will be process (on this case deletion) how that to be code?
View 2 RepliesHere's my submission to sort a string of characters in numeric, then lowercase, then uppercase.
[code]...
Lets say I have a List Box called listBox1 on Form1 and on Form2 I have a button called Delete. Whenever the user presses the Delete button on Form2 it should delete an entry from listBox1 in Form1. How can I manipulate listBox1 from Form2's Delete button?
View 5 RepliesIs it possible to manipulate data in worksheets?[code]...
what i want to do is round off the time in if the time is greater than 6:00 example please look at the data date 8/2 and 8/3. i would like to modify it and make the 6:01 to 6:15, and 6:16 to 6:30 , every 1-15min late the time would round off to the nearest 15mins.. my question is how can i make loop in the column "time in" and every time the program sees a "late IN" it will round it up to the nearest 15mins.
Do you know of any beginner tutorial on how to manipulate(Add, Edit, Delete, Search, List) sql Server database in vb.net?
View 2 RepliesI have the following property in a class:
[Code]....
The problem is that when I try to set the property like this: myClass.Language = "English" The property is set to "English" and not to "<![CDATA[English]]>" which is what I want. What is the reason for that and how can I fix it? When placing a break point on End Set and use the Watch window to inspect the value of _Language after setting the property to "English" it remains "English" and doesn't change.
I want to create a program which inserts the person's data from a textbox into a form on the webpage named "name" (for example). I want to be able to make them select from a dropdown list named "cat" and what they select is selected on the dropdown form too.
I also want them to be able for the person to select a file on their machine which is entered in a form named "thumb"I'm completely stumped on how to do the above in VB 08. Also, how to use a submit button? On the page, the submit button's code is<input type='submit' value='Submit' />How to manipulate that in VB 08?
Excuse me if this was asked, Google wasn't in my favours today.
I use a Java web app (app/screenshot, you'd need to sign up, but it's just a java web app), however I'd like to automate its functionality inside of a .NET application (C# or VB, doesn't matter, I'd prefer C#).
I've tried searching but unfortunately "Java web" and ".NET" and "C#" etc, don't return me anything even remotely useful. Is it possible to load the page within a control (or through some other way) within a .NET application, and thus act upon the display itself (the data flow will be encrypted, since it's https - so I don't know if I'd be able to read the data coming to and from the java application, I assume not, but being able to read the application would be nice), to be able to select areas, click, read/input numbers and text, etc. I realize this is a pretty broad question, but, it'd be very helpful if someone could offer some advice/insight into this problem.
edit to add: I guess a better question would have been either "Ways to interact with a java web-start app with windows apis?" or "Possible to contain a java web-start app within a .NET app, and interact directly with components of the web app". I'm also wondering if it will be possible to load it into a browser in a form in .NET, although I assume that it would just launch web-start taking it out of the forms control.
In my website i have a script that return the current song that playing from my shoutcast server in a format of: "artist-track", what i want to do is to take that string and split it to 2 strings: artist and track, in order to do that i wrapped the script in server tag like this[code]...
View 3 RepliesI am fairly certain that the error is on my calling the SQL database, but just checking if there is something obvious that I am missing.
Class Form2
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
If (My.User.Name).Replace("server", "") = "u
[code].....
<Element_List SubObjectList="Yes">
<Type>2</Type>
<Class>1</Class>
</Element_List>
I have a mdb file hosted on my site [URL]. I am developing an application which will be running on multiple machines and will contact the mdb file via internet. I am not sure how do i go about it as building the connection string for an online connection.
View 2 RepliesBasically functionality i need is:
easy integration with ASP.NET application.user ability to crop image with handle prior to save image optimization from any image type to jpg (compression levels) during the save saving images with proper h/w ratios during the save user ability to rotate the image prior to save ability to translate application to foreign language as it won't be used on international site
I'm new in WPF and C#. I know a lot of VB.NET and I'm used to the way when I call a form object like textboxes, etc. I'm calling it from another form. Now, I'm using WPF, I'm confused. Because I have a Main Window. And I want to add and item to a listbox in the Main Window from a Class. In VB.Net , its just like this.
[Code]...
I have 10 variables that have numbers at the end in sequential order (e.g. V1, V2, V3, ect.). I would like to perform a function to find what the position is in an array and then add then add the value to the correct variable. Can I combine V & and the number to manipulate the variable?
View 2 Replieswas messing around with web controls and making auto login programs and I have been running across many websites that use java script to code their login boxes for some reason. I was wondering how might I edit the values and click on the sign in button if it is inside of javascript?
View 5 Repliesi want to import data about cigarettes from the internet. i don't know terminology so i'm having a hard time starting.
View 1 Replies.Net 3.5
I have 2 columns in a datagridview bound to datasource. When the user checks off one checkbox, i want to check some business logic after which I set the 2nd check box in the same row as checked as well.
My problem is: I want to check the 2nd check box right after the user clicks on the first checkbox and not only after he tabs away by clicking somewhere else.
Right now, I only succeed runing my business logic in the CellValueChanged or CellParsing events but those only occur after the user leaves the checkbox, which is not desired, I d like to run the logic and show the 2nd checkbox checked right after the user clicks on the 1st checkbox.
I also tried: CellClick event but I don t know how to : when the user clicks on a a checkbox, how to change the value of other checkboxes in the current row during CellClick event . The changes does not take effect in the UI !!!