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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  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

    ...= new TitleQuery(); if (theQueryDialog.ShowDialog() == DialogResult.OK) { // vba code generated from recorded macro to "remind me" how to do it. // ************************************************************* // Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter //...
  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

    ...} else { commRate = 0.05; } commDue += (commRate * addingSales); Console.WriteLine("commission due is {0} and rate is {1} and average is {2}", commDue, commRate, avgSale)...
  8. Mibble

    Sales Calculator Programming Help

    ...app. thanks for the info on setting to 0.00 I do have ttlSales += addingSales; this is where the error is for unassigned variables. numSales++; avgSale = (ttlSales / numSales); commDue += (commRate * addingSales); numSales and commDue and...
  9. Mibble

    Sales Calculator Programming Help

    ...ttlSales += addingSales; numSales++; avgSale = ttlSales / numSales; commDue += (commRate * addingSales); if (ttlSales <= 500.00) { commRate = 3.5; } else if...
  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

    ...}; string amntIn; Console.WriteLine("Our bank is ${0}.00. Please enter your request. Numbers only, Format: XX.XX ", (bank * .01)); amntIn = Console.ReadLine(); //Validation to perform if (objValidate.IsPositiveNumber(amntIn))...
  16. Mibble

    Console App Programming Help

    it is a c# class, college 200 level class. first assignment is via console, i think the rest will be windows applications. one of the others i am in, is where a blog application needs to be written for asp 2.0 which is also a 200 level class.
  17. Mibble

    Console App Programming Help

    ...}; string amntIn; Console.WriteLine("Our bank is ${0}.00. Please enter your request. Numbers only, Format: XX.XX ", (bank*.01)); amntIn = Console.ReadLine(); //Validation to perform if (objValidate.IsPositiveNumber(amntIn))...
  18. Mibble

    Console App Programming Help

    that is a whole lot less code! i need to delve in quite a bit! any recommended books to learn this? with a negative #, it gives 'press any key ... and then exits. i will get the validation worked on, then the loop! thanks for your help, i will be back with what i find.
  19. Mibble

    Console App Programming Help

    ...number is {0}", changeRequest); // convert to 100 times the amount, easier for subtraction changeRequest = changeRequest * 100; // start of counting the change while (changeRequest >= 25) { changeRequest =...
  20. Mibble

    Console App Programming Help

    i do have changeRequest set to int and at zero, one of the first lines.

Part and Inventory Search

Back
Top