473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

MSDN sample code problem

I've found some sample code in MSDN, which is interesting to me.
There are two problems about it.
It is in C# and second it think somethig is wrong with it. The some
namespaces used in it does not exist. Also I think that the whole method of
doing the things in the sample code have changed.

Could anyone make it work?
TIA
Here is the link to the code:
http://msdn.microsoft.com/library/en...SecNetHT11.asp

Nov 21 '05 #1
3 1278
"Nikolay Petrov" <jo**************@mail.bg> schrieb:
It is in C# and second it think somethig is wrong with it. The some
namespaces used in it does not exist.
Which namespaces don't exist?
http://msdn.microsoft.com/library/en...SecNetHT11.asp


--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #2
using Encryption - imports Encryption

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uc**************@TK2MSFTNGP10.phx.gbl...
"Nikolay Petrov" <jo**************@mail.bg> schrieb:
It is in C# and second it think somethig is wrong with it. The some
namespaces used in it does not exist.


Which namespaces don't exist?
http://msdn.microsoft.com/library/en...SecNetHT11.asp


--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #3
Herfried thanks for trying to help me.
I have found the missing part. I have to add reference to an assembly,
that's all.

"Nikolay Petrov" <jo**************@mail.bg> wrote in message
news:OO**************@TK2MSFTNGP14.phx.gbl...
using Encryption - imports Encryption

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uc**************@TK2MSFTNGP10.phx.gbl...
"Nikolay Petrov" <jo**************@mail.bg> schrieb:
It is in C# and second it think somethig is wrong with it. The some
namespaces used in it does not exist.


Which namespaces don't exist?
http://msdn.microsoft.com/library/en...SecNetHT11.asp


--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: rick | last post by:
Hello everyone I am trying to locate the sample files used in "A tour of the code - NavBar" for the redesign of the msdn online website in 1998. They were written and developed by Robert Carter...
2
by: DC | last post by:
Hi, I need to asynchronously read from a network (TCP) stream, and I am having trouble with retrieving whole blocks; I get a break in the data block every 1460 bytes which relates to network...
10
by: Alan Silver | last post by:
Hello, I discovered the MSDN design templates yesterday and have been looking at them. I have a problem with the Personal template. I don't have SQL Server Express loaded, as I already have...
2
by: Lonewolf | last post by:
hi all, I realize the example on MSDN for IPCChannel has compile error in VS2005 pro. Either I'm missing something or there's something seriously wrong with MSDN on that section. I reproduce the...
9
by: swartzbill2000 | last post by:
Hello, I am trying to build and run the Remoting Sample from MSDN. Everything compiles. The Listener appears to run. The Client throws this RemotingException: A first chance exception of type...
1
by: Bob | last post by:
I just downloaded the sample for the configure this article from msdn.microsoft.com/msdnmag/code06.aspx. Executing the exe I unzipped it to my folder c:\projectsVB2005\ and it created a subfolder...
0
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I have built MSDN OLE DB Sample Provider and successfully built/debug it using Microsoft Excel as client. I have found that in DllGetClassObject (classfac.cpp), the class...
3
by: Oriane | last post by:
Hi there, I would like to learn SilverLight and this article by Laurence Moroney seemed interesting: http://msdn.microsoft.com/msdnmag/issues/07/06/Silverlight/Default.aspx?loc=en. I've...
10
by: =?Utf-8?B?TWFuanJlZSBHYXJn?= | last post by:
Hi Whenever I download MSDN examples and then try to build them It says 'Build skipped' and never builds them. Hence I can not run them. What am I doing wrong??? Cheers. Manj.
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.