Tag vb.net

[Solved] Convert VB to C# ‘GetCustomAttribute’

You just have to cast to MessageHandler: InstanceType = (MessageHandler)System.Attribute.GetCustomAttribute(Method, typeof(MessageHandler), false); The clue is in this part of the error message: An explicit conversion exists (is a cast missing?) 0 solved Convert VB to C# ‘GetCustomAttribute’

[Solved] How to convert .Net code to vbscript?

You have to use the FileSystemObject. Hint: This could be googled very easily. Example: Sub HideFolderFiles(filespec) Dim fs, f, r Set fs = CreateObject(“Scripting.FileSystemObject”) Set f = fs.GetFolder(filespec).Files f.attributes = 2 ‘hidden End Sub Source: 2 solved How to…

[Solved] What language is he using?

It does look like some template engine rather then separated language. You could read about the available template engines here. They essentially exchange the text encoded information to the underlying data, in your case I don’t know which particular engine…

[Solved] Visual Basic email system bcc mails [closed]

Imports System.Net Imports System.Net.Mail Private mpMessage As MailMessage = Nothing Private mpSMTPSvr As SmtpClient = Nothing ‘———————————————————————— ‘-> Send The Message ‘———————————————————————— MailerHost = “Addrss-of-your-emailer-host-server” mpMessage = New System.Net.Mail.MailMessage() mpMessage.Body = “Message body text goes here” If Trim(SenderNameValue) <> “”…