Answered
Many thanks Ian and solitaire. I will need some time to understand what you have given me and more importantly why.
PS I am using VB2012 both Option explicit and option Strict were off but are now on.
I am developing a random password generator. Producing numbers by a random search of an Integer array is no problem, however when I try to use strings i.e. letters of the alphabet I hit problems. The number of characters needed for a password is input through selection from a list box. The code...
Thanks for your reply johnH
See my code below
The rich text box text is sent to a folder and generates a word doc using this code. And I have cheched it exsits.
path =Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) & "\CardIndex" (I have given this info just show how the file...
The following code creates folders named "Index" and inside index a folder named "A" and works ok
Dim Path As String = "C:\Users\Dave's\Documents\CardIndex"
My.Computer.FileSystem.CreateDirectory(Path)
Dim A As String = "\A"
SavePath = String.Concat(Path + A)...
I have an application which uses 26 checkboxes and requires a checkbox to be set to checked when its associatand button is pressed and all other checkboxes set to unchecked. The code I am using is shown below, not too elegent can I use for next loops to achieve the same.
Private Sub...
I am developing an application where a listbox is loded at form load. This runs ok with a .txt file however if I try to load similar .doc files nothing appears in the list box. Any help with this isue would be much appreciated
My application requires the saving of the content of a RichTextBox to tile. This I can achieve, however after closing the application and then re-running it, the file exists indicated by the ms word icon but the file is empty, the text from the RichTextBox is lost. Any help with this problem or...
Hi
I have searched the forum for threads looking at control context menus and found none. An application I am developing uses rich text boxes and I cannot see how to invoke the context menus. I need cut, past, copy, bold, italics etc.
Can anyone help?
I am developing an application which initially allows the user to browse and select a save location. The selected path is assigned to a public variable which is used with concatenation to crate folder for saving user input data. How can I change the path string to a constant so the user can run...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.