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 Wanet Telecoms Ltd 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. briprogram

    ICON on laptop desktop not recognizeable (See Attachment Pic)

    An icon only shows up on the desktop of a Laptop when docked. The attached pictures shows the icon on one of the two dual monitors when docked. Take the laptop off the docking station and the icon disappears from the desktop. The laptop is a T420 Lenovo with Windows 7 and docked in a T420...
  2. briprogram

    The use of % and / Arithmatic Operators

    Hung up on this... Maybe not seeing it, I don't know. This Java Loop: for ( int count = 0; count < deck.length; count++ ) deck[ count ] = new Card( faces[ count % 13 ], suits[ count / 13 ] ); In a book that goes with this code above. Pg 310 Dietel, Java How to...
  3. briprogram

    If condition statement &quot; ';' expected syntax error &quot;

    That was it and I appreciate your help. I know Java is case sensitive but I had no idea that was as well. -------------------------- Thanks Brian
  4. briprogram

    If condition statement &quot; ';' expected syntax error &quot;

    Working on piece of code for awhile but do not see why I am getting the ';' expected, syntax error for the if statement. package squaresdialog; import javax.swing.JOptionPane; public class Main { public static void main(String[] args) { String amount =...
  5. briprogram

    Streamwriter writes to text file..start writing at end of file

    Thanks (FileMode.Append) did the trick... output = New FileStream(filename, FileMode.Append, FileAccess.Write) -------------------------- Thanks Brian
  6. briprogram

    Streamwriter writes to text file..start writing at end of file

    This gives the syntax error... Overload resolution failed because no accessible 'New' can be called with these arguments: 'Public Sub New(path As String, append As Boolean)': Value of type 'System.IO.FileStream' cannot be converted to 'String'. -------------------------- Thanks Brian
  7. briprogram

    Streamwriter writes to text file..start writing at end of file

    Hi I have information from textboxes that are being placed into a textfile from a streamwriter but I want it to write to the end of the file, like add on to what is already there. How can I do that? Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
  8. briprogram

    Make lines in picture box

    Thanks earthandfire for your help, this helped me out immensely.
  9. briprogram

    Make lines in picture box

    Just an amateur programmer here. Trying to on mousemove event to draw a picture with the mouse. Nothing fancy. See where the question marks are in the code? That is where I need to draw in the picBox. [Private Sub picBox_MouseDown(ByVal sender As Object, ByVal e As...
  10. briprogram

    For Loop does not Display Text for each Iteration

    This works mansii Thank You -------------------------- Thanks Brian
  11. briprogram

    For Loop does not Display Text for each Iteration

    I want the For Loop to display an answer on each line of the textbox but it never happens. Only the final answer shows up in the text box. What am I doing wrong? Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click 'Dim counter As...
  12. briprogram

    document.write

    Thanks for the information tsuji -------------------------- Thanks Brian
  13. briprogram

    document.write

    I am coding in XHTML 1.0 strict format. The code below-> <script type="text/javascript"> document.write("<h1>Brian's Supermarket Order Form</h1>") </script> While coding in Dreamweaver CS3 keeps giving me this validation response. The code is focusing on the < in the </h1> tag...
  14. briprogram

    Reading Text File into Structure Array

    I am trying to read a text file which has been read by a StreamReader and get the info into a Structure Array. There is a catch. The text file has no delimted characters and has a Carriage Return/Line Feed at the end of each line. The first line is Someones Name, The second line is the...
  15. briprogram

    Format Function in VB 2005

    Thanks to all, I tried misterstick's first and it worked. I haven't tried the others yet and don't know if I will have time to. In this case CSng converted the string to a Single variable from the string I was trying to convert. I was using VB.NET in a nutshell Format Function Class...
  16. briprogram

    Format Function in VB 2005

    I am sending a string value to a function and using the value in this Format Function within the called function DollarAmount = Format(DollarAmount, "000000.00") During debug I notice it changes DollarAmount variable for instance from "120.00" to "000000.00" instead of "000120.00" like it...
  17. briprogram

    Excel, Word closes when pasting into Outlook 2003

    Hi Macabee, Have not found an answer for this yet. Where I work the machines were reimaged. Drastic measure I agree to fix it but so far I have not heard it coming back yet in a couple of weeks. -------------------------- Thanks Brian
  18. briprogram

    Decimal.TryParse not working right

    Ok Never mind I changed it to say Dim isconverted As Boolean Dim currentSalesNorth As Decimal isconverted = Decimal.TryParse(txtNorthCurrent.Text, NumberStyles.Currency, NumberFormatInfo.CurrentInfo, currentSalesNorth) I put NumberStyles.Currency and took out the other two number styles and...
  19. briprogram

    Decimal.TryParse not working right

    By looking at the following code can anyone tell me why 5 typed into txtNorthCurrent.txt returns true and 5.0 returns false? Dim isconverted As Boolean Dim currentSalesNorth As Decimal isconverted = Decimal.TryParse(txtNorthCurrent.Text, NumberStyles.AllowCurrencySymbol...
  20. briprogram

    Excel, Word closes when pasting into Outlook 2003

    There is a user who is using Office 2003. When selecting anything on an Excel worksheet including just a cell with text. The user then opens up a new email or reply email and the Excel will just close. It literally just closes. It happens everytime. The user can take text in a word document...

Part and Inventory Search

Back
Top