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

Software Development Network >> Xiao Feng's Q&A profile

Xiao Feng

Member List

hashbrown
PsychUK
Scott Chang
thomas f
say_2000
KevinBurton
volleynerd
daraneko
mdrelyea
Ryn
sureshsundar007
kalprin
danadanny
AlucardHellSing
Horst Klein
JennyMQuinn
killerbambam
Mike36
Jim Butts
GethWho
Only Title

Xiao Feng's Q&A profile

  • Visual Basic Is there a way to check the GAC for a specified or a list of registrations?

    Ive been messing alot with DLLs, and because of that, I am making myself a small tool to register/unregister them from the GAC and from the Registry. The thing is: Is there a way to retrieve if a DLL has been registered or not By checking the GAC. And if possible also the version it was registered with Or will I have to save the info about the DLLs I register in some other file or something Thanks alot anyways!! :) I'm not sure of your exact problem, but the first thing i thought of when I read it was this: http://www.thinktecture.com/Resources/Software/GacUtils/Default.html ...Show All

  • Smart Device Development SMS Location

    Hi all, I'd like to backup my SMS messages (inbox & sent) from my 2003se PDA/phone (I use an HP iPaq h6365). Could someone please advise where I can find this folder/file - thanks. I'd like to be able to restore my SMS messages should my phone require a hard reset. Thanks, Gav Thank you. I don't really program much myself, but you have answered the question. If anyone knows of any ready to compile code that'd be a big help to me. I found the following web sites if they help: http://forums.microsoft.com/msdn/ShowPost.aspx postid=1216679&isthread=true&siteid=1 http://www.developer.com/ws/pc/article.php/3381221 http://forums.microsoft.com/MSDN/ShowPost.aspx PostI ...Show All

  • Commerce Server Banners offline after 11pm

    Our CS2007 website stops serving all banners after 11pm and restarts it's normal behaviour after midnight. There are no time restrictions on the properties for the banners, only date restrictions. Is this a known issue/bug Thanks guys. -- Jorge Medeira Daily Start Hour and Daily End Hour are set from the boxes beneath the "All Day" checkbox. When you create it with "All Day" checked, both Start Hour and End Hour should be set to zero. The fact that it ends at 23 means exactly that: you won't see anything after 23:00:00 (11:00 PM). Try these steps (I just tried it on my dev commerce box) 1. Disapprove the ad so you can edit it 2. Uncheck 'All Day' ; the values should default to 9am-5pm 3. Save and ...Show All

  • SQL Server SQL 2000 : DROP TABLE : Logged fully

    In SQL Server 2000, is DROP TABLE fully logged operation. I have a table with 1 million records. Do I Truncate before dropping to reduce T-log size Would it make significant difference in log size. For large objects SQL does a 2 phase drop - logical and physical. In the logical it just deallocates the pages. The space may not be immediately available. The actual data is deleted at a later stage. Check out BOL for more info regarding this. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpriteBatch - how many, and do we need to recreate them?

    Based on the SpaceWar game, I have some questions... I know it was put together quickly - I'm not trying to slag it off, and I want to learn the best way to do things :) 1. In Screen.cs, the constructors of the screen class create a SpriteBatch instance. In the OnCreateDevice() method it then re-creates them. I'm assuming the instances created in the constrructor won't get used, because the device would be created quite fast, so can they (should they) be removed 2. The OnCreateDevice method says "Re-create" in the comment - does this method get fired more than once Is this because the SpriteBatch class needs recreating each time the window is minimized or something 3. SceneItem inherits from List<SceneItem>, yet in ...Show All

  • Visual C# ActiveX Control (COM Compatible)- Designer Control

    I need to develop a control like Microsoft DTS Designer. I have tried to develop using GDI+ and posted the code on planet source code. Flow Chart Designer by Rajneesh Noonia But with lot of objects its not performing well (Becomes ustable and slow) moreover if i add five lines to single node ... Lines overlapped each other. I don't want to use any 3rd party control and i am ready to develop the control in any language (Vb 6.0,C# or VC++) But i need a start. Please help... ...Show All

  • SQL Server Stored Procedures Datasource

    Hi all, I'm trying to use a stored procedure as a data source for my SSRS 2005 report, but I keep getting the following error in the query designer: " The EXEC SQL construct or statement is not supported" Any ideas what the problem is here You will have to customize your generated report afterwards, the Report only supports a query string, which is case of the report designer a "Text" command. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms Refreshing a Listbox

    I have a listbox that's bound to a relationship between a table and a dataview. How do I 'refresh' the listbox when a new record is inserted into the tables 'viewed' by the view If the whole application is shut down and restarted, the listbox shows the new data, so I know the database is right. The data is being filled into the program when you start it, you can either create a button that would allow you refresh, or uses a timer that will open your connection, fill the table adapter, then update the form. I am still new to databases, so I hope this helps. ...Show All

  • Visual FoxPro vfpencryption.fll

    hi all, i came across a library file to encrypt and decrypt from tis website.http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,23a74c5d-5173-420e-af23-22494d95a54c.aspx after i download the fll files i try encrypt but vfp prompt me invalid library file. set library to c:\windows\desktop\vfpencryption.fll. where is my error Thanks in advance. Some additional information regarding the file would be helpful in figuring out what is going wrong for you. You could also consider sending me a file and code that will repo the problem so that I might look at it... my email address is available on my website. ...Show All

  • Visual Studio 2008 (Pre-release) Extension Methods / Property conflict when they have the same name

    I have a question regarding how properties of the same name as an extension method are resolved. In the following example, i'd like q3 to compile. I understand the compiler might have issues with the name conflict, but there is a valid extension method, and the compiler is getting hung up because there is also a property. It can resolve it if i explicitly supply the generic type as in q4 - Why can't it be smart enough to do it for q3 List < int > nums = new List < int > { 0,1,2,3,4,5,6,7,8,9 }; int q1 = nums.Count; // works - uses the property on List<T> int q2 = nums.Count(); // fails: 'System.Collections.Generic.List<int>.Count' is a 'property' but is used like a 'method' - doesn' ...Show All

  • .NET Development How do i get rid of "There was an error reflecting type"

    I have a web service hosted on IIS which has a following class definition . if i try to get the wsdl for this web service it gives me error There was an error reflecting type Grant. Any thoughts about it [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace = " http://temp.org/i/b ")] public class Grant { private Condition[] conditionsField; private string externalIdField; private System.Guid resourceIdField; private string resourceExternalIdField; private string principalExternalIdField; private PrincipalType principalTypeField; private ResourceType resTypeField; private LicenseRightType right ...Show All

  • SQL Server SQL Server Migration Assistant for Access: How to use it?

    Hi all, I have Microsoft Access 2003 and SQL Server 2005 Express/SQL Server 2005 Management Studio Express in my Windows XP Pro PC. I just downloaded and installed the Microsoft SQL Server Migration Assistant for Access (ssma-foraccess_1.0.389.msi, 7/31/2006, 5.3 MB). But I do not know where the SQL Server Migration Assistant for Access is located now and how to use it to upsize to the .mdb files of my Access 2003 databases to the SQL Server 2005 Management Studio Express as the .mdf for the SQLDataSource. Please help and give me the detailed instructions/procedures to use the SQL Server Migration Assistant to perform the upsizing task. Thanks in advance, Scott Chang ...Show All

  • Visual C# how to call functions in unmanaged C++ dll from C# app

    Hi everyone, I would really appreciate some help if anyone knows the answer. I've been reading online about this topic for the past 2 days, and so far can't find an exact example to help me. I have an unmanaged C++ dll that is comprised of several C++ classes. I need to be able to access some of the functions/procedures in this dll from my C# application. I have tried using the [DllImport("MITT.dll")] public static extern void Start(); method, but this results in an EntryPointNotFoundException due to the name decorating/mangling that occurs on the C++ procedure names. I then used the dumpbin.exe to find the decorated name, and used it in the DllImport EntryPoint attribute, and this worked, but I don't want to use that solution j ...Show All

  • Visual Studio 2008 (Pre-release) cant log in vpc orcas !

    I am using Visual Studio Orcas VPC Credentials: Username: Administrator Password: P@ssw0rd but it wont log me in I had same problem like you, but after about 1 hour of typing password that couldn't log in, i found that I type wrong password :(. correct pass is P@ssw0rd (0 means zero number, not big O character). And I loged in successful. But I have a problem that couldn't use any new feature like: WPF, WF or WCF, LINQ... Could you tell me the guidance. Thanks very much Rgds Nguyen Minh Dung ...Show All

  • Visual Studio Team System Compare workspace version to shelvset version

    I am trying to compare a version of a file in a shelveset (end of day yesterday) to the local workspace version of the file, in order to see what I've changed so far today. If I go to Unshelve/Details/ and then right mouse click on the shelved file, I get a compare menu that has a grayed out option to "compare to with workspace version" but I can't find a way to ungray this option as this is exactly what I want to do! Also I have looked in the command line "tf diff" and it says that the /shelvset option cannot be combined with the itemspec option, so I can's see a way to do it that way either. Does anyone know how I can do this Thanks Rob Hi Rob: We wanted to support ...Show All

©2008 Software Development Network