Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sifitz

    RenderControl and HTMLTextWriter in VB Class

    Thanks John, I tried using the New keyword and I got an error saying that I had the wrong number of arguments so I tried adding an argument which needed to be of type System.IO.TextWriter So I tried declaring a Textwriter and got more trouble:- Dim wrtrText As New System.IO.TextWriter() Dim...
  2. sifitz

    RenderControl and HTMLTextWriter in VB Class

    I am trying to dynamically change properties on an Image and then render the image to the browser. RenderControl looks like it would do the trick but I can't figure out how to use the HTMLTextWriter. If possible, I would also like perform some functionality like Response.Write but this doesn't...
  3. sifitz

    Getting VBScript to read Windows regional settings for date

    I am not sure what problems you are encountering but the DatePicker must be using the Date subtype as its value which means that no matter what the date "looks like" to the user, the date can be handled in the code correctly. There are a number of functions that can be used to...
  4. sifitz

    Outlook MailItem From Field

    Thanks Sandy, the code that you have written is helpful in understanding the email object a bit more. However, we needed the same address to be seen in the user's inbox and the SendOnBehalfOfName property works perfectly for this irrespective of who uses the application. The ReplyRecipients...
  5. sifitz

    Outlook MailItem From Field

    From what I understand, you can't send an email in this manner. You need permission to send an email from the address supplied. For example, I have permission for the inbox/account of it@company.com although my personal email account is si@company.com. That's how my code manages to work in this...
  6. sifitz

    Outlook MailItem From Field

    Thanks for the help guys. Turns out that there is an easy way of doing what I was after. The actually code I needed was:- objMail.SentOnBehalfOfName = <from address> Now when the MailItem is viewed, the From address is filled in. Security to check whether the user can send email as somebody...
  7. sifitz

    Trusted Connections without Password Prompt

    Hi I have some reports that I have created that I would like to use a trusted connection to refresh the data. I am using the CRViewer on a webpage. Is there a way of allowing a trusted connection without a password prompt? The report needs to be secure so passing passwords as parameters in...
  8. sifitz

    Outlook MailItem From Field

    I have tried this code and it it seems to be ok until an attempt is made to send the email. This is the error I got:- -834207657 Could not complete the operation. One or more parameter values are not valid. The above error occurred both when I used the Send method as well as when using the...
  9. sifitz

    Outlook MailItem From Field

    Hi I have created an email from a VB project that works fine apart from one thing. I want to be able to change the address that the email is sent from. You can do this is Outlook manually but I want to do it in code. How can this be done? Thanks SiFitz [afro]
  10. sifitz

    CreateObject(&lt;class&gt;, &lt;server&gt;)

    I have got the code to work on a number of different machines so it appears that the class is registered. The problem is down to user profiles. It works for my user profile but nobody else's. The EXE file has full permission for everybody to use it and the keys in the registry allow full...
  11. sifitz

    Folder.Files Collection

    Thanks, but that was not what I was looking for. I have managed to perform the task I was after, but it probably isn't as efficient as if I was able to perform an immediate filter rather than test the full folder for matches in my code. Si [afro]
  12. sifitz

    Folder.Files Collection

    ...criteria. I have a large amount of files and a number of criteria to meet. The first criteria I have is a filename filter. In VB you can use the Dir Function with a filter string. e.g. *.gif for all GIF files. Is there a method like this within the FileSystemObject? Thanks, Si Fitz [afro]
  13. sifitz

    CreateObject(&lt;class&gt;, &lt;server&gt;)

    Hi, I have a custom made ActiveX EXE placed on the server that I call from client machines. I can get a class to work fine for me (that is on any PC that I am logged into), but for any other user profiles, it fails. Can anybody tell me where I may be going wrong? Thanks, Si Further...
  14. sifitz

    430: Class does not support Automation

    I have checked versions of the application and DLL version and they are fine. The application has been working with the same DLL since it was created regardless of the version of the application. The DLL was created before the application so that hasn't been a problem. Until now, both...
  15. sifitz

    430: Class does not support Automation

    I am going to have a look at the typelib but I am not able to at the minute. Selfish user needs the PC... As for testing the project without binary compatibility, I have tried it (I ran the DLL in Debug mode with no compatibility and referenced this DLL from the EXE code) and it works fine. I...
  16. sifitz

    430: Class does not support Automation

    Thanks for the reply, I have gone though the registry and I have checked for any reference to the DLL name, class name and CLSIDs. It all seems OK. What I wanted to do was step through the DLL project code on the problem pc from main EXE project code. My project has binary compatibility but...
  17. sifitz

    430: Class does not support Automation

    I have a DLL I have created in VB and my application calls classes from this DLL. I have installed the application and DLL on all client machines and all have been fine except one. This machine does not have conflicting versions of the DLL. Also, I haven't change the project from an ActiveX Exe...
  18. sifitz

    Remote CreateObject()

    Thanks Mark. I have searched through so much information and I can't do it. Gutted. Cheers Si [afro]
  19. sifitz

    Sending Email

    I would like to send email automatically and wonder how I can do it best. Attempt 1 I have tried using the MAPIMessages Control but I really want to get rid of the prompt telling the user &quot;A program is trying to send email...&quot;. Even setting MAPIMessages.Action = 3 (from...
  20. sifitz

    Remote CreateObject()

    Thanks Mark but I can't get this to work. It looks such a simple solution so I am hoping that I have just made a silly mistake. I want to use CDONTS.NewMail on the server so I have created a Key on the server in the following location:-...

Part and Inventory Search

Back
Top