PR_LAST_LOGON_TIME Exchange Property?

Jul 30, 2009

i need to retrieve the PR_LAST_LOGON_TIME property from exchange using visual basic orvbscript. Actually my script read the number of emails and size of them in destinationmailboxthrough mapi session but i don't know how retrieve the PR_LAST_LOGON_TIME. I have found only an article on microsoft about it but in c++ language.

View 1 Replies


ADVERTISEMENT

.net - 'Property' Cannot Implement 'Property' Because There Is No Matching Property On Interface 'IName'?

Dec 9, 2011

I'm having some very weird issues with interfaces right now.

I have a very simple setup. In one of my class, I have a Property implementing a Property from an Interface.

In my class it's like:

Private _oForm As IForm
Public Property Form As IForm Implements IContainer.Form
Set(value As IForm)

[Code]...

I have like dozens of interfaces like this working throughout my project and I can't believe this simple one can't work!

View 1 Replies

.Net Exchange Web Services?

Aug 31, 2011

I created an application using the Exchange Web Services, everything works fine, but after running 3 or 4 times, I suddenly get the error:

There was an error downloading "whatever/ews/services.wsdl"The remove name could not be resolved:There was an error downloading "whatever/ews/services.wsdl/$metadata"That gets me is its working find for a while, then it just stops working. I do an update and get the error. wait a little longer, try to browse it through browser and it prompts me for a user name and password, even though I checked the box "Remember".

View 1 Replies

Ews (Exchange Web Services)?

Jun 12, 2009

I'm looking at using ews to move new emails to a sub folder and download attachments to a network drive. I was wondering if anyone had any experience with this particually using VB.net but all and any advice?

View 1 Replies

