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

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

MtgFanatic

Member List

Vladimir Chtepa
RyanB88
GizmoC
MPSIperson
El Gaseron
peebman2000
Jay Thomas
Mike737Aviator
ahmedilyas
Aatu
40th Floor
Yasir Imran
FernandoLeite
WizMan
Burgz
DeeZa
Gurpreet Singh Sawhney
tkroll
davco
Sworder
Only Title

MtgFanatic's Q&A profile

  • Windows Live Developer Forums AJAX-based Spaces?

    Hi there, Is anyone doing an implementation of spaces that uses AJAX I've started one, but wasn't sure what else is out there. Thanks, se Hey there, I see there's a few people interested in this sort of thing. Would there be a few people interested in helping out on an application I am building which does this Right now I have the following: SQL Server database tables all set up so all information can be stored on a server other than spaces Typed Datasets and a dal for accessing this Forms to keep track of blogs, posts, comments, user accounts and view forms. All of the forms communicate to the server using Ajax.Net (by Michael Schwartz) -- which is very similar to the ...Show All

  • .NET Development Inline XSL (and CSS definition, if possible) with-in an XML document

    Hi- Can you please advise me an example that demonstrates an XML document containing an XSL style sheet with-in the document My project requirements do not allow referencing Xsl as an external file. Ideally I will need to have Xsl, Xml and CSS with-in an Xml document and stream to a literal or label (using ASP.NET 2.0) for formatting and display. Please advice. Thanks in advance. Regards, Prabhu From the MSDN http://msdn2.microsoft.com/en-us/library/system.xml.xsl.xslcompiledtransform.aspx : The XslCompiledTransform object is thread safe once it has been loaded. In other words, after the Load method has successfully completed, the Transform method can be called simultaneousl ...Show All

  • SQL Server Expressions in For Loop Container

    Hi, I am having problem when setting for-each container's EvalExpression as a variable comparison. I have set this in expression editor @[User::Syn] == 1 Editor says that it couldnt convert from System.Bool to System.String. If I put it in quote, then for-each container says that it needs Bool, not String. Please help me with this, Thanks Fahad349 wrote: actually, EvalExpression property is string and expression editor must end up with some string value and something == something is basically a boolean. Why aren't you using the EvalExpression in the editor, not the expression property If you are editing the property expressions, then this is what you'd want: "@[User::SyncStatus] == 0" ...Show All

  • Visual Basic Vista problem with handshaking on serial ports?

    I am working on an application for a device that uses hardware handshaking on the serial port. Here is the code that I use to open the port... mscomm1 = MyPort.OpenSerialPort( "COM1" ) With mscomm1 .Close() .DataBits = 8 ' .BaudRate = 9600 .Parity = IO.Ports.Parity.None .StopBits = IO.Ports.StopBits.One .Handshake = IO.Ports.Handshake. RequestToSend .ReadBufferSize = 500 .DtrEnable = True .RtsEnable = True .ReceivedBytesThreshold = 2 .Open() End With This does not work under Vista. I have tried it under Vista Ultimate on two different test machines using the 'built in' serial port. It does work under XP on the same machines. I have also tried it under 98 and ME on othe ...Show All

  • Visual C++ How to launch an App in a ''separate context'' programatically ?

    Hi, I'm having trouble to launch programmatically the process HH.EXE ( with CreateProcess( ) or ShellExecute( ) from another appplication). I 'm having the same error (0, the operating system is out of memory). So, I'm suspecting that the parent process is not able to reserve the necessary amount of memory for its child (HH.exe). Then, I think the only solution is to create the process(HH.exe) in a separate context (because when I use " START--> Run--> Open " to launch HH.exe, everything works well). But Actually, I don't how this can be done. Does anybody know to create a new process, but in a whole new context, separate from parent (programmatically) thanks. yes exactly, ShellExecute(NULL, " ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Will we be able to shared compiled versions of XNA apps?

    Ok, so before someone flames on me. I searched the forums and what not for a long time, before I posted this. I only saw threads about actually selling the homebrew games and I'm not interested in that. What I want to know: Is there plans in future releases to share only compiled versions or some sort of package I mean if I spend my heart in soul making a game that I think others will will enjoy for the love of the community. It doesn't seem fair that everyone gets my source. So are there plans for just sharing complied versions of some kind If so, whats an approximate time frame Thanks, Nick We've indicated that in the FAQ: Q: How can I share my Xbox 360 game built with XNA Ga ...Show All

  • Windows Forms copying one object to another,..

    Hi, I have a namevaluecollection object which is being used in 2 different threads. One thread updates the values and the other reads it. In reading thread I want to read the namevaluecollection in a local object and then use that local object to read and then display it so that the reading thread uses the namevaluecollection object for the least amount of time. How can I copy the shared namevaluecollection to a local object such that after copying it to the local object, the shared namevaluecollection is set free for the other thread to use... I believe doing this does'nt free the ShareNameValueCollection to be used safely by the other thread: LocalNameValueCollection = ShareNameValueCollection because, say, if I make ...Show All

  • Software Development for Windows Vista EnqueueItem from within a code activity

    Is it possible to call wfInst.EnqueueItem from within a code activities execute method As I was trying to do this the thought occurred to me that I would need the runtime to get the workflow instance using my instance ID. But, is it permissible to even get the WF runtime from within an activity because of the things the WFruntime allows you to do Thanks! Ok, that makes sense. So, inside of the local service, should I pass the runtime into the constructor as a parameter I know I need to do an add the service to the runtime prior to starting the workflow, but in one example I've seen they pass the runtime into the constructor. I thought there might be another way to grab it. Thanks! ...Show All

  • Visual Studio Express Editions Getting and displaying the build version

    Hi, I am semi new to VB.net and am building a program that actually works! What I want to do is to display the build version in my form that VB gives the form automatically. How do I do this I dont want anything fancy just build:1.0.0.1 or what ever it is at the time. Thanks Hi, Thanks for the code. It was exactly what I was looking for. I needed to display the version number of the published code on the main form. You are correct - it must go through the normal install process before the version number will show. ...Show All

  • Community Chat I can't believe most Windows users don't know how to use toolbars, OMG.

    This is most irritating. Almost all of Windows users in my company don't know how toolbar works. They don't know they can enable toolbar, take out toolbar, customize toolbar, and not even the simplest of all, move toolbar around. Toolbar is so simple, standard, and flexible. And yet, they don't know how to use it. And now, I think that's the main reason why IE7 doesn't support moveable toolbar, and that pisses me off even more. Argh. I remember when toolbars first started coming out, they were a real pain in the arse if you accidentally moved things around and lost "icons" for features you wanted to use. Also, I have seen many apps go back to the default setup. Who wants to setup your toolbar ...Show All

  • Visual Studio Team System Problem with getting all the target branches for a given source branch through the API

    Hi, I'm trying to get all the relations to a given branch through the API , for that I'm using the method GetBranchHistory of version control server object For some reason I can't get parent element from the return array This is an example of my branch relations: $/TeamProj/Test | |--$/TeamProj/Test-Branch | | | | - $/TeamProj/Test-Branch-Branch | |--$/TeamProj/Test-Branch_1 When I'm running over the elements that returned from the method, I always get '0' elements retrieve from the parent. Also, for some reason when I'm running over the children elements I don’t the 'grandson' branch (in my example - Test-Branc ...Show All

  • SQL Server Desprate..Please Help

    I wrote an application using Visual Studio 2005. This app requires a login that get that accesses SQL Express Data. I have an XP Pro box set up as a server using DSL Modem and connected to that is a Wireless hub. I used Network Wizard to set up a Home/Small Business Network on all the computers. My laptop has XP Pro and has Visual Studio and that's where I wrote the application. It's connect to the wirless hub with a cat 5 cable. The other laptop has XP Home Edition and is in another room is connected with wirless only. I set up a user called user1 in SQLExpress with a password. I set it up using MIXED MODE. (SQL server and Windows authentication mode) Connection String: myCn.ConnectionString = "Provider=SQLOLEDB;Data Sou ...Show All

  • .NET Development ODBCCommand.ExecuteReader causes application to unload

    Hi I have found the weirdest thing. We have a requrement to connect to a Scada Experion data source to extract data. We currently use a VB6 app and have just started porting it to dot net. We are using the ODBCConnection class to read in the data. Establishing the connection is very expensive so we currently hold it open, using the same connection to access the database every 60 seconds for days or weeks on end. When the app detects a connection failure, it closes the connection and creates a new one. We have tried to replicate this functionality in Dot Net. We wrote a provider class that creates, monitors and maintains the connection. Utilising Connection Pooling, which has to be enabled at the driver level, is not an option due to ...Show All

  • Software Development for Windows Vista Why do WF and WPF have different DependencyObject classes?

    I was surprised that the Workflow and Presentation Foundation frameworks each have their own DependencyObject- and related classes. I was expecting that in the final bits the dependency object functionality would be represented by one unified set of classes. What drove Workflow to define its own set of classes in System.Workflow.ComponentModel, rather than using the classes in System.Windows Thanks, Glenn Burnside Thanks,Tom. That's pretty much what I suspected happened, but I was really hoping there was some solid technical reason instead. Any chance of seeing a unified set of classes in the Framework 3.5 timeframe Thanks, Glenn Burnside ...Show All

  • Visual C++ Function try blocks result in compiler wackiness?

    I have some code that uses function try blocks, but VS C++ 2005 apparently is ill-equipped to deal with these. An older KB article, Q241706 - http://support.microsoft.com/kb/241706/ - indicates that this was a problem with some previous versions of VS C++, but further web searching leads me to believe that this was supposed to be fixed for 2005. Can we look forward to a fix for this problem soon Thanks, Barry if you give semicolon ; after the catch block, it seems to compile fine ...Show All

©2008 Software Development Network