Search found 11 matches

by alanchinese
Wed Jul 14, 2004 1:26 pm
Forum: Databases
Topic: data with versions.
Replies: 1
Views: 278

data with versions.

i am currently designing a relational database based on the non-relational database schema. i had tried to look for some books, i.e. database systems, or database product trainings, found about nothing to help solving my problems. the following has two parts. i listed the requirement of the design a...
by alanchinese
Fri Jun 25, 2004 8:32 pm
Forum: PHP - Code
Topic: Tab Control in PHP?
Replies: 0
Views: 530

Tab Control in PHP?

anyone used the tab control in ASP.NET, or windows forms design?
is there anything similar to that so that i can use without knowing how to deal with DIV? thankx.
by alanchinese
Fri Jun 25, 2004 8:30 pm
Forum: PHP - Code
Topic: php macro?
Replies: 7
Views: 728

returning from a function is a good idea, but this is not what I wanted.

i want "macro" to replace some repeated strings + (part of ) statements combination, just like what C provided.
by alanchinese
Fri Jun 25, 2004 2:02 pm
Forum: PHP - Code
Topic: php macro?
Replies: 7
Views: 728

php macro?

hi, in my php program i need to do the following repeatly:

$newObject = new COM("comObject") or die("comObject could not be started");

is there a way for me to create a macro so that i only need to do the following:
$newObject = $macroComObject;

thankx a lot.
from alan.
by alanchinese
Thu Jun 17, 2004 3:57 am
Forum: PHP - Code
Topic: parameter passing by ref to a COM function
Replies: 3
Views: 402

"Call-time pass-by-reference has been deprecated"
is it good to still use "&" for reference passing?
by alanchinese
Wed Jun 16, 2004 7:11 pm
Forum: PHP - Code
Topic: parameter passing by ref to a COM function
Replies: 3
Views: 402

parameter passing by ref to a COM function

hi, there is a COM function having the following definition (.NET Interop): public virtual new void CALL(System.String SubroutineName, @params); in C#.NET, i am able to use the function by.... string param1 = "", param2 = "", param3 = ""; Object[] callParams = {param1, ...
by alanchinese
Fri Jun 11, 2004 7:52 pm
Forum: PHP - Code
Topic: php & com
Replies: 7
Views: 619

further quetsion: how do you know what kind of methods and properties you can use inside that object class?
by alanchinese
Fri Jun 11, 2004 7:51 pm
Forum: PHP - Code
Topic: php & com
Replies: 7
Views: 619

i found the solution, by using the regedit.exe and found the object name and class...
thankx.
by alanchinese
Fri Jun 11, 2004 6:44 pm
Forum: PHP - Code
Topic: php & com
Replies: 7
Views: 619

oh i fianlly found it:
[client 1.2.3.4.5] PHP Warning: (null)(): Invalid ProgID, GUID string, or Moniker: Invalid syntax\r\n in C:\\test.php on line 5
by alanchinese
Fri Jun 11, 2004 5:40 pm
Forum: PHP - Code
Topic: php & com
Replies: 7
Views: 619

the MyLibrary.dll is working well with the C#.NET interoperability. i have done the followin: 1) used regsvr32 on MyLibrary.dll 2) found out the dll has 3 class, named ClassA, ClassB, ClassC (from the visual studio.net 2003 object browser) 3) changed the php.ini file to the following: [com] ; path t...
by alanchinese
Fri Jun 11, 2004 4:53 pm
Forum: PHP - Code
Topic: php & com
Replies: 7
Views: 619

php & com

hi, i saw some examples on how to use COM objects by PHP 4. but they are all about Excel, Word, ADODB etc. if i have a library named "mylibrary.dll", how do you make php know the existence of the libray, and how do you know what functions this library provide you, and how do you load the l...