Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Mibble

  1. Mibble

    how do i set a form title via a menu toolbox?

    i have deleted the other form, it was not being utilized. this.title is of object type, i can write the title to the registry and read it back, however i can not place it in the title spot, just doesnt go. if (txtTitleChange.Text != null) { this.title =...
  2. Mibble

    how do i set a form title via a menu toolbox?

    an update on what i did, on the menu bar, where i have the option to 'Set Title' i added the option for what gets opened to a text box, which i have thus named 'txtTitleChange', which does allow me to change the title, i changed this.title = txtTitleChange.text however the left side is null...
  3. Mibble

    Debugging and output messages advice needed

    post some code, perhaps we can help.
  4. Mibble

    how do i set a form title via a menu toolbox?

    i am trying to figure out how to save the title to the registry. i am not wanting to use a config file, this is so i can learn how to read and write to the registry properly. the code above shows writing to the registry, which is going into hkey current user software dummy name dummy folder, so...
  5. Mibble

    Open a Word document

    The First Step in manipulating Word in .NET is that you'll need to add a COM reference to your project by right clicking in the solution explorer on References->Add Reference. Click on the COM tab and look for the Microsoft Word 9.0 Object Library. Click Select and OK. This will automatically...
  6. Mibble

    how do i set a form title via a menu toolbox?

    i would like to set the title of a windows form via a menu toolbar, where a menu says 'Change Title'. When clicked, it allows the title change with Aa thru Zz only (no numbers, etc). If no title, it defaults to welcome and the registry key for the title is deleted. currently items working are...
  7. Mibble

    Sales Calculator Programming Help

    I converted to a console app, found out there was way too much stuff in there, and have it to this point. however my logic is wrong at the 501 level, where the 25 bonus is to kick in. using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace sampleapp1 {...
  8. Mibble

    Sales Calculator Programming Help

    yes, this is a windows application. my first one! thus i will most likely debug it as a console app, then figure out how to make it a windows app. thanks for the info on setting to 0.00 I do have ttlSales += addingSales; this is where the error is for unassigned variables...
  9. Mibble

    Sales Calculator Programming Help

    Hi there all, My task is to create a sales calculator, where sales up to 500 are given a 3.5% commission rate, up to 1000 are given 4% and above 1000 are given 5%. The total sales are tallied, and increment a number of sales counter. This is then divided to give an average sale. commission due...
  10. Mibble

    Console App Programming Help

    ok found out it is when i check for y/n, if i enter two characters it crashes. unhandled exception: system.format.exceptioin: string must be exactly one character at system.char.parse(string s) i didnt put the caps in the line where they go, however i hope you get my jist. John
  11. Mibble

    Console App Programming Help

    i was doing some testing, if you enter 2.224 (what i used) on the first time in, it gets seen correctly as invalid. upon saying y and enter in 2.24 it crashes.
  12. Mibble

    Samba works as root

    did you do your basic setup? http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html
  13. Mibble

    Copyng images from the web

    As a webmaster hosting lots of sites, no it is not, unless you know the exact name of the images. any good webmaster will try to protect images, programs, etc from people who may decide to come along and use the images/programs for their use.
  14. Mibble

    Console App Programming Help

    yes, much simpler and works properly. thanks! i just have to brush up on my programming skills. i first took C in 1986, then never used it.
  15. Mibble

    Console App Programming Help

    Ok, I believe this is it. May be round about to get it to ask yes/no and exit, however it works! Any comments/shortcuts welcomed. Thanks to Steve for helping me, and after I got it figured out the first time, he gave a great shortcut, made me think of all different ways! using System; using...

Part and Inventory Search

Back
Top