Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client Distribution Application

📝 Description

This is a simple Client Distribution App which is used to distribute the Application Client software and the related components: Client Application, PowerBuilder libraries, Crystal Reports, PowerBuilder runtime libraries, Security and RF components.


Tools / Languages

Platform


✔️ Usage

1️⃣ Main Window

An example of the PowerScript code used in the "release” button on clicked() event.

Int net
integer li_FileNum, li_filenum1, li_funrun1, li_funrun2, li_num1
blob emp_id_pic
blob  lb_text
string  ls_dbg


Net = MessageBox("Info", "Do you want to update All clients?", &
		Exclamation!, OKCancel!, 2)

IF Net = 1 THEN

/**********/

li_filenum1 = FileOpen("C:\NEWclient\sysbin\NEWrelease.txt", StreamMode!)
FileRead(li_filenum1, lb_text)
ls_dbg = string(lb_text)
ls_filetxt = FromAnsi(lb_text)
FileClose(li_filenum1)


li_FileNum = FileOpen( &
		"C:\NEWclient\sysbin\NEWrelease.bat", &
			StreamMode!, Write!, Shared!, Replace!)

FileWrite(li_FileNum, ls_filetxt)

FileClose(li_FileNum)

li_funrun1 = Run("C:\NEWclient\sysbin\NEWrelease.bat", Minimized!)

/**********/


st_6.Text = "All clients were updated."

ELSE

st_6.Text = "Ready for update."
END IF

2️⃣ Login Window

The login window is used in order to activate the “release” buttons as they are disabled by default.

About

Client Distribution App which is used to distribute the Application Client software and the related components

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages