Search results for query: *

  1. M

    Calling external exe files

    Well, here's the source code I am using in my VB.Net Program: ExecFile = MyPath + "\..\..\AIMvb6\tickets.exe" MyFileInfo = New FileInfo(ExecFile) Proc.Start(MyFileInfo.FullName, VB6Param + " 4") 'Proc.WaitForExit() In the above code, tickets.exe is a VB6 program which I am calling from VB.Net
  2. M

    The folder name problem

    Yes, FileInfo is a class - sorry about the misinformation from my side. Secondly, in the code that I've written above as the solution, for folder names with spaces, it need not be embedded within quotes. Please do note the correction.
  3. M

    Calling external exe files

    I modified my program as per your suggestion, but my program failed at the last statement Proc.WaitForExit. The system gave the following error message: No process is associated with this object. However, the program that I called, did actually execute and was still executing while the .Net...
  4. M

    The folder name problem

    Hi Guys, I got the solution to my problem. You need to do the following: ExecFile = Func.GetFileName(MyPath + "\..\..\AIMvb6\tickets.exe") MyFileInfo = New FileInfo(ExecFile) Proc.Start(MyFileInfo.FullName) P.S. GetFileName is my routine where I add quotes (") to any folder that has...
  5. M

    The folder name problem

    You are right. I shouldn't have posted it here. I realized that only after I posted.
  6. M

    The folder name problem

    Well, I have a driver called "Client Access Express" which works only on VB6, but on .Net it fails sometimes to retrieve data. I checked the IBM site and they said that I need to have "DB2 .Net Data Provider" from IBM if I need to connect to DB2 database from .Net. That is the reason why I am...
  7. M

    The folder name problem

    Well, since the folder name is dynamic, I may not be sure if the directory name would be "My Documents" or not. So I wrote a function called GetFileName which would add quotes (") before and after the folder name that has spaces. However, the problem still persisted. The code that I am using...
  8. M

    Calling external exe files

    I am using the inbuilt Shell() function to call a VB6 program but what happens is that the control after calling the .exe file does not wait to finish the job but goes ahead executing the rest of the commands within that module. How can I stop executing the rest of the statements in my current...
  9. M

    The folder name problem

    I am using the in-built Shell() function to call a VB6 routine and the .exe file lies in a folder that has spaces. For example "My Documents" is embedded within my path for the .exe file that I am executing. Because of the space between "My" and "Documents", the program tells me that it could...
  10. M

    Not able to debug program

    If any of you were wondering what I was talking about, here it is what I've discovered. The tracing wasn't working because I had installed IIS component - FrontPage Server Extensions after I had installed Visual Studio.Net and this caused the problem. What I did was I uninstalled the VS.Net...
  11. M

    Not able to debug program

    yes, my breakpoint is within the execution module. In fact, I added a msgbox() line just above my breakpoint and it got displayed but the execution never went in debug mode. If I give a breakpoint in my main module, the debug is working fine only for that module but when the control is...
  12. M

    Not able to debug program

    In VB.Net, although in the Configuration Manager, I selected "Debug", yet the program does not stop at the breakpoint. Can someone help me, please?
  13. M

    Timeout Expired Error

    Well, I forgot to mention that I had no problems while the Table "TicketSales" had less data say upto 300,000 records. Once the table started growing, the problem started showing up. What do I mean by this is that every month, I load say around 4000 records. After it accumulates to greater...
  14. M

    Timeout Expired Error

    When the control comes to the following routine, the system has already fetched records from AS/400 and placed it in a table called "TicketSales". Then this routine follows... Private Sub cmdProcessTickets_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  15. M

    Timeout Expired Error

    First off, I would like the program to go through in the very first attempt without popping up any error messages. When the program runs during the third attempt, it does not mean I am satisfied...I was just giving information as to why it fails the first time but runs later. With regard to...
  16. M

    Timeout Expired Error

    While executing the following statement, I get "Timeout Expired" error. The statement I am executing is: DATable.Fill(DsTable, "MyTable") The table has around 400,000 records. If I attempt to run the program again, it works fine without any problems. Sometimes on my third attempt, the program...
  17. M

    Error while using Namespace

    I discovered that if I use Namespace="MyProject.MyNamespace" in the <@Register line it works fine. Is it necessary to specify my project name? Here MyProject is the project name of my "Control" library.
  18. M

    Error while using Namespace

    I am new to creating custom controls. I am using Microsoft ASP tutorials from gotdotnet.com. If I do not use the Namespace, it works fine. But if I use Namespace in a control, I get Parser error in my webpage where I use Namespace="MyNamespace" in the <@Register line as you may see below...
Back
Top