qtex's Profile User Rating: -----

Reputation: -5 Shunned
Group:
Active Members
Active Posts:
145 (0.11 per day)
Joined:
24-October 09
Profile Views:
4,741
Last Active:
User is offline Jun 21 2012 10:25 AM
Currently:
Offline

Previous Fields

Country:
EE
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   qtex has not set their status

Posts I've Made

  1. In Topic: Show program front of the game, while playing a game.

    Posted 7 Nov 2011

    View Postlordofduct, on 07 November 2011 - 08:44 AM, said:

    in game?

    Is this a game you wrote?

    Is this game in XNA? Or are you just writing it in WinForms or WPF? Or maybe some 3rd party tool set?

    We need more data please.


    No, its not my written game. I mean something like xfire has, things come while playing.
  2. In Topic: Add Pictures to picture boxes with loop

    Posted 28 Aug 2011

    After long thinking and trying i solved this problem :D

    Solution :

     CType(Me.Controls.Find("k" + CStr(i), True)(0), PictureBox).Image = My.Resources.pic
    
  3. In Topic: Add Pictures to picture boxes with loop

    Posted 28 Aug 2011

    View Postmodi123_1, on 28 August 2011 - 12:53 PM, said:

    You would have to access them through the 'my.controls' collection.

    Off the top of my head this is what you'll need.
    my.controls.find(<key>)
    


    Then cast that as a picture box and access what ever from the picture box properties. Since they are of all the same sort of name or key you should be able to mush two strings together (the incremental number from the for loop) and the prefixed name ("k").

    Something like this:

    for i as int32 = 0 to max_picture_box_count
    ctype(me.controls.find("k" + cstr(i)), picturebox).image = My.Resources.pic
    next
    
    

    http://msdn.microsof...=VS.100%29.aspx


    this method shows error : Argument not specified for parameter 'searchAllChildren' of 'Public Function Find(key As String, searchAllChildren As Boolean) As System.Windows.Forms.Control()'.

    What can cause that error ?

    EDIT:

    I have one question more. Why this code is not working ?

    Dim st As integer = 0
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        st = st + 1
        Label3.Text = "Time : " + st + " seconds"
    End Sub
    

    error : Conversion from string "Time : " to type 'Double' is not valid.
  4. In Topic: Mysql insert code not working.

    Posted 20 Aug 2011

    ('00501', 40.81, -73.04, 'HOLTSVILLE', 'NY', 'SUFFOLK', 'UNIQUE', 0.22, -0.72, 0.65, 'Yes', 'NA', 'US', 'Holtsville, NY', 'NA-US-NY-HOLTSVILLE', '', 0, 0, '', '', 'No', '', ''),
    ('00501', 40.81, -73.04, 'I R S SERVICE CENTER', 'NY', 'SUFFOLK', 'UNIQUE', 0.22, -0.72, 0.65, 'No', 'NA', 'US', 'I R S Service Center, NY', 'NA-US-NY-I R S SERVICE CENTER', '', 0, 0, '', '', 'No', '', ''),
    ('00544', 40.81, -73.04, 'HOLTSVILLE', 'NY', 'SUFFOLK', 'UNIQUE', 0.22, -0.72, 0.65, 'Yes', 'NA', 'US', 'Holtsville, NY', 'NA-US-NY-HOLTSVILLE', '', 0, 0, '', '', 'No', '', ''),
    ('00544', 40.81, -73.04, 'IRS SERVICE CENTER', 'NY', 'SUFFOLK', 'UNIQUE', 0.22, -0.72, 0.65, 'No', 'NA', 'US', 'Irs Service Center, NY', 'NA-US-NY-IRS SER
    


    Add '' every variable. Example : ('00501', '40.81', '-73.04', 'HOLTSVILLE', 'NY',
  5. In Topic: Undefined index errors

    Posted 19 Aug 2011

    Can you show that code also where those $_POST[''] variables are coming ?

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
July 18
Gender:
Location:
Estonia
Interests:
Friends
Years Programming:
4
Programming Languages:
C/C++,VB,HTML,PHP

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://adf.ly/p5d4

Friends

qtex hasn't added any friends yet.

Comments

qtex has no profile comments yet. Why not say hello?