Manipulate Controls From Another Form?
Feb 6, 2011
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 Replies
ADVERTISEMENT
Dec 23, 2008
The following code does create a form within a form and does place NotePad inside the child form. You have to manually start NotePad prior to execution (I work on that later) but the code does workŠ My problem is now I want to manipulate the properties of notepad i.e. focus, size, location, etc. but I cannot figure out how to reference notepad and its properties.
[Code]...
View 8 Replies
Aug 23, 2009
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.
View 5 Replies
Jun 19, 2011
I 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].....
View 4 Replies
May 24, 2009
How can I add controls to a form in code and set the properties of the controls using the With statement?Also I would like to know how to add a container control and then add a control to that container.
View 2 Replies
Apr 15, 2010
I have a slight problem With an enumaration of child controls on a form. The following code will not get but about have the controls that are on the form. The controls show that the count is correct but when it goes through the loop it skips over some of the controls. If you run it through the enumeration two or three times it will get all the controls a few at a time. The solution uses two forms, one that has the controls and the other that labels are made and displayed on. The Tx is just a index to add a number to the label.name and rename the label. So each label is identified seperately. This works for all the the controls that are seen in the for each loop.
View 11 Replies
May 11, 2009
I created a class that can take either usercontrol.controls or form.controls as a parameter,how can i pass either to that class? as a property or how?
View 4 Replies
May 26, 2012
I have a module level sub that I use to clear text fields etc on my forms:
CODE:
The problem I have is in the last few lines of code as I'm not really sure how to access the text boxes contained within the tab controls (of which there are many tabs and many text boxes).
This is the closest I've got but I am getting an "option strict on disallows late binding" error on the tabCtl in the following line.
View 6 Replies
Jan 16, 2012
I have a form. And some controls(such as TextBox,ComboBox,etc.) on the form.Now,I want to store the controls' Text into a .txt file(or any other formarts).Then I want to read the text in the .txt file to my controls.
View 10 Replies
Sep 27, 2010
Inside a form, I would like to display a pdf file which is already available in my resources (template file "untitled"). In this pdf file, I have some fields which get their values from some texboxes in another form. My aim is, when the user triggers the button to call this form, it should insert the values inside the pdf file and display the output pdf inside the form.I have written the code to an extend but could not finish it myself after my many trials... Now here are the two things I cannot manage:I can use a directory to read the template pdf "untitled1.pdf". But my aim is to use the file inside my resources. can save the output file in a directory but this is not I want to do. I want to display the output pdf.
View 1 Replies
Nov 21, 2009
How would i make so when the user resizes the form the controls on the form resizes to what ever(ex: form become full screen textbox is full screen.
View 2 Replies
Apr 15, 2010
I took picture box and some container controls on my MDI form but when I am opening my child forms it going to backside of my MDI forms controls.
How can I resolve this issue because I cannot remove my controls from my MDI form but at the same time I want to use my child form worked properly.
View 1 Replies
Nov 30, 2010
I have a visual basic 2010 form with various group boxes, buttons, and labels. i want to be able to have the form maximized but when i do that the controls stay where they are at and they do not resize with the form. i want them to resize proportionately with the form.
View 1 Replies
Jan 31, 2012
i have problem in manipulating DataSet, how can i filter rows without getting the whole records in tables.
[Code]...
View 1 Replies
Feb 8, 2012
Private sub updatelabels()
If me.invokerequired then 'entire form -- ok ?
me.invoke (new methodinvoker (addressof updatelabels))
[code].....
View 3 Replies
Oct 1, 2010
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 Replies
Jul 9, 2009
I 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 Replies
Aug 8, 2010
I 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 Replies
Apr 11, 2012
I need to create a code, that allows me manipulate a scanner for to do the functions of scanning and save the image.
View 1 Replies
Jul 3, 2010
I 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?
View 4 Replies
Dec 28, 2009
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]...
View 2 Replies
Feb 16, 2009
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 Replies
Jun 22, 2010
Here's my submission to sort a string of characters in numeric, then lowercase, then uppercase.
[code]...
View 1 Replies
Aug 24, 2009
Is 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.
View 2 Replies
Mar 10, 2010
Do you know of any beginner tutorial on how to manipulate(Add, Edit, Delete, Search, List) sql Server database in vb.net?
View 2 Replies
May 31, 2011
I 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.
View 3 Replies
Jan 16, 2011
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.
View 2 Replies
Oct 23, 2010
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 Replies
Jul 12, 2011
<Element_List SubObjectList="Yes">
<Type>2</Type>
<Class>1</Class>
</Element_List>
View 9 Replies
Nov 6, 2009
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 Replies