Using Ews (Exchange Web Services?

Mar 11, 2009

I'm looking at using ews to move new emails to a sub folder and download attachments to a network drive. I was wondering if anyone had any experience with this particually using VB.net but

View 2 Replies

Asp.net - Connecting To Exchange Server?

Jan 14, 2011

I am using this code to connect to my exchange server using POP3.

I am trying to retrieve an inbox of basically emails that have not been read however, i am just getting a bunch of gibberish and its reading an email.

modify my code to just read the most recent messages.

Try
tcpClient.Connect(hostName, 110)
Dim networkStream As NetworkStream = tcpClient.GetStream()

[Code].....

View 3 Replies

Data Exchange Between 2 Applications In VB?

Aug 4, 2009

I have 2 applications which we can call for example Client/Server.

I would like to exchange data between these applications but basically don't know which is the best route.

I have managed to speak to both applications using text files, but there must be a better way of doing this.

View 2 Replies

Exchange Backspace With Delete Key?

Jul 7, 2009

Is there any way to exchange backspace with delete key. I hav used this code in key_down event of rtb

if e.KeyCode = Keys.Back then
SendKeys.Send ("{DELETE}")
endif

but now it works as both backspace and delete.

View 3 Replies

Extract Data From MS Exchange?

Aug 18, 2009

I need to convert a VB6 application into VB.Net Windows application. The program pulls data from MS Exchange (UserID, firstname, lastname, etc - not the emails themselves) and places it in a .txt file. The code has been converted, but the program does not work. When the application is run, the .txt file is created, but is blank and I get a pop-up that shows the following, "trying to access email in outlook do you want to allow this?". The popup box is gone in an instant and when I try to click on yes, it does nothing. I always have to end the program as it is non-responsive.

View 1 Replies

Extracting Data From MS Exchange?

Mar 19, 2010

I need to convert a VB6 application into VB.Net Windows application. The program pulls data from MS Exchange (UserID, firstname, lastname, etc - not the emails themselves) and places it in a .txt file. The code has been converted, but the program does not work. When the application is run, the .txt file is created, but is blank and I get a pop-up that shows the following, "trying to access email in outlook do you want to allow this?". The popup box is gone in an instant and when I try to click on yes, it does nothing. I always have to end the program as it is non-responsive.

View 14 Replies

VB And Exchange Server 2003?

Feb 13, 2007

I'm wondering if anyone knows how to connect to exchange server via vb.net.

I need to create a program that imports data from a calander in exchange server 2003.

(The idea of the program is to imput sick and holidays into a calander and get the vb.net program to read in all the data and store in a database for future use and reporting etc)

View 2 Replies

.net - Exchange Code For Token Facebook-c#-sdk?

May 21, 2012

I am using The Facebook-C#-Sdk v5.0.3 to create a non-canvas webforms app in vb.net and i am having trouble exchanging the returned facebook code for the access_token. Does anyone have an example (C# or vb.net) that I can look at

View 1 Replies

Adding Exchange E-mail Alias In C#?

Feb 26, 2011

Using .NET (VB or C#), how can I add an e-mail alias to a user in Active Directory? I have written code to change the format of our usernames from "first_last" to "first.last.country" and I need to update the e-mail addresses as well. Our solution is to add an alias e-mail to the users in exchange, but I don't know how I can do this using .NET.

View 1 Replies

C# - Creating Mailboxes On Exchange 2010

Mar 12, 2012

I have a project on VS 2005 which was running fine with exchange 2003, now the customer migrated to 2010 and my app. is failing when tries to create mailbox. My app. is console based and its running on windows 2003 and 2.0 .net framework. Exchange 2010 is running on a W2K8 and 3.5 framework. I guess a good option would be to develop a webservice (with VS 2010 for example) but not sure if EWS is able create mailboxes.

View 1 Replies

Creating An Exchange 2007 Mailbox

Dec 21, 2010

Apologies if this is in the wrong sub-forum. My organization has a custom application for creating and managing AD users and exchange mailboxes. Under exchange 2003 this worked perfectly. Earlier this year we implemented exchange 2007. Some alterations were made to the code to keep it running - and successfully creating mailboxes. This worked up until we removed the last exchange 2003 server.

[Code]....

View 6 Replies

Exchange Email Reply Between Set Time Every Day

Jan 26, 2011

I have to set our support email to send an out of office reply between 6pm and 8am every day and then for the entire weekend. I come to find out exchange does not support this. Is it possible to write a "service" that I can load up on a machine that monitor the support email then send an auto reply if it is between 6pm and 8am? Basically it would just be a lite weight email client that only does anything outside of business hours.

View 1 Replies

Export Exchange Distribution Lists?

Oct 10, 2010

how to retrieve/export distribution lists from an Exchange server? I've tried a few articles but the one that looked the closest said a needed to add a reference to Outlook 14 and the highest i have is 12.0

I look after a system that allows the creation of distribution lists but no way to sync them up with Outlook(and as you can imagine trying to maintain that manually is just a ballache)

View 3 Replies

Get The Mail Exchange Server For A Domain?

Apr 15, 2009

I am creating a program where i need to calculate the mail exchange server name for a given domain name. I mean, if the domain name is [URL] then i need yahoo mail exchange server address. That is [URL] How can i get mail exchange server name for a domain name through coding in vb.net 2?

View 5 Replies

IDE :: Powershell To Manage Our Exchange Infrastructure?

Feb 25, 2010

We use VB2005, Along with Powershell to manage our exchange infrastructure. VB.Net codes have been compiled to support MIIS2003 Operations. One of the operations require the functions in VB.net to write an output into .csv file. This file receives jibberish characters as input after the functions are executed.

View 1 Replies

Opening Exchange Management Shell With VB?

Oct 23, 2009

Taking on a project that is larger than my knowledge of VB, I have an personal project in VB that uses command prompt to create, remove and modify AD accounts. My company has updated to Exchange 2007 and I have lost some of my functionality modifying mailboxes. I know alot of cmd commands work in shell, but I want to convert the entire thing to work for Exchange Management Shell.

My very first problem is getting my VB app to open shell and not cmd.

Current code example:

Dim strCmd = "cmd /C dsadd user " & Chr(34) & "cn=" & strUserName -Continues with location, groups, properties of the account
Shell(strCmd, AppWinStyle.NormalFocus)

Can I get my app to open Exchange Management Shell and possiby how can I change my code to work more for shell?

View 7 Replies

Sending Email Using Exchange Server?

Oct 8, 2008

i ma trying to send email using a exchange server i am in intranet i can use the same code to send email using gmail smtp a/c but when i try using the exchanger server inside my network it fails here is the exception i get

SOURCE: SystemMESSAGE: Failure sending mail.INNER EXCEPTION: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.10.100:25 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at

[code]....

View 7 Replies

Serialize An Object And Exchange With Another Assembly

Jun 12, 2011

I want to send a serialized object from my server to the connected client. A little problem is that the BinaryFormatter needs the source assembly to deserialize the object properly.

View 2 Replies

VS 2005 - Using Exchange To Send Email

Apr 29, 2010

I am developing an application which includes the ability to send email. The code works fine for sending internal emails but it fails: server unable to relay mail 5.7.1 when trying to send externally.

This is the code.
Public Shared Function SendEmail(ByVal SubjectText As String, ByVal BodyText As String, ByVal Recipient As String) As String
Dim msgClient As System.Net.Mail.SmtpClient
Dim msgTo As System.Net.Mail.MailAddress
Dim msgFrom As System.Net.Mail.MailAddress
[Code] .....

I get the same error if I change the password to something incorrect so I'm wondering if the NetworkCredentials are being ignored? I've seen articles where teh IP address of the server must be trusted by the SMTP server or it won't relay the mail but I thought I was doing the same as an email client such as Outlook with the code above: that can be used from any PC on the network without having to specify its IP address on the SMTP server.

View 6 Replies

VS 2005 Exchange Global List

Apr 1, 2009

im prototyping a mail sending program which load all contact from the exchange server 2k7 global list. I dont know how it will be possible and i cant find related articles in the net.

View 1 Replies

VS 2008 Make Text Exchange?

Apr 14, 2011

i want what ever the user types in text box1 to be in text box2 EXCEPT i want it to have tags around it. so say a user types "hello" in the first text box i was the second text box to read "!hello!" or something similar.

View 12 Replies

Watch Exchange Server Appointments

Mar 26, 2009

is there away to put a directory watch on an exchange server to monitor if any user delete's or create's an appointment?

I'm creating a service for a windows 2003 server with exchange installed and need to monitor the user's callender's to get information to store in another program.

View 3 Replies

Adding Mailbox With VB - Upgrade To Exchange 2010?

Jan 21, 2011

We are getting ready to convert to Exchange 2010. Currently we're using VB code to add new users to AD and create mailbox for them with specific settings. I've been trying to figure out - what do I need to change in my code in order for the code to work in Exchange 2010 environment. I've seen some references about using Powershell in a remote environment and guessing that AddPSSnapIn will no longer work. Not sure about hardcoding username and password for remote access. Is there any way to avoid it? Whose u/p should it be anyway? AD user who runs the code? Below I'm posting the code that we using in Exchange 2007. Please let me know what I need to change?

[Code]...

View 8 Replies

ASP Modifying Exchange 2k7 Mailboxes With Powershell Execution?

May 8, 2012

I'd like to start off by saying I'm not really a programmer just a sysadmin who likes to dabble (so simple answers would be nice ;) ),I've created a webapp that's used by some less technical folk to do basic administration tasks(User provisioning through our IDM, Updating passwords, Disabling accounts, Editing user details, etc)there's also a couple of exchange functions that are currently handled by exporting a CSV that a separate powershell script processes.I'm trying to bring these powershell functions into the application to reduce complexity but I'm having some trouble.

When I execute the "Add-MailboxPermission" command I get no return output (nor does it apply the change) at all, unless I put no parameters,in which case it throws the expected missing parameters exception (Not scientific but proves it's loading the exchange plugin fine and executing):

private sub cmdMbxFullAccess(sender as object, e as eventargs)
Dim psRunSpaceConf As RunspaceConfiguration = RunspaceConfiguration.Create()
Dim psConfException As PSSnapInException[code].....

If however I issue a simpler command like "Get-Host | Out-String" I get return output as expected. Thus far I have checked that the user context it's running under has the correct permissions and tried executing the command from the powershell prompt on that server to make sure that there isn't some other external issue I am overlooking.how I can further debug this, it's like the command disappears into the ether never to be heard from again!

View 2 Replies

ASP/.NET Modifying Exchange 2k7 Mailboxes With Powershell Execution?

May 8, 2012

I'd like to start off by saying I'm not really a programmer just a sysadmin who likes to dabble (so simple answers would be nice ;) ), I've created a webapp that's used by some less technical folk to do basic administration tasks (User provisioning through our IDM, Updating passwords, Disabling accounts, Editing user details, etc) there's also a couple of exchange functions that are currently handled by exporting a CSV that a separate powershell script processes. I'm trying to bring these powershell functions into the application to reduce complexity but I'm having some trouble.

When I execute the "Add-MailboxPermission" command I get no return output (nor does it apply the change) at all, unless I put no parameters, in which case it throws the expected missing parameters exception (Not scientific but proves it's loading the exchange plugin fine and trying to execute):

[Code]...

View 1 Replies

C# - Detect New Mails In An Exchange Server Mailbox?

Aug 8, 2011

I have a mailbox that gets alerts from different servers from time to time. Each time, we get this alert, I want it to perform a custom action based on the contents of the email.And I would like to keep it as a service in (C# or VB.net) which can be run from anywhere. Is there an API for reading this?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved