Software Development Network Logo
  • Visual Basic
  • Smart Device
  • Architecture
  • Game Technologies
  • Windows Vista
  • VS Team System
  • Windows Forms
  • Visual J#
  • Visual C++
  • SQL Server
  • Visual FoxPro
  • VS Express Editions
  • Visual Studio
  • Visual C#
  • Windows Live

Software Development Network >> Khalid K.'s Q&A profile

Khalid K.

Member List

MAPIdoneit
GanDeng
Sinical
FlyFisher
Sivasubramaniyam V
badmofo
Jayakumar A
Albert Yen -MS
Magnus Hasselgaard
Robert Djabarov
ibr
Wing Lee
dougbryant
r-coool
harvest316
Mark Kortink
JS665
ScooterGun
Serge Lobko-Lobanovsky
Jordi Valldaura Rique
Only Title

Khalid K.'s Q&A profile

  • Visual C# Updating and retreiving entries from event log!

    Hi, I'm having the following problem and it would have been great if someone can give me a solution. 1. Is it possible to update an existing entry with a particular EventID in the Event log. 2. How can I retrieve the message/description and date of an entry with a particular EventID from the Event log. It would have been helpful if you can support your solution with code in c# Thanks & Regards, Frenz No, you can't modify eventlog entries. But why do you want it The event log is for logging event things, like error, notifications, warning etc... you should not update them. And error accore ...Show All

  • Visual C++ Studio 2005 - No more images in toolbar and treectrl in Debug mode... (CImageList problem ?)

    C++ ; MFC ; x86 ; Visual Studio 2005 I was using Visual Studio 2003, and since I have installed Visual Studio 2005, toolbars (CToolBar) and treectrls (CTreeCtrl) don't show images in Debug mode and works fine in Release mode !! The common link between these classes is CImageList class... I don't really understand how I can resolve this problem, so any idea is welcomed :o) Thanks Perhaps some of the project properties didn't copy over correctly during conversion into the debug mode, but did to the release I would check to make sure there are not any additional include directories and that so ...Show All

  • Visual Studio Team System TF26198: The work item does not exist, or you do not have permission to access it.

    hi all.  I have been running VSTS at home, but for security ( as in, in case of fire, etc ), I've moved it to my in laws house, put it online using a program called Hamachi, and connected to it over the web.  It all seems to work great.  I can check out code, I can add work items, but when I try to check code in and view the list of work items, I get the error above.  Note: I am logging in as the same user as when the computer was under my desk here, nothing has changed, except the location.  I get the same error when trying to view the list of work items. Obviously, I lack permission to view the list suddenly, al ...Show All

  • Visual Basic A Function To Return Two Values

    Hi, Is it possible for a function to return two "things" or items, i.e. a data item the function is used to get (a string) and a result saying if the function was successful or not (boolean) What I am trying to do is parse through an XML file from a server (where lots of things could go wrong), and use the data in my application by calling a function which does the parsing. I need to be able to display an error message in the application if the parsing function goes wrong. Thanks. Hi It is not possible for a function to literally return two values but there are ways of achieving this. ...Show All

  • Visual C++ _itoa "identifier not found" once ported to VS 2005

    I have recently installed VS 2005 and loaded my VS 2003 project. I quickly realized that I needed/wanted to define "_CRT_SECURE_NO_DEPRECATE" bc I need to be up-and-running with a clean compile fairly soon. After adding the underscore to many of my string related calls, my only remaining problem is with four existing _itoa() function calls. I get the following compile errors: error C3861: '_itoa': identifier not found Sure, it seems that I have just forgot to include stdlib.h, but of course this is not the case as this is old code. What am I missing I have even created the simplest of VC++ Win32 test programs and adde ...Show All

  • Windows Forms problem using sample provided with quickstart tutorial on sample.gotdotnet.com

    hello, i m trying to run the last sample at http://samples.gotdotnet.com/quickstart/winforms/doc/WinFormsData.aspx this sample is about updating a dataset via a webservice my problem is that the Save method of the UpdateCustomers WS can't return the dataset when an RowError string has been set to a DataRow in the DataSet. I have an exception with XMLSerialization Error that i reall ...Show All

  • Visual C# Can't load assembly in a new AppDomain during a unit test

    Hi, I'm writing a class that creates a new AppDomain, creates an instance of a class inside that domain (using AppDomain.CreateInstance) and calls some instance methods. All works fine if I use the class from a simple console application. When I try to use this class from a unit test I get the following error during the call of AppDomain.CreateInstance: 'System.IO.FileNotFoundException: Could not load file or assembly 'MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Impossibile trovare il file specificato.=== Pre-bind state' Following is the sample code: The unit test [ TestMethod ...Show All

  • Visual C++ COM. VARIANT/SAFEARRAY

    Hi, I have to covert a VARIANT to SAFEAARRAY. As I am getting signatures from caller, only VARIANT pointer, In the called function, I want to save some data using SAFEARRAY(!) with C++. Though this is possible, but how Any help would be highly appreciated. Regards TestHim Use SafeArrayCreate to create the Array. You need to speficiy the type. Fill the array. Set the type of the Array ored with VT_ARRAY into the typefield of the VARIANT save the pointer of the created Safearray in the VARIANT. ...Show All

  • Visual C# connecting to sybase server on network from a .net application

    there is a sybase server installed in a one of the machines in our network, say machine A. and in my machine i hv installed sybase network client. how can i set connection string in my application to use the server on Machine A at present my connection string is : AsaConnection connEQ = new AsaConnection("Data Source=eq2gents;UID=DBA;PWD=SQL" ); pls help me. sajitha The connectionstring format: Data Source='SERVER';Port=5000;Database='DatabaseName';UID='Username';PWD='Password';   Now, just use the values you need, you should replace SERVER for the server name you want. ...Show All

  • Visual C# script c# language

    hi! i want to know is there any component or dll that we can add to our application then user use this tools to open the C# editor and write his/her code and can commpile it and see the result plzzzzzzzzzzzzzzzzzz help me as soon as possible:) thanx No, not out of the box. You can use the CSharpCodeProvider class to create an compiler and compile some code or you can use csc.exe. A full working example can be found on code project: C# Compiler . ...Show All

  • Visual C# Accessing Automatically Generated Code

    There are a couple pieces of auto-generated code (C# 2005 Express) that I need to find, and can't find them. Where is the code that handles the event of the Close box being clicked I was sure I had found this before but I can'r remember how or where. Where can I find the code for the "Add new" and "Delete" buttons on an autogenerated BindingNavigator I can find the code for validate/save, but not these other two. Greatly appreciate any insight into these issues! You can show designer code files by doing the following: 1. Open your Visual Studio Project/Solution 2. Choose View -> Solution Explorer 3. ...Show All

  • SQL Server Upgrading mirrored databases

    I am in the process of architecting SQL 2005 HA options and of course mirroring is at the top of the list. Does anybody know what the requirements are regarding upgrading mirrored databases, for example, applying hotfixes and service packs Is it a requirement for the principal and mirror (and witness if applicable) to be at the same build level Is there any requirement to upgrade one first and then the other as there is with replication topologies I had a look in BOL but can't find anything covering this (perhaps I missed it). Thx, Simon. Thanks Mark, obviously minimal downtime here is what we are ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Pixel shader 3.0 constant indexing and other poofs

    Hi. I wanted to perform some deferred shading using pixel shaders 3.0 and DirectX 9.0c in a GeForce 7800. All was fine until I tryed to change the "stencil light volumes" for an unique pixel shader... Noticed the FXC ( effect compiler ) has two HEAVY problems: 1) Doesn't allow texture arrays. For example, you cant do "shared texture tex [ 8 ]". 2) Doesn't support pixel shader constant indexing. Surfing the Internet I found this http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi ubb=get_topic;f=3;t=013925 thread in the OpenGL forums... And that situation is exactly the same I have... Due to the lack of that pixel shad ...Show All

  • .NET Development extend XSLT IXslProcessor

    Hello at all, this is probably the wrong group/list but I find no other. I have read some article about extending the XSLT with custom objects. Two of them are "EXSLT: Enhancing the Power of XSLT" ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnexxml/html/xml05192003.asp ) and " XsltArgumentList for Stylesheet Parameters and Extension Objects" ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconXsltArgumentListForStylesheetParametersExtensionObjects.asp ) Now I will do an implementation with Delphi/Pascal - so far so good. I do created the application and run ...Show All

  • Windows Forms DataBindings in Designer

    I am trying to use the .NET Designer to do as much work for me as possible, but I can't find a good explanation of how to use the DataSet & DataAdapter tools to setup typed datasets and bind them to ComboBoxes. Under the DataBindings + sign:   DataBindings     (Advanced)     SelectedItem     SelectedValue     Tag    &n ...Show All

©2008 Software Development Network