Question debug Works, Release Does Not

Duffman

New member
Joined
Apr 28, 2010
Messages
4
Programming Experience
Beginner
Encountered a large problem today when I tried to deliever my VB.NET code.

Everything works perfect in my debug release. Just want a standalone .exe. When I clicked build and ran exe most things worked but lots of errors that did not exist in debug.

QUESTION:

How can I make my release function just like it ran in debug?


Using:

VB.Net Express 2008
.NET framework 3.5 (i think)

Any help Appriciated. Thank You
 
One of the perks of building your app for Release and not Debug is the Release exe's and dll's done have the debug hooks in them (slightly smaller files sizes) which without those hooks VS can't hook into them to help with debugging. Other than that a Debug exe/dll will work the same as a Release exe/dll so i can begin to offer help here without knowing the situation better.

Thread moved
 
I guess the main concern is how can I create an EXE standalone that runs just like it does in debug mode. All I have is a series of .vb files, no DLLs needed.

Main thing that breaks is communication between computers

I connect using Axwinsock.
Everything works in debug, even standalone connects

I send data like
Axwinsock1.sendData("Some String")

But even though the computers are connected I have to send the data twice before the other computer recieves anything.. but only sometimes


I am perplexed beyond belief.. All i need is to have a single file that will run just like it does in debug. Thank You
 
Duffman said:
lots of errors
hmmm, interesting.
I connect using Axwinsock.
In VB.Net I recommend you use the .Net socket tools, they exist in several variants depending on what socket work you are doing, you'll find them in System.Net namespaces.
 
Do you know of a good tutorial to use .net socket control? All I need to do is connect and send strings of data back and forth between two computers, no greater then 1000 characters.

Thanks
 
You could check out TcpClient/TcpListener classes, documentation and web has many resources about these.
 
Back
Top