devxlogo

February 18, 1999

NT as Primary Domain Server

Question: I want to set up my NT Server as my primary domain server. How do I do it? Answer: Unfortunately, the only way I know to convert a current

GetWindowsDirectory API 16 bit to 32 bit

Question: I have migrated an application from 5.0.03 to 6.5 and continue to get this error when pressing the Run button: Error – 14 – Error opening DLL library kernel.exe

Adding DOS exe

Question: How do I add a DOS exe such as ping to a VB program? Answer: If starting another program is what you want, then use the Shell function. The

Exporting dw to Excel using OLE using PB5

Question: I’m trying to export a report to Excel with OLE automation. I’m using PB 5.0.2 and Excel 97. I’ve seen countless examples on how to do this (in fact,

Querying NT

Question: Is there a way to query NT 4.0 (programmatically or manually) to have it tell me whether it is NT workstation or NT server? Is the answer in the

Parsing a comma-delimited text file

Question: Is there an easy way to load a datastore with a comma-delimited text file? Answer: Yes, just load the file into memory and do a global search and replace

16 bits vs 32 bits

Question: Can we transfer an application from 32 bits to16 bits (PowerBuilder 5.0) without problems ? Answer: The only thing you will have to check for is API calls. The

Adding local groups to a NT Workstation

Question: I am trying to write an app that can add local groups to the NT security database on an NT workstation. When I use the netlocalgroupadd() function, I get

MTS, ASPs, and State(less) objects

Question: When implementing the Microsoft DNA model, it is suggested to create objects with methods only (no properties) to maintain true stateless objects. If an object will only live for