Saving MDichild Forms And Treeview In Visual Basic 2010?
Aug 30, 2011
I have an application that has a treeview in the MDI parent form, there is a button1 that adds a child node to the treeview and a mdichild form for that specific treeview child node. i would like to know if it is possible to save the trevview and the MDi child forms to a single txt file or csv file no matter how many mdi children and treeview child nodes are poduced.
View 11 Replies
ADVERTISEMENT
Mar 10, 2011
When I click a Button I what to save all the textBox's text on my form. The code I have Is Below.
In My settings Have I got to List each textBox. Like TextBox1, TextBox2, TextBox3. ect..
IE: My.setting. textBox1 = TextBox1.text (In settings TextBox1: have it as string: User)
IE: My.setting. textBox2 = TextBox2.text (In settings TextBox2: have it as string: User)
Or can I have just one TextBox In my settings, that save's all the TextBox's 1 to 8 on my form
[Code].....
View 7 Replies
Dec 8, 2011
I really wanted aqua skin (Mac OS X) for my forms at Visual Basic 2010.I found a site called SkinSoft which offers an installation for a componentfor them that skins over the form to make it Mac OS Xish.Now, they say that - Visual Basic/ C# Express users will have to manuallyadd the item into their toolboxes - "Choose items", and from the list choosethe AquaSkin component or whatever name it is, but I couldn't find it in mine.
View 2 Replies
Oct 23, 2010
I am a novice in programming and wrote several simple Windows Forms applications. I need to play mp3 file in Windows 7 x64 application.
Could you, please, explain in simple words, how to call MediaElement.Play() method from Windows Forms?
View 8 Replies
Mar 3, 2012
when the user runs the program for the first time, it will ask for his name. After his name has been entered and he clicks Ok, the main menu comes up. From there he can click Start to begin the first level of the game. After he finishes that level, I want the application to save his progress so it knows what level he last finished. Then when the user decides to quit the application entirely and restart it, I want the application to skip the name dialog and go straight to the main menu since he already has a saved game. Then when he clicks start, it will start off with the last level he finished.
I also added an option in the main menu where the user can reset all his data. So next time the application starts, it will ask for his name as if it was starting up for the first time.
View 6 Replies
Nov 24, 2010
I wrote a program to save a ini file and read it in visual basic 6.0 but i want in visual basic 2008 the code i used in vb6 is this:
[Code]...
View 3 Replies
Mar 3, 2010
i have a form with some checkboxes on it i want to save those settings.
how can i save the settings
View 3 Replies
Mar 1, 2012
My problem is fairly simple. What my code is doing to start with is opening the form by loading a bunch of things from a database. After all the questions are done (because it is a questionnaire) it is meant to save the current score and the username that was entered before, for the sake of programming I have hard-coded a username and score however I think because I am using a different command builder it keeps giving me the same error!
(I am studying A-Level so that might explain the simplicity of the code)
Public Class AdditionTest
Dim inc As Integer = 0
Dim con As New OleDb.OleDbConnection
[Code]....
View 3 Replies
Feb 22, 2012
I am trying to Save my data into Local Database (*.SDF or *.MDF) but i due to some reasons i can not do it. I have seen 100s of Video on it and tried all possiable ways, but still my data is not saving into Local Database. and i do not get any error messages. However i can save my data into SQLEXPRESS database. i am using Visual Stodio 2008.
View 2 Replies
Aug 5, 2011
Does anybody know which version of Visual Studio 2010 contains the full set of Visual Basic SharePoint Templates? I am about to embark on a project to create Visual Web Parts to be used in a SharePoint report.
At the moment I am using Visual Studio 2008 and even though the WSPBuilder is installed none of the relevant SharePoint templates are present.Having searched SO and the web, most advise to install the templates via the Visual Studio command prompt: devenv /installvstemplates
Alas the Visual Studio command prompt is also missing from my VS2008 installation.So, the question remains: which version of VS2010 contains what I need for pain-free SharePoint development? There is a rather large price different between VS2010 Professional and VS2010 Premium, so can anyone tell me if the cheaper version (VS2010 Professional) contains all the Sharepoint templates?
View 3 Replies
Nov 25, 2009
I am just wondering how I can add Direct X references to Visual Basic in Visual Studio 2010 Beta 2. I cant find them in the .NET reference list, or the reference list, or anywhere. I downloaded the Direct X SDK for August 2009, but I can not add the .dll files to the reference list. Is there anything I can do to add them? I need the references for programming reasons.
View 5 Replies
Jan 15, 2012
I want to use "OpenGL" in my project. Is it possible to associate it with "Visual Basic" application developed in Visual Studio 2010? If yes then how can we do it.
View 1 Replies
Apr 20, 2012
I have a project in visual basic 2010 and want to convert it to visual studio 2010 so I don't have to chose the "open with" every time. Is there a tutorial on how to do this?
View 4 Replies
Mar 9, 2012
To reproduce the error I'm getting:Create a new Visual Studio 2010 ASP.NET web site in Visual Basic, targeting .NET 2.0Type "Public Property Test As String" Observe "Visual Basic 9.0 does not support auto-implemented properties." error Visual Studio 2010 is happy to use VB 10 against .NET 2.0-targeted Windows Forms applications, this only appears to be an issue with ASP.NET.Is there a way to force Visual Studio 2010 to use VB 10 when targeting .NET 2.0?
View 1 Replies
Jul 6, 2010
have just overlooked something somewhere...I am writing VB.NET stuff in VS2010 on Windows 7 64-bit. It seems to build by default for a 32-bit target, how to I tell it to make a 64-bit executable?
View 2 Replies
Aug 10, 2011
Do visual basic forms each run in separate memory and if not is there a way that I can force them to do so. I want them to be in separate memory so that if one form freezes the entire program won't.
View 2 Replies
Jun 2, 2010
I am designing a yahtzee game in Visual Basic. I am wanting to save the form’s background color and the picture boxes dice so they can be set the next time the form is loaded. The user can change the background color of the form and choose between several sets of dice. I want the last color the form’s background color was and the picture of the last set of dice used placed back in the picture boxes of the dice the next time the user opens the Yahtzee game. I am trying to do this in a module,
View 21 Replies
Apr 15, 2010
Wow, didn't know that it takes a Master in Computer Science to figure out a simple Checkbox databind to a Boolean column. But anyway, I have spent two days trying to fion how I can properly display and update a Boolean type field in a Checkbox
View 6 Replies
Jan 5, 2010
trying to save the settings in a settings form but every time m setting the settings (when the form is running) then exiting it and then reopening itare the settings that i setted not there Ex : I open form2 by clicking on a button thought form1 and change the settings for example i uncheck a checkbox then do i close form2 and then open it again. And the settings should be saved so the unchecked checkbox should still be unchecked.BUT when i close form1 should the settings be unsaved and go back to normal :)
View 3 Replies
Mar 31, 2012
I've been working on this project for two weeks now and I'm drained from all the hiccups I've come across. Now I've hit a brick wall.I'm making a "simple" order form in Visual Basic 2010 that calculates the amount due for an order and then from the total determines what the shipping will be. I've been able to accomplish the following tasks:accept customer data (name, address, city, state abbreviation, zipcode)calculate total with shipping costs (accurately, for the most part)clear the order form and exitBut the way I have it right now, a customer can only put in 1 order form.
Problem: I have to figure out a way to allow a customer to place an order form for multiple items. (I'll assume that a customer will not place an order for more than 20 items). So what would be the best way to go about saving the information for multiple items then calculating the cost at the end?If it's multiple form creation, how is that done? Is the keyword "Container" the way to go, and how
Snippet Code:
Private Sub total_mouseleave(ByVal sender As Object, ByVal e As EventArgs) Handles total.MouseLeave
[code].....
View 2 Replies
Jan 12, 2011
Is there a way i can write this into a command button?
In a CMD Prompt if you type:
nslookup
set type=mx
set timeout=30
emailaddressdomain.com
it will give you the outgoing mail server address is there a way i can write that into a command button and display the results into a textbox?
View 5 Replies
Nov 18, 2010
Here is a wierd case - I am making a game in Visual Basic Express 2008 with several forms. Each windows form I've given a quit command that works well to end the game. (Me.Close) However if instead I click on the big X button that windows provides in the upper right hand corner - it does not look to truely stop the program.
I'm running this program in debug mode from the MS VBE editor, but when I click that X it tells me that program is still running even though all
View 5 Replies
Nov 14, 2009
Whenever I modify a file in the IDE in Visual Basic Express 2008, and then press the "Save" or "Save All" button, the "Save As" dialog opens, then says that a file of that name already exists and requests confirmation of the save. This didn't happen in Express 2005 as far as I remember.
View 3 Replies
Jun 13, 2009
I hava a MDI app. i have a mdiChlid(say A) and others n instances of another mdichild. i wanto to this others n instances can handle an event generate in the A mdi chlid. How ca i do this??
[Code]...
View 2 Replies
Apr 4, 2011
In a label box, I want to list a couple of websites, email address along with some text. How do I go about it?
Potential uses- As a Help > About dialog box where websites, email of the author can be listed.
To make things as easy as possible for the user, and encourage visiting of the mentioned websites.
Simple text will be ignored, while standard blue color, underlined text with hand mouse-cursor will need no thinking on user's part.
View 1 Replies
Jun 8, 2010
I have a parent form with 2 child forms.
i iniciate both mdichildren with [code]...
when i click on form1.button1 i want to issue form2.textbox1.text=""
View 3 Replies
Nov 6, 2011
Dont be afraid to spam the thread with things you can create.The more the better!
View 2 Replies
Oct 2, 2010
When trying to import CrystalDecisions.CrystalReports.Engine, and CrystalDecisions.Shared. I'm getting a green line. What might be the problem?
View 3 Replies
May 9, 2011
I have an App with 4 childMDI forms in VB 2008. What I need to do is update 1 of the childMDI forms when I close another childMDI form. How do I do this in a best practice way?
View 7 Replies
Mar 16, 2010
I just downloaded the Visual Studio 2010 Express for Mobile Phone. C# is the only language available. Will Microsoft add Visual Basic as well? When?
View 5 Replies