![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Additional Libraries Users contributed libraries. This sub-forum is only available to licensed users. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hi Fillipo...
I'm trying to use your dll with formExDesktop, and I !!!NEED!!! the ControlRef, wich does not exist in the current version of your dll... Since you have not provided a CS file, I cannot add this prop it myself.. Could You please do this...???
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
Don't forget the module name:
Code:
Obj1.FromLibrary("Main.ListViewObjectName", "_LV", B4pObject(2))
__________________
Basic4ppc reference list |
|
||||
|
Quote:
Since there is no NAME prop or Control.Ref, The command can't "see" the desteny table... With the cs file I could Add this prop to the dll myself and then use it... @EREL & Agraham: I'm using 4 dll's already, and adding another one just to get this parameter is a bit overkill... Anyway... Code:
Obj1.FromLibrary("Main.ListViewObjectName", "_LV", B4pObject(2))
Code:
LIstView_CtrlRef=Obj1.FromLibrary("Main.ListViewObjectName", "_LV", B4pObject(2))
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing Last edited by Cableguy : 11-14-2008 at 06:23 PM. |
|
||||
|
I have a module handling the database, so I just pass some values to a particular sub...
Like this one: Code:
Public Sub Load_Tecnicos(destino) Cmd.CommandText = "SELECT Nome FROM Tecnico" cmd.ExecuteTable(Destino,0) cmd.ExecuteNonQuery End Sub But since I'm using your listview.dll, I cant get a valid reference to the table without the ControlRef. With a native b4ppc table, my command would look like this... BaseDados.Load_Tecnicos("Main.Table") With ListView, it must be something like... BaseDados.Load_Tecnicos(ListView.controlRef)
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
I tryied EREL's and Agraham's code, but it fails with the error message below...
@Filippo The call to the LoadTecnicos sub is comming from a diferent module... The database module will hold ONLY and EXCLUSEVELY SQL objects(command, Conectio and datareader). Your aproach demand me to add the treeview object to the database, and is is a NO-NO for me... With a native table, all goes OK
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Serielles Interface | Heinz | German Forum | 18 | 11-17-2008 08:44 PM |
| Access to IShellLink Interface? | BjornF | Questions & Help Needed | 1 | 10-16-2008 07:13 PM |
| Listview.dll con SQLite e SQLce | Filippo | Italian Forum | 1 | 08-04-2008 09:49 AM |
| Database Interface | jireland | Basic4ppc Wishlist | 2 | 01-26-2008 11:23 PM |
| starter question Re interface | colin9876 | Questions & Help Needed | 3 | 11-15-2007 02:51 PM |