thanks i think this helped to understand it more , but if possible i would still like for help . i am using vista and its seems to decline access when the programs tries to save the file and comes up a error message . any ideas on this and the first problem?
thanks again for the time/help
rob
User Profile
Collapse
-
need help visual basic 9
i wont a text file to load into a rich text on box on load , then save when the form closes. my problem has been creating the text file , i am very new for visual basic and could use some help this is my attempt on this.
Private Sub Form1_Load(ByVa l sender As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load
RichTextBox1.Lo adFile("C:\Outp utFolder\lol", RichTextBoxStre amType.PlainTex t)... -
Is there a way from protecting a file with a password?
i wont to protect a file with a password , so it can't be opened without the password
kinda like those file lock programs you can find on the web.
is this possible in vb6 ? if so how would i be able to do it ?
i am new to vb had a small attempt and was no where near , thanks for your time/help
Rob
i have made a small password form (form1) which i would like to use as the... -
thanks this worked well thanks ............... ............... ............... ....Leave a comment:
-
Help vb6 is not equal to
i am doing a very small project to get used to using vb6 but, i am stuck i wont a dialog box to appear when the text is not equal to what i wont it to be . I hope it will make more sense after my basic code
If TextBox1.Text = "password" Then form2.show()
If TextBox1.Text = Nothing Then Dialog1.Show()
i wont to add in a line of command so that if textbox1.text doesn't equal "password"... -
How do i open save dialog for a richtext box?
i wont have made a simple program for my self , with 2 tabs a text document and a web browser , i have had a little look and could not find a way to open a Save As dialog for my Richtextbox is this possible or how should it be done? ( i wont the Save as dialog to save the richtextbox.tex t as a file with an option to change the file name)
thanks for your help/ time -
-
help loading form2 when form1 is hidden
i have only made programs with 1 form or control before as i am new to vb.
i have added a hide button to my to my form(form1) (me.hide)
i wont form2 (form2) to load when my form1 gets hidden
how would i go about doing this? (i am using vb6)
code or advise is very useful
thanks for your time/help -
help on a command that will only run on first start of program
this is my code
Private Sub Form1_load(ByVa l sender As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load
RichTextBox.Loa dFile("C:\\file notes", RichTextBoxStre amType.RichText )
End Sub
Private Sub Form1_FormClosi ng(ByVal sender As Object, ByVal e As
System.Windows. Forms.FormClosi ngEventArgs) Handles Me.FormClosing
... -
ty i understand , but can some1 give me an example of the code. i am still new to vb :P
thanksLeave a comment:
-
need help adding a note pad
i am making a web browser , i have all the web browser controls sorted out , i wont to add a textbox or notepad at the bottom of the page , it only needs to be about 2-3 lines , where i can sort some text , that will still be there when i next open the browser.i wont this area to be editable so i can change it and add new things.
how can i do this?
thanks rob... -
do i need to import the IE java control , or should it just work because at the moment , it comes up with a gray box where the app would beLeave a comment:
-
Building a web browser - how to handle Java apps?
i wont to make a simple web app that loads just 1 page. i can make it so it loads to that page , but i was wondering if there was a way to get vb6 handle java, so i can view the java app on that page.
thanks rob , if this wont work please post that. -
thanks i'll trying working thought this , first day on vb tho so a little confusing but i'll work it out :) good answer...Leave a comment:
-
help with making a web browser ( vb6)
i was wondering if there was a easy way of adding favorites , history and make it so my combobox updates went entering a new website on my web browser , code would be helpful and as i'm new for vb would be great of you to do a little explaining too (if possible) .
thanks for your help (using visual basic 6) -
ahh don't worry , i retyped some of the code made a few minor changes and it works thank you
i understand the process more and on adding more keys that preform tasks
and yes i did forget to change to key press :P only started vb today...Leave a comment:
-
i tried using both codes and none seemed to work for me thanks for trying , not sure if i understood fully...Leave a comment:
-
still not working , but ty i probably didn't understand as i should of.
can anyone give me a code? then i might be able to work round other problemsLeave a comment:
-
need help making a web browser on vb6
i wont to make so the enter key can submit the url, like on firefox and IE , when i press enter it takes me to website i typed in instead of pressing the button , i had a few guesses but i'm new to vb and got it wrongh
any help would be great
If keyascii = Keys.enter Then WebBrowser1.Nav igate(ComboBox1 .Text)
End if
thanks -
Build a web browser in VB6 without using Enter key
i am making a web browser and wont to be able to use The Enter key to affectively press go, if possible tell me the code or tell me where to start and what command to use ( i am using visual basic 6 )
No activity results to display
Show More
Leave a comment: