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

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

SCRunner

Member List

allison_h
scruber
johnny_no1_boy
dotnetwiz
Larry Charlton
brad0999
NeverGone
AntonioMaia1
cindyluke
donkaiser
Barryrocks
OrpheusTheBard
Delusion7
M.A.T
pidnas
MikeLR
robinjam
LeahMM
Richard Meijer
Airseir
Only Title

SCRunner's Q&A profile

  • Visual Studio 2008 (Pre-release) Different XmlReader behavior on http and named pipe transports

    In the case of developing a WCF extenssion (like message compression, for example) I have found a very extrange behavior reading the message headers. The problem occurs only when I add a message header that has attributes and an EndElement, like this: <sc:CompressionMode Algorithm="GZip" Level="Fast"> </sc:CompressionMode> Using the Http transport everything works as expected, but using Tcp or Named Pipe I get an error when I'm trying to read the EndElement and the XmlReader seems to skip it and position itself over the next node in the document. I fixed this behavior by not using attributes, and everything works as expected for all transports. The header is now defined as this: <sc:Comp ...Show All

  • .NET Development How to get .Net 3.0 to work with VS2005?

    I am running WinXP SP2. I downloaded and then tried running the .Net 3.0 redist package from this location: http://www.microsoft.com/downloads/thankyou.aspx familyId=10cc340b-f857-4a14-83f5-25634c3bf043&displayLang=en It bombs every time with a generic failure message. All I want to do is ty to get .Net 3.0 to work with VS2005 (not Orcas) and do some work with WCF. I'm seeing quite a few posts on the confusion of what exaclty to install. I'm not sure why this has to be so complicated, especially if .Net 3.0 is supposed to have been released. Can anyone point me to a clear series of steps of what to download, and where it can be found Have a look at this thread. http://forums.microsoft.com/forums/ShowPost.aspx PostID=1083382 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Microsoft's future policy for redistributing Xbox 360 games?

    Before I commit serious time and effort to the XNA framework, I'm wondering if anyone knows Microsoft plans for allowing us to redistribute our games for Xbox360. I'm an academic. Let's say I want to make some educational/simulation games that my students can use on the Xbox 360. Will I be able to provide them with a CD or download link in XBox live As far as I can tell so far, the only games I can write are for myself.   NightAvail wrote: I could be wrong about this but from what I'm "assuming" the professional edition will be geared to established companies and not independent developers. I'm also going to assume that there will be a larger subscription fee and a more strict screening on ...Show All

  • Visual C++ i++ or ++i which one efficient

    Hi, which of this statement is efficient i++ or ++i; i tried hard to find the answer but i am getting many explanations i am not able to find the correct answer. .help me manish sharma What you mean here that in loop Both Works Differently.and better if Once again you look back to Complete post.then let me know what wrong and wh's right.i didn't Found any difference in your post.and one more things  Probably there is no difference , with a built-in type. If the ++ operators aremembers of a user defined type with a 'lengthy' construction process, then the postfix form could be slower, due to the need to create a temporary object to save the original value. In any event, the only way to kn ...Show All

  • .NET Development How to pass not simple types using .NET Remoting

    I can't count how many .NET remoting tutorials and book excerpts i read. Every single time the example involves a chat client passing strings or some other example where strings, ints, and simple user defined types are begin passed. I am looking for an example which shows me how to pass pointer types, like most things in .NET library. For example, I want to pass a FileInfo or FileStream object from server to client. I tried that, it didn't work. Someone told me that's because System.IO.FileStream object, for example, is a pointer to a memory location which would have meaning on the machine it was instantiated on. If I pass that pointer to another machine than that pointer would have no meaning on that machine. But I did check an ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Automatic Content vs Manual Content?

    One thing I'm not sure about are the two different content pools and what kind of content should be in each one. Additionally, in relation to this, are we supposed to load all our game's textures, models, audio, etc, all at once in one spot I can imagine larger games wouldn't be able to hold all the game's assets in memory, so where should content be loaded incrementally Thank You. Eli, being able to have more than one ContentManager is pretty cool, but is there a way to unload an indivudal asset It seems like the current ContentManager.Unload method should really be called UnloadAll and there should be an Unload which takes a string for the content item identifier. Am I missing something Loving the content pipeline so f ...Show All

  • Smart Device Development NMD_UI sample not working

    Hi all, After installing the NMD packet with all updates/rollups I've tried to build a NMD platform as described in the eHowTo from Mike Hall's weblog. Unfortunatelly there is no NMD entry in the Platform Builder wizard after the NMD install. Even after installing all the tools again (WinCE/PB) with all updates the entry is not visible. Does anyone know how to procees in order to activate this item Then I've tried to compile the NMD_UI sample by hand. After hours of searching for dependencies I've succeeded to start it. Again, bad lack: the app is not running cause is not finding some registry entries/strings etc. I need some help in order to be able to build/run this sample. Thanks, Cosmin Hi Mike, I have now successfully built ...Show All

  • SQL Server DateTime problem

    I need to UPDATE DateTime in database. But input paramter (@DatumPozadovany) is not in Default format 'mon dd yyyy hh:miAM', but in Europian one 'dd mon yyyy HH:mi'. This code don't work, becuse it converts standart input into unstandart output. I need the oposite of it. UPDATE DoslaObjednavka SET DatumPozadovany = CONVERT(datetime, @DatumPozadovany, 13), Oznaceni = @Oznaceni WHERE (Id = @Id) Please, help. SELECT CONVERT ( DATETIME , GETDATE (), 109 ) --returns 2007-02-12 21:09:56.970 SELECT CONVERT ( nvarchar ( 26 ), GETDATE (), 109 ) --returns Feb 12 2007 9:09:56:970PM From the SQL Server 2005 Books Online topic CAST and CONVERT (Transact-SQL) "In the following table, the two columns on the left rep ...Show All

  • SQL Server Declaring DataTable in script causes error?

    As discovered when trying to create a custom transformation for this question ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=899895&SiteID=1&mode=1 ) I tried creating an object of type DataTable and I get this error dim myTable as DataTable Reference required to assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the implemented interface 'System.Xml.Serialization.IXmlSerializable'. Add one to your project. dts://Scripts/ScriptComponent_3851bc3613714d2d904d79bc006234f9/ScriptMain 19 24 ScriptComponent_3851bc3613714d2d904d79bc006234f9 Even if I add "Imports System.XML" I get the same error. Isn't DataTable part of System.Data (which is imported by def ...Show All

  • Smart Device Development How to get system message

    Well,another question: When my application run at background, I want it to get some system message,like certain key pressing etc.,and then process the message instead of system.Is it reasonable Key pressing, you can use a keyboard hook. I've written example code on this forum, it should be easy to find. As for system messages, I'm not entirely certain. ...Show All

  • Visual Studio CDATE() Error in RDLC

    I'm having trouble with a line in my RDLC when trying to convert strings into dates I am taking the data from an xml file as a string and i need to convert the dates and decimal values into dates and decimals, so that when they are exported into excel they immediatly useable as dates and decimals. The only way i have found to do this is using CDATE(), which workd fine unless the date is blank. To get around this i am tring to use an IIF() and ISDATE() function which correctly identifies the dates and blank fields, but as soon as i put the CDATE() function in the formula it converts the dates, but brings up #error for all of the blanks. This is the line i am putting in the formula of the cell: =IIF(ISDATE(Fields!LeavingDate. ...Show All

  • SQL Server Selecting first non-empty time dimension member and previous period

    Even though this works, I feel guilty for using hacky MDX. A book I have recommends using Generate to compute this, but I couldn't seem to get it to work - SELECT NON EMPTY { [Measures].[Page Views] } ON ROWS, { TAIL(FILTER(([Time].[Date].[Date]), NOT ISEMPTY([Measures].[Page Views])), 1), HEAD(TAIL(FILTER(([Time].[Date].[Date]), NOT ISEMPTY([Measures].[Page Views])), 8),1) } on COLUMNS from [ZCube] Is there a better (and presumably more performant) way to do this Can this thread, from a few days ago, help you http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=996269&SiteID=1 Regards Thomas Ivarsson ...Show All

  • Internet Explorer Development IE7 - Cant Change Size of BHO

    I have a BHO that works fine w/ IE6. I installed IE7 and everything seems to work except I can no longer resize the BHO. My BHO displays horizontally across the bottom of the page. In IE6 I could make it larger or smaller (vertically) by dragging the splitter. When I do this in IE7, I can drag the splitter but when I let go it pops right back to where it was. Anyone else have this problem Thx. I found a fix in the comments section of the Pavel Zolnikov Code Project article. http://www.codeproject.com/csharp/dotnetbandobjects.asp df=100&forumid=3788&fr=101 (IE7 Topic) This fixed the problem. I found that if I commented out the dbi.dwModeFlags line in the BandObject.cs file ...Show All

  • Visual Studio How to Create Web Service Agent ?

    How to Create Web Service Agent Can you be more specific I suggest that you take a look at the Web Service Software Factory, which is doing lots of work in the web service area (http://practices.gotdotnet.com/svcfactory) ...Show All

  • .NET Development Serializing object in to XML format and then Deserializing it.

    Hi, I am trying to serialize my object into a Memory Stream containing the XML Form of my object. and then deserialize the same Memory Stream into object. I am able to successfully do it by first serializing the Object into xml 'file' and then desrialize from the xml 'file'. The problem lies when i try to use a MemoryStream as the intermediate. When I try to deserialize the memory stream after serialization it gives me XML error. Following is the code snippet which works for File which is followed by the second code snippet contains the code for Memory Stream variant which throws error "Error in XML". employee[] earr=new employee[2]; earr[0]=new employee(); earr[0].empid="12"; earr[0].empName="Binod"; ...Show All

©2008 Software Development Network