I created a .NET DLL MyCustomLib in Visual Studio 2015, consisting of a class  Imports System.Runtime.InteropServices &lt;ClassInterface(ClassInterfaceType.AutoDual)&gt; &lt;Guid("D42A39C8-01EC-4467-9AE3-DC22DCA895A4")&gt; Public Class MyClass    Public Sub New()        Dim frm As New MyForm        frm.Show()    End Sub End Class   and second class  Imports System.Runtime.InteropServices &lt;ClassInterface(ClassInterfaceType.AutoDual)&gt; &lt;Guid("D42A39C8-01EC-4467-9AE3-DC22DCA895A5")&gt; Public Class MyForm   Sub New()      ' This call is required by the designer.       InitializeComponent()      ' Add any initialization after the InitializeComponent() call.    End Sub End Class   So, both have a parameterless constructor, the classes are public. I build it and register it using regasm.exe (the x64 one). Regasm tells me, that registration was successful.  Then I create a VBScript file to call the DLL:  'TestCall.vbs Dim oObject Set oObject = CreateObject("MyCustomLib.MyClass")   When I execute the vbs, I get an error 80070002: The system cannot find the file specified. Why do I get this error?
I wrote a DLL in .NET and I want to access it in VBScript. I don't want to add it to the assembly directory.   Is there a way to point too the DLL and create an instance of it?
Can a Rogue (D&D 3.5) use sneak attack on both the first and second attack? I know this seems like a question you can simply Google but the answers vary and my clan is under the impression that I can only use it on my first attack (once per round) and not on my second attack.  From Googling, I've understood that as long as the monster / enemy is flat-footed, flanked or caught off-guard, I can apply sneak attack on both my first and second attack in a round.  Is this correct?  Is it normal if the clan simply decides that that gives me an unfair advantage in combat and gives me only one sneak attack per round? Best Practice for Forcing Garbage Collection in C# Why is my variable unaltered after I modify it inside of a function? - Asynchronous code reference Is there any rule for when it is better to use genitive case or noun as adjective? I'm not sure if there is any difference in meaning in this example:     The department of accounting       The accounting department   Can I also use both forms in situations like:     The restaurants of Paris / The Paris restaurants      The room window / The window of the room How to flatten a list to return a new list with all the elements? When is the union of a family of subspaces of a vector space also a subspace? It is not difficult to prove that the union of a chain (or, more generally, a directed family) of subspaces of a vector space $V$ is a subspace of $V$.   Given a family $\mathcal{F}$ of subspaces of a vector space $V$ such that the union of $\mathcal{F}$ is a subspace of $V$, is it true that $\mathcal{F}$ is a directed family?  If not, is there a "nice" characterization of families of subspaces whose union is a subspace? Why is Cat5/Cat5e Ethernet cable rated 100MHz? As the questions says, is there any specific reason why Ethernet cable is rated 100MHz?  For a 100Mbps Ethernet the data rate is 100Mbps, and the baud rate is 125Mbaud, because of the specific line coding that it uses. What is the relationship between 125Mbaud rating of data transfer and 100MHz rating of cable?  Thank you. How can I revert a config file back to the originally installed version after I have edited it? I want to revert a file in /etc/ back to its originally-installed form. I have edited the file since it was installed. How can I revert this config file? Apt is smart enough not to overwrite edited config files, so how do I tell it that I want it to do so?  For argument's sake, let's say that I want to revert the file /etc/foo.conf from the package foo. Distribution of orbital velocities in a disk galaxy for N-body simulation? What is the difference between "source x", ". x" and "./x" in Bash? I posted a question and a couple of respondents asked for the source code. I could only post portions of the code.  If attachments were allowed I could have uploaded a .zip file with the whole application.  Will this be a feature in SO? How do I resume a release upgrade? Yesterday I started the upgrade from 12.10 to 13.04, but I interrupted it because it was taking too long. Now if I restart it, it doesn't proceed.  Is there any possibility to clean the mess it left when I interrupted it and make a clean restart of this update? How to repair Ubuntu installation after interrupted dist-upgrade without losing any custom settings? Should I always use a comma after "e.g." or "i.e."? $p=4n+3$ never has a Decomposition into $2$ Squares, right? Primes of the form $p=4k+1\;$  have a unique decomposition as sum of squares $p=a^2+b^2$ with $0&lt;a&lt;b\;$, due to .  Is it correct to say that, primes of the form $p=4n+3$, never have a decomposition into $2$ squares, because sum of the quadratic residues $a^2+b^2$ with $a,b\in \Bbb{N}$ $$ a^2 \bmod 4 +b^2 \bmod 4 \le 2? $$  If so, are there alternate ways to prove it? My Visual Studio (2008) Editor has stopped to underline Errors (this nifty wavy red lines). I can't really tell when, but it can be related to the installation of .Net Framework 3.5 SP 1 or the MVC Beta (which I guess is unlikely). Furthermore have I installed and uninstalled both CodeRush and Resharper for evaluation purposes (decided not to keep either one of them).  Does anyone know the problem and how to restore this functionality again? How can I form a word like "quadruple" for any number I want? I'm not sure what these are called, but how can I form a word like "quadruple" for any number I want? Like 5× as much is quintuple, what is 31× as much or 147× as much? I want to know how they are formed so I can make my own.  Similarly, how do I construct the prefixes, such as unicycle, bicycle, tricycle, quadricycle? I figured out 12 is duodeci-, but how can I form any prefix like this? Is there a function to extract the extension from a filename? The screen of my phone is physically broken, so it doesn't display anything, but the touch aspect does seem to be working, as I can unlock my phone, and get haptic feedback.  Before I go to get it replaced, I'd like to back up some personal data from the built-in memory to the SD card. I'm fairly certain that if I can get adb to recognize the device, then I can use  to see where I am touching the screen and do what I need to do. Problem is, when I plug it in, it's not recognized, while my emulator is.  I suspect that I might not have USB debugging enabled, which I think is necessary for adb to work. If this is the case, can someone give me screenshots of their Droid X (running 2.3.X) going from the home screen, through all the menus, to activating debug mode? Hopefully I can do it by dead reckoning and adb from there.  Edit: I haven't changed anything about the ROM or launcher; it's all stock. Why couldn't Harry see Thestrals at the end of Goblet of Fire after the senseless and shocking death of Cedric Diggory?   At the end of Goblet of Fire, the carriages still appeared horseless to Harry:     Hermione turned away, smiling at the horseless carriages which were now trundling towards them up the drive, as Krum, looking surprised, but gratified, signed a fragment of   parchment for Ron.   Goblet of Fire - Page 629 - British Hardcover - Adult Edition   At the beginning of Order of the Phoenix, Harry sees the Thestrals for the first time:     Here stood the hundred or so horseless stagecoaches that always took the students above first year up to the castle. Harry glanced quickly at them, turned away to keep a lookout for Ron and Hermione, then did a double-take.   The coaches were no longer horseless. There were creatures standing between the carriage shafts.   Order of the Phoenix - Page 178 - British Hardcover - Adult Edition   We know that only those who have seen death can see Thestrals:     ‘Don’ worry, it won’ hurt yeh,’ said Hagrid patiently. ‘Righ’, now, who can tell me why some o’ yeh can see ’em an’ some can’t?’   Hermione raised her hand.   ‘Go on then,’ said Hagrid, beaming at her.   ‘The only people who can see Thestrals,’ she said, ‘are people who have seen death.’   ‘Tha’s exactly right,’ said Hagrid solemnly [...]   Order of the Phoenix - Page 394 - British Hardcover - Adult Edition   A month went by between Cedric's death and the end of the spring term -- is this enough time for Harry to have truly internalized Cedric's death? Goblet of Fire indicates that Harry was in shock following Cedric's murder, but was able to relate the story of Cedric's death to Mr. and Mrs. Diggory.     When he looked back, even a month later, Harry found he had few memories of the following days. It was as though he had been through too much to take in any more. The recollections he did have were very painful. The worst, perhaps, was the meeting with the Diggorys that took place the following morning.   [...]   ‘He suffered very little, then,’ she said, when Harry had told her how Cedric had died.'   Goblet of Fire - Page 621 - British Hardcover - Adult Edition   So, then, why couldn't Harry see Thestrals at the end of Goblet of Fire?