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

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

djchapin

Member List

Linlin425872
AAtallah
2lazydba
hazz
Kendal
sarath_mankara
Sweeps78
anomolous
Brandon Amoroso
VS2005_evaluator
Bodylojohn
Brad Smith
Dave9999
radrevere
Ed.Richard
ChiaraE
Hersheys98
Yulia
ponchoelchico
mobigital
Only Title

djchapin's Q&A profile

  • Visual Studio 2008 (Pre-release) Databind Child Object

    Hi, I have an object called Product and that product as a property of type List<Photo>. Photo is an object with an URI and a few more properties. What I want to do is in the DataTemplate access the first Photo of each product. I have something like this for the other properties in the Product Object: <GridView x:Key="gridView" AllowsColumnReorder="True"> <GridViewColumn Header="Tipo de negocio" DisplayMemberBinding="{Binding Path=TypeOfBussiness}"/> <GridViewColumn Header="Tipo de imovel" DisplayMemberBinding="{Binding Path=TypeOfProduct}"/> <GridViewColumn Header="Tipologia" DisplayMemberBinding=& ...Show All

  • Visual Studio 2008 (Pre-release) .ForEach on Dlinq objects and Linq CTPs

    In future version of LINQ will I be able to do a .ForEach directly on the Dlinq objects For example: var batches = from b in this.m_Database.Batches where b.EndTime == null select b; batches.ForEach(b => b.EndTime = DateTime.Now); Also will there be any other CTPs of Linq for Visual Studio 2005, or will I have to download the entire Orcas CTP if I want to use the newest features Thanks. Also will we be able to .ForEach on a query For example: List<string> test = new List<string>(); test.Where(s => s.Contains("LINQ")).Select(s => s).ForEach(s => s.ToLower()); ...Show All

  • Visual C# BITS AddFileSet Function

    I am working with BITSInterop.cs from Microsoft and I am having problems getting this function to work properly. I have changed _BG_FILE_INFO to be an array in both IBackgroundCopyJob and IBackgroundCopyJob2 (AddFileSet(uint cFileCount, ref _BG_FILE_INFO[] pFileSet);). For testing purposes I am using this: _BG_FILE_INFO FileInfoTest; FileInfoTest.RemoteName = " http://STLSMSAPP29/SMS_DP_softlib$/9753/Package.Binary "; FileInfoTest.LocalName = "C:\\winnt\\options\\Software\\MIC\\9753\\Package.Binary"; _BG_FILE_INFO[] strctArrFileInfo = { FileInfoTest }; uint intCount = 1; bckGrndCpyJob2.AddFile(" http://STLSMSAPP29/SMS_DP_softlib$/9753/Package.Binary ", "C:\\winnt\\options\\Software\\MIC\\97 ...Show All

  • SQL Server SELECT DISTINCT problem

    I am trying this query which return 247rows: select * from event_log where event_id like '%accounts enabled%' and this query which returns 242rows: select distinct description from event_log where event_id like '%accounts enabled%' but I want to combine both together, which means I want to select all columns in the table but it should have a unique description field.. i tried: select distinct description, event_log.* from event_log where event_id like '%accounts enabled%' but it returns 247rows.. I also tried this but it also returns 247rows: SELECT DISTINCT DESCRIPTION , EVENT_LOG_ID , DATE_TIME , NODE_NAME , LOG_TYPE , SOURCE , CATEGORY , EVENT_TYPE , EVENT_ID , USER ...Show All

  • Visual Studio 2008 (Pre-release) Nested/Inner Classes and the x:Type Markup Extension

    I posted this on the Usnet discussion, but there seems to be more action here, so reposting... I want to use an TargetType="{x:Type Yadda.Stuff}" where Yadda is a class and Stuff is an inner class of Yadda. Is this possible in Xaml I'd rather not have the namespace polluted with a wrapper class that I'm using to populate a TreeView (as I can't modify the data class itself). Any help is appreciated. Sorry, you cannot refer to nested types in XAML via x:Type or anyother type reference. If you don't want to do the "pollution", you could build a new markupExtension.  Like this (read to end before doing...): using System; using System.Windows.Markup; namespace Microsoft.Sam ...Show All

  • Visual Basic Best way to store ip information of users

    I am writing this in VB 2005     Hello, I hope this belongs in here for it seemed to fit.  I am making an application that requires me to get the IP, and data so other users can user operations such as file transfer, IM, and more.  I would like to get your opinions on the best way to store their information so the tool isn’t confused about who is on, who isn't and what their information is.  I have obtaining the information done (ex: use my own web script get the external IP).     The tool will have probably about 5 users on at the same time with maybe a total of 25 users that use it.   With my two methods, I have a server with 100GB of bandwidth and many mysql-d ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Humorous but somewhat serious question about XNA

    Microsoft has claimed the Nintendo Wii as a "kids toy;" however, if XNA can produce graphics and push performance up to what the Wii is capable of handling (games like Half-Life, Sims 2 from most XNA performance claims), does that mean that XNA is a kids toy too redshock wrote: Microsoft has claimed the Nintendo Wii as a "kids toy;" Can you link to this quote Saying "Microsoft has claimed" is a pretty broad brush, and one that I take exception to. The Wii has merits as a gaming device, but isn't in the same category as the Xbox 360, but nobody here in the Xbox org (that I know of) claims it's a "kids toy". So...back it up with some proof (or edit your po ...Show All

  • SQL Server Trouble with establishing server connection in SQL Server 2005

    I have been developing a web application using Visual Web Developer with SQL Server Express. The application includes databases (I’m having users create accounts to become members, and I use their profile information to customize some of the web pages to the particular member). I have purchased Visual Studio 2005 Pro, which comes with SQL Server 2005 Developer Edition. I installed both of these without uninstalling Visual Web Developer (I wanted to have my work transfer from VWD to VS Pro). When I open Visual Studio Pro, my web application is there, with the pages I have coded. But when I try to connect to the data base (e.g., by logging in as a member), I get this error message: An error has occurred while e ...Show All

  • Visual Studio 2008 (Pre-release) Testing: LINQ/DLINQ and ADO.NET vNext - DLinq Error

    Hi, IDE:VS2005 Testing: LINQ/DLINQ and ADO.NET vNext When I throw a table on the design view and then do a build. I get this error. Error 1 Reference required to assembly 'System.Query, Version=1.0.2319.19041, Culture=neutral, PublicKeyToken=null' containing the implemented interface 'System.Query.IQueryable`1'. Add one to your project. D:\Mijn Documenten\Visual Studio 2005\Projects\XMLAdapter\XMLAdapter\Entiteiten.vb 19 20 XMLAdapter The code in that line: Public WOZs As System.Data.DLinq.Table( Of WOZ) How do I solve this Greetings, W. Burggraaf MCAD The Netherlands Found it, ofcource I forgot to set the refrence. Greetings, W. Burggraaf MCAD The Netherlands ...Show All

  • .NET Development Profiling and inlining

    Does anyone know of a profiler which will allow me to analyze the performance of jit'ed assemblies taking into account optimization like inlining I've tried the profiler built in to Visual Studio 2005 and I've tried IBM Rational's Quantify. Both of them seem to somehow cause the JIT not to do inlining (it probably doesn't do any optimizations). Consequently when I look over the results and try to identify bottlenecks (in a rather complex and long-running algorithm), the results from both tools are completely skewed by the fact that a few small accessor functions, which are called very frequently are not inlined. Right now I'm left with temporarily manually inlining these functions just for the sake of running the profiler, and th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Use of unassigned local variable" error on Xbox360 but not Windows

    Anyone know why the compiler produces an error when the following code is compiled in an Xb0x360 project but not when it is compiled on a Windows project public void GetTileRect( int tileX, int tileY, out Rectangle tileRect) { Rectangle myRect; myRect.X = tileX * tileWidth; myRect.Y = tileY * tileHeight; myRect.Width = tileWidth; myRect.Height = tileHeight; tileRect = myRect; } I get a "Use of unassigned local variable 'myRect'" when assigning it to tileRect. It's not a big deal, I can get around it by simply using "myRect = new Rectangle()". I'm just wondering why it works in one case but not the other. The same compiler is used for ...Show All

  • SQL Server Cannot open MSDB database from DTS Meta Data

    We are running SQL Server 2000, SP4. I recently noticed that my DTS packages were missing from the local server. Since I had saved them as Structure Storage Files, I imported them back into DTS Local Packages. That was yesterday. Today I opened the Meta Data browser to see what was in it. (We don't use Meta Data Services.) It displayed a message:"An error occurred while trying to access the database information. The msdb database could not be opened." These (restore of DTS pkgs and Meta Data error) may not be related, but I need to know why I am getting this error, because I am about to upgrade to SQL Server 2005 for Workgroups. 1. Does anyone know what causes this error message 2. Are local DTS packages stored in the MSDB ...Show All

  • SQL Server Transaction is working but with one problem

    sp to update inventory working great(a little too great) update set instock=inventory.instock-invoicedetails.qty if i set the join to the itemno, then i can call tableadapter.updatequery("itemno") when I do this it subtracts the qty entered in invoice details everytime on all rows. need to add a filter to the query but how if i add where InvoiceID=@InvoiceID then I can't seem to call it because I get an error converting string to Int. I'm obviously not entering something right. Thanks. I will look it up on bol, but if I SET @itemNo = 1000; -- Or whatever the itemNumber that was inserted -- Into the InvoiceDetails Table won't that just affect that particular ...Show All

  • Visual Studio 2008 (Pre-release) Woodgrove Finance Application - project type not supported

    I have installed the 3.0 Framework and 6000.0.0 SDK for VS 2005 and downloaded the Woodgrove Finance Application But when I try to load it I get a project type not supported error. I have tried some of the other examples from the WPF site with no problem. What am I missing Thanks See my response on this thread . Does that help ...Show All

  • Visual Studio 2008 (Pre-release) SSL in a self-hosted service using basicHTTPBinding

    I have a self-hosted service that works using basicHTTPBinding with default security (none). If I change it to use https by changing all http:// to https:// and adding the following to the config, it fails to work. I am developing on XP as an administrator. < basicHttpBinding > < binding name = " SoapSvcBindingBasicHttps " > < security mode = " Transport " > < transport clientCredentialType = " None " /> </ security > </ binding > netstat -an shows that the service is listening on the correct port. Diagnostic tracing at the transport indicates that the request never gets to the service. I am testing with IE on the same machine by doing https:// ...Show All

©2008 Software Development Network