How to Hide Applications listing on mobile device
How to Hide Applications listing on mobile device
Dear Cspro Users,
I would loke to hide the my principal application and show only the menu application ont my mobile device.
I try unsuccessfully the following codes:
1)
filewrite(pffFile,"[DataEntryInit]");
filewrite(pffFile,"ShowInApplicationListing=Hidden");
2)
filewrite(pffFile,"[DataEntryInit]");
filewrite(pffFile,"ShowInApplicationListing=Never");
I notice i use cspro 7.0.2.
Many thanks to help me.
I would loke to hide the my principal application and show only the menu application ont my mobile device.
I try unsuccessfully the following codes:
1)
filewrite(pffFile,"[DataEntryInit]");
filewrite(pffFile,"ShowInApplicationListing=Hidden");
2)
filewrite(pffFile,"[DataEntryInit]");
filewrite(pffFile,"ShowInApplicationListing=Never");
I notice i use cspro 7.0.2.
Many thanks to help me.
Re: How to Hide Applications listing on mobile device
Hi Dzidefo,
i use cspro 6.3.2.
in all devices you have a folder named TEMP.
you can generate yours .pff that are not MENU and send it in TEMP folder.
look this example.
string temp = pathname(temp);
function genpff4(string app)
SetFile( piffile, temp + app + ".pff") ;
FileWrite( piffile,"[Run Information]");
FileWrite( piffile,"Version=CSPro 6.3");
FileWrite( piffile,"AppType=Entry");
Filewrite (piffile, "[DataEntryInit]");
Filewrite (piffile, "OperatorID=Anyone");
Filewrite (piffile, "StartMode=ADD;1");
FileWrite( piffile,"[Files]");
FileWrite( piffile,"Application=" + entdir + slash + app + ".pen");
FileWrite( piffile,"InputData=" + temp + app + ".dat");
FileWrite( piffile,"[ExternalFiles]");
FileWrite( piffile,"SUIVI_DICT=" + ref + slash + "suivi.dat");
FileWrite( piffile,"[Parameters]");
FileWrite( piffile,"STATUT = " + accreditation );
FileWrite( piffile,"wdir = " + wdir);
Filewrite( piffile, concat( "REPORT=", strip(report) ) );
close( piffile );
end;
i use cspro 6.3.2.
in all devices you have a folder named TEMP.
you can generate yours .pff that are not MENU and send it in TEMP folder.
look this example.
string temp = pathname(temp);
function genpff4(string app)
SetFile( piffile, temp + app + ".pff") ;
FileWrite( piffile,"[Run Information]");
FileWrite( piffile,"Version=CSPro 6.3");
FileWrite( piffile,"AppType=Entry");
Filewrite (piffile, "[DataEntryInit]");
Filewrite (piffile, "OperatorID=Anyone");
Filewrite (piffile, "StartMode=ADD;1");
FileWrite( piffile,"[Files]");
FileWrite( piffile,"Application=" + entdir + slash + app + ".pen");
FileWrite( piffile,"InputData=" + temp + app + ".dat");
FileWrite( piffile,"[ExternalFiles]");
FileWrite( piffile,"SUIVI_DICT=" + ref + slash + "suivi.dat");
FileWrite( piffile,"[Parameters]");
FileWrite( piffile,"STATUT = " + accreditation );
FileWrite( piffile,"wdir = " + wdir);
Filewrite( piffile, concat( "REPORT=", strip(report) ) );
close( piffile );
end;
-
- Posts: 1801
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: How to Hide Applications listing on mobile device
The ShowInApplicationListing approach should have worked. I'm surprised that it didn't. Another way to hide the PFF is to make the Description (which should come under [Run Information]) blank. Like this:
[Run Information]
Version=CSPro 7.0
AppType=Entry
Description=
[Run Information]
Version=CSPro 7.0
AppType=Entry
Description=
Re: How to Hide Applications listing on mobile device
Thanks thierryt,
Greg, thanks,
But Curioslly , when I open the pff file (I hope, i'm at the rigth place) of the application i want to hide and i check the description field
it's already blank.
regards,
Greg, thanks,
But Curioslly , when I open the pff file (I hope, i'm at the rigth place) of the application i want to hide and i check the description field
it's already blank.
regards,
-
- Posts: 1801
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: How to Hide Applications listing on mobile device
I'm not sure what you mean now. If you use ShowInApplicationListing or a blank Description, the PFF should never be displayed in the application listing. You will want to launch it in logic using the execpff function.
If you are seeing the PFF in the application listing screen, then I suspect the PFF is not correctly setup. You can post it here and we can look at it.
If you are seeing the PFF in the application listing screen, then I suspect the PFF is not correctly setup. You can post it here and we can look at it.
Re: How to Hide Applications listing on mobile device
Dear Greg,
See in the atteched file.
The menu aplications files is in the "RGEMenu" folder and the main application files is in the "RGE" folder.
I just add in attached file the mains folders and .ppf and .pen files.
If necessary i can send you inbox the hole application.
It's the application of our enterprise survey, It' is not alrady perform, so i can't now put herethe hole application without the permission of the office.
See in the atteched file.
The menu aplications files is in the "RGEMenu" folder and the main application files is in the "RGE" folder.
I just add in attached file the mains folders and .ppf and .pen files.
If necessary i can send you inbox the hole application.
It's the application of our enterprise survey, It' is not alrady perform, so i can't now put herethe hole application without the permission of the office.
- Attachments
-
- TGO_RGE_Menu.rar
- (326.34 KiB) Downloaded 358 times
Re: How to Hide Applications listing on mobile device
Greg, also, I d'ont understand what you are saying by "not correctly set up" ? Is it about the runing ?
-
- Posts: 1801
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: How to Hide Applications listing on mobile device
Can you reupload your file? I can't open it. I tried using 7-Zip and also Windows Explorer, and neither could open your .rar file. It might be corrupt. Can you upload it as a .zip or .7z file?
Re: How to Hide Applications listing on mobile device
I hope it's ok, now.
- Attachments
-
- TGO_RGE_Menu.zip
- (332.18 KiB) Downloaded 393 times
Re: How to Hide Applications listing on mobile device
I resend the the .rar version.
- Attachments
-
- TGO_RGE_Menu.rar
- (326.34 KiB) Downloaded 379 times