Results 1 to 2 of 2

Thread: Strange problem...

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    Sweden
    Posts
    38

    Question Strange problem...

    Hi,

    I've created a dll in c# that I use in Excel by adding a reference to the .tlb file in VBA. Everything works fine the first time, but when I make changes and try to recompile my dll, I get 'the process is used by another application'. Sample code looks like this:

    Sub test()
    Dim x As ExcelDLL.TestExcelDLL
    Set x = New ExcelDLL.TestExcelDLL
    Range("b2").Value = x.TestFunction(2)
    End Sub

    I've tried a number of different ways to killing the process, but I've run out of ideas. Does anyone know what to do? Please, I'm soooo frustrated.

  2. #2
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,657

    Re: Strange problem...

    Are you removing your reference before you re-compile ???

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width