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

Software Development Network >> Dinh Quang Son's Q&A profile

Dinh Quang Son

Member List

Guido den Broeder
David S. Anderson
Redmanmc
ReneeC
Tobias Bergman
CharlieRussell
MrBradford
M.D.A
dek in UK
carface
baga
Avi_harush
SanthaMind
Carl Daniel
AJB123
pradeep prabhu83
narangrajeev
Nandagopal
msorens
mrbelk
Only Title

Dinh Quang Son's Q&A profile

  • Visual Studio 2008 (Pre-release) http://localhost:8080/service1/mex not working

    Hi I am trying to access the metadata by the link:http://localhost:8080/service1/mex but it is not working. The error it gives is that cannot download mex from the specified location. my Config file is as follows: < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < system.serviceModel > < services > < service name = " Example.service1 " behaviorConfiguration = " metadataSupport " > < endpoint contract = " Example.IService1 " binding = " wsHttpBinding " /> < endpoint address = " mex " binding = " mexHttpBinding " contract = " IMetadataExchange " /> ...Show All

  • .NET Development html data not rendered properly im emails instead of using <xsl:output method="html"

    Hi, In our application for sending mails to users, we create the mail contents using xml/xsl files. But the problem is that html tags are not rendered in mails. We use XmlDataDocument to create the email content like this, XmlDataDocument userRegistration = new XmlDataDocument (); userRegistration.Load(xmlfilepath); XmlNode node = userRegistration.SelectSingleNode( Constants .EmailData + Constants .LoginName); node.InnerText = LoginName; // ( Loginname is like < b > Abhishek </ b > Everything is working fine, email is rendered as per xsl files, but only problem is that in mail instead of coming like this Login Name: Abhishek // Abhishek as bold It comes like Login Name ...Show All

  • SQL Server Why the report parameter dose not take effect?

    Hi, all experts here, Thank you very much for your kind attention. I am encountering a problem with reports built on my SQL Server 2005 Reporting Services Server. The reports parameters do not take effect at all I chose the value from the report parameter list, but the result returned the whole report data. Why is that And how can I solve this problem Really need help. Thanks a lot in advance for any guidance and help. With best regards, Yours sincerely, Helen, Can you give some more information about how you have defined your parameters and how you use them in your report. This will help in working out why they are not working for you. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Minimizing and Maximizing

    I have my application set to use the full screen. If I hit alt tab, go into another app, then alt+tab back into my game, it's solid gray, and then locks up. I wrote some simple code to check the keyboard state, and close the app if I hit escape, but that doesn't even work. I just assumed that this would all be handled for me, out of the box... Do I have to write anything myself to fix this Yeah, I am not at home at the moment, but I will show my code, it's pretty simple... I'm only drawing a few sprites onto the screen. ...Show All

  • Visual Studio Can't install extensions, plz help

    I'm facing a serious issue with my visual studio 2005 that I can't solve or find a reference for in the net, the issue is i'm having difficulty installing extensions made by third parties, some extensions are not detecting that i'm installing visual studio in my pc, those are Genome O/R Mapper Linq May CTP but I was able to install other extensions like the windows workflow foundation. I had a talk with Genome tech support and they mention to me that thier MSI file checks whether the Visual Studio 2005 component (320DB690-7979-4015-BD78-A16D7279043B)  is installed or not and it seems that it is not decting it. I reinstalled my vs2005 but no avail, I have the same copy of VS installed in my pc and it ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. My First Project

    Anyone having fun with XNA I have my tetris clone coming along quite nicely.. http://str8dog.shackspace.com/NotmyTetris.png Right now its based on fixed time steps, I am struggling to wrap my head around how to let the game run real time and get the blocks to not fly down the screen. The spacewar example is awesome for picking up how to do various bits like sound, texture management and user input. Hell some of the classes I just swiped outright they were so easy to use. What have you folks been able to do so far Hey man can I/you post this screenshot at http://xbox360homebrew.com/photos/default.aspx in the personal projects gallery ...Show All

  • Visual Studio Tools for Office Customization doesn't run in VSTO Word Doc returned from server

    I'm trying to configure an ASP.Net 2 web site to return a Word document that contains a VSTO customization that displays an action pane when the document opens. I've manually added the Caspol security settings on the machine to point to the site. I've tried it for all zones and for both IIS access to the site as well as using the built in VS web site but I'm still getting blocked and the document opens with this error: --------------------------- The current .NET security policy does not permit the customization to run ... Could not load file or assembly 'VSTOWordTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) -- ...Show All

  • Windows Forms Find feature in Web Browser control?

    Is there anyway to code a Find feature in the .NET web browser control Matt If you just want to bring up the Find Dialog Box. axWebBrowser.ExecWB or axWebBrowser.DoVerb will allow you to run most of the browser menus. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Math.Abs inner workings?

    I'm trying to decide how to structure my code based on Math.Abs function. Does it just flip the signed bit to make the number positive Or does it check for a negative value and if found, multiply the number by -1 This is implemented in MSCorlib -> Reflector says it checks the sign and if needed returns -value. This means the CLR compiles -value into most likely an ASM for exactly that. ...Show All

  • SQL Server SQL Injection

    Am looking for SQL injection automation tool,can anybody suggest a tool which will be helpful. Hi, What do you mean with a tool SQL injection is for doing malicious stuff with a DB. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • SQL Server checking the database existence in sql server

    hi to everybody i'm new member to this site and i don't know where can be a good place for creating this topic pardon me for probable mistake. i need to attach and detach the database in/from sql server in vb.net with hard-code .i can do this without using stored procedure and with SQL-DMO But i can't checking The database Existence for attaching it.now, how can i check the database existense for preventing the attach operation. please help me thanks a lot       Hi, if it is a non-SQL Server database file you will have to import from the file using the DTS Import wizard or any other tools which offer a driver for the dbf files. HTH, Jens K. Suessmeyer. --- http://www.sq ...Show All

  • SQL Server ADO 2.7 with sql server using oracle syntax

    Hi, I've been tasked with investigating how we can migrate from oracle to sql server. I have successfully converted a typical schema with 97% success using SSMA and have a query regarding ADO and oracle syntax. I have heard that the SQL server provider can interpret oracle syntax into its own syntax, but i am unable to find any reference/examples on the web. Is this possible and if so could any kind soul please post some links. Thanks in advance, Michael The SQL Server provider (SQLOLEDB or SQLNCLI for SQL Server 2005) does not directly interpret Oracle SQL syntax if that's your question but you can get at Oracle data from SQL Server in a linked server scenario or by using the OPENROWSET T-SQL command. Se ...Show All

  • SQL Server Calculated Measure using Datediff

    Hello out there, i am pretty new to SSAS and have to add a calculated measure that uses the Datediff function from T-SQL. In detail I want to calculate the average Datediff between a selected Date and the Dates in the DB Table DimUsers. For example: UserID = 1 - FirstVisitDate = 05-01-2005 UserID = 2 - FirstVisitDate = 07-05-2005 UserID = 3 - FirstVisitDate = 07-19-2005 . . . And now I want to display the average DateDiff in Days between those Datetimes and a selected Date (let's take 01-07-2006) for showing it in the Cube Browser. I hope I explained it clear enough and someone please show me a detailled way to do that. Thanks a lot in advance! Greets Claudio ...Show All

  • Visual C# help with arrays

    I have an application where I have two arrays such as: string [] array1 = { "one" , "two" , "three" , "four" }; string [] array2 = { "two" , "four" , "six" }; I am hoping that C# offers an easy way to compare the two arrays and return an array of those elements that are different (in this case, I would have a three-element array containing the strings "one", "three" and "six"). In PHP, it's as simple as (I may have the function name wrong, but you get the idea) differentArray = array_diff(array1, array2); I don't want to code all of the logic myself and it seems like a basic and useful enough function to be part ...Show All

  • Windows Forms Adding a blank selection to a databound dropdownlist

    I'm databinding a DropDownList and need to add a blnak as a selection in the list (preferably at row 0) ... how can I do this Thanks for the help in advance, Cen To add a "select one" or blank record to a Databound DropDownList, change the DropDownList Property called "AppendDataBoundItems" to True. I believe by default it should be set to true. Why would someone add values and want the default set to false crazy ...Show All

©2008 Software Development Network