
The One Who Was
Avatar/Signature-
Posts
53 -
Joined
-
Last visited
About The One Who Was
- Birthday 08/30/1979
Personal Information
-
Occupation
Network Administrator
-
Visual Studio .NET Version
2002
-
.NET Preferred Language
Visual Basic
The One Who Was's Achievements
Newbie (1/14)
0
Reputation
-
Greetings, Well, I've kinda hit another wall. I've managed to get past most of my problems. I'm sorta stuck with these security popups, but I've found out that if I do not retrieve the e-mail address from the contact item, outlook won't pop up a security message. The following code I've pulled outta the MSDN site with a lot of digging. I've modified it a bit so that it will ask you which folder to view contacts from. I hope this can be of assistance to someone out there. The following requires you to add a reference to Outlook under the COM folder: Dim oApp As Outlook.Application = New Outlook.Application() [color=Lime]' Get NameSpace and Logon.[/color] Dim oNS As Outlook.NameSpace = oApp.GetNamespace("mapi") oNS.Logon("", "", False, True) [color=Lime]' Get the first contact from the Contacts folder.[/color] [color=Lime]'The following line chooses the users personal contacts, which I wasn't wanting to do, so I created 'a folder picker that is nicely placed in the outlook10 control. 'Dim cContactsOld as Outlook.MAPIFolder = ons.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts)[/color] Dim cContacts As Outlook.MAPIFolder = oNS.PickFolder Dim oItems As Outlook.Items = cContacts.Items Dim oCt As Outlook.ContactItem Try oCt = oItems.Add txtResults.Text &= oCt.FullName & Environment.NewLine txtResults.Text &= oCt.CompanyName & Environment.NewLine txtResults.Text &= oCt.BusinessHomePage & Environment.NewLine txtResults.Text &= oCt.MailingAddress & Environment.NewLine txtResults.Text &= oCt.BusinessAddress & Environment.NewLine txtResults.Text &= oCt.Categories & Environment.NewLine Catch Console.WriteLine("an error occurred") Finally [color=Lime] ' Display[/color] [color=Lime] 'This next line displays a edit box for the selected contact'[/color] oCt.Display(True) [color=Lime] ' Log off.[/color] oNS.Logoff() [color=Lime] ' Clean up.[/color] oApp = Nothing oNS = Nothing oItems = Nothing oCt = Nothing End Try If anyone has successfully pulled an e-mail address outta the contacts list (without raising security flags on office XP SP2) I'd be very glad to hear how you did so.
-
PlausiblyDamp We would like to target exchange 2K3 standard. But we are currently running 2K. It's up in the air still as to what we will have exactly when (if) I get this working. I've almost succeeded using a references to the MS Outlook 10 COM object, however, I'm fighting with the popup authorization from then Office SP2 security patch. I'd have thought MS would be a little more friendly to their developers when writing software that integrates with their products. We are after all purchasing their products in the first place :D
-
Greetings, I currently have a billing system completed which stores all the contacts in a DB table, and I'm trying to let lose my ties with the DB a little more and move to exchange. I'd like to store my contacts in a exchange public folder, but I'm having problems accessing this (what seems to be) dark corner. I've first attempted via LDAP, which of course failed since I later read that you have no access to specific items in Exchange through this method. My next attempt was though CDO.DLL and MAPI. From what I've read, this may be my solution, but cannot find any resources available to help me (or the search key words may just be eluding me at the current time =P ). My Q is, does anyone have any experience with this and can point me in the right direction, or know of any reading material on the net (or in hard book form, I don't care at this point)?? I'd greatly appreciate any help I can get with this topic as it'd open many doors for me in what I'm trying to accomplish. Thanks in advance!
-
I'm too disappointed with VS.NET and its Windows Forms
The One Who Was replied to m_oliveira's topic in Windows Forms
:D he prolly can't afford the machine after paying for the VS license! :D That's why I'm still running a PIII 800 512 RAM. But as far as speed goes, I don't have a problem. I think a lot of the problem may also be caused if you use the form designers. I used to use the designers all the time, and as I got more familiar with the little things I now add controls at runtime, and I must say I've noticed a fair bit of difference. WHY?? I dunno. I'll have to chalk that one up the Microsoft's Magic Beans I guess. But if you think VS.net is slow, I've had the opportunity to try out Sun One Studio for Java delevoping, and that is such a pig! It took about 3-4 minutes to load on a workstation with 750 MB RAM and it didn't get any better after it opened. :eek: My Jaw dropped. :eek: It was all built with Java I think. It didn't help me put much faith into Java for desktop developing that was for sure. :p -
Ok, I've done some research and... I've discovered .net applications are easily disassembled and the connection string that I've programmatically entered is not safe. There are applications that can skew the IL code making it harder to decompile, as well as encrypt string values in your application making them harder to discover, but they are still not safe from prying eyes. So what I've decided to do is to create a server side service that will run the SQL login verification on the server, and send a response back to the users application. This will keep my password away from prying fingers and allow me to only run the queries and stored procs that I want. It "should" keep my SQL instance safe because I could then close the SQL port I have open to the WWW. However, this is going to take me a while to figure out since I've never made any application like this before. If anyone could help point me in the right direction (links, examples, reading materials ect...) I'd greatly appreciate it. I'd imagine the sockets class is going to be required. Thank you all very much.
-
Greetings: I'm building a remote application that will verify with our server prior to running. The database it's verifying against is a SQL server. So I've opened the port required to establish the connection. Now, my concern is, how easy would it be for someone to retrieve my connection string? Is the string encrypted at all? Can my .net application be reverse engineered and have my connection string compromised? Is there any way to beef up the security on this if it is a concern? Also, what kind of security measures should I take on the server side? I've assigned the SA account a strong password, and I�ve installed all the latest service packs I could find. I've even had our firewall accept SQL connections on a different port. Just curious if there is anything else I could look into. This application is not a mission critical project, but just the same, I do not want anyone to have access to my connection string.
-
Greetings Mike: This is a sample of the web config settings I use. Modify them how you like. I believe that it is case sensitive. <authentication mode="Forms"> <forms name="SiteName" protection="All" loginUrl="yourloginpagehere.aspx" timeout="60"/> </authentication> Hope this is somehow usefull to you.
-
Greetings: I have a question that doesn't really apply to a "dot net" topic, but I'd like to figure it out anyways so if anyone can lend me a suggestion or a direction to look. Our previous developer has created a vb6 application that parses data into a web form. I'd like to store the data that is parsed, and where it's parsed into a xml file. Anyone know of a way to accomplish this with .net? or vb6? Thanks for everyone's time in advance!
-
Greetings: I'm trying to build a tracker for a certain form on a website. I'd like my application to load up a webpage, let the user click a button then capture the html response where I can break down the code a look for certain key prases that will let me know if the transaction was completed successfully or not. Any suggestions on where to start or what to research would be greatly appreciated. Thank you all in advance! ~~The One Who Was~~
-
Search For Entries in SQL Dbase
The One Who Was replied to Chopper1980's topic in Database / XML / Reporting
Chopper... You'll need to add a few components to your form: SQL Data Connection (Establishes a connection to the SQL Database) SQL Data Adapter (Uses the Data Connection to execute SQL Statements and return records to the dataset) Dataset (Stores records temporarily in local memory) If you add these at design time, you will find that the wizards are somewhat straight forward. It has wizards to help you create your connection strings and SQL statements. Great tools to help you until you become more familiar with the ADO.NET components. If you want to learn more about creating your own SQL commands, you may want to check out http://www.w3schools.com/sql/default.asp It has some good tutorials on creating SQL Select statements which is your starting point for viewing specific records. **You will need to manually add your tables to the dataset prior to filling it** **Also make sure that your components such as textboxs and grids are Data bound to the dataset to your liking** Once you have created the objects, you can use the following code to pull data to the dataset.... SqlDataAdapter.Fill(DataSet.Tables("TableName")) Once the dataset is filled, you may also use a dataview to further sort and search your records that are in your dataset. (Please note... to use a dataview you must bind your components to the dataview instead of the dataset) There are a lot of good posts as well on this website regarding this. I hope this is of some assistance to you :D -
Prevent "Allow Add" in a data table
The One Who Was replied to The One Who Was's topic in Windows Forms
LOL Aye. that would do it. I'm sorry about Jabe. Thanks for the reply. I'll try that out. May save me some money... and then I can buy that other grid control after I pay my income tax! :D -
Prevent "Allow Add" in a data table
The One Who Was replied to The One Who Was's topic in Windows Forms
Thanks for the tips. I must agree, the demo seems great =) and not insanely priced :D and for anyone who may be having a problem with the link... http://www.devexpress.com Thanks again for all the replies. I greatly appreciate it! -
Prevent "Allow Add" in a data table
The One Who Was replied to The One Who Was's topic in Windows Forms
Yeah, it's really wierd that these column styles would prevent me from using a dataview =/ Thanks for the tip on the datagrid Alex. I'll check it out. I was looking at one from syncfusion, but it was rather pricey for the amount I'll be using it. -
Prevent "Allow Add" in a data table
The One Who Was replied to The One Who Was's topic in Windows Forms
I'd like for the user to have the ability to make changes to the datagrid, just not allow add/delete rows in the datatable. (not exactly read only) My apologies for not explaining myself that well. I can work around this so that the newly add/deleted valules aren't applied to the database, but seems somewhat like a sloppy method. I should likely reconsider having separate add/delete forms for this particular section of my application. However, if anyone knows of a way or has a suggestion on how I may accomplish what I'm trying to do with a datatable I'd really like to hear it :D -
Copying entries from one listview box to another
The One Who Was replied to Chopper1980's topic in Windows Forms
Yeah, my apologies. The dataview should be listview. lol