How To Code Save As
Jan 16, 2011
I am writing a drag and drop program that allows the user to create an electrical diagram. I already created a file menu and a save as option.The only problem is I don't know how to code the save as button.Obviously I want to be able to have the user save the form as and all data associated with it and be able to open it at a later date and modify it or whatever.
View 10 Replies
ADVERTISEMENT
May 29, 2011
modify code to insert the data to MS SQL and save changes when click save button for the second time?
View 14 Replies
Jun 10, 2010
Dim sw
As StreamWriter
Dim flagX
As
Boolean
[code]....
View 3 Replies
Aug 19, 2010
I have searched the net and the msdn but cannot find code for a simple save and save as for text written within a richtextbox that needs to be saved.
View 1 Replies
Jun 10, 2010
I am writing a text editor program and I have written the new, open, save as, exit menu items but I am struggling with writing the save option.Now I have created the menu itself (well vb did, I just used insert standard items) but how do I code up the save menu option so that it updates the current document or if the documnt has not yet been saved bring up the save file dialog.Here is the code I have so far
Public Class Main
Private Sub NewToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewToolStripButton.Click, NewToolStripMenuItem.Click[code]....
I know I have some finishing touches such as messages and error handling and stuff but at the moment I want to get all the basics working,I think the save menu option is all I am struggling with at the moment.
View 1 Replies
Nov 9, 2010
I can do this using VBA, but I want to be able to create the code using a compiled VB programme, which can then be opened in Excel.
View 1 Replies
Jan 2, 2010
i have a SaveButton in my GUI. I do not know what is the save button coding to save my updated data to my database.
View 5 Replies
May 3, 2012
the code for these 2 buttons in a datagridview ?
View 7 Replies
Jul 13, 2009
what is the codewhich can save changes of colors, when i open the program which i wrote and i chose the color for the fore color of the text box then close the program, when i open it again i found the color which i chose?
View 10 Replies
Jun 1, 2010
I cannot get my hands on any "save" or "save as" code to figure it out, can anyone point me in the right direction?
usiing VisualStudio 2008 vb.net
Brenton W Garman
View 2 Replies
Jan 13, 2009
guys...good day to all just made a program for our company im not a programmer i just do a program because no one can do that cause im the only IT in the company i just made a program for concrete pricing the pricing is not constant so it will be change anytime and i have a form to which you can edit the price but the problem is everytime i close the program and then run again it will not update?
View 1 Replies
Mar 1, 2012
Dim wri As New IO.StreamWriter("e: est.txt", True)
View 5 Replies
Mar 30, 2009
[code] the way to get the list of all supported formats, with this line: [code]
View 1 Replies
Feb 28, 2010
I created a form and a checkbox with default name in visual basic 2008 as i move mouse wheel, i can choose a picture for background image i can also change the checkbox's forecolor when i press any key on the keyboard and my first problem is i want to save the new background image which i has already chosen as i close my form and so does the checkbox's forecolor,move the checkbox to wherever i like and save this setting?
View 2 Replies
Feb 4, 2012
i have this code for saving my DGV as a comma separated text file:[code]It saves fine, but where checkboxes are unchecked, or "false" in the text file, these show as blank columns which then throw errors when i reopen the text file into the datagridview.how can i get my code to save checkboxes which are not checked as a "false" value.
View 17 Replies
Feb 16, 2011
i"m trying to save a picture to access but the code is not correct
[code]...
View 1 Replies
Mar 13, 2010
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
[Code]...
View 5 Replies
May 3, 2012
how to save data type image by code (data:image/gif;base64.....) as title.I found no way to direct save to file or export to picture box,It only can shown on webbrowser..
View 2 Replies
Dec 6, 2009
I used the following code to save what the user editing , the code don't give me any error code , but in the same time it don't do any thing , the data still without any new changes: [code] I wrote the whole code , so what is the wrong exactly ?There is some columns that may have many same data in its cells .
View 1 Replies
May 3, 2009
So, I have created this program and I want it to save the items that can be added into the list box with the My.Settings codes.(So every time I open the program the items will be there)
View 9 Replies
Feb 5, 2011
make a program in VB.net Ultimate 2010 that will take screenshot of the current desktop and save it to MS Access Database 2000 in a single click of button.
The challenge is the form. Form must be hide first before taking the screenshot so it will capture only the current desktop. After that, it will automatically saved to the MS Access database 2000. I hope someone can help me out of this stuff.
View 4 Replies
Oct 10, 2010
I come across this web site that explains how to get a video from a webcam.
[URL]
all works fine apart it does not save the file?
View 9 Replies
Aug 18, 2010
i'm having a problem how to code to save the value of my dtpicker as string not in date/time value. i formatted my dtpicker as mm/dd/yyyy. i want it to save in my database as string format. my datafield in my database is in text format not date/time. is it possible to save the value of dtpicker as string format?
View 9 Replies
Sep 19, 2009
Ther opendialogbox1 syntex I wrote for my simple word pad works great, however, my savedialogbox1 does not . Below is a copy of my syntex. I don't get no errors, but I am not actually saving the file. I am using rich text box not text box
Private Sub Savefile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Savefile.Click
SaveFileDialog1.Filter = "Text files(*.txt)|*.txt"
[code]....
View 7 Replies
Jun 11, 2011
How do I save the information from each activation of the code inside the loop. I decided to try this a different way. I also need to know how to create colums in a label?
For countInteger As Integer = 0 To 3
seatsSoldInteger = ticketDetail(countInteger).seatsSoldInteger
costDecimal = ticketDetail(countInteger).costDecimal
totalTicketSalesDecimal = ticketDetail(countInteger).totalCostDecimal
[code].....
View 1 Replies
May 11, 2009
i'm working on saving a text file.. the code i have, works without a question, no problem there.Imports System.IO
[Code]...
View 7 Replies
Apr 2, 2012
I made a simple code that changes the background color for my program and then save it. But for some reason, it will not work if the RGB code has 255 in it.
Public Class Form1
Dim R, G, B As Integer
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
R = TextBoxR.Text
[CODE]........................
View 3 Replies
Dec 21, 2009
I am wanting to make it so when you push a button, it will save the code in the RichTextBox as a Batch file.I want it to bring up the menu like it does when you hit save as.Here is what i have so far:
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
With SaveFileDialog1
.Title = "Save File"
.Filter = "Batch Files | *.bat"
[code]....
View 1 Replies
Jun 6, 2010
have a code for load info to textboxes and save to ini file.like takes info from hello.ini file and when i load rhe program it will take the info to the texteboxes...
View 5 Replies
Feb 2, 2010
i'm making a webbrowser, curectly in version 2. 6. But i need some codes before i can release it.
-Source Code
-Save page as
-Delete Cookies
And if you know some more properties for the webbrowser, like options.
View 3 Replies