Question: I was integrating a Test Payment Gateway Kit of IDBI Bank(PHP KIT), The Test Kit is working fine But response page displays all the values as empty and this happens in Godaddy VPS Hosting for windows but when the same code is put in shared hosting it works fine without any problem and i'm able to receive the response values and display it to the user , i'm literally confused any help/suggestion would be gratefull

Answer: 
I suggest you to use a function that checks if there is a `CommandBar` in your `Application` like this:

```
Function IsCommandBarValid(cbName As String) As Boolean
    Dim i As Long
    IsCommandBarValid = True
    For i = 1 To Application.CommandBars.Count
        If (Application.CommandBars(i).Name = cbName) Then
            Exit Function
        End If
    Next i
    IsCommandBarValid = False
End Function

```

Now, You can use it to see that your user have that `CommandBar` in his or her `Application`, then make it like this:

```
If (Not IsCommandBarValid("Attributions")) Then
    Call Application.CommandBars.Add(Name:="Attributions")
End If
' And after this add your code
Set MyButton = Application.CommandBars("Attributions").Controls.Add(Type:=msoControlButton, Before:=10)

```
**Invalid procedure call or argument (Error 5)**

Some part of the call can't be completed. This error has the following causes and solutions:

* An argument probably exceeds the range of permitted values. For example, the Sin function can only accept values within a certain range. Positive arguments less than 2,147,483,648 are accepted, while 2,147,483,648 generates this error.

> 
> Check the ranges permitted for arguments.
> 
> 
>
* This error can also occur if an attempt is made to call a procedure that isn't valid on the current platform. For example, some procedures may only be valid for Microsoft Windows, or for the Macintosh, and so on.

> 
> Check platform-specific information about the procedure.
> 
> 
>

For additional information, select the item in question and press `F1` (in Windows) or `HELP` (on the Macintosh).

* [MSDN Source Article](https://msdn.microsoft.com/en-us/library/office/gg264283.aspx)