Start Addon From another addon

hi..
is there any way that i can start one addon (which is installed and is active) from another currently running addon??
and is there any way that automatically i can start business one and log on to a company??  i can give the id and password or the company and also the database in the code.
thanks, laks.

I think you could quite easily control which company you log into when launching B1 by simply amending a registry key.
Standard B1 client keeps track of the last database you logged into, and by default logs you back into that one the next time you log in.  It seems to keep this info in a binary value in the registry called "Company" that is located in
"HKEY_CURRENT_USER\Software\SAP\SAP Manage\SAP Business One\LogIN"
Looks like it is just a simple unicode representation of the company database name that is in the key.
By amending this registry key before launching SAP Business One.exe, you can control what company it tries to log into.  You can easily try this out with regedit to see how it works.
There are also other registry entries in the same area covering server, servertype etc.
John.

Similar Messages

  • Starting up from another computers hard drive

    How do start up from another computers hard drive? I'm having trouble with my iMac g5's drive and need to see it on the desktop of my powerbook so I can back up data from it before I erase it.
    Thanks.

    How do start up from another computers hard drive?
    I'm having trouble with my iMac g5's drive and need
    to see it on the desktop of my powerbook so I can
    back up data from it before I erase it.
    Thanks.
    You don't need to start up your mac from another computer's hard drive to see it on the desktop of your powerbook.
    Startup your iMac in target disk mode and then connect it to your powerbook with a firewire cable and it should mount on the powerbook's desktop.
    see How to use FireWire target disk mode

  • Start timer from another thread

    I am working on a project which will receive command from telnet and start a timer.
    In the sock function, I use form reference to call timer.start(), but timer control cannot start Tick event:
    Here is code for sock functin after receive the command:
     static void appServer_NewRequestReceived(AppSession session, StringRequestInfo requestInfo)
                switch (requestInfo.Key.ToUpper())
                    case ("START"):
                        session.Send(requestInfo.Body);
                        changetimer(1, requestInfo.Body);
    break;}}
    Here is the function to call timer start:
      static void changetimer(int action, string incomingmsg)
                //timer1.Start();
                Form1 frm = (Form1)Application.OpenForms["form1"];
                switch (action)
                    case 1:
                         frm.timer1.Start();
                         break;
                    case 2:
                        frm.timer1.Stop();
                        break;
    and this is timer tick :
    private void timer1_Tick(object sender, EventArgs e)
                TimeSpan result = TimeSpan.FromSeconds(second);
                string fromTimeString = result.ToString();
                label1.Text = fromTimeString;
                second = second + 1;

    You should start the timer on the UI thread. You could use the Invoke method to access a UI element from another thread:
    static void changetimer(int action, string incomingmsg)
    //timer1.Start();
    Form1 frm = (Form1)Application.OpenForms["form1"];
    switch (action)
    case 1:
    frm.Invoke(new Action(() => { frm.timer1.Start(); }));
    break;
    case 2:
    frm.Invoke(new Action(() => { frm.timer1.Stop(); }));
    break;
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

  • In the middle of a clip, the audio starts playing from another part.... Help?

    So, I'm a bit of a technological noob, so I will describe this the best I can.  I have a clip (mp4) that runs about 1 hour 30 min long.  About 30 minutes into the clip, the audio from the beginning of the clip randomly starts playing, yet the video continues as it should, just the audio randomly swapped itself somehow?
    I have not cut or edited the clip in any way, I simply imported it in, and put it on the timeline and no matter what I tried (restarting, clearing cache, reimporting, etc) nothing seems to fix the problem.  The weirder part is, if I watch the raw file using something like Windows Media Player, the clip is just fine, no problems at all.  So something must be going wrong when it's imported into Adobe Premiere.
    Has anyone had this issue or know what may be causing this? I'm at a loss and it's keeping me from continuing a series I'm working on that I need to release. 
    As I said before, I'm a bit noobish, and this is my first time posting, so please feel free to respond with any additional info you need me to supply, and try to explain things in a noob friendly way, as I may not understand super technical jargon.
    Edit: A little bit of info to help possibly... I'm using Windows 7 and Adobe Premiere Pro CS6

    Hmmm okay.  I've been using PP for 2 years now with the same type of "non-camera media" and never had a problem til now.  But since then I've edited hours and hours of similar footage with no problem, so I may  just suck it up and use something like Windows Movie Maker to edit the one clip that is messing up.  Thanks for the help, and if anyone else has other suggestions, please feel free to post them

  • How to Starting Lync Metro from Another Application like html

    The Lync 2013 client can be launch from some command-line like below document, but how can we launch the app lync metro? Is there any documentation on this?
    Starting Lync from Another Application
    http://technet.microsoft.com/en-us/library/gg398376.aspx#United%20States%20%28English%29

    Hi,
    There is no specific command-line for Lync Metro app. You may post the issue on MSDN forum to verify if this can be developed. Thank you for your understanding.
    http://social.msdn.microsoft.com/Forums/lync/en-US/home?forum=communicatorsdk
    Kent Huang
    TechNet Community Support

  • How to start up with another computer

    Hi all, my wife has an ibook that I initialized thinking it would help when installing a 9.2.2 that she was having problems with. It didn't as somehow the disc still will not install, it says programme will not run on computer. Now there is nothing at all in the computer so will have to reinstall the OS X.
    How do I start the computer up with another one (step my step please) so I can get the 9.2.2 disc out?

    Hi, and welcome to Apple Discussions.
    You don't need to start up from another computer to get the OS 9.2.2 CD out. Check out the Apple Knowledge Base article on opening the iBook's optical drive tray and ejecting a CD or DVD:
    http://docs.info.apple.com/article.html?artnum=50991
    Additionally, this article may be helpful:
    http://docs.info.apple.com/article.html?artnum=106294
    Good luck!

  • Many SQL TCP connections after starting addons

    Hi experts,
    we encounter some problematic behaviour in a producive environment with 45 clients. After starting 4 custom addons the "sqlserv.exe"  16 - 20 TCP IP connections are opened and stay opened as long as the client+addons are running.
    The addons are UI and DI (SSO) and they are performing maybe one or two recordset queries, which are closed and GC immediatly.
    We experienced some client crashes which we traced back to SAP/SQL Server inresponsivity - some of sqlserv.exe instances have a latency of  almost a second.
    The server is high end ( Xeon E5 2620,64GB RAM,dedicated SAS HD for each DB ,Windows Server 2008 Enterprise, MSSQL 2012, domain) and is laughing about duties .
    In 1st development environment same problem ( domain ) , in standalone 2nd environment not reproduceable.
    Difference : domain ( RSP -> off and  firewall -> but is LAN open, no rules )
    I know this is more an administration problem  but it occurs only  after starting addons.
    SBO 9.0 PL 8
    Has anyone experienced the same problem or has an idea ?
    thanks,
    Maik

    Hi Eric,
    thanks for your response.
    I am using only DI API Recordset and DataTable to read from DB. If I use direct SQL queries I can see them opening and closing ( what is expected ) - so no problem there.
    My main concern is that I can't reproduce the behaviour on 2 standalone development machines which are not part of the domain. Also pure DI API connections ( no SSO ) don't seem to be affected. All in all it is very frustrating for my customer to have an highend server + good infrastructure+ uptodate desktops and SBO  is crashing constantly because of memory leaks and now also because of SQL problems.
    regards,
    Maik

  • Error while  starting Addon

    Hi All,
    I have installed B1 2004 client in one system. When I try to start addon , it gives error "Dynamic Link Library mscoree.dll couldn't be  found in the specified path C:\Docume\Admin\Local\Temp;c:\Winnt\system32...;"
    I have already installed DI API. There was another installation  
    client present on that system , then i uninstalled and new one is installed for another user.
    I couldn't fint any solution. Please help.
    Thanks in advance,
    BBN

    Hi,
        The main question is what kind of AddOn you do.
        If the AddOn is SBO 's AddOn like Screen Painter,
        can it work correctly?
        If the AddOn is compiled by .net , you need to
        install .net framework first.
    HTH
    Andrew Chu

  • Safari problem:  when I switch back into safari from another application, the menu bar comes up but no tabs or windows.  What's going on?  Just started yesterday.  I have found a workaround: when I Command Tab back to safari, I hit command T to open a new

    Safari problem:  when I switch back into safari from another application, the menu bar comes up but no tabs or windows.  What's going on?  Just started yesterday.  I have found a workaround: when I Command Tab back to safari, I hit command T to open a new tab and Command W to close it, and my other tabs are visible.
    I have tried shutting down, closing tabs, with no success.  What's going on and how can I fix it?
    Thanks,
    Cindi B
    PS:  I'm not sure of the actual OS level, but I have not allowed it to upgrade to Maverick yet; concerned about it because of a few things I've read...

    A Safari extension or third party plugin may be causing the menu bar issue.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test. If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.
    As for which OS X is installed.
    Click the Apple () menu top left in your screen. From the drop down menu click About This Mac.
    The version is noted there.
    v10.6 Snow Leopard v10.7 Lion  v10.8 Mountain Lion
    It's your choice whether or not to upgrade to Mavericks. If you decide to do this, make sure your Mac meets the requirements noted here.

  • My iphone 4 does not register calls made to it. if i make a call from another phone, i can hear it ringing, but it does not register on the iphone. also, i do not get any messages when this happens. then after a day or two it decides to start working.

    My iphone 4 does not register calls made to it. if i make a call from another phone, i can hear it ringing, but it does not register on the iphone. also, i do not get any messages when this happens. then after a day or two it decides to start working.

    Clean iPhone charging port with clean dry toothbrush. See if better. If still problem clean charging port again with toothbrush and small amount of Isopropyl Alcohol.

  • Starting New process (continous) from another java process

    Hi,
    I am running into a trouble in starting a new java process (continous process it is like daemon process ) from another java process.
    Eg;
    Caller.java runs on one JVM instance, from this Caller.java i need to start a daemon java process ConnectionManager.java (My caller.java should have to know whether ConnectionManager was successfully started as a seperate java process or not)
    Also Caller.java has to stop ConnectionManager.java(which is running as seperate process)
    Any help would be appeciated.
    Thank you very much.

    First of all the design is unusual. Your issue is basically intercommunication between two processes written in java. There are various ways to do that:
    1. Use Persistent system(File/Database) : Easiest but have external dependency.
    2. Use RPC calls both JVM,s little bit complex.
    3. Run new JVM in debug mode and connect on bootstrap port.
    4. Communicate using Sockets.
    Whatever suits you...

  • Possible to start a rac database from another standard oracle kernel ?

    With oracle RAC 10g R2 :
    If all nodes of a ORACLE RAC platform go down, is it possible to restart the database (with existing datafiles) from another oracle standard kernel 10g R2 ?
    Thanks for help : )

    That is an interesting question.. it should be possible.. you will definitely need a copy of your init.ora file. As long as the database files (control files, archive logs and redo logs) are on shared storage you should be able to start the database. Off course you will not have all the clustering features. I think it would be safe to disable the cluster database mode by setting the parameter CLUSTER_DATABASE = 'FALSE'.
    hmmmm... what if you are using ASM? It could be bit more tricky in this case. Depending on the O/S and other ASM components for example ASMLib used. I think it should be possible.. never tried one though.
    You may need to turn off the CLUSTER_DATABASE parameter on ASM as well.
    You will need to create an ASM instance! and get the diskgroups mounted manually. if you plan to try.. do post your findings for the benefit of other readers..
    Message was edited by:
    Murali Vallath

  • Did you start w/ Fireworks, or switch from another app?

    This is a poll.
    Did you start out making graphics as a Fireworks user, or migrate from another graphics program like Photoshop?

    But every program has MANY similarities.
    Start with the basic menus for file opening and saving, edits (Ctrl-Z for undo)
    Selections: (Ctrl-A for all), bitmaps have magic wands and lasso tools
    You can zoom in and out and move around in your document
    Color selections are similar, RGB or HSL, sometimes CMYK. Values maybe 0-100, or 0-255, or even in hex
    Vector objects (including text objects) have a fill and a stroke
    Bitmap manipulation includes modifying brightness&contrast as well as color
    Layers are common
    Masking is common
    Vector objects can be combined: joined/added or subtracted
    The differences between programs are in the names of the tools, the organizations of the menus, and in the advanced operations that are available in the more specialized programs. For example, Fireworks is a hybrid vector-bitmap editing program, so it has some tools for manipulating both vector objects and bitmap programs. However, Illustrator, or other specilaized vector-editing programs will have more capabilites with vector objects than FW. Similarly, Photoshop or another dedicated photo or bitmap editor will have other capabilities FW doesn't have.
    Instead of thinking in terms of "now I use this tool," think in terms of what you want to accomplish and then look for how that might be done. Along the way, you'll discover the other special capabilities of each program you use.

  • Starting and stopping a VI from another VI

    Hello
    I have to write a VI for starting and stopping a vi from another vi. I browsed the forums for an example but couldn't find one. If anyone has an example it would be of great help.
    Thanks
    Ankit

    I may be throwing myself into a pot of boiling water here, but...
    I don't think this method is called dynamically calling a VI. Going through the LabVIEW help says this about dynamically called VIs
    "You can dynamically load VIs instead of using statically linked subVI calls. A statically linked subVI is one you place directly on the block diagram of a caller VI. It loads at the same time the caller VI loads.
    Unlike statically linked subVIs, dynamically loaded VIs do not load until the caller VI loads them with the Open VI Reference. If you have a large caller VI, you can save load time and memory by dynamically loading the VI because the VI does not load until the caller VI needs it, and you can release it from memory after the operation completes. You also can use the VI Call Configuration dialog box to configure when to load the subVI."
    and:
    "Create a strictly typed VI reference to dynamically call a VI using the Call by Reference Node. The strictly typed VI refnum identifies the connector pane of the VI you are calling."
    It seems that the advantage of dynamically calling a VI you can call DIFFERENT VI's with the same function on the block diagram as long as both are strictly typed to have the same connector pane. So say you have a VI that has a voltage input and a time input and calculates the rate of voltage change, could be replaced by a VI that takes the same inputs, but does something else with the data. And both VI's could be called by the same function depending of the reference passed to "Call by Reference."
    I think the method of calling a VI and not caring about when it finishes is just an Invoke Node method.

  • Cannot Start Addon

    When i Start Screen Painter Addon. It give me error "Cannot Start Addon" ( please click on the below link to see the error snapshot )
    https://picasaweb.google.com/lh/photo/5WrC_gNNnRVtjjQf-XgH2bMSIt3AtklRJUUzOQLD7oc?feat=directlink

    Hi........
    Try runing Addon Upgrader once again and then check......
    Regards,
    Rahul

Maybe you are looking for

  • TV don't work with OSX Server software?

    Everything worked great BEFORE I updated our MacMini Intel to OSX Server software, now iTunes can't find the recent found Apple TV. And therefore the connection is gone and the syncing don't work anymore. Any work-around or suggestions on how to solv

  • Portal content in Arabic for limited users

    Hello Colleagues We are about to implement ESS on EP.In our backend system ECC 6.0 data is available in English. Our client requirement is that for certain users Portal content should be available in Arabic.I have gone through some threads in which w

  • Cannot open video's from e-mails

    I can't open a lot of video e-mails or other video things. Mac pro book has Quick time installed on it too. Get "Error message can not open" New to MAC not to using a computer though. My son talked me into buying this. Great graphics. I'm at a loss o

  • Album Art and Vi

    I used to be able to create my own album art and drag and drop it in Creative Media Explorer by since moving on to Vista this isn't possible. Anyone got a solution or point me to somewhere, perhaps within the forums, where I can find one.

  • Spam filter at .mac level

    I am getting spammed by one source (exactly the same style message, but no consistent ip) and want to block it but cannot get any response from anyone at .mac. The messages are consistent and I can send them to my junk folder, but I would rather not