Johnny
asked on
how can i print what form and sub i am in side of???
i want to be able to print what form or file im in and the sub im in at the time of the call...
im sorta writing a debug info file ...but i want to be able to see where i am too
thanks in advance for any code or help you may provide
im sorta writing a debug info file ...but i want to be able to see where i am too
thanks in advance for any code or help you may provide
ASKER
no im looking to do something like
PrintToFile(date & "Connection - useing form/sub " & Form.Name & "/" & Form.Sub.Name & VbCrLf)
or something like that that will print the forms name ie Form1.vb and the Sub Form1_Load
thanks
PrintToFile(date & "Connection - useing form/sub " & Form.Name & "/" & Form.Sub.Name & VbCrLf)
or something like that that will print the forms name ie Form1.vb and the Sub Form1_Load
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Error 3 'Name' is not a member of 'IrcMX.EndPoint'. D:\temp\phreikchat\phreikc hat\phreik chat\IrcMX \src\conne ctivity\en dpoint.vb 569 70 IrcMX.Net
Is EndPoint your form?
I hope you are doing from VS. not using vbc command utility. And make sure your class is inheriting from System.Windows.Forms.form class.
Where you are executing this above code? I hope ZeonFlash's code will work out for your requirement.
Thad
I hope you are doing from VS. not using vbc command utility. And make sure your class is inheriting from System.Windows.Forms.form class.
Where you are executing this above code? I hope ZeonFlash's code will work out for your requirement.
Thad
ASKER
endpoint is the file its in...there is no form(design) there... its a modual i think
and im useing vb express...
and im useing vb express...
You can use Call Stack window. If it is not there in , you can add by just perssing Ctrl+Alt+C or go to Debug menu - > Window -> Call stack while debugging.
Thad