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 gkittelson 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. 21091958

    indexOf

    Great thank you for yor help
  2. 21091958

    indexOf

    Hi Sedj This code return this error cannot invoke get(int) on the array type [E] Thank you
  3. 21091958

    indexOf

    Hello all I am newbie in java, I have an arrayList of elements (String), i need to be able to read the index of any element of that list I have tried that but no good public E indexOf (int index){ if (index<0 || index>=size) throw new IndexOutOfBoundsException(""+index); for(int i=0...
  4. 21091958

    arraylist

    Thank you
  5. 21091958

    arraylist

    Hi all I must remove an item and swap an item within the switch statement. I have been working onthis for quite a while without success, any help welcome please! Thank you import java.util.ArrayList; import java.util.List; import uucPack.InOut; public class TryList { static List theList = new...
  6. 21091958

    Select items in dud control

    It is ok i have it sorted out thank you
  7. 21091958

    Select items in dud control

    To be more explicit to force the user to enter only valid values. user must enter their date of birth using to numeric control(day and year) and 1 domain control for the month, then their age is calculated. otherwise if someone enter an invalid e.g31 of june, it returns a runtime error. cheers
  8. 21091958

    Select items in dud control

    This code works well, but in the following case statement i would like to insert some code so that when you scroll down the months, only the one with 31 days shows Case 0, 2, 4, 6, 7, 9, 11 'months with 31 days nudDay.Maximum = 31 For the other cases then the 12 months of the year will show...
  9. 21091958

    Select items in dud control

    I have a domainupdown that displays the 12 month of the year and a nud for the days of the month ( 1 to 31) i use a select case to select the number of days in each month including the leap year. For the case 0, 2, 4, 6, 7, 9, 11 i would like the domain dudMonth to display only the months with...
  10. 21091958

    Today's date

    I have used dudmonth.SelectedIndex = Now.Month - 1 it works great thank you
  11. 21091958

    Today's date

    A tricky one I have aform asking customers to input their date of birth, to do so i use 2 numericupdown controls, 1 for the day of the month (1 to 31) and 1 for the years. I use a domainupdown control for the month (January to December), then the code calculate the age of the person, everything...
  12. 21091958

    image

    Thank you it works perfect but for one thing, there is always a but, I have lost the effect of the dice rolling( displaying the different sides of the dice), now the image of one side of the dice is displayed and stay still If i use a text box i can see the value of the dice changing
  13. 21091958

    image

    I have tried both codes and their return returns an error exception at run time, it crashes after the first roll of the dice. The property of image image is set to embedded resource? Private Sub tmrStart_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrStart.Tick...
  14. 21091958

    image

    Can you explain a bit please, I am a kind of lost here thank you
  15. 21091958

    image

    diceRoll.Image = Image.FromFile("D:\MYGAME\dice1.jpg") The image is situated in the folder of the game I am using this code 6 times to represent a dice rolling. Problem, every time the game is played on a different machine, the path to the images needs to be changed, how can i get around this...
  16. 21091958

    deployment problem

    Thank you, will do that
  17. 21091958

    deployment problem

    So how can i make the application portable on other machines??
  18. 21091958

    deployment problem

    i have an application that i want to burn on cd, including the CLR files, when i build the set up, it returns this error. D:\Setup1\Setup1.vdproj dotNETFXRedist_x86_enu.msm must not be used to redistribute the .NET Framework. Please exclude this merge module. I want to be able to run this...
  19. 21091958

    sound on/off

    It returns an error when i toggle more than once on/off, off/on menu The error is in the class sound itself An unhandled exception of type 'System.NullReferenceException' occurred in MyGame.exe Additional information: Object reference not set to an instance of an object. Anyway the problem is...
  20. 21091958

    sound on/off

    Hi I have a game with several wav.files, which play whenever a player lands in a specific area of a board. I would like to give the possibility to the player to turn the sound off and on using a menu. i have tried this code but all i get An unhandled exception Help welcome Thank you Private...

Part and Inventory Search

Back
Top