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

Software Development Network >> khalid khan's Q&A profile

khalid khan

Member List

ShortNSweet
Adam Miles
bzoli
JaceKiwi
Rui Rosa Mendes
Vinay Agarwal
Rian Edwards
mobigital
jjsan
AnaC
Rakesh Jha
sjh174
John_from_Donetsk
Nicolas Mueggler
Muhammad Adel
jegar
Jasper22
MaggieChan
rod 001
cverdon
Only Title

khalid khan's Q&A profile

  • SQL Server Problem with service of the SQL server 2005

    Hello, I have a problem: I accede to the SQL server 2005 having installed the SQL server locally but it does not allow me to initiate, to stop nor to reinitiate the service, that only happens to my user, however with another one if it allows. the network is with work group, that podria to be thanks for its attention You need to log in to your computer as a member of the Windows Administrators group to start or stop the SQL Server service. When you are logged in as an administrator, you can use the SQL Server Configuration Manager tool to start and stop the service or change service startup properties. ...Show All

  • Software Development for Windows Vista dhtmled.ocx will not register in vista

    vista build 5384 The vista system will not register or allow any application to run the dhtmled.ocx! I have tried to programatically and manually register the control with admin rights but no such luck. Help please. http://blogs.msdn.com/ie/archive/2006/06/27/648850.aspx ...Show All

  • SQL Server Restoring a database

    Hullo, I am trying to restore a database rs2005sbsDW from the hard disk but it gives me the following error message. TITLE: Microsoft SQL Server Management Studio ------------------------------ An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ ADDITIONAL INFORMATION: The media family on device 'C:\Documents and Settings\Administrator.UHRC\My Documents\Microsoft Press\RS2005SBS\Setup\Database\rs2005sbsDW.MDF' is incorrectly formed. SQL Server cannot process this media family. RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL ...Show All

  • Visual Studio 2008 (Pre-release) Bug - DLinq Serialization Exception - image / byte[] with SingleOrDefault

    Hi Guys, I've been writting a system for retrieving icons from a database using Dlinq. With this code I get an exception thrown on the query.SingleOfDefault(); Anytime... Seeing as I'm doing so much testing for you guys, what are the chances of EMIS getting a license to deploy the Linq CTP on site (i know its a long shot) :) It would only be for our internal CRM software, we wouldn't be deploying it to client sites. ...Show All

  • Visual Studio 2008 (Pre-release) proper way to use BuildWindowCore params?

    In the following code, I'm attempting to make my own .NET 2.0 form act as a FrameworkElement. I'm having trouble in the BuildWindowCore function. As I understand it, I'm supposed to take my existing form and make it a child of the input HWND. I don't know how to take the hwndParent.Handle and turn that into a System.Windows.Forms. Control. I've stepped through the code a number of times trying different things includeing WINAPI SetParent all with no luck. It's too bad Wrapper is null. That would at least give me an idea as to what type of object it is. public class AppWindow : HwndHost { private AppForm _appForm; // AppForm inherits from System.Windows.Forms.Form public AppWindow( AppForm appForm) ...Show All

  • Visual C# Get all server exception...

    Hi, Is there a way to make a page to handle all exception thrown by a web application LIke timeout, functions exception, cause I want to receive these errors by mail, but from only one page. Thanks public class MyBasePage : System.Web.UI.Page { protected override void OnError ( EventArgs e ) { Exception e = Server.GetLastError(); //Do something } } public class MyPage : MyBasePage { ... } For v2.0 you should set the option in the <pages> element of web.config to identify your new base class. Michael Taylor - 11/16/06 ...Show All

  • Visual Studio 2008 (Pre-release) Is [BindingRequirements] no longer in WCF after June CTP...?

    and if not, what has it been replaced with I want to set Require Ordered Delivery to true. I can't find anything in the online help or on the net that tells me what happened to this. Thanks, J James, BindingRequirementsAttribute has been replaced with DeliveryRequirementsAttribute. You use the new attribute in exactly the same way, only the name has changed. I hope this is helpful, Michael Green - MSFT ...Show All

  • SQL Server Encrypting SQL Server table columns

    I have never used any type of encryption for SqL Server 2000, but I have recently been asked to research what would be involved to encrypt data like social security numbers. Since I have no idea where to begin, I was wondering if someone could point in the right direction Do I need to buy a third party tool to perform this, are security certificates involved Overall, I need information on everything that I need to encrypt data using SQL Server 2000, and How to perform the tasks!!! Thank You! There is no built in data level encryption in SQL Server 2000 (there is in 2005) so you either need a 3rd party or to handle it in the App layer. The folks in the security group will likely have some point ...Show All

  • Visual C# Visual Studio installation files

    Hi, Please, I am trying to install Visual Studio 2005, but i receive error 1311 - '_15690_RTL_x86_enu_MM_Setup_Files_VS_STD.cab' file is missing. Please can any one send the file Regards, Benjamin ...Show All

  • SQL Server T-SQL Trigger challenge

    I have a customer table that contains ID (string), Company (string) that are set to NOT Nulls However , when inserting empty string '' into the table, the NOT Nulls accept it because it is an empty string. So, I want to create a trigger to check if ID or Company contain zero length value (empty string), then raise error "Sorry please enter ID" and do not execute insert As I am new to T-SQL , I am unable to "get the paramenter out of the INSERT query passed into SQL Server from my application" Be plain: 1. In my application , I execute "Insert into customer (ID, Company) Values ('VarID','varCompay')" 2.In the SQL Express, there is a trigger that listen on Customer table for Insert action. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can You Move the Backbuffer?

    I'm playing around with shaking the screen when explosions occur and thought the best way to do this would be to randomly move the backbuffer. How can I do this kind of effect! Thanks! Yeah, i was hoping to avoid having to update all the sprites and instead just shake things as a whole. Oh well, thanks for the input! ...Show All

  • Windows Live Developer Forums Pictures mess up when uploading

    For a few months now i found that every time i upload my pictures they mess up on every website.They either come out distored (with loads of lines on it ) or with a error message, ive ran various virus scans but it doesn't seem to find anything. When i uploaded a image on hotmail and sent it to ma sister the image came up with lines all over it,at it continues to do so. I first noticted when i uploaded my picture to a website called photobuct and only half of the image showed up and the rest with lines all on it . Please can any 1 help me! Na its nothing to do with the size, because ive uploading large pictures before, and they all use to come out fine, its only recently all my pi ...Show All

  • .NET Development Frequent error in eventlog (clr20r3, cannotunloadappdomain)

    Hi, I have a major problem with one of my web sites whereof the application seems to restart itself quite frequently. It seems like we have a memory leak which we can't reproduce in our development environment. Do you have any ideas as of where to start Background: The website consists of two webservers with dual CPUs, 4 GB RAM and okay disks. The load is about 3000-4000 active sessions during peak. We use EPiServer for CMS, the web application (as well as all referenced assemblies) are written in C# (2.0) Below you'll find errors and warnings from the event log (system): 1. EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.1830, P3 42435be1, P4 system.web, P5 2.0.0.0, P6 4333aecd, P7 5ce, P8 47, P9 system.cannotunloadappdomain, P10 ...Show All

  • Visual Studio 2008 (Pre-release) How to create a full screen visual based on offset of the canvas

    I am trying to implement a graphic render which is based on FrameworkElement . To activate hit testing all over the canvas I am following the strategy of placing a border control from the renderer class. Somehow I am not able to get the proper offsets or do not know how to expand or cover all the canvas. This is part of the code I am using. Any ideas or suggestions. Canvas hostCanvas = ( Canvas ) this .VisualParent; DrawingVisual _border = ( DrawingVisual ) this ._children[ this ._children.Count - 1]; _border.Transform = new TranslateTransform (hostCanvas.ActualHeight, hostCanvas.ActualWidth); Atul Just in case if anybody else needs it, here is the solution... //ge ...Show All

  • Visual Studio Team System How to delete the builded data that i don't want in the database?

    hi all: now I am try thethe function of team build. After I did some test, many wrong data generated. now I want to clear up these data. can you tell me how can i do if i want to delete these data in database by hand, whith tables in database stored the build data You can delete a build with TfsBuild.exe http://msdn2.microsoft.com/en-us/library/ms244360(VS.80).aspx http://blogs.vertigosoftware.com/teamsystem/archive/2006/05/03/Deleting_Team_Build_Types_and_Team_Builds.aspx ...Show All

©2008 Software Development Network