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

Software Development Network >> Harry Zhang's Q&A profile

Harry Zhang

Member List

gbobg
RapsFan
sidwang
TreyTro
sohaibi
Matt75
bitbonk
Indinfer at Baltimore Med Sys
DannoCoy
vistaDev07
Karrar
brian_tsim
Robert Barnes
intrepid
Chimme
B.Young
Jehan Badshah
Dylan Smith
kirchu
averge joe
Only Title

Harry Zhang's Q&A profile

  • SQL Server Windows 2003 64bit running SQL 2000 SP4

    I have been running Windows 2003 64bit and SQL2000 SP4 for over 2 months with out any issues. Sadly we had a server crash " NTldr missing or corrupted" now when the one engineer looked at it he suggested to reload the server with Windows 2003 32 bit version as there were known compatibility problems between 2003 64bit and SQL 2000 32bit but that you can install SQL 2000 32bit onto a Windows 2003 64 bit server. Now i dont really believe this statement nor can i find any documentation supporting this. I believe this server might have crashed due to a new patch that was released the last 2 or 3 week either on Windows or SQL. Does anyone know where i can verify what patches was released Maybe someone else can share ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Drawing colored meshes using own effect

    I want this easy thing to work -- but apparantly it's not that easy for me. I simply want to load a colored mesh from a file, and draw it on my screen using a custom effect. The mesh(es) load just fine in DXViewer, and also no problem when I'm using the BasicEffect to draw the mesh. The mesh is drawn at the correct position/scale, but the colors are wrong. They seem to be random, and sometimes they change during runtime. I've posted the relevant XNA code below. Of course it's incredibly rediculous to put all this code in the Draw method, but it's just to show you all the relevant code together. So here we go: protected override void Draw( GameTime gameTime) { CompiledEffect compiledEffect = Effect .CompileEffectFr ...Show All

  • Smart Device Development Sending Messages from a CE Device to PC and back

    Hello Im having problems using MSMQ to send messages from a CE Device to a PC I have created the queues on the 2 platforms but when I try to send a message to or from I get a queue not found error. using server explorer I have verified that the PC queue exists and using msmqadm I have verified the the CE Device queue exists. output from admadm for the CE Device Status command: 0. DIRECT=OS:RLC_XSCALE\Private$\Client;JOURNAL PRIVATE, LOCAL, LOCAL CONNECTION, 0 Msg, 0 Bytes 1. DIRECT=OS:RLC_XSCALE\Private$\Client PRIVATE, LOCAL, LOCAL CONNECTION, 0 Msg, 0 Bytes 2. DIRECT=OS:RLC_XSCALE\PRIVATE$\order_queue$ MACHINE, LOCAL, LOCAL CONNECTION, 0 Msg, 0 Bytes 3. MACHINE=0dabb9e6-b032-d96c-cf5b-29da644da953;JOURNAL MACHINE, LOCAL, LOC ...Show All

  • Windows Forms validate input data in cells datagridview

    Hi! I hope someone can help me with some article that helps me about validating input data in cells datagridview, like just accept float values, etc. Regards Check out the datagridview's CellValidating event. ...Show All

  • Windows Forms .net 2.0 security breaks my app

    Hello, I've written a windows control that runs in an asp.net page using an <object> tag. The control accesses a scanner on the local machine. Everything was working fine until I installed .net 2.0 as part of the SQL Server Management Studio Express. Now the control throws an error "Application attempted to perform an operation not allowed by the security policy" I've tried giving the .dll permisson using the .net framework 1.1 configuration tool. So far nothing seems to work. Thanks for any help. Jon I just read that IE will ALWAYS use the lastest framework version installed on the client machine. So there is no way to tell IE to use specific version of the framework. ...Show All

  • SQL Server License of developing and distributing based on SQL Server XE

    Hi all, I need to find all information about distributing SQL Server XE and applications using it . Is it legal should it be used just for educational use !!! could it be used to develop a commercial software !! what limitations are controlling this thanks in advance !! View the EULA here. http://www.microsoft.com/sql/editions/express/redistregister.mspx HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development View Domain,Username & PC Name

    How the method, if I want can look/view Client Domain,Username & PC Name in web base use VB.Net. I try use like this Dim username As String = System.Security.Principal.WindowsIdentity.GetCurrent().Name but if like that, client domain & username not separate. the view like this "Domain\Username" and then the source code running only in server, if the clien view error message "Unspecified error" Please give me solution or method, for i can view domain, username & pc name client. Boedax's Malay Thank's thank's before I now about the source code. but in my program System.Environment.UserName =ASPNET System.Environment.UserDomainName = My mach ...Show All

  • SQL Server MDX Performance Issue with TOPCOUNT Using Calculated/Derived by Time Specific Members

    I am new at The MDX game and need some help. I have the following MDX that executes a wee bit to slow when I specify one of the following members (See MDX below) [Measures].[Prio Shp Unt], [Measures].[Unit Variance], [Measures].[Prio Cst Ttl], [Measures].[Prio Awp Ttl], [Measures].[BM Variance] in the TOPCOUNT statement. I have arrived at the conclusion that the problem is because I speicfy a period at the member selection that is different to the period on my where clause. Now the problem is that both the periods are user driven and can be anything from current back for the last three years. In other words the users have the option to specify which two periods they want to compare. Also the TOPCOUNT measure is user driven and can be ...Show All

  • Internet Explorer Development Opening Word Docmument Inline IE when Office 2007 Installed

    Hi All, When opening a Word document by following a link in IE, Office 2007 and Office 2003 behave differently. On a computer with Office 2003 installed, the document opens in the IE browser window. With Office 2007, the document opens in Word. Is there a way to open documents inline IE on clients with Office 2007 installed, or vice versa Or is there a technical document describing what happens when one clicks on a link pointing at a word document in IE Thanks in advance, B. G. Hello again Bilge Gul, I figured this out finally. The link above indeed helps, but I think I found a better way. What I finally ended up doing is looking for (and adding if they don't exist) the following registry entries: *** VIS ...Show All

  • Visual C# Display HTML Document in an application form ?

    hello any ideas how to display an HTML document on an application form with Visual Studio 2003 using Visual C# thank you Check out the WebBrowser control. For more info: http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx That's what you're looking for ...Show All

  • Visual C++ Unexpected namespace pollution in VC8 (bug?)

    Running Visual Studio 2005 Professional, no service pack applied. Here is a code snippet distilled from some code that fails due to unexpected namespace conflicts: namespace ns1 { typedef unsigned long ns_t; struct base { ~base() {} }; } namespace ns2 { using namespace ns1; struct dummy : public base { }; } namespace ns3 { struct dummy2 { dummy2() {} ns2::dummy m_dummy; }; } ns_t ns_check; //compilation should fail here!! The above code compiles fine on my machine. The problem is that , for some reason, ns_t is visible at the global namespace when it shouldn't be. Strangely, removing base::~base will cause the behavior I expect (compilation error). I'm not sure exactly where the bug is and what a workaround ...Show All

  • Visual Basic from list of tables to combobox: what the best way of doing it?

    Hi, From a lot of help from this foum and the Net, I have managed to get a list of tables from my access database with these line of codes: Dim vrn As String () = New String () { Nothing , Nothing , Nothing , "TABLE" } Dim schemaTable As DataTable = objConnection.GetSchema( "Tables" , vrn) DataGridView1.DataSource = schemaTable Using GetSchemOledb also worked fine but I think GetSchema needs much less typing . Since GetSchema returns a DataTable, is it possible to put the list of tables in a combobox if this is possible can somebody reccomend the best way to do it I think it involves getting the names from the TABLE_NAME column which have TABLE as property in the TABLE_TYPE column. Any hint/ ...Show All

  • Visual C++ In the debug folder of my vc project, there are some files with the extension name(.sbr, .obj), can you tell me the funciton of

    In the debug folder of my vc project, there are some files with the extension name(.sbr, .obj), can you tell me the funciton of this .sbr file http://msdn2.microsoft.com/en-us/library/d5a52hhk.aspx ...Show All

  • Visual C# Getting Mouse Cursor loaction and saving signature in an Image

    Hi Everybody,  What exactly I am doing Is like this. There is a image of say a car and user can point on that part of the image and say a red dot image appears on that part where the user has pointed using mouse and click it and I like to save this image with all the red dot images on the car image. How to save and get exactly the coordinates   There is another problem I like to ask. Together with this image I like to have a signature part where user can sign and store this signature as an image file. How can this be done Thanks very much. Code for getting mouse coordinates: private void pbxImage_Click(object sender, System.EventArgs e) { //Code for storing location of image/mouse point } private void pbxImage_MouseDown(object ...Show All

  • Visual Studio 2008 (Pre-release) Passing WindowsIdentity between services for use with Azman

    Hi all, The following scenario: a client connects to a service passing its WindowsIdentity (WI), e.g. domain\user, using wsHttpBinding. The service uses the WI for authorizing using Azman. The service depends on another service (which could also be called by other clients in different scenario's). The second service also has to authorize the WI of the initial client (domain\user). client --> service 1 --> service 2 | | AzMan AzMan Default, wsHttpBinding passes the WI of the 'intermediairy' service (the first service called, e.g. domain\network service) to the second service. This way the second service authorizes the service (domain\network service) and not the initial caller (domain\user). ...Show All

©2008 Software Development Network