Search results

  1. Q

    String array manipulation

    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...
  2. Q

    Loading a richtextbox the text in an MS word Doc

    How do I load the text in word document with a known file path into a RTB
  3. Q

    Question Saving Files issue

    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)...
  4. Q

    Question Can I do this with a loop

    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...
  5. Q

    Question Why can't I load a lostboxfrom an ms doc list

    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
  6. Q

    Question Lost RTF file

    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...
  7. Q

    Question Control context menues

    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?
  8. Q

    Convert a string variable to constant

    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...
Top Bottom