Reports in VB6 is not working from remote desktop - vb6

While working from home I am using a VB6 application on remote desktop. Everything working fine but whenever I am trying to open any report in it, it is showing
"Run-time error '9':
Subscript out of range.
and application get closed. But while opening from local system everything works fine.
Both systems are Windows 8.1 (64 bit).

Related

Delphi Rio application doesn't start on Windows 2003 Server (Missing d2d1.dll)

Since the Delphi Rio 10.3.3 update (before: Delphi Seattle) my application has not been started on a Windows 2003 server.
Error message like: The application could not be started because d2d1.dll was not found. Reinstalling the application can fix the problem.
I have copied the file d2d1.dll from my PC to the Windows 2003 Server. The following error message appears: The application or DLL d2d1.dll is not a valid Windows file. Check this with the installation chain.
Then I tried to register the DLL via CMD as follows: regscr32 / i d2d1.dll
Error message: d2d1.dll is not an executable file and is not a registration tool that is registered for this file type.
Any ideas? (I know that Windows 2003 Server is very old and nasty but I need any solution)
EDIT: A simple Hello World Application works.

is there a workaround to allow Active Reports to run under Win10 OS?

I am supporting a legacy VB6 Desktop program that uses Active Reports to create a lot of reports and many of them are exported to Excel.
There are many users still using Windows XP. More and more users are switching to Windows 10
I have gotten the VB6 programs installed successfully on the Windows 10 Machines. The Active Reports works fine for everything, except when a Win10 user attempts to export a report to Excel from the ARViewer control. It gives an error 9 and quits. Do you know of a workaround or have you encountered this problem yourself?

Getting an Unable to start debugging ... startup project could not be launched. Why?

I'm writing a new UWP app, using Azure DevOps with Git for source control. I'm doing development between my laptop and my desktop. I can debug the project fine on my laptop, but I cannot on my desktop. When I try I get this error message:
Unable to start debugging. The startup project could not be launched.
That's all it says. I started this project on my laptop, pushed it to Azure DevOps and have been developing on both the desktop and laptop. This is the first time I've tried debugging on both machines. Like I said, it worked fine on the laptop, but failed with the above error on the desktop. Don't understand what I've done wrong, but guess that I have. I'm using VS 2017, version 15.9.4
The application I'm working on is not a Core application. For that reason, I do not believe that this post elsewhere on Stack Overflow applies.

Selenium test runs on Windows Server 2008 R2 doesn't work?

I'm working with Selenium in VB.NET using IEDriver. I want to launch my ordered tests suite on my windows server 2008 R2 (My server used IE 11). I launch my test by command line : vstest.console.exe.
When I launch this on Windows 7, that works. I try to launch it on my server ( OS : windows server 2008 R2). That launch my Internet Explorer and my first page test. My test fail on the first try to find element (text input) and send key . However the element is present on my web page and I launch on the same website. I don't know where is my problem. I have some idea :
IE Driver compatibility with Windows Server 2008 R2 can't modify
Security server, some rights don't allow my driver to interact with IE
Problem in my code tests (Impossible for me, because the same code run perfectly on the same website)
Someone have any idea ?
This seems like a problem with windows server. Look for installed updates in server. This will probably occur because of that. Windows sometimes install updates without telling you and there are some updates that tamper with IEdriver and breakes it

Visual FoxPro (9.0) issue on Microsoft Windows Server 2003 R2

We have been running a Visual FoxPro (version 9) application on a Server under Microsoft Windows Server 2003 Operating system for a number of years now. We are now trying to migrate it to a different Server running under Microsoft Windows Server 2003 R2 and the application crashes. The problem occurs when it is trying to create HTML files from the FoxPro reports it has just created. To do this is uses the system variable _ReportOutput and aborts with the message “ox is not an object”. The application resides on the Network in a directory accessible to both Servers. Since hitting this problem I have changed the program to use the Htmllistener class within _ReportListener and get the same problem (works on one not on the other (R2)). Wait windows have been inserted to gain additional information but they only show that the object has not been created returning a data type of .Logical. It appears to me the problem is with the R2 version of the operating system, has anybody any ideas.
Have you installed ReportOutput.APP in the same folder as the application?

Resources