Solar power calculator

Dear all.

I am trying to implement solar power calculator using VB script.Project description is as follow . I need help in begin of the stage

The calculator helps to user to add permeters like 

1) project details-> which being store project record
2) panels details-> solar panel supplier from various vendor with model no & its description
3) invert er details-> various inverter vendor, their description
4) battery details -> various battery sizing & description
5)result-> gives based on enter values by user output calculted & gives report in pdf file.

Currently working on first stage where i have created main form & project_details form.
Main form code as below

Public Class Main


    Private Sub Bt_Project_Click(sender As Object, e As EventArgs) Handles Bt_Project.Click
        Project_Details.Show()
        // I want to Hide main form 
    End Sub


End Class

project detail form as below

Public Class Project_Details



    Private Sub Bt_cancel_Click(sender As Object, e As EventArgs) Handles Bt_cancel.Click
        Main.Show()
       // Hide project_details forms
    End Sub

   

    Private Sub Bt_Newproject_Click(sender As Object, e As EventArgs) Handles Bt_Newproject.Click

        Dim counter As Integer
        counter = counter + 1
        Dim Customer_ID As String
        Customer_ID = CStr(counter)
        Text_Address_Text1.Text = ""
        Text_Address_text2.Text = ""
        Text_City_text.Text = ""
        Text_Country_text.Text = ""
        Text_Cust_Name.Text = ""
        Text_Email_ID.Text = ""
        Text_Proj_Name_Text.Text = ""
        Text_Mob_No.Text = ""

    End Sub


    Private Sub Bt_Save_Ok_Click(sender As Object, e As EventArgs) Handles Bt_Save_Ok.Click

       
        Me.Data_Project_Data.Rows.Add(Text_customer_ID.Text, DateTimePicker1.Text, Text_Proj_Name_Text.Text, Text_Cust_Name.Text, Text_Email_ID.Text, Text_Mob_No.Text, Text_City_text.Text)

    End Sub



    Private Sub Combo_Project_Sort_SelectedIndexChanged(sender As Object, e As EventArgs)

    End Sub
End Class
problem i am facing

1)when changing one form to another , i can switch main to project_detail form , i would like to hide main form when project detail forms is on & vice versa
2)Edit project details while load project click & How to manage save data

I am trying to implement PVSYS demo its avialble in  trial version.

I am just developing basic level of code.I need help in managing database for store panel data  

August 27th, 2015 8:33am

Try asking in a Visual Studio forum, this one is for Visio.

Free Windows Admin Tool Kit Click here and download it now
August 27th, 2015 5:47pm

Hi,

I agree with Paul, this is talking about Visio that a part of MS office. Please post on this link:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio

Regards,

George Zhao
TechNet Community Support

August 28th, 2015 2:14am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics