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

Software Development Network >> ChanKaiShi's Q&A profile

ChanKaiShi

Member List

Ryan G
GTrz
Tiziano27
tala
dmkp231
cheston
Kart_lin
HoOpOe
Fenghus
BobH
Mohamed Anas
Pure Krome
SaravanaKumar_1977
Daikoku
GoDaddy
Webstar
Bertrand Caillet
Curious Person
Tomas B
pradeep.vutukuri
Only Title

ChanKaiShi's Q&A profile

  • Visual Basic Managing systems from a common system

    Hi I have been plagued with questions from some of my friends whether it is possible to control other systems from a particular system in a LAN. For eg: If I want to shutdown a particular system on my network from my computer, is it possible I tried using the shutdown GUI but when I search for computers on my network, it shows Active directory is not available. Can anyone tell me how to go about adding network computers into this Active Directory service from my LAN How do I do this How can I make other systems on my LAN to give access to me from my server Please let me know Thanks and regards :) Arun Narayan wrote: If I want to shutdown a particular system on my network from my computer, is ...Show All

  • SQL Server Incremental processing and aggregations

    If I use the incremental processing option do I have to issue a separate process index command to get the aggregations rebuilt on the partitions that has been touched Or is this handled automatically by the incremental processing command Thanks - I should have remembered that. The reason I didn't is that I'm using AMO and there seems to be no way to set the affected objects parameter using the ProcessableObject.Process method. In fact looking around a little with Net Reflector it seems this parameter is hardcoded to false in the statement base.WriteStartBatch(true,false) of the Microsoft.AnalysisServices.AnalysisServicesClient.Process method. In my current case I just added an extra row doing ProcessI ...Show All

  • Visual C++ In search of the lost Form1.cpp file

    I just tested making a Windows Form in C++/CLI for the first time. I've only used C++/MFC before where (most) functions are declared in a header file and defined in a cpp-file. Not so in a Windows Form class it seems. It seems that all functions in a Windows Form class are supposed to be inline. Is that true Please help me clarify this paradigm shift (if there is one). Thanks I moved some code to handle a button's click event from the .h file to a new .ppc file (and creating just a function declaration in the .h file). However after having done this, If I double-click on the button in the form designer, instead of putting me at the code for the button click event, it just puts me at t ...Show All

  • Visual C++ Mixed mode finalizer bug in C++ class destructor with std::vector member

    I have discovered a bug when finalizing a CLR class which deletes a data member which is a pointer to a C++ class, and the C++ class has a std::vector<ANYTYPE> as a data member. When this occurs an exception is thrown, with the message in the debugger being: "An unhandled exception of type 'System.AccessViolationException' occurred in msvcm80d.dll Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt." Breaking in the debugger shows that the exception is occurring in the stack trace from the vector's destructor code, with the last source code trace being line 45 of xmtx.c in an _Mtxlock routine. Tracing the bug shows that the finalizer has executed afte ...Show All

  • Visual FoxPro Question about upgrading from VFP5 to VFP9

    Hi, I've got VS97 Pro which contains VFP5 Pro. None of the VS software is installed. I'm considering upgrading to VFP9. Does VFP5 need to be installed before the upgrade version will install Thanks Lamon, I think few or nobody did an upgrade from VFP5 to 9 to know it:) Just try directly installing VFP9. If it asks for an older version probably you could just point to VFP5 cd. ...Show All

  • Visual C# is there an addin tool in VS2005 that can highlight in solution explorer the file that is currently active in the tabbed window

    i was wondering if there is an add-in tool in visual studio that can sort of like highlight in the solution explorer the file that is currently active in the tabbed windows of the IDE... if there is, can you please give me a link where i can download that tool....Thank you very much Hi, emcee. Try this: 1. Navigate on the main menu to Tools | Options.... 2. In the subsequent Options dialog, navigate in the left-hand tree pane to "Projects and Solutions" | General. 3. In the right-hand details pane, enable "Track Active Item in Solution Explorer." 4. Click OK. Hope that helps, Damon Microsoft Visual C# ...Show All

  • SQL Server sql server 2005 database tuning advisor how to use it on full database[not a single table or query].

    I want's to sql server 2005 database tuning advisor.To see the possible tuning on a full database.[not a single table or query]. I haven't use this utility before.When I try to run it it ask for a table or workload file. How can i run Database tuning advisor on whole database Can I do it or not  True, it is the best place to start on the new topics. Also review http://www.microsoft.com/technet/prodtechnol/sql/2005/impprfiv.mspx , http://searchsqlserver.techtarget.com/tip/1,289483,sid87_gci1161285_tax301334,00.html adg=301324&bucket=ETA ...Show All

  • Visual Basic Internationalization. Try setting the Culture .

    Big word, hopefully small problem... I am in the process of internationalizing my application. I have created a string resource file so that I can create all the required language translations but how do I go about changing the shortcut keys on menus etc to correspond to each language Is there an easy way to do this Cheers Mark might try that. Biggest problem is the translation. For example take F ile in german would be Akte so I need to change the shortcut letter from F to say A. I'll see what I can do with the resx file. cheers ...Show All

  • Visual Studio Team System Filter for subscribing to event

    Hi, I need to write a filter for subscribing to ProjectCreatedEvent. So to find out what fields I could include in filter, I opened tbl_event_type in TfsIntegration database. But event_type_schema cell againt ProjectCreatedEvent is empty. How should I write a filter if I want to receive notification when a project with name "SampleProject" is created. Manasi Probably there is no filter available for this event. See the post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=480901&SiteID=1 ...Show All

  • Windows Forms Binding to a simple property - Can it work?

    Basically say I have a textEdit and a string myObject.MyProperty. If I do something like textEdit.DataBindings.Add( new Binding("Text",myObject,"MyProperty") ); It seems to work only half way - if I modify textEdit then MyProperty gets modified too. BUT if I modify MyProperty, textEdit doesn't get modified. The reason I'm making this is because I want to have an easy-to-use properties storage for my application that's easy to databind to and work with. Any suggestions ...Show All

  • Windows Forms Check Box values not being tally.

    Dear All, I have this very funny problem. Actually what I am trying to do is that in my grid I have a check box column which I made using the method DataGridViewCheckBoxColumn cbDelete = new DataGridViewCheckBoxColumn (); { cbDelete.HeaderText = "Delete" ; cbDelete.AutoSizeMode = DataGridViewAutoSizeColumnMode .AllCells; cbDelete.DisplayIndex = 10; } myGrid.Columns.Add(cbDelete); Actually there are other colums too but I want to keep simple just show the delete column only. So what I want to do is that upon pressing the delete button I want a confirmation message to pop-up and upon confirmation delete the selected rows. So my code is as below private void myGrid_KeyDown(object s ...Show All

  • Windows Forms WebBrowser Control - CSS

    Hello, I want to use WebBrowser Control to retrieve and display a web page. I can easily accomplish this. However, I would like to apply my own CSS to the page. I can't find a property for this. Should I modify the incomming HTML and replace the existing CSS with the location of my own CSS file Thanks Houman Hi, Houman b Both the following statement may meet your need: private void webBrowser1_DocumentCompleted( object sender, WebBrowserDocumentCompletedEventArgs e) { //this.webBrowser1.Document.All.GetElementsByName("link")[0].SetAttribute("href", "d:\\test.css"); this .webBrowser1.Document.GetElementsByTagName( "link" )[0] ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Looking for a Direct3D system architecture diagram...

    Hi all... I am looking for detailed block diagram information that describes the Direct3D architecture. Thus far I have found only limited architecture information like the diagram here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/Direct3D_Architecture.asp . Other than the preceding link, I have found that most online Direct3D information relates to the function calls in the API. While function calls are the knobs and dials of the Direct3D system, I really need to see the system blueprint to understand how it works. Does such information exist in the public domain My background: I am a C++/C# developer with a masters in image/video processing and computer vision. I have been using Direct3D for ab ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dispose

    Hello, I've noticed that apart from the top-level "using" statement, the example code never calls Dispose on anything. Is that something we should care about Does it cause unmanaged resource leaks What resources get disposed for us Thanks, Peter Thanks for your replies guys, very helpful indeed. It seems to me that the whole concept of IDisposable is a poor solution when objects with unmanaged resources need to be shared. Perhaps something like boost::shared_ptr is needed, so to only call Dispose when the last reference to the disposable object is destroyed. But I'm sure most people know the problems with reference counting and cyclic references. Peter ...Show All

  • Smart Device Development GetElementsByTagName Causes Memory Leaks

    Hi Everyone, I am having a problem with a memory issue in the compact framework. I have tracked the memory leak down to GetElementsByTagName in the xmldocument class. Everytime this method is called our application leaks more memory. Below is some sample code that will blowup if you leave it running on a device: private XmlDocument oXMLDoc = new XmlDocument (); oXMLDoc.LoadXml( "<RUBBISHDOC></RUBBISHDOC>" ); do { GetElements(); } while ( true ); } private void GetElements() { XmlNodeList olist = oXMLDoc.GetElementsByTagName( "NoElementsWillMatch" ); } Basically all I am doing is creating an xmldoc with some rubbish element in it. Then ...Show All

©2008 Software Development Network