Search results for query: *

  1. juggernot

    Email program

    I got it working now. What I had to do was dim a mail attachment on form level. Then, in the button2_click I had to make that mail attachment = new mailattachment (Attachment Path). Then I just had to add this code to my button1, before I send the email. message.attachments.add(myattachment).
  2. juggernot

    Email program

    I'm having trouble sending attachments with my emails in my newest program. I believe it is because I am trying to access my mailmessage in a different sub, and it isn't working. Making my mailmessage form level doesn't seem to work either. I have one button to load an attachment, and one button...
  3. juggernot

    calculator program

    Yes, using decimal our double woult be the safe bet...But the answer could be really long as well. I need something that can include a decimal, but is as big as a long? Is there a data type like this? At this point, if there is an easy way I've decided not to do it. I'd rather do it the hard...
  4. juggernot

    calculator program

    I believe I have come up with an algorithm which would work. Currently It's only on paper, and will not have time to code this program for a few days. The algorithm finds the innermost bracket and works its way out. In each bracket it evaluates and replaces the strings in order of operation. For...
  5. juggernot

    calculator program

    It won't be that simple. I need to create a logarithm which starte by looking for brackets. If an opening bracket is found, it checks to see whether a closing bracket or an opening bracket comes next. This way it finds the innermost bracket, and can work its way out. It then checks for...
  6. juggernot

    Button Click issue

    Is might be able to help you, but you would need to post your complete code. Also, you could attach a zip file of your program. I use 2003, not 2005, so I would not be able to use your project, but someone else could. Also, I don't really understand the code exapample you gave. Care to explain...
  7. juggernot

    calculator program

    I don't think it needs complete revision. I didn't think it would work the simple way, so I was already planning on doing it the hard way. I just need to do some string manipulation, convert some strings to integers and do the math according to the order of operations. It will be tough, but not...
  8. juggernot

    calculator program

    I am making a calculator program. Most of the buttons simply add a character to a textbox at the top of the screen. When the equals button is pressed i need to take that string and make it a number. The string could be something like : "134/(5)^2". Is there an easy way to do this? Or do I have...
  9. juggernot

    advanced tutorials?

    Does anyone know a good resource for someone who wants to learn the more advanced things in vb.net? I would say I have covered all the basics, and I am not being taught anything new in school. For instance, I still haven't been taught how to create a web application, or even a program which can...
  10. juggernot

    web browsing questions

    I would like to create a program that has three different options. A) Records websites visited (observing mode) B) Allow only permitted websites(Restrictive mode) C) Lock web browsing unless password is provided (Lockdown Mode) I do not know where to begin. How does one monitor which websites...
  11. juggernot

    Create an array which contains all characters

    Thank you, you've both been very helpful. I found out what was wrong with my code, apparently when you are making a string, you cannot contain a quotation within quotations as I did. eg : """ However, I'm probably going to do it Johnh's way. Thanks for showing me the .tochararray function though...
  12. juggernot

    Create an array which contains all characters

    I'm trying to create an array which contains all characters on the keyboard, though I'm saving them as strings. Something is wrong with my declaration of the array, but I don't know what. I'm not finished yet. Dim chararray() As String = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k"...
  13. juggernot

    Clickevent for an array of pictureboxes

    I have added pictureboxes to a form through an array. Now I want to detect when the user clicks on one of these pictureboxes. How would I do this?
  14. juggernot

    I've been outsmarted by a circle!

    That missing l was because I didn't copy and paste my code. That mistake isn't in my code. If there is a way to do it in the form load procedure than I would like to do it like that. The paint event screws things up for me when the form is resized. But there are ways to get around that I guess...
  15. juggernot

    I've been outsmarted by a circle!

    I seem to always have problems when it comes to graphics. I'm trying to draw a circle in form load. I've finally gotten to the point where I don't get an error, but the circle still doesn't show up. Could someone give me the code to create a circle? Mine is something like this... dim...
  16. juggernot

    adding controls(Chess board)

    Okay, after some fiddling around, I've gotten it to work.
  17. juggernot

    adding controls(Chess board)

    Okay, I've changed my code a bit, and gotten an even stranger result. Now all the squares show up, except for the first 7 in the last row. Here is my code. Dim intcounter As Integer Dim coloumnnumber As Integer Dim rownumber As Integer Dim picbox As New PictureBox...
  18. juggernot

    adding controls(Chess board)

    I'm trying to create a chess board using pictureboxes. As far as I know, my code should work. I can only see one square that was added successfully. Could someone please show me what I'm doing wrong? Here is my code. Dim picbox As New PictureBox picbox.Height = 50...
  19. juggernot

    manually sort array

    Thanks for the help guys. It makes sense now. My teacher didn't explain that after each pass we should exlude the sorted number, but I should have thought of that.
  20. juggernot

    Adding Equipment/Items to an RPG

    I don't exactly know what you mean. Do you want the equipment to be 'edited' in-game? I'm assuming not..? I would create a class that would hold all the information neccessary. This information would include Name, Price, Attack/Defense, MagicalAttack/Defence, etc. Then I would add each piece of...
Back
Top