April 12, 1999

Datawidowchild problems

Question: I have a datawindow d_case with a retrieval argument al_case_id. In this datawindow, I have two columns that are ddlbcolumn1 = judge with dddw_judge and column2 = contact with dddw_contact. Now dddw_judge has a retrieval argument ai_county_id and dddw_contact has a retrieval argument ai_client_id. This is the code that

VB – Scripting Host

Question: What am I missing? I can’t compile this: Private Sub Form_Load()Dim WshNetworkSet WshNetwork = Wscript.CreateObject(“Wscript.Network”)’ Local name mapped to remote share WshNetwork.MapNetworkDrive “Z:”, “\NTc$”end sub Answer: Just leave off the Wscript of the CreateObject method as shown below. Thanks to Phil Weber. Private Sub Command1_Click() Dim WshNetwork Set WshNetwork

Active Partitions Under NT with VB6

Question: I have to tell you, you solved a problem for me (rebooting NT from VB), which I’ve been trying to figure out for months. Much thanks. Now I can move on to the next part of the program, which I don’t know how to do. I’m hoping you can

OpenUserobject on a tab control

Question: I am trying to use OpenUserObjectWithParm to dynamically open a datawindow on a tab page on a tab. All the objects are pfc descendents. I want to open one or more datawindows on a tab page at runtime. The problem I am having is that since I have to

Parsing a fixed format text file & upload into DB

Question: I want to update an Oracle database daily, with a fixed format text file passed by another product. The text file contains fixed format data with each record separated by a carriage return and line feed. Is it possible to accomplish this in PowerBuilder? Answer: You do not mention

Listing admins for remote computers

Question: Is there a way to pass in a local workstation’s host name and get a return of a list of the local administrators for that workstation? I have seen this in the Hyena program and wanted to do the same from VB5/VB6 code. Answer: On a form with a