How to import an osheet to current osheet on Synology - synology

I'm trying to import an osheet file to another current osheet file on synology. However, I can't find the button to do so. Is there a solution for that?
I tried to copy and paste the content, but the format is off.

Related

Unable to see ZIP FileType in packIn dialog while trying to import webservice in Idempiere

I created a webservice in Idempiere. Exported it as a ZIP. But while trying to import at pack-in window, I am unable to see "ZIP" FileType. It is showing "CSV" only. How to get "ZIP" FileType in that dropdown?
Packin (2pack) can imported at pack in window.
Follow below steps.
Open window "Pack In"
Create new Record
Give any name and save record
Attach zip file using attach button on toolbar
Click on Pack In button. It will launch process which imports 2pack.

VBScript won't move some files

I have written a VBScript that helps me organise my desktop every time it gets messy.
It works fine it moves my files and shortcuts based on the extension and the name of the app. However, I have a few app shortcut links that just won't move. in fact the vbs script will not even see them with this basic script
Set FSO = CreateObject("Scripting.FileSystemObject")
dir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)
Set folder = FSO.GetFolder(dir)
Set files = folder.Files
For Each file in files
MsgBox file.Name
Next
The files in question are all shortcuts they are iTunes, VLC, Google Chrome and WinRar.
Is there anything I can check to see why vbs won't even see these files?
What You can see on your desktop is hybrid view of two folders:
C:\Users\YourUsername\Desktop
C:\Users\Public\Desktop
Where the Public one is usually a place, where shortcuts are being created during app install, so all users do have them. In your script You are only looking for files in the YourUserName\Desktop, that's why the script does not see those shortcuts.

How to add a license key through VB Script?

i am new to the vb script. I have installed a program and have to call an License.exe and fill the License name and license key. Batch file to add it into the reg key is not working on this app. So it would be great if you can help me in this.When i open the License.exe with installed product . it asks me to fill License Name and the License Key. I dont know how to create to add that key through script but i was able to call the .exe. here is an example.
Dim objShell
Dim StrLicensename
Dim StrLicensekey
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run("""C:\ProgramFiles\Resources\licensing.exe""")
StrLicensename = CStr("Melbourne Victoria")
StrLicensekey = Cstr("1234-4567835")
Set objShell = Nothing
Any help would be much appreciated.
Thank you in advance.
Well we need to package it and deploy through SCCM. Thats the reason our team was thinking to do ao rather than activating 50 machines manually.

Installshield :: Launch default browser with url

Is there any way to launch default browser from intallshield after completing installation?
I followed installshield 2008 how to open url when install sucessfully completes. but did not understand how to do it.
Do we have any elegant way to do it?
Yes.
Here is what is needed to be done.
Write a batch file or vbscript that opens the url you want.
Convert that bat file into an exe using any of the converters available.
Call that exe via custom action.
Schedule that custom action after installation completes. i.e. After='InstallFinalize'.
You may also want to detect the default browser which you can do by googling the registry key.
The easiest way to do what you want would be to create the custom action as he said and go to the finish button and add action, choose your custom action and add the condition "NOT INSTALLED", so it only runs when it is installed and not for example while unisntalling.
Here is some sample code.
Dim iURL As String
Dim objShell
iURL = "www.happycat.com"
objShell = CreateObject("Shell.Application")
objShell.ShellExecute("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", iURL, "", "", 1)

Save a newly generated excel file in VB script

My VB code generates a Excel file.
I need to save this excel file at specific location.
Can you please share how can I do that.
Any pointer will be appreciated.
Try
ActiveWorkbook.SaveAs Filename:="your_filename_here.xlsx", _
FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False

Resources