Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 944857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:39:47+00:00 2026-05-15T22:39:47+00:00

So I have this VB.Net Application. It uses SQL Server database, for which it

  • 0

So I have this VB.Net Application. It uses SQL Server database, for which it “hard-codes” the IP Address of the database inside its compiled code.

The server IP has changed and I can’t start the software anymore. Also, I can’t change the IP Address of the server (another server is using the same IP and it can’t be changed).

It is just 2 EXE files with no external DLLs or anything else. So I opened both of them in HEX Editor, tried to search for the ascii of my IP address, but couldn’t find it, tried also a HEX search but with no result.

Then I used .NET REFLECTOR (http://www.red-gate.com/products/reflector/), and exported the code. I could see where the IP address is located: in Form2 a string variable named “strMyConnectionString”. However, recompiling from the files exported by Reflector didn’t work for me: I got 100 error and alot of warnings; obviously, the forms were missing but only their codes where decompiled. It has like 100 forms, and it is hard to redesign them (if that is even a considered a solution – not sure).

How do you suggest solving this? I need to change the IP as I can’t use the software anymore!

Thanks!

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T22:39:47+00:00Added an answer on May 15, 2026 at 10:39 pm

    If you have a .NET exe that you don’t have the source code for, you’re going to need to brush up on Ildasm and Ilasm. Use Ildasm to covert the .EXE into Microsoft’s Intermediate Language. Change the code there – it’ll be in a text format, but the IL code will look more like assembly language than a 3GL. Once you’ve changed the IL, you can recompile to an .EXE with Ilasm. Yucky, but functional and probably your best choice without the original source.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this .NET web forms application which uses SQl server database, It runs
We have an ASP.NET application that uses SQL Server to store its session state.
I have an ASP.Net Application that uses a SQL Server database. I am also
I have compiled a .NET application using Any CPU option. This .NET application uses
We have a web application that uses SQL Server 2008 as the database. Our
We have developed a .NET web application that uses SQL Server as a backend.
I have created a windows form application which uses an SQL database. The database
I have a winform C# application which uses sql server 2005 express. I am
my c#.net winforms application which uses sql server 2005 express , would be run
We have a web based (ASP.NET MVC) application that uses SQL Server 2008 for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.