Search results for query: *

  1. hipturtle

    How to Play a MP3 file?

    I am sorry then I don't know what else to do. Good luck
  2. hipturtle

    Combo Box

    You could create a readonly property as below: ReadOnly Property Choice(ByVal ChoiceIndex As Integer) As String()Get Dim ChosenArray(2) As String Select Case ChoiceIndex Case 0 ChosenArray = {"1","2","3"} 'Obviously you would put what you want in these arrays Case 1 ChosenArray = {"4","5","6"}...
  3. hipturtle

    How to Play a MP3 file?

    In that case surely you can install the windows media player to your program then and play the mp3 through that. I have created a Media Player that plays all sorts of media types including MP3 so long as you have the correct codecs installed. Regards
  4. hipturtle

    How to Play a MP3 file?

    This is fairly easy you can use Process.Start("c:\track01.mp3") for instance this will open in the default player for MP3, I cannot try it on Windows 7 but it works on Vista. You dont need to import Diagnostics for this, that I have found anyway, If you do then its Imports System.Diagnostics...
  5. hipturtle

    Indenting my code when I post in the forum

    Hello I have answered som posts recently and I don't seem to be able to get the hang of indenting my code. I have tried the CODE /CODE and the XCODE /XCODE Tags but they don't indent the code so i tried it with indented the code manualy with the tags but this did not work either. Please can...
  6. hipturtle

    programmatically adding items to a combobox

    Hello To add items programmaticaly to a combobox, if for instance you had a combobox called Add_cbb then you would use the code: Add_cbb.Items.Add (Adds 1 at a time) or Add_cbb.Items.AddRange (Obviously adds a few at a a time) Hope this helps
  7. hipturtle

    Question Need Help with Dialog File

    Hello You are just about there you just need to get rid of the savedialog. Try this Dim FolderName As String = "C:\MyFiles\" Using openDialog As New OpenFileDialog() openDialog.CheckFileExists = True openDialog.CheckPathExists = True OpenDialog.CheckPathExists = True openDialog.Filter = "Text...
  8. hipturtle

    Question Argument Exception is unhandled

    Hello I am not sure why you are getting this error, but I loaded this code into VB.Net 2010 and everything seemed to work ok. Obviously I had to make some changes as I did not know where buildstatus or level came from. As you can see I took the astring, bstring and cstring out of the loop and...
  9. hipturtle

    how to insert data to 2 different database table?

    To link to 2 different tables in a database you should be using for instance, Select Unique Table1.Item, Table2.Item From Table1, Table2 Where (Your conditions here). For you second question I assume you mean from within a vb.net program. You just need to be checking each order against the...
  10. hipturtle

    Question Annual income calculation help??

    Of course if you know about Structures you could hold the data in your own Structure array. IE: Public Structure ProductsDim 8Track as Integer Dim Cassette as Integer Dim CD as Integer Dim BlueRay as Integer Dim SSDFlash as Integer End Structure and then assign this to a Variable for...
  11. hipturtle

    Question Annual income calculation help??

    Hello I am not sure how much programming experience you have and don't want to insult you, but if it were me I would have put this into a DataGrid. Though as you have put it into a listbox my next bit of advice wold be to put the data into an Array / Arrays or even multidimensional array. This...
  12. hipturtle

    Help with program...

    Thanks for that JuggaloBrotha I did not know about the Double.TryParse this is something to remember for me in the future. Definately something missing in your code as the code shown works on it's own so you must have other code that has need of the missing dependency (Dll) I would go through...
  13. hipturtle

    Help with program...

    The code here is not going to do anything, dblPrice and dblNumber are not set to anything so when run will have a value of 0. So no matter what you enter into the textboxes you will have 0,0,0. I put the program together to try out the theory and surprise, surprise it was 0,0,0. Not sure why...
  14. hipturtle

    Question Best way to save sorted data to an array (or display it)

    Ok I get you now. As to your question about a mulit dimensional array, I would steer clear of these until you have more experience. If it were me: Firstly at the end of the game I would check to see if the player has tied with the highest player IE the one at the top, now you could check...
  15. hipturtle

    Question Best way to save sorted data to an array (or display it)

    Sorry I don't think you get what I was saying (I understand about the arrays). What I want to understand is what you are basing the 100% on. Normaly in a quiz type game as you seem to have, to get 100% you need to get all the questions right. So how can you have two people with 100% and one have...
  16. hipturtle

    Run as admin?

    This maybe a stupid question but in the Manifest File did you set the level to highestAvailable which should according to MSDN Microsoft allow the application to run without any fuss. Unless I am reading this wrong. Regards
  17. hipturtle

    Question Best way to save sorted data to an array (or display it)

    Surely if the user has 100% then they have all the questions right, so how can you determine which person has done better than the other in this case. There is an answer of course but it would involve another array and a timer object. Keep a track of how long it takes for the user to do the...
  18. hipturtle

    Run as admin?

    I have never had to do anything like this before so don't realy know what to do but I have something that might be of interest to you. Check out this address Making a .NET app run on Vista with Administrator priviledges - .NET sample code - developer Fusion It looks like this might be what you...
  19. hipturtle

    Question How to bubble sort data in ur MS Access database

    Sorry I don't think you got what I said, Is all the data being put into 1 DataGridView? because if you are this makes it different than if you were using a couple of DataGridViews.
  20. hipturtle

    Question How DO you create a taskbar

    What are you wanting this for. If it is to create a user object for other forms then there is already something like this, the StatusStrip that you can use. Regards
Back
Top