Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Separate Connection DLL Passing To/From
Message
De
30/04/2007 16:59:16
 
 
À
30/04/2007 16:55:52
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01221271
Message ID:
01221275
Vues:
15
You responded too quickly! :o) Ok, let's say I have a textbox designed in a separate class. In design mode, it is not sitting on any container or form yet. How, in design mode, do I reference the parent form in code. Nothing in intellisense because there is no container yet. In VFP it would be this.parent or thisform. What is the equivalent of thisform so a form's method can be called from a textbox? Silly basic question I'm sure... :o) It will bomb without a form existing when designing the class. I'm missing something obvious. I'm also trying to figure out how to make a connection handle visible at the form or app level in vb.net...



>In your project, you need to Add a Reference and point it to the .Net Assembly (DLL). You'll probably need the proper Using statements (assuming C#) in your code files.
>
>>Please excuse my ignorance. Can anyone point me in the right direction for:
>>
>>Connection and sqlexec()s handled by a separate dll so it can be used by multiple apps. Need the foundation base form to call and see the results. Don't want a call from every field so how to make the results visible to all of the lower classes when the call is made to a separate dll (which will pass the query to SQL Server and return a result set). I am probably overlooking something very basic and obvious. In VFP, we had a class or a prg (depending on the version) which we called and passed to it the query and the result set was returned. It was duped in another app for its use. This time, we want a separate utility to handle the communication to/from sqlserver which all apps can use.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform