Jump to content

Is it possible to edit .exe file to change data type?

there are only 3 file extensions in the folder: .exe and .rpt

so , when i use this application feature to export data to excel file (and the excel syntax is : =IF(A2<>A1;F2-G2;I1+F2-G2)

it is stuck at 32,767 (value range)

i think this app uses "short" as data type

i also contact the application creator, he doesnt reply me yet

 

so it is possible ?

 

 

Link to comment
https://linustechtips.com/topic/1435682-change-data-type-in-visual-basic-6/
Share on other sites

Link to post
Share on other sites

It's not as simple as that. It could be just the row counter variable defined as a 16 bit variable, but it could also be that the program initially creates a fixed array variable with 32k entries and changing the maximum value to something bigger could make the program use gigabytes of memory.

 

Link to post
Share on other sites

You exe is limited to 16 bit you cannot do anything. You .rpt file is most likely Crystal Report 3.0 to Crystal Report 7.0 which is used to do rpt.Export(FileType.Excel). It is very unlikely that the app dev is still touching this code. .NET being out in beta early in 2000 and released in 2001 mean VB6 has been technically deprecated for 21 years. You are better off creating a new app. After 20 years it deserve it.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×