How to add "vcl.bpi" to BPL project - bpl

I use C++ builder 2009 to create a BPL project. The "Requires" list has "rtl.bpi" as default. I add some VCL Forms to the "Contains" list and try to build the BPL project. The build fails due to linker error such as "Unresolved external 'Forms::TForm::' referenced from XXX.OBJ". It is obvious that I should add "vcl.bpi" to the "Requires" list. I do the following steps:
Right-click on "Requires" and select "Add Reference".
In the "Add" dialog-->"Requires" tab, key "vcl.bpi" in the "Package name" text edit, and the click "OK".
It pops an error dialog shows "File vcl.bpi not found".
How should I add "vcl.bpi" manually?

If you put in only the filename by itself, you need to fill in the "Search Path" field of the dialog with the folder that the file resides in.
Otherwise, specify the full path to the file.
Either way, you can use the Browse button to simplify this.
The file is located in the $(BCB)\lib\win32\release folder.

Related

Getting Maya Custom Hotkeys List

I want to share my Maya hotkeys for custom commands along team. Of course, I can use "hotkeySet" command with -export, -import. But in this case, it override all of them with the file. It means that
If I change "save file" to "Ctrl + Alt + S" (sure, it's so weird). I
don't want to make my team members to use that weird hotkey.
How can I get the list of my custom hotkeys? If I can know that, I can export and import them selectively.
If you want to share your Maya's custom hotkeys along your colleagues, you'll need to copy userHotkeys.mel (or userHotkeys_Maya_Default_Duplicate.mel) and userNamedCommands.mel files from your comp to the destination team's comp. One more file named userRunTimeCommands.mel is typically empty one.
These files are located in the following directories on different OS:
macOS – ~/Library/Preferences/Autodesk/maya/2016.5/prefs/hotkeys
Linux – ~<username>/maya/2016.5-x64/prefs
Windows – \Users\<username>\Documents\maya\2016.5-x64\en_US\prefs
If you open Maya's Script Editor and check Echo all Commands option
on and then save a custom shortcut in Hotkey Editor, you'll notice that Maya saves/updates these three files when you create or edit your hotkey.
For instance, I've created hotkey Alt G for toggling a grid in Viewport.
hotkey -keyShortcut "g" -alt -name ("ToggleGridNameCommand");
This is what I can see in Script Editor:
After that you can share saved userHotkeys.mel and userNamedCommands.mel files along your team. Also you can edit these ASCII files in any Text Editor.

adding actions to button, error code

I'm working on an app project on codenameone and I want to add an action so that every time a user types some text, into a text area on a screen of the app, it gets added to a box (Json). So I select the text area on the screen, I click on "events" and select "action events". Usually nothing should appear at this point, but I get a window asking to give a name and save a file.
Since I inserted the name and save to close the window, when I repeat all the process and select "Action Events" an error message is shown:
"Error opening Netbeans (...) Cannot running program (...)* : Create process error=2, Specified file not found".
*the name which follows is the one I created when the window appeared to me.
I also created the project again and I'm having the same problem here: by going to "Events" and clicking on "Action Events" I got the same error:
"Error opening Netbeans (...) Cannot running program (...)* : Create process error=2, Specified file not found".
You need to setup Netbeans, Open your theme.res by double clicking.
Choose Codename One -> Advance -> Reset Netbeans Settings. Then,
Choose file -> setup Netbeans and navigate to where your Netbeans.exe is, On my PC I did the this:
This PC -> Program Files -> Netbeans 8.1 -> bin -> netbeans.exe (or netbeans64.exe).
Your steps may be similar, depending on your computer.
Save theme.res and try again.

how to remove "created on" text in joomla 3

how can I remove, for example "created on", text in article?
I just want to remove the text not date itself. I've removed the icon with css but text and date in this case are written together in time tag.
Thanks
In the article manager, if you click "options", you can set what you want to turn off. In this case, "Show Create Date" is an option.
If you are creating pages by assigning them to menu items, then you may need to look under the "options" setting of the menu item itself.
Edit: Following your comments - to just remove such text, download the file: language/en-GB/en-GB.com_content.ini (change en-GB if using language overrides)
This will show you a list of text strings used by that component.
You can then use the language manager ( extensions - language manager ) to override these.
(You could also search for text using the language manager, but I find the downloading the language file quicker)

How can I hide certain file types from appearing in Aptana Studio's app explorer

I need to prevent a certain file type from appearing in my Aptana Studio's app explorer. Is there a way to do this?
You have two options:
You can apply the filter to a folder from App Explorer, but that will only apply the filter to that folder, and you probably want to apply the filter to the whole project;
Apply the filter to the project root from Project Explorer which will affect the entire project;
Here's how to apply a filter to either of the above options:
right-click the folder/project you want to apply the filter to
select Properties
in the Resource Filters section click the Add button
in the window that pops up choose Exclude All in the Filter Type section
choose one the options from the Applies To section (probably Files)
tick the All children (recursive) option if you want to apply the filter to all children of the chosen folder/project
in the File and Folder attributes section choose the options that you want (probably Name and matches
In the input field of the File and Folder attributes section type the filter that you want
Example filters:
*~ - hides all files ending with a ~
*.json - hides all json files
Note: These instructions are valid for the current version of Aptana 3.4

error in loading skin in dotnetnuke

I get this error when I load a page that uses a specific skin ,it was working very well befor .
Could Not Load Skin: /Portals/_default/Skins/MM-SubSites-Arb/inner.ascx Error: The ID 'dnnCOPYRIGHT' is already used by another control.
The error is telling you exactly what to look for: there is more than one control in the inner.ascx file that has an ID attribute of "dnnCOPYRIGHT."
Open the file in a text editor and do a search for "dnnCOPYRIGHT" to find the elements with that ID, and delete all but one of them.

Resources