Definition of Frustrating...

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
T

Terry Olsen

Creating a test app to perfect some code before putting it in a production
app. Test app works perfectly, doesn't work at all in the production app.
Can't figure out why...
 
Without some more info it's hard to help but the usual culprits are 1)
connection strings 2) configuration files 3) assembly references 4) project
references of third party tools.

That's where System.Diagnostics.Trace comes in really useful
 
Here's the breakdown...

I wrote a class to handle a TCPListener, respond to connection requests,
etc. Compiled it into a dll. Made a quick & dirty test app to test it.
Able to connect, exchange data, etc. I do this by generating events and the
test app catching the events and acting on them. All works great.

Go to the production app, create a reference to the dll, add the "imports"
statement to the app, do all the exact same calls and event handlers that I
did in the test app, but for some reason I'm not getting any events
generated. It's supposed to generate a "ConnectionRequest" event when
there's a pending connection so I can accept the connection. Works fine in
test app...not getting an event fired in the production app. I've got to do
more digging before I get too specific. It's got to be something obvious
that I'm overlooking.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IPad Multiple Users 0
Windows 10 Do you use the Windows App Store? 7
Windows 11 Windows 11 update 5
Downgrading from Windows 11 1
Windows 10 Itunes/TabKey 0
Send copy to active window 6
Running an ActiveX EXE from VB2008 app 2
How do I find which screen my app is running in? 1

Back
Top