Search results for query: *

  • Users: pukya78
  • Content: Threads
  • Order by date
  1. P

    Writing to a file opened in another class

    Hi, I am trying to write to a file. I have 3 classes defined. In 1 class (Test), I have the File open, close utilities. The application is a console application. I am opening the file in class Test1. I write something in it. Then I call a sub in class Test2. Here when I try to write in the...
  2. P

    Compiling VB (.NET) files located in different directories

    Hi, I am having to vb files. One is located under C:/VB/main and the other is under C:/VB/class. File under main looks like: <code> Module Module1 Sub Main() Dim test As New Test1 End Sub End Module </code> The class Test1 is defined in the file (class_test.vb)...
  3. P

    Getting current file name and Line number

    Hi, I am trying to get the current file and the line number which is getting exectued. It seems that we can only get the line number when an error occurs. Is there any other way to find the line numbeR? I want to log the line number when a call to any method is made. Also, in Visual Studio, can...
  4. P

    Including files in VB.NET

    Hi, I am a beginner in VB.NET. I have some functions/subs written in a file, say CodeFile.vb. How do I call functions from this file in another file, say Util.vb? Regards, P
  5. P

    Print to terminal in VB.NET

    Hi, How do we print to a terminal instead of using MsgBox. (That is equivalent to printf in C.) Can someone help me out? Regards, P
Back
Top