Link to home
Start Free TrialLog in
Avatar of piranha
piranha

asked on

Gantt Graphic in VB 6???

I want to make a Gantt's Graphic in Visual Basic 6, but the data will be given by the user on the execution of one form in my program, like an input in a text field, how i make this posible??, of course i want to display this graphic in another form. Please, describe me the process. Thanx.

piranha

ASKER CERTIFIED SOLUTION
Avatar of Erick37
Erick37
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Alternatively, you could update the data dynamically using a function (method) in frmGraph:

'FrmGraph method
Public Sub UpdateGraph(Data1 As Long, Data2 As Long)
    'Update the graph with the new data values
End Sub

'frmEntry call
Private Sub Command1_Click()
    frmGraph.UpdateGraph Val(Text1.Text), Val(Text2.Text)
End Sub
Avatar of piranha
piranha

ASKER

I want more details about how i use my data in my graph form to make a GANTT's graphic, please. look, my data will be given as hours expended in activities, for example:

How many hours do you need for
Activity 1: ______ <---Text Field
How many Hours do you need for
Activity 2: ______ <---Text Field

and with this i will make my Gantt's graphic, labeled in Y with the activities and labeled X with the hours,
ok, please, can you give me a more detailed explanation.

Thanx.
Piranha.
 
Are you drawing the chart yourself or using MSChart control?
Avatar of piranha

ASKER

I think that MSChart don't have features for Gantt's Graphic, but i don't know, With MSChart can i make this kind of graphic??, if the answer is afirmattive, how can i make my Gantt's graphic using the details in the comment above yours; thank you very much for your help.

Piranha.