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

Software Development Network >> Josh Smith's Q&A profile

Josh Smith

Member List

harmony_76
Demon Bee
Jeanne P
Steve1999
Mauricio DIAZ ORLICH
shafiqm
George Giolfan
Philip Jaques
Rav3n
SCRunner
xjay
Attila Fogel
simon_
Spenceee
Vamsee Krishna
kiwilamb
Guostong
ImpureEvil
Rischa
MSJ17
Only Title

Josh Smith's Q&A profile

  • Visual Studio 2008 (Pre-release) Problem Hosting WCF Service on IIS

    Hi all I have a service that Is currently hosted on IIS. it has the foolowing web config file < xml version = " 1.0 " encoding = " utf-8 " > < configuration xmlns = " http://schemas.microsoft.com/.NetConfiguration/v2.0 " > < connectionStrings > << system.serviceModel > < services > < service behaviorConfiguration = " MyServiceTypeBehaviors " name = " DealEntryService.MisysDealEntryService " > < endpoint address = "" binding = " wsDualHttpBinding " bindingConfiguration = " WSDualHttpBinding_IChat " contract = " DealEntryService.IDealDataEntry " /> &l ...Show All

  • SQL Server Export data file into dbf format...

    Hi all, I need to export/generate a data file in dbf format from SQL Server 2000 table. I wonder how can this be done inside SQL Server 2000 Would DTS helps Please advise. Thanks, TM Hi TM, There are several ODBC drivers and OLE DB data providers you can use to create the DBFs. You can use Jet, the latest FoxPro and Visual FoxPro ODBC driver, downloadable from msdn.microsoft.com/vfoxpro/downloads/updates/odbc, or use The latest FoxPro and Visual FoxPro OLE DB data provider, downloadable from msdn.microsoft.com/vfoxpro/downloads/updates. Jet will create DBFs in the older Dbase IV format. Over the years, new data features have been added to the Fox DBF structure. These new features are not compatible ...Show All

  • .NET Development How proxy client can store a GUID within SOAP message header or body?

    Hi, I need to send a GUID within the soap message header( or body). How can I have the client proxy store the GUID within the soap message header or body How can I read the value at the server side   Any help would be appreciated, Alan Here's the relevant snippet from John Bristowe's blog, which (as I recall) he snipped from a private email from me. :) XmlSchema guidSchema = new XmlSchema(); guidSchema.TargetNamespace = "http://microsoft.com/wsdl/types"; XmlSchemaSimpleTypeRestriction guidRestriction = new XmlSchemaSimpleTypeRestriction(); guidRestriction.BaseTypeName = new XmlQualifiedName("string", XmlSchema.Namespace); XmlSchemaPatternFacet guidPattern = new XmlS ...Show All

  • Visual Studio 2008 (Pre-release) Will command ever replace control events?

    Hi I've been reading about Commands in WPF with interest and they seem like a good idea. What I was wondering though is if commands should always be used from a XAML UI perspective For example. If I created a simple application that displayed pictures from a folder, I as a developer might write some functionality to manipulate the images, like, rotate, print, delete, resize etc. Again, as a developer I'm sure I would create a XAML window that looked visually poor. I might use a normal button to execute these manipulation routines; where as if I gave the XAML to a professional designer they may well replace some of the buttons with other controls. If this were the case then I don't want to be responding to specific control events in o ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Drawing multiple 2D sprites

    I am trying to draw multiple 2D sprites using an array and The code compiles right but when I debug it nothing shows up on the screen Here is a sample of my code. public class Game1 : Microsoft.Xna.Framework. Game { GraphicsDeviceManager graphics; ContentManager content; Block [] Block = new Block [30]; public Game1() { graphics = new GraphicsDeviceManager ( this ); content = new ContentManager (Services); } /// <summary> /// Allows the game to perform any initialization it needs to before starting to run. /// This is where it can query for any required services and load any non-graphic /// related content. Calling base.Initialize will enumerate through any compo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Negative value from GameTime.TotalRealTime.TotalSeconds?

    Has anyone ever seen TotalSeconds return a negative I'm using the TotalSeconds to keep track of the last time a button was pressed and only allowing another action after .5 seconds. This seems to work well except I've seen a few times where the button seems to stop responding. This last time I set a break point and I saw that TotalSeconds was negative. Any idea why Here is the line copied from the debugger: gameTime.TotalRealTime.TotalSeconds = -52.562761099999996 "gameTime" is the variable passed into the Update() method. It happens consistently for me after just slightly over 5 minutes. If you continuously print the values out to the console for example, they don't make any sens ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Porting ScummVM to XNA

    Hi Guys, Let me introduce myself, seems like the polite thing to do :) First off let me say that Microsoft has done a fantastic job with XNA. I'm really happy with the way it works, so simple anyone can pick it up and get something on the 360. I work as a game developer in Australia and was one of the guys that worked on the PSP version of ScummVM a while back. I didn't do a huge amount on that project, it was Joost Peters from Revolution Studios that did all the grunt work, but I contributed none the less. Let me tell you that you guys are getting something special here. This is the first time a console manufacturer has "opened" the doors for integrated development on their hardware(and this is with debugging!!!!) to the general ...Show All

  • .NET Development SQLDataReader.GetOrdinal() fails rarely with IndexOutOfRange

    Hi everybody, We were developed some Web-Services that run against SQL Server 2000 with SQLDataReader that executing Stored Procedures in the DB. Most of time (95%) everything is running well, but sometimes (when exactly, we don't know) the same WebService that worked 200 times, fail. The code is simple:         public string myFunction( int ANumber )         {             string strRetVal = null ;             SqlDataReader myReader = null ;             SqlConnection MyConn = null ;             ...Show All

  • Visual FoxPro Converting a DAT file into a BDF file

    Hello all I am trying to import a file into FoxPro, it has a DAT extension, is there any way I can convert this to a DBF file Thanks Maybe. What is a DAT extension The name itself doesn't tell you anything other than it seems to be a data file, right What is the program or database used to create it Do you have a data layout (a structure layout) to explain the data format contained therein There are no automated tools for this job. If you have a layout you could conceivably write a small routine to import the data. Could be a text file (SDF) or maybe a comma-delimited (CSV) file or maybe has some binay and you could use low level functions (e.g. FREAD(), etc.) to import an ...Show All

  • Visual Studio Packages for Express Editions

    I have built the BasicPackage sample and it works great in Visual Studio both with the Experimental hive and full.  I exported the registry keys and tested it both ways and it works great. I then updated the .reg files  and altered them to write out to VCSExpress. VCSExpress is failing to load these giving the infamous "Package Load Failure" message. - I know the dll is registered correctly (it didn't move between the tests) - I know the registry entires are valid (only the base key I write to changed) - I ran "vscexpress.exe /setup" but it returns immediately, unlike devenv.exe - I ran "vscexpress.exe /log" yet it appears to do nothing, unlike devenv.exe   I understand that most of the extensiblity ...Show All

  • SQL Server Convert or cast HexaDecimal to Bigint

    Hi , I have a hexadecimal string value. I want to convert it to Bigint in Sql Server 2005. The Hexadecimal value is '0x000000000000000F'. How is it possible to convert into Bigint. Please help me Thanks in advance Srinivas Hi What does number refer to and what is there in table Numbers. Please provide structure of table numbers and records in table. Regards, Srinivas Govada ...Show All

  • .NET Development Double Trouble - bug in double?

    There appears to be a bug with Double, unless I'm missing something The following lines of code are basically all the same. However, some of the numbers evaluate to "true" while others evaluate to "false". I can not figure this out. Response.Write((Convert.ToDouble("3.170404") == 3.170404)); // is true Response.Write((Convert.ToDouble("5.170404") == 5.170404)); // why is this false Response.Write((Convert.ToDouble("6.170404") == 6.170404)); // why is this false Response.Write((Convert.ToDouble("8.170404") == 8.170404)); // is true Any ideas This occurs in both .NET 1.x and 2.x. Is this a bug or am I missing something Regards, Doug ...Show All

  • Visual C++ error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib

    Hello, I am pretty new on VC ++ 2005. I use VC++ 2005 and created a Win32 console application. I got the error messages: Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib Error 2 fatal error LNK1120: 1 unresolved externals C:\C++ Projects\ImageStore\Debug\ImageStore.exe 1 Here is the code. Thanks in advance! //Imagestore.cpp #using #using using namespace System; using namespace System::Collections::Generic; using namespace System::Text; using namespace System::Data; using namespace System::Data::SqlClient; using namespace System::IO; namespace ImageStore { private ref class Class1 { public: static int Main(array ^args) { int errorCode = 0; Class1 ^oMain = gcnew Cl ...Show All

  • Visual Studio Team System Installing Team Foundation for Use over the internet

    Hello, I have developers that are in different countries and I am trying to get TFS installed on HTTPS. First issue is that my machine name "machine1" is not the same as the name developers will have to use to get to it over the internet "machine1.mydomain.com". I was able to figure out the SSL part but now how do I configure all the links in TFS to point to my extrenal name "machine1.mydomain.com" without breaking my installation Thanks, Frank My issue is that the machine's full qualified name is "machine1.companyhosting.com" and my outside name is "machine1.domain.com" will this still work ...Show All

  • SQL Server how to show columns with two decimal places

    HI , I've table whose output is some coumns. The colums show 6 digits after decimal point . My problem is i want to show only two digits after decimal point .. How to do using query.. Thanks From your question i seem that you are having the FLOAT datatype. You can do this in two ways 1) Modify the table column to DECIMAL(10,2), if you always want to have results in the 2 deciaml place or 2) SELECT cast ( 2.456576 AS decimal ( 10 , 2 )), if you want temp. solution. Note: This will Round-off the values. Gurpreet S. Gill ...Show All

©2008 Software Development Network