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

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

Michael_Shao

Member List

G20
Andrew-L
Rihaz
jcarlos.net
MainSoft
venup
krwell
Caioshin
Khan Azul
Cadey
Cheung Ho Man
ayacenda
CalinMac
fredmxm354
zybernau
mktauseef
Dietz
Ro0ke
user32
nec4b
Only Title

Michael_Shao's Q&A profile

  • Visual C# Disable certain keys

    I was wondering is it possible to disallow a user to perform certain keys during the program I dont want them to do " CTRL ALT DELETE " .. I wish them to finish the processes of my program and then be able to exist, not during. Also, have like a "messagebox.show("You can't press Ctrl+alt+delete"); ... Thanks! I've been looking into it a little more, and apparently you will have to revert to dll injection for which I can't find any examples in c# (I think you need a native dll for dll injection, so I think it can't be done with c#). According to the article listed before ( http://www.codeproject.com/win32/AntonioWinLock.asp ), there are a few ways to disable ctrl+alt+delete: 1. Disable Task Manager using the registry (see above) ...Show All

  • SQL Server Saving a package to the package store vs. SQL Server?

    There must be a difference, but I don't know what it is. Can someone please explain the advantages and disadvantages of each method Thanks in advance. Very interesting question. :-) I would like to add one more poin to this. Does execution of a package depend on SSIS service Jagan ...Show All

  • Visual C# Debug Deployment taking forever

    I am deploying my app to a Windows Pocket PC 2003 Device. When I deploy its taking close to 10 minutes to deploy. The app is only 104K on my device. I noticed that it is hanging specifically on these files: System.Data.dll System.Windows.Forms.dll System.Web.dll System.Design.dll System.DataOracleClient.dll (Im not even using Oracle) Then these files are also being transfered and popping up a msg box stating that "Windows SQL Server Mobile is aready installed. Do You wish to reinstall [Yes] [Cancel]" sqlce30.ppc.wce4.armv4.cab sqlce30.repl.ppc.wce4.armv4.cab sqlce30.dev.enu.ppc.wce4.armv4.cab I don't think these files need to be transmitted everytime to my device as they are already there. Does anyone have any ideas how to speed ...Show All

  • .NET Development How can I remove ASPNET account when it is not used

    Hi I recently installed .NET framework SDK 2.0 to learn VB. Whenever I run the SDK tutorial, it seems to define the ASPNET account in the system and the accont remains there even after the tutorial is finished. I can remove it only by re-booting the PC. I'd like to remove the ASPNET account as soon as I finish using the SDK tutorial because my company's audit scan doesn't like the extra account on my pc. Is there any command available to do that Strangely the account appears only in the audit report but not on the user account in the control panel. I am an absolute beginner and don't know about how it works. TIA Hi Rodrigo Thanks for your reply. I have a look at the file but am not able to figure out ...Show All

  • .NET Development GetChanges - Update - Merge result in redudant row

    I would like some assistance in the following situation. A table has 0 rows Row is added to table (table.rows.add) Table has 1 row GetChanges is called Update is called Merge is called Table has 2 rows (!) I suppose that this has to do with the primary key of table being autoincrement (both in database and in typed table). What's the procedure to do this right It's not much. Here: 1. Dim changedData As DataSet = data .GetChanges() 2. changedData = WebServiceProxy.Update(changedData) 3. data.Merge(changedData) Line 1 get changes, line 2 call a web service that does the update using common data adapters and line 3 merges the returned dataset. Web Service call does not accept dataset by reference ...Show All

  • Visual Studio Team System Checkin of file fails because I do not save items I did not edit

    I have checked out a file for edit and made a one line change. Now I am trying to check the file back in. When I click the checkin button in the pending changes window, which only contains the single file I have checked out, a dialog comes up asking me: "Save changes to the following items " It then lists the project solution file and one of the projects in the dialog box (I already saved the file I want to check in). If I answer "no", the dialog goes away and my file remains checked out. The same thing happens when I cancel out (hit the x). I have made absolutely no changes to anything other than the source file I am trying to check in. So why does TFS seem intent on foisting some change in the solution file o ...Show All

  • Visual Studio Debugger - Visualizer (VS2005)

    I'm trying to better visualise my class in the Debugger. I noticed that in VS2005 a new/great feature was introduced to help visualise containers (STL and ATL) in debugger. By this it is easy/fast to display important data from complex classes. Unfortunately, I can't visualise one stuff. I have a class B with a member variable A* m_ptr . If I edit the autoexp.dat file \ [AutoExpand] section "B=ptr=< m_ptr, t >" then the magic "t" make sure that if the m_ptr is an instance of class C which is derived from class A the debugger displays it as ptr=[ C ] . This is great so far. However I would like to do similar thing in [Visualizer] section: A{ preview ( #( $e.m_ptr ) ) ) Since there are no official documentati ...Show All

  • Software Development for Windows Vista SampleGrabber "one shot" does not stop graph...

    Hi DirectShow forum, I am using SourceFilter -> SampleGrabber -> NullRenderer and this filter graph is working well (I can pull samples from the file without problems now). I am trying to step through the file one frame at a time using this code sampleGrabber.SetOneShot(true); mediaControl.Run(); the MSDN docs explain that by setting one shot mode to true, the SampleGrabber will stop the graph automatically after it receives one sample. But in this case, it does not stop the graph, it continues to run to the end! Any ideas what can cause this Best regards, wtrn I also found this article... http:/ / msdn.microsoft.com/ archive/ en-us/ directx9_ c/ directx/ htm/ grabbersamplefiltersample. ...Show All

  • Visual Studio Team System To test Javascript

    Hi, Iam configuring VSS to test our website. Is there any way I can test the Javascript in our website. either thru the test script coding or thru the plug-in. Can any one lemme know about this Thanks Hi You can refer to this MSDN article. http://msdn2.microsoft.com/en-us/library/ms404678(VS.80).aspx Thanks Rituparna ...Show All

  • Visual Studio MSBuild vs NAnt

    Please share your thoughts about comparison between those two     I'm having a love-hate relationship with MSBuild under TFS Team Builds. I've been trying to do what I believe is a simple task; performing a custom action (code generation) just before compilation of each solution. The problem I am seeing is that MSBuild wants to use the SolutionToBuild list as raw data and do the custom task on all of the solutions and then compile all of the solutions. So there really is no concept of "For Each Solution Do these Tasks" in the TFS Team Build without overriding the Microsoft provided targets (which I would think is a generally bad idea). I also don't want to have to update each a ...Show All

  • SQL Server Configurations and Child Packages

    Hello, I was hoping someone might be able to clarify how configuartions work with child packages. My process has 3 levels of packages. The main packages called two child packages each of which calls more child packages. I'm using Configurations to pass variables from parent packages to child packages. But each level of packages contains Data Flow Source/Destination connections. I was planning on having only 1 XML Configuration file in the main package that would allow the data connections for the main package to be configured for the target enviornment. When the job is scheduled I will be able to point a configuration file for use with the main packages. But will that configuration file be applied to all child packages that will ...Show All

  • Visual Basic Getting information about locked files located on MS 2003 Server

    I have a problem with an application leaving large temporary files behind on a server that are locked. I would like to find these files using VB 2005. I want to produce a report that simply list these files so I can use sysinternals tools to delete them. They are always located in the root folder of logical drives. It seems that all I can do is throw an exception when I write anything to scan the servers logical drives. Is there anything in VB 2005 that I can use to spot these files and maybe get information on file size, etc. Is there something within Visual Studio I can leverage Thank you for any suggestions. What DMAN1 suggests is one of the methods that throws an exception. I have do ...Show All

  • Visual Basic Help with disable keyboard, mouse and screen

    I currently doing a project tat requried a pop up to warn the user to take a rest. Upon the pop up the user will not be able to continue using the computer is there any suggestion on how i can do that thank alot. You need to convince me that this app has a real use and not some fabrication to learn how to write a virus. ...Show All

  • Windows Forms project publishing in visual studio

    hello, I am in desparate need! I've writen a visual basic .net program that I can build/run locally, install/run after publishing to a file share but others cannot install or run (form bin directory). From project properties window: All references are copied local true, all namespaces are checked as imported, all images are set in a resource folder, prerequisites (.net framework 2.0 and windows installer 3.1) are downloaded from application location, .deploy extension is used (if it matters), and application files are include (auto). How can others run my program Please help, thank you. sorry for the wait, I had to modify some code for security reasons. You'll find it in your email. It will load, but may n ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to get the data that is finally showed in Direct3D?

    In Direct3D, I want to get the data that will be finally showed on the screen in order to save them to a file. I tryed to use the APIs such as GetBackbuffer, GetRenderTarget, GetFrontData and so on. But I failed to get the finally showed data back to my program. Would you please tell me how to get the finally showed data back to programs Or how can I find some code examples to get the finally showed data back to my programs Thanks very much!! All of the functions above can be used to grab rendered data from the various buffers at different times. You should be able to directly save this data with the aid of D3DX's functionality. What step exactly fails in your case ...Show All

©2008 Software Development Network