need help here in vb6 save command -
here is my code is save command
cmdadd.Enabled = True
cmdsave.Enabled = False
cmdcancel.Enabled = True
Adodc1.Recordset.Update
Adodc1.Refresh
txteid.Locked = True
txtfname.Locked = True
txtlname.Locked = True
txtha.Locked = True
txtcn.Locked = True
'txtdob.Locked = True
txtpob.Locked = True
txtcs.Locked = True
txtdept.Locked = True
txtpoc.Locked = True
txtpe.Locked = True
If MsgBox("Are you sure you want to save?", vbYesNo) = vbNo Then Exit Sub
here a screen shot of my prob.
pls help me with this.
i will be waiting
thanks yo
is there a save command -
In fortran there is a command called save. One would use this statement to save variables that were declared in subroutines so that they may be used the next time the subroutine was run.
Is there a way to do this in VB6 without using public variables?
execwb save as functionality -
I was wondering if you knew of a command (sequence) that would simulate the "save as" command of Internet Explorer that creates an entirely localized version of a web page (as well as save the graphics, scripts and objects offline). I am building a form of offline browser a
How do save an image from a command button to a file -
I have some pictures on some command buttons. I want to use these icons in another piece of software, but I do not have the original images.
How do I save the command button picture to a file?
Thanks!
Saveing data -
Hi everyone!!!
I have a Form Called Form1 this are the Following Text boxes that the Form has.
TEXTBOX1,TEXTBOX2,TEXTBOX3,TEXTBOX4and a command button called SAVE.
Now what I would like to do is when the user clicks on Save
it would save all the Value inside the Textbox and
how to connect vb6 to microsoft acess table -
hi,
i have created one form and placed 2 textbox and a command button, as well i have created a table in microsoft access, the table name is table1, in table1 created 2 fields namely NAME and EMPLOYEE NO.
In vb From Command Button i want to use as SAVE command
In command button pro
save command -
can any body out there help i need to put a save command
in my project
thanks in advance
I don't want re-save opened documents -
After opening one .dot and launching text macro, when I want to close document, it asks for save or don't save document. I never don't want save it. What command I can write into for it? Ty.
Sry for my English
Save as an HTML Page with Excel -
Hello,
I didn't arrive to use the ExecWB command in order to save an HTML file (with images ...) on the hard drive.
I'm a beginner in VBE.
For the moment, I arrive to save to a .txt file.
In fact, i would like to do as Internet Explorer did. 'File', 'Save As' with two param
easy save as question -
when saving a file how do you pullup the save as/save in command?
how to save textbox data into file -
ya i know one way through common dialoge box but each time it dialoge box open and ask for filename and path........i want to save data autotmatically in c directory with defaultname
suppose you have 10 textboxes and one command button in a single click of command button.... you wi
key words or commands -
I was wondering how I should go about setting up a key word or command word system in my program.
I was thinking about having something (a symbol) in front of the key word or command to seperate it from other words.
maybe like %save -filename -c:\windows\programs\stuff
where %
command button to save your textboxs value -
hii everybody
i want ask you about my form that contain 3 textboxs with one command button so i want to make this commandbutton to save what is in the textbox as *txt files for next use
please help and give me if it 's possible the function or code ,okey!
--------------------
your
Help with Save coding **RESOLVED** -
Hey, i've tried for quite some time to figure out the coding on how to save something when a command button is clicked or where someone presses save in the menubar. What i want my program to do is to have it so when the User clicks Save in the menubar it will save any changes that have
Write to the command line -
What i want to do is write back to the comamnd line.
type into command line: program.exe -options
return to the command line: "-save(save file). "-more option (some text)"
How to Save a file in Wordpad using VB -
Hi Friend,
I need to open a "a.wif" file in the wordpad then I need to save the same file immediately with out any updation and then I need to close it.
For opening a file I used this command:
Shell "C:\Program Files\Windows NT\Accessories\wordpad.exe D:sam\a.wif&
Lost Focus -
Is there any way to know what control is gaining focus during the lost focus event of the current control?
I have two command buttons (save and cancel) that I need to exclude from the validation that happens on the lost focus of a VSflexGrid. On the lost focus of the grid, if the u
help with coding -
I need to make 2 command buttons
1. a save button that will save in seuqunetial form
2. a save button that will save in random form
Can somebody people show me the difference?
and please explain in words of what is the difference
Thank you!
command button with pause / continue function -
hi all,
in my program i have a command button which will automatic click and trigger database to save data when the vb is execute. i need add in another command button which will pause the database to save data, but in the same time the display value will continue show on. when i cl
Generate Save Filename -
Ok, here is the situation. I want to reuse the same form for different users. I want them to click a command button and it save the document in a specified directory. Now how do I set up the script so that every time the command button is triggered that the file name is adjusted so
DataEnv--how to save child command data -
I've got a structure similar to the classic Customer/Order scenario. Given the relationships involved, the SHAPE command is used in the parent's hierarchy properties.
I can browse data from all tables, so I know the bind are correct.
While I can edit and save Customer informatio
Save As..........(Forms) -
I would like to save the whole form when the application is running. According to the VB help file, all you need to do is enter:
form1.saveas nameoffile
but this command does not work. I just want them to be able to save and load the whole form, with like the tesxt boxes filled i
how to save settings enter by user -
i am doing a program that lets the user select the volume and other setting like zoom, focuz, mute..... by using sliders and option button. in the same form, i have a command button that is to save the new setting input by the user. is there anyway to write the code so that the next
Common Dialog Box - Newbie Style -
I have a program that when you click save, it brings up the save common dialog box. How do i assign actions to the save and cancel command buttons? Because when i save, it saves, but when i cancel, it still saves. I doing it wrong. Please Help
Save the ' and " symbols -
halooooo,
i'm working on a web based system project, and i get an error whenever i try to save any text which have the (') and (") symbols, and i save my data using the sql insert command, may i know how can i overcome this problem
please help
thank u
Save and retrieve images from a database -
I
I need to save a jpg image in my SQLserver express database. Can someone tell me how can i do it?
Please look at my insert command
Dim connection As New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\novapastavb\novapasta.mdf;Integrated Security=True;Connect Tim
how can i save my data to other file -
hii.
i'm the new members here . I had a problem to save my data to other file. actually, i use some device(labjack u12) to collect data and using VB6.0 progrraming. but now, i had some problem about how can i save my data to other file. which mean, when my programmming was run and col
misunderstood my question -
It seem like everybody is misunderstood what i needed...
this possibly because i've not very good in english....
my question is:
i've an existing form, I want a save button (command button) that can save this form into different filename....when a user click this save button, th
Save file using command promt -
seems very wiered query,but is it possible to save any file from internet to local disk using commandprompt.
for example there is one zip file at http://abcd.com/file.zip than can i download that file using command prompt.
save excel file -
Hi,
In my VB6 project, I read the RS and save to field to the excel sheet and everything OK except everytime when save to the excel, it prompt up to ask overwrite the file or not. I want that message not showing. Anyway to get around that?
The command I'm using in the code.
xl
Hot keys for Command buttons -
I need a help to define hot keys for command buttons in VB6. For example if I have 2 button in my form called Save and Exit, i need to define F2 for save and F3 for exit as hot keys. I need the buttons to be fired when I press the F2 or F3 buttons without focussing them by TAB key. I t
Two doubt in the access -
Hi
1) when I insert the data in the access , example 2.54 or 10.35, it save like 2540 and 10350 , why ?
2) How do I use command object in the vb to save in the ACCESS table , using procedure inside the access?
I have a query (procedure) in the access and want use
--> ' <--- How can I save data which includes this mark with SQL -
I have a textbox and I want that user enter and information in it and then press a command button to save it but if the textbox has --> ' <-- this mark.Program doesn't save that information and gives an error message
Thanks For Your Helps
Set Defualt OptionButtons and Save Button -
In VBA how do I set a default Option Buttons so they are selected at startup, I would also like to include a command button that can be used [SAVE] any changes to the buttons so the saved changes load next time the form is loaded and also a command button that can be used to restore th
[2005] Express My.Settings Saved by Command button -
Hi,
I've looked through my project, and I cannot find where my.settings are actually saved.
Currently, my project is designed to allow the user to save the current state of the form, that is if all buttons are enabled, they stay enabled, if they are programmatically disabled, they
Save and Save As... [resolved] -
I've done a search of the forums and haven't been able to find my answer.
I'm using standard common dialog box code to do a save (simple textbox into a text file).
But how does Save and Save As work? ie Save As will always open the dialog box - but clicking Save should just save
vb2005 parameterized tableadapter wont save to access database -
i have a parameterized table adapter whose sql string is
select * from table where field=?
i use it to fill some textboxes in a form but after i modify the values
and try to save to database it doesnt save
the code for saving is
bindingnavigator.endedit()
tableadapter.upd
[2005] Trying to capture "Save" dialog from other app -
I have an app that interacts with another program and takes information from it. In the other program, there are program defined objects that I use to capture most of the info I need. However, there is a point when I need to bring up the "Save" dialog of the program to save
Save file to desktop -
Hi all, just a simple question (I hope!)
I'm writing a program and I want it to save the output .txt file to the desktop. Of couse, different computers will have different directory paths to their desktop (I.E. C:\Documents and Settings\Bob\Desktop - the username will be different i
Calling a Dialog Command Box -
Hi..
In my code I use a dialog command box to open, close and save file and also to change a color... the only problem is I can't get it to appear in the center of the screen...
Is there a way to make the command box be centered in the screen every time I open it?
thanks in a
How do you save an array -
I am currently trying to write a program which will interface with an oscilloscope and produce a number of test as a waveform output.
The data transfers into an array and i would like to save this array as a .txt file by using the save as command button. The test are seperate so i w