regsvr32 Problems

ActiveX components and controls have been around for many years.  Unfortunately, when regsvr32 fails to register a DLL, the only information provided is an error code.  Usually in the format of a 32-bit hex number, such as 0x80004005 (although not necessarily that particular error code, I simply picked one at random for this blog post). If you search the Internet, […]

su Supported by Chilkat SSH for Linux/Unix Servers?

Question: I don’t see anything in the documentation or examples to indicate that “su” is supported w/ SSH?  Is it possible to login to a user account and then “su” to root? Answer: “su” is a command just like any other Unix/Linux command. It is typed at the command prompt, it does something, and a response is written to standard […]

Possible to use Email in non-HTML Mode Only?

Question: Is it possible to use the email component in non-HTML mode only? For instance, I don’t want to be seeing HTML in the .Body after downloading the message from the server. Answer: Any given email can have a plain-text body, an HTML body, or both. The emailObject.Body property will contain the HTML body if present, or the plain-text body […]

Verify Email Delivery?

Question: Is it possible to check if an email is delivered properly? Answer: The Chilkat MailMan is an SMTP client. It connects to an SMTP server to initiate the delivery of email. Typically you would connect to your company’s or ISP’s SMTP server. If the email is to be sent elsewhere, the SMTP server relays the email to the remote […]

VB.NET to Extract a File from one Zip Archive and Append it to Another Zip Archive

The following VB.NET code copies the contents of the nutrition.xml file (found in xml1.zip) to another pre-existing .zip named xml2.zip: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim zip1 As New Chilkat.Zip Dim success As Boolean success = zip1.UnlockComponent(“Anything for 30-day trial”) success = zip1.OpenZip(“xml1.zip”) Dim entry As Chilkat.ZipEntry entry = zip1.GetEntryByName(“nutrition.xml”) ‘ Assume the […]

Using the ChilkatDotNet2.dll Assembly in PowerShell

Question: I was going to try to use Powershell to send a “digitally signed” message, but I am not sure of how to “install” the “ChilkatDotNet2.dll” so Powershell can call it. Is there a way, or do I have to use the ActiveX version? Answer: I’ve never tried PowerShell, but after a little searching on the Web, I see that […]