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 strongm 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: *

  • Users: DGEN
  • Order by date
  1. DGEN

    re. Using Vectors Issue could anyone help ?

    Hi again Ok what you are saying is for me to use an iterator when i first place the nodes into my scene is this correct? will this then allow me to not need to enter a number into the if statement later where the array is mentioned? so i would be able to use the vector and get the software to...
  2. DGEN

    re. Using Vectors Issue could anyone help ?

    Hi again Ok I appologise for being so vague earlier below is the official code for the sections that i stated if (selectedSceneNode != 0 && selectedSceneNode != nodes[900]) { selectedSceneNode->setMaterialTexture( 0, driver->getTexture(TilePic[T]) ); } where i have selectedSceneNode !=...
  3. DGEN

    re. Using Vectors Issue could anyone help ?

    Hi all I am a bit of a learner in C++ what i need to know is how to read a vector without having to put a number in square braces. I am making a program using an engine called Irrlicht to develop the application (RPG Builder 3D) and I use the mouse pointer to select a node (model) and repaint...
  4. DGEN

    re.using text files in vb.net

    Sorry that last post made no sense ok i have files that contain lines of stats for each of the cards that is in that deck of cards eg Card Name.txt | Stats.txt --------------------------------- Dark Warior | 03,03,04,02,33,01 Necromancer | 01,01,03,01,05,00 Dark Dragon |...
  5. DGEN

    re.using text files in vb.net

    HI That was not the method i was looking for but it useful nonetheless Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim intVal As Integer Dim sr As New System.IO.StreamReader(“C:\Print.txt”) MsgBox(“File Print.txt...
  6. DGEN

    re. why wont the images change

    Hi Thank you for your reply but i had got to the botom of it I thought that the below code would work Card_1.Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(6) & ".jpg") But it was simply: Card_1.Image = Image.FromFile("..\Card Decks\Dark Pack\" & number_choose(6) & ".jpg")...
  7. DGEN

    re.using text files in vb.net

    Hi Thank you for that Finaly i would like to know what the VB.net equivelent to the code i placed on my last post was but as a sequential file as in "1,2,3,4,5,6" instead of a new line for each what i mean is that i would like to know how i would go about reading the same file as previous but...
  8. DGEN

    re. why wont the images change

    Hi All I am not used to working in vb.net as of yet so this will seem like a real newbie question. i am trying to link an array to six images that are in my program i assumed that the below code would would work as i cannot see another way in the list of objects that appers on pressing the...
  9. DGEN

    Re. Reading text from a file and using it

    Hi Thank you for your quick reply here is another piece of code that i used in a previous program this code loads a file for reading and also i found it useful for my card game - why did they have to change vb so much 16: Private Sub cmdFileIn_Click () 17: ‘ Read the sequential file 18: Dim...
  10. DGEN

    re.using text files in vb.net

    Hi Thank you for your quick reply here is another piece of code that i used in a previous program this code loads a file for reading and also i found it useful for my card game - why did they have to change vb so much 16: Private Sub cmdFileIn_Click () 17: ‘ Read the sequential file 18: Dim...
  11. DGEN

    re.using text files in vb.net

    Hi All what would be the VB.net equivelent of this code from sams teach yourself vb6 in 21 days 1: Private Sub cmdFile_Click() 2: Dim intCtr As Integer ‘ Loop counter 3: Dim intFNum As Integer ‘ File number 4: Dim intMsg As Integer ‘ MsgBox() return 5: intFNum = FreeFile 6: ‘ Change the...
  12. DGEN

    HELP How can i load a date from a sequential file

    Thank you jebenson your post worked perfectly Cheers
  13. DGEN

    HELP How can i load a date from a sequential file

    I have been trying to get a program that i have been working on to load a date but everytime i do this i keep getting an OVERFLOW message. i have tried numerous things but it does not seem to work is there anybody who can help me with this problem if you could i would be very greatful. this...
  14. DGEN

    HELP how can i load a date from a sequential file

    Anything after 5 is a date this code was written in VB6 what did you mean by saying that it is a vb script forum [neutral] i am new here see well anyways do you know what the problem is
  15. DGEN

    HELP how can i load a date from a sequential file

    Oh and below is what the file(s) im loading contains Austin 1100 (Cream) - GBX 868E.CSD start of file ----------------------- Austin 1100 (Cream) GBX 868E 1967 Very Good interior 01:01:83 01:01:83 01:01:83 01:01:83 01:01:83 -------------------------- and the database file contains the below...
  16. DGEN

    HELP how can i load a date from a sequential file

    Hi this is the code that i have wrote if somebody can shed some light as to what the problem is i would be most greatful '------------------------------------------ Private Sub Form_Load() CurSysDate = Format(dd - mmmm - yy) CurSysDate = Date ' Read the sequential file Dim intCtr As Integer...
  17. DGEN

    HELP how can i load a date from a sequential file

    I have been trying to get a program that i have been working on to load a date but everytime i do this i keep getting an OVERFLOW message. i have tried numerous things but it does not seem to work is there anybody who can help me with this problem if you could i would be very greatful.

Part and Inventory Search

Back
Top