different icon for the different entry point

Hi all

In the taskbar, I want to show the different icon for application launched through different entry point.

the instructions on this?

Thank you

Hello

I found a solution to my problem.

You can get application descriptor for the entry points added in the workspace, then using CodeModuleManager you can get the descriptors of application for the entry points for a given module.

By analyzing this table of entry points for a module, you can find that you want to use and then use this index of entrypoint in homescrren.updateicon to change the icon.

ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors(CodeModuleManager.getModuleHandle("XXXXX"));

//apDes[0] is the default entry point
//apDes[1] is the first alternate entry point
//apDes[2] is the second alternate entry point
HomeScreen.updateIcon(icon, 1); // updateicon for first alternate entry point

Thank you.

Tags: BlackBerry Developers

Similar Questions

  • Need some explanations on the alternative entry points

    Hello world.

    I'm rather new to BB development, as well as to development in general. Just trying to get how everything works and sometimes unable to understand.

    I already have a request. For now, it only uses one main screen, no matter go, where it is running (icon of application by the systemwide menu item that I added). What I need is to push the different screens on different ways of running the application:

    1. when the application is run from the icon in the home screen, I need to push the screen, which is fine (at least it's done for now and I know how it goes).

    2. when the application is run from the menu item, I need push a completely different screen, which is actually a popup screen (designed for popup on the application is executed). I have already written the popup screen class, but don't really get how I should handle two screens in the MyApp class...

    Any help will be appreciated.

    what you do with the second entry point, it's up to you. a background thread is an option, but not the only one.

  • The procedure entry point DwmHintDxUpdate be found in USER32.dll dynamic link library.

    I have a Win 7 Ultimate machine.  I get the error message
    The procedure entry point DwmHintDxUpdate be found in USER32.dll dynamic link library.
    What it means?  Is he serious? How can I get rid of him?
    Thank you
    Chas

    The top of the box, said Aurora.src.  This is the screensaver provided by Microsoft.  The DEFAULT screensaver supplied with Windows 7 is not compatible with Windows 7 64 bit, causes a message box and often freezes the system for a few minutes.  Is not on the beta version.
    Certainly picked a different screen saver seems to fix the problem.

  • Cannot save PDF to word file? -The procedure entry point? GetText Direction@CSolidContainer... error

    Hello!  I hope someone can help me with this.  I am trying to save a PDF file as a word document.  I get this error.

    The procedure entry point? GetTextDirection@CSolidContainer@@QBE? AW4SolidTextDirection@@XZ could not be found in the C:\Program Files (x 86 (\Adobe\Acrobat 10.0\Acrobat\plug-ins\SafeAsNonPDF\Solid\DOCXFlt.flt dynamic link library.

    Tried different files - still no luck.  Also when I create a PDF from a word document it converts but the program hangs and I have to restart.  I use Acrobat X Pro on a windows 8.1 platform.

    Thank you!

    Jan

    Hi Jan,

    I'm sorry for the inconvenience caused, lets try to get this matter resolved.

    Have you tried to repair the installation (help (Adobe Acrobat)-> repair install)?

    Kind regards

    Nicos

  • No icon for the devices in iTunes 12

    There is no icon for the connected device visible when I open iTunes 12.  Does anyone know how to do so that he can appear?

    Connected by cable? Try a different port or cable.

    WiFi or Ethernet. Check your network preferences.

  • Error "the procedure entry point SMapLS_IP_EBP_12 be found in KERNEL32.dll dynamic link library" when you try to play Red Alert: Command & Conquer

    Original title: the procedure entry point SMapLS_IP_EBP_12 could not be found in KERNEL32.dll dynamic link library.

    Ive been trying to install Red Alert: Command and Conquer on my new pc windows 7 and of course he will not play to come with all can't play because its running windows 6.1 and it's a single program of windows 95. then I went through all troubleshooting and change everything to make sure that it works and it actually installed, but when I went to play this message appears and im like why does this happen to me!

    The procedure entry point SMapLS_IP_EBP_12 be found in KERNEL32.dll dynamic link library.

    It of the message, can someone help me?

    Hi BigAl3000,

    Please note that Command & Conquer: Red Alert 3 is the only version compatible with Windows 7.

    Red Alert 2 and red alert are not compatible with Windows 7.

    See Windows 7 compatibility for Command & Conquer: Red Alert for more information.

    To troubleshoot program compatibility issues in Windows 7, try the following methods:

     

    Method 1: Open the program compatibility problems

     

    Most programs written for Windows Vista are also running Windows 7, but some older programs might run poorly or not at all. If an older program does not work, use the program compatibility issues to simulate the behavior of earlier versions of Windows.

    Method 2: Contact the program vendor or the hardware manufacturer

     

    Contact the program vendor for advice on how to solve the problem. In general, the software vendor's Web site provides a support section that you can use, for example, to search for an error message that you receive from the program.

    Hope this information helps.

    Gokul - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • the procedure entry point GetFinalPathNameByHandleW could not be found in KERNEL32.dll dynamic link library

    Hello

    While trying to install a program, I see the following on the screen error message:

    The procedure entry point GetFinalPathNameByHandleW could not be found in KERNEL32.dll dynamic link library

    The I set him, is a Windows XP 32-bit environment.

    The I am installing, is a program, created by my own company, using a 32-bit self-extracting installer, which is also created by my own business using InstallAnywhere Flexera software.

    No changes were made on the environment of the installers.

    No change seems is done on the environment for creating installation programs (where the self-extracting installer is created): I checked the monitor of reliability/Action Center / Control Panel and no entries are present between a job and an installer without work.

    The file 'KERNEL32.dll' is mentioned in the error message, I checked his date of change, which is 11/30/2012, this should not be the cause of the problem either.

    Witnin the self-extracting installation program, a few changes were found, those who are considered at the moment, but there is no indication or not those who are causing the error message I see here.

    Does anyone have an idea what may cause the error message mentioned and how to cope?

    Thank you

    Dominique

    These types of error messages mean that the program is looking "inside" the file specified (in this case kernel32.dll) try to find a function/procedure to run called "GetFinalPathNameByHandleW" and find do not.

    The program calls the non-existent function badly or the library file is not in there.  Things do not match somewhere.

    A DLL is a library of dynamic links and files as kernel32.dll are sometimes just a bunch of procedures/functions/subroutines and all located in a single, portable file.

    In a primitive way, you can use a text editor to open the kernel32.dll file (make a copy if it your desire) and search for a string "GetFinalPathNameByHandleW" and you will not find.

    You can even search for "GetFinal", and you won't find it in the XP kernel32.dll file:

    But if you do the same thing on a Windows 7 + kernel32.dll you 'll find:

    If your program calls a function inside a DLL, but this feature does not exist in the Windows XP's kernel32.dll file.

    I think that GetFinalPathNameByHandleW was introduced in Windows Vista, so now here you would be fine.

    If who wrote your program is that it works on XP, they need to stick to the functions that are part of XP and GetFinalPathNameByHandleW isn't here, where the error.

  • 'The procedure entry point DecodePointer could not be found in KERNEL32.dll dynamic link library '.

    ORIGINAL TITLE: How can I fix this please?

    I have an older version of Windows XP (Home edition) Version 5.1.  Trying to get updated with service packs, etc., I get the pop up message in the box below.  How can I fix the problem?

    'The procedure entry point DecodePointer could not be found in KERNEL32.dll dynamic link library '.

    Thank you for your help.

    The other post:

    We get an error "iexplore.exe - point of entry not found in KERNEL32.dll dynamic link library" so he was trying to use internet explore.

    In Firefox, I have automatic updates verified, but for some reason any I do not receive them.  I need all the service packs for Microsoft.

    When I try to use Internet Explorer to connect to the internet, I get a message that says "iexplore.exe - point of entry not found in KERNEL32.dll dynamic link library" How can I fix?  I get a lot of error messages related to the KERNEL32.dll dynamic link library.

    In addition, for some unknown reason, I lost my software of Microsoft - Word, Excel, etc.  I don't have the disc to recharge.

    Thanks for any help.  This kind of thing is frustrating and I really appreciate the availability of Microsoft Answers for assistance.

    Additional post:

    Im trying to update my computer with SP2 and Windows 7.  Even when I try to use I Tunes and do other things that I receive and message entry point (they vary).

    Here are a couple:
    1. the procedure for DecodePointer entry point could not be located in the line of the dynamic library KERNEL32.dll.

    2. the procedure entry point SHRRegGetValueW be found in the library of dynamic links SHLWAPI.dll.

    I have an old computer. Compaq Windows XP - Home Edition, 5.1.

    A month ago I lost my Microsoft Office software. Word and excel... it was all gone.   I have to reload the diskettes of origin provided with this computer which is about 7 years old.

    Is this thing?  I CAN go on the internet and move OK, but I can't download updates, or I Tunes or much else.

    * Original title: do not get the automatic updates.

    http://Windows.Microsoft.com/en-us/Windows/help/learn-how-to-install-Windows-XP-Service-Pack-3-SP3

    Tom Ferguson

  • Skype error: "Skype.exe point of entry not found the procedure entry point ntalpcsendwaitreceiveport...". »

    Sorry for the ridiculously long title, but that is exactly the error I get.  When I contacted my friends @ Skype that they just told me it's associated windows problem.  I thought, but the error message appear says SKYPE not Windows. Anyway, there is a certain irony in all of this that Skype is a Microsoft company. I'm absolutely furious since Skype perhaps in conjunction with Windows has developed a kind of points of failure...

    Original title: skype.exe point of entry not found the procedure entry point ntalpcsendwaitreceiveport could not be found in the dynamic link library.

    Please note that the thread referenced in 'Question (1)' has been marked as the answer by a moderator, and not by the person who asked the question.  It is highly unlikely that will help in the Safe Mode, starting in a start-up in minimal mode or sfc/scannow configuration. Of course, you're welcome to try these things.

    Uninstall and reinstall of Skype as suggested in "Question 2" would have been my first guess, but a bit of searching online suggests that it also assisted.  Again, try if you wish.  When you uninstall Skype, you will not lose your contacts.

    Research online, I've mentioned suggests that the problem is caused by software Kies from Samsung.  You have this installed on your system?  If so (or even if not), go to C:\Windows\system32 and rename avrt.dll.  You can call it avrt.dlX or something else you like.  Reset.  Let us know if that fixes the problem.  If it didn't, or he did something another break, you can always change the original name (this is why rename is safer than deletion).

    Reference: http://forum.renoise.com/index.php?/topic/31412-solved-ntdlldll-ntalpcsendwaitreceiveport-error-on-startup/

  • the procedure entry point SymSetSymwithAddr64 could not be found in the dynamic library DBGHELP.dll

    the procedure entry point SymSetSymwithAddr64 could not be found in the dynamic library DBGHELP.dll

    Here's a quick fix, do not guarantee to fix but it's worth it.

    Look for your operating system for dbghelp.dll drive. Check the advanced options, search records system, search for hidden files and folders, and search subfolders. Close programs as much as possible. Make sure the results show one in Windows/system32 and other in Windows\system32\dllcache. Right-click on the Windows /system32 and delete it. Wait a few seconds and the supplementary search. You should see it was added back in the dllcache folder and we're in recycler as the image below...

    NOTE: My Windows is under WINNT. Yours is probably Windows.

    Restart the computer and see if the problem goes away.

  • The procedure entry Point? getOpenState@sound@FMOD@@QAG? AW4FMOD_RESULT@@PAW4 FOD_OPENSTATE@@PAIPA_N@Z...

    The procedure entry Point ? getOpenState@sound@FMOD @ QAG?

    Hi JishanLakhani,

    Thanks for the reply.

    Method 1:
    I suggest you to uninstall and reinstall the game and check if it helps.

    See the link.

    How to change or remove a program in Windows XP
    http://support.Microsoft.com/kb/307895

    Method 2:
    If the problem persists, I suggest you to download and install the latest file to install game on the manufacturer's Web site and check if it helps.

    If the problem persists, I suggest you to contact the game support for assistance.

    Hope this information helps. If you need additional help or information on Windows, I'll be happy to help you.

  • The procedure entry point MigrateWinsockConfiguration could not be found in the library of dynamic links MSWSOCK.dll

    Get this message when I start my computer, that is when the sign of Windows in the reception area appears:

    It says netsh.exe - Entry Point not found

    The procedure entry point MigrateWinsockConfiguration could not be found in the library of dynamic links MSWSOCK.dll

    Hey Jay_551,

    I have a good amount of information which I hope will be your answer useful lol.
    For starters, what Anti Virus do you use, the "netsh.exe" has been know to be infected by the virus and be put in a folder by some anti-virus. So I would check that out in your antivirus, I had this info at the following link:
    Also here is the Microsoft article on how to remove the 'Zentcom System Guard", he is recorded as my Microsoft Malware, then read the following link:
    Also because it's a common thing for there to be lack of pop - ups after a system file is infected, and removed from the infection, I would review the last link below it. It was created about other missing files, but the situation applies to you:

    Let us know the status or if you have any questions after these steps. I hope this has been useful and thanks for the display of Microsoft Answers!

  • Wzcsldr2.exe - Entry Point not found the procedure entry point apsGetReady cound not found in the library wlanapi.dll dynamics. apears after startup

    ---------------------------
    Wzcsldr2.exe - Entry Point not found
    ---------------------------
    The procedure entry point apsGetReady could not be found in the library of links dynamic wlanapi.dll.
    ---------------------------
    Ok
    ---------------------------

    Because the Microsoft Answers forum does not ask for any type of information system when a new question is asked so we don't know anything about your system.  Not knowing the basic information a problem prolongs the frustration and the agony of these issues.

    Maybe someday the dialog box 'ask a question' forums XP will ask these questions automatically when a new thread is started so I don't have to ask every time.  It might even be possible to solve a problem in a single response when enough information is provided.

    Thank you MS Answers, allowing the resolution of simple problems as frustrating and a lot of time as possible.

    Provide information on your system, the better you can:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    The afflicted system has a working CD/DVD (internal or external) drive?

    You have a true bootable XP installation CD (it is not the same as any recovery CD provided with your system)?

    Do you see that you think not you should see and when you see it?

    If the system works, what do you think might have changed since the last time it did not work properly?

    Googling a bit (very little) reveals that the file wzcsldr2.exe or wzcsldr3.exe belongs to a kind of device from D-link wireless connected to your system.

    Fact that sound familiar and you have something like this installed?

    If Yes, then I would get the page Support D-Link and find the latest driver for any device you use and install it.  You may need to first uninstall your device running - I'm sure they must have instructions and tips for the procedure.

    They also have an active Support Forum where you can post your problem/question to see if people there can help you get there.  There is already some discussion in the forums about the problems you describe, but since we know absolutely nothing about your system, you should probably take it yourself.

    I found a few other ideas through Googling, but I don't like some of the ideas I've read and if you stuff worked before, what do you think has changed since the last time it worked correctly?  Did you update or reinstall your device from D-Link or drivers, lately?

  • System error "the procedure entry point _SetAsyncTraceParams at (@)" 16 is not found in the library of dynamic links ATRACE. "." DLL.

    Original title: no access to system restore

    After a massive search, I can't solve this problem! Please indicate why this is happening and how to solve it.  Thank you for your support.

    This is the error message pop up that I got trying to activiate (Rstrui.exe) system restore "the procedure entry point _SetAsyncTraceParams at (@) 16 be found in ATRACE dynamic link library. DLL. notice the @ in support should replace 'at' since the seizure of this character created a link to MFL and was confusing to read!

    Hi intelegend,

    1. Did you the latest changes on the computer?
    2. You have security software installed on the computer?

    Method 1

    I suggest that scan you SFC on the computer that would be a corrupt system file search.

    The analysis may take some time, so be patient. Windows allows to fix corrupt or missing files it finds. If the information of the installation CD is required to fix the problem, you may be asked to insert your Windows XP installation CD.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

    Method 2

    If the previous step fails, then it is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you configure the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See section to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

    Method 3

    If the steps above do not then refer to the article below and check if it helps.

    Steps of troubleshooting for problems when you try to use the System Restore tool in Windows XP

    http://support.Microsoft.com/kb/302796

  • What the devil? Error: The procedure entry point? detac3@ListData@@QAEPAUData@1@XZ couldnot be found in QtCore4.dll dynamic link library.

    I hope I'm in the good topic section. My computer feezes. I restart or turn off & that is what happens.                                                                                       Error: The procedure entry point?  detac3@listData@@QAEPAUData@1@XZ not found in the QtCore4.dll dynamic link library.                                      He also does this whenever I turn on my computer, even if it does not freeze. I was told that I have to use my CD to get into windows XP, but I have no idea where I put it. What now? Oh, I'm computer illiterate, so stupid it upwards!

    Hi Budge3263,

    1. Did you the latest changes on the computer?
    2. You have security software installed on the computer?

    QtCore4.dll is part of the development environment for a number of applications, including Photoshop Elements.

    It is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you put the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See section to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

Maybe you are looking for

  • Mac is running too slow and hot.

    I think I might be problems with the software of runing core and bottom of crapware. I used etrechek but I can not post for some reason any.

  • IPhoto import, duplicates Handeling

    I heard that when you import an iPhoto library in pictures, Photos provides assistance to the detection and removal of the photos in the iPhoto library double. Is this correct? If so, how does this work? I tried to search for this topic, but Apple di

  • Re: Driver D: is missing (endangered) on Tecra A series und Vista

    How are you all?I have a problem, I installed a program then after installation the PC gave me an error (memory reference error) then I rebooted my PCAnd after that only he had the bad surprise, the D drive disappeared.I tried to use the restore CD t

  • iMac wakes up

    iMac falls asleep very much, but aways re - wake in the night (probably in the day too.) All the settings seem to be correct. Friends say "Guilty cat" but cat shows no interest in the keyboard.

  • iMac vesa support 5 k only from the factory? Or I can buy one?

    I have an iMac 5 k, and I would like to know if I can by a Vesa Mount for her, or she just factory?