A quick read of the documention on SetDllDirectory[^] says it's only for the application.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
Not seen this but have you tried calling its Invalidate() method to force a redraw? If it's the panel's child controls that are the problem call Invalidate(true)
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
security already informed me a long time ago, if he had his way, I would produce nothing, say nothing, sell nothing, talk to no one, etc. That would be the safest way.... I didn't even comment, you can't say anything to that kind of logic.
The best proof that VB sucks is the VB users' need to justify VB's existence and prove its adequacy! You never hear a C programmer do that, do you?
To hell with circumstances; I create opportunities.
Unless your parents (or in-laws) are in a state of needing care by you or your wife, I would think they'd be very supportive of you wanting to advance yourself in this fashion.
"Love people and use things, not love things and use people." - Unknown"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
We use DataDirect Connect for .NET[^] to connect to DB2. We simply set the CommandText property to the name of the stored procedure and set CommandType to CommandType.StoredProcedure. For an example of using IBM's data provider - which appears to use the same scheme - see the SpClient.vb sample[^].
DoEvents: Generating unexpected recursion since 1991
It's pretty stupid. Basically, we have DB2 installed underneath IMS. Programs have to be written in either COBOL or Java and called in order to get to the IMS data from a distributed app written in either .NET or Java. It's certainly not an ideal situation.
jchigg2000 wrote:
a senior system's analyst
He might be a senior system analyst just by virtue of his experience in date and time calendar. But adjudging him through his wise (pros) and vices (cons) in programming, he should truly be classified as a junior most crap :wtf: .
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
If you have given the DLL's reference, then you need to refresh that DLL in client projects your self. Instead, if you give the reference of the Class Library Project itself, then this operation is handled for you. Hope I am clear enough.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder