Software Development Network Logo
  • .NET Development
  • Windows Forms
  • SQL Server
  • Visual C++
  • Visual C#
  • Smart Devicet
  • VS Team System
  • Microsoft ISV
  • Visual Studio
  • Visual Basic
  • IE Development
  • Visual FoxPro
  • SharePoint Products
  • Game Technologies
  • Windows Vista

Software Development Network >> Leo Kent's Q&A profile

Leo Kent

Member List

Smriti
Jerry_H
Mike Henrickson
dvferretm
chris65
Kim Carlsen
Tihomir Ignatov
cssjm
TGirgenti
DDressel
Jim Perry
Tej62007
thalion99
Ray Mordy
Cammyr
protovision
jcnconnect
Olyx
coconut113651
Nick Winters
Only Title

Leo Kent's Q&A profile

  • Software Development for Windows Vista man-in-the-browser attacks

    CardSpace seems secure once the user is in the CardSpace desktop, but I worry about the security of the application (IE, Firefox, etc.) that invokes CardSpace in the first place. How resistant is CardSpace and/or IE7 to man-in-the-browser attacks For example, a trojan browser helper object or extension that invisibly modifies the claims presented to CardSpace. The user is not likely to be checking the claims too carefully (if at all), and the Identifying Party of course has no way even to detect, much less prevent, this attack. Is IE7 hardened against such an attack, and if so, how CardSpace doesn’t just rely on the URL. It relies on the Certificate of the RP. Tokens produced by CardSpace are encrypt ...Show All

  • Windows Forms Export table data in Access Database

    Hi, I need to export a table data in Access Database into a text file using C# interface by a press of a button. I need advise on which method is required to use for this Tks. Some missing directive or assembly reference error again.  Is it because of the SQL   private void btnAR_Click( object sender, System.EventArgs e) {   //Pass the filepath and filename to the StreamWriter Constructor   StreamWriter sw = new StreamWriter("C:\\JSM.txt");   string strDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("C:/M8099_Project/Database/Invoicing_Database.mdb");     string strSQL = "SELECT * FROM Lo ...Show All

  • Visual Studio 2008 (Pre-release) ASP.NET -> WCF

    Hi, I was wondering if there are samples available that show how to properly consume a WCF service from an ASP.NET site and what's the best way to secure access to the WCF service, so only FormsAuthenticated users can access it. Thanks, Tom ...Show All

  • Smart Device Development Page up/down with rocker

    I am wanting to use the buttons/arrow at the bottom of the device to scroll the page up and page down. what is the best way to do this. or is this possible. Dear watch is, Because AutoScrollPosition represents the location of the scrollable control's display rectangle. See this . Regards, Zero Dai - MSFT ...Show All

  • .NET Development problems in Executing stored procedures in Asynchronous Request

    Hello everybody, I'm trying to launch a stored procedure from an asynchronous request but it doesn't wan't to start... The Sqlserver process goes crazy when calling the SP but nothing is written into the datatables... (I don't know what's going on at that moment. No exception can be thrown as calling manually the procedures with the same arguments works without any problems) This is the code i'm using to call the procedure: using ( SqlConnection oConn = new SqlConnection ( ConfigurationManager .AppSettings[ "MIS" ])) { oConn.Open(); using ( SqlCommand oCmd = new SqlCommand ()) { oCmd.Connection = oConn; oCmd.Parameters.Add( new SqlParameter ( "SqlQuery" , SQLquery.Selec ...Show All

  • Gadgets How to Display and/or Host Licrosoft Gadgets for your Website

    I suggest that you download this instruction file in either Word or PDF as the images are not appearing via MSDN forum. Or dig into the code and d/l from the respective servers. Gadgets.pdf Gadgets.doc The simplest way to display any Microsoft Live.com gadget is to wrap it in an iframe on your webpage. I'll explain: First go to http://gallery.live.com and decide which gadget(s) you would like to display on your webpage. Of course it is also quite possible and highly recommended to write your own gadgets as well. Click on the "Add to Live.com" button   Now the next page will show you a link to the manifest XML document, at the top of the page. Copy the link, in this case : http://d ...Show All

  • Visual C# Dispose a whole form

    Hi, How can i dispose a whole form when it is closed with all its variables and especially the array ones. Because now, when i close it and want to start another kind computations it opens the new form with the controls but some labels are still marked green or red from the previous session. Its a project that has 2 forms. One form starts the other after a button is pressed. Thanks in advance! Hi, Thanks for your reply. The forecolor of the labels are either green, red or black. This program is to help the kids making sums. When the answer is wrong, the label will be marked red, if its good, it will be marked green. But default is black this is my onclosing event: private void FrmCalculate_FormClosing(obj ...Show All

  • SQL Server share variable with child

    How a parent package can share its variables with child when calling it using Execute Package Task Hi Fahad, Phil is correct. A couple things to note: the variable shared between the parent and child packages must have the same name and data type. Hope this helps, Andy ...Show All

  • SQL Server Clearing Single User Mode/lock

    What is the best way to clear Single User mode from SQL Server 2000 I have tried going to all tasks and selecting detach and clear Connections using this database. I then click cancel and go into the properties and options and clear the Restrict access check box. This seems to work some times but not all the times. I think it is because something else connects to it to it while I am going through the above steps. As a last resort I have detached the database and re-attach it. What is causing the single user mode to happen in the first place I am a little confused, the system is going into single user mode of its own accord and you want to get it back out again Have you looked at the error log to f ...Show All

  • Visual Studio Team System Existing projects do not show up after upgrading from Beta3 refresh to RTM

    Hi there, I did upgrade of my VSTS server from Beta3 refresh to RTM. After upgrade I don't see my existing projects in list to add from 'Add Existing Projects' from Team Explorer. Upgrade went fine.Please help, Thanks, Anu, Apologies - when I said "restore" I meant "upgrade", i.e. running the TFSUpgradeRTM tool against your Beta 3 databases to get them ready for RTM. I hope you haven't gone past a point of no-return as a result of my typo, I don't seem to be getting notifications from the forum at the moment so wasn't aware you had replied. Martin. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Workaround to make XNA GSE work on Vista RTM?

    It is not supported of course, but since Vista is locked down and shipping, is there a workaround to install Beta 2 of XNA GSE on Vista Repro steps: On Vista RTM Install C# Express Launch XNA GSE Beta 2 When it is "registering templates", an error message about C# Express closing down appears XNA GSE Installation app errors as well, saying that something went wrong Installer reverses all the installation... .msi installation packages don't have the "Run as Administrator" options. I did try to run it while logged in as the main Administrator user name, which should be the same thing (not working). I was able to work around issues in Vista RC1, but it is anothe ...Show All

  • Windows Forms Duplicating MS Access Continuous Subform Functionality in .Net

    Hello All, I'm currently writing an Inventory Control and Invoicing program for a friend.  I statrted writing the app in MS Access and found that I couldn't get the level of control I needed.  Rather than write it on old VB, I thought I'd try writing it in .Net.  My main form in Access consisted of one main form and two subforms.  The main form was Customer Information, the first subfor ...Show All

  • .NET Development The constructor to deserialize an object of xx.xx. was not found

    I'm having deserialization problems.. I have a class that inherits from Hashtable. I can serialize it fine but when I try to build the object back it says ""The constructor to deserialize an object of type Teste.CSDictionary was not found.", where Teste.CSDictionary is my class... I use .NET 2.0... Here goes my sample code: [Serializable] class CSDictionary : Hashtable {     public CSDictionary()     {     } } class Class1 {     static void Main(string[] args)     {      CSDictionary x = new CSDictionary();      BinaryFormatter bf = new BinaryFormatter();      MemoryStream ms=new MemoryStream(); // ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. user clip planes

    Hi all-- I posted this small question in the XNA framework forum, but got no response so I'm trying my luck here ;) I'm trying to add a clip plane to my scene, but this needs to be unprojected to world space first. This used to be done with the Plane.Transform method, which seems to be missing. Has anyone found a way to use clip planes in a 3D scene I could settle with a VS clipping all points on one side of a plane to their projected position on the plane, but this will give texture stretching artifacts, and simply feels bad. In the meantime, this post might be some help. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1003113&SiteID=1 ...Show All

  • SQL Server limit of 4096MB

    Hi, I have a backup of a SQL database, and its 270MB. When i try to make a restore it says: TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Restore failed for Server 'SPLYF-R3K8G8JL2\SQLEXPRESS'. (Microsoft.SqlServer.Express.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: System.Data.SqlClient.SqlError: CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed ...Show All

©2008 Software Development Network