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

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

Sniper167

Member List

dbdog
Caesar Samsi - MSFT
PrashG
Nick Winters
Sledgehammer
Learning VB
Roopesh Kumar
K.Kong
RodYager
Krzysztof256
Paulortrick
Marek Istvanek
Peter Haik
AzurianArcher
StriderIRL
GWW2007
TinSoldier
Bill Reiss
Raymundo Chapa94595
Melissa H.
Only Title

Sniper167's Q&A profile

  • Software Development for Windows Vista Where are Common Control Balloons

    I have been trying to track down information on the new Balloon Common Controls but have so far only managed to fine the Vista guidlines on using Balloon Controls or the Common Controls Balloons info which just says it has not been written. Is there anywhere I can find information on the Balloon Common Control interface Thanks in advance, and appologies if this is a stupid question, but I have looked everywhere and found nothing!! I searched all the SDK header files and the only thing added in Vista was some large icon styles for the tool-tip notification balloons (also usable with EM_ balloons). I also looked at the shell COM interfaces, and saw nothing obvious. So I don't think there was anything speci ...Show All

  • Visual Studio 2008 (Pre-release) How to create AppBar without SHAppBarMessage?

    Hi all, I am currently developing a "Windows Application" project. I need to create an Application Desktop ToolBar (AppBar) with WPF (using C#) without using the System API (to be more precise, without importing SHAppBarMessage API). Is It possible And, if so, how Thanks in advance, Null May be, it can help: http://www.sellsbrothers.com/tools/genghis/ In this library there is a component to create AppBar in managed code. My best regards, OldDino ...Show All

  • .NET Development Update using SQL Exp not working

    Hi I'm trying to update a database (sql express) with values, using a stored procedure and parameters (a fairly simple and straight forward request, or you'd think so!). Code to create parameters, etc set connection sproc //get provider name static string providerName = ConfigurationManager .ConnectionStrings[ "Dolphin.Properties.Settings.ConnectionString" ].ProviderName; //create instance of fatcory static DbProviderFactory factory = DbProviderFactories .GetFactory(providerName); //get connection string static string connectionString = ConfigurationManager .ConnectionStrings[ "Dolphin.Properties.Settings.ConnectionString" ].ConnectionString; public static bool Upda ...Show All

  • SQL Server views & outer joins

    I'm having problems with queries that use a view in an outer join. It's just sits there and grinds. Below is some queries to illustrate. SELECT EvalID,RecIndex FROM dbo.vCurrentEvalInfo Executed in 1 second in SQL Query Analyzer Returns 29,820 Rows ---- SELECT RecIndex FROM dbo.tblCNAKeyInformation Executed in 1 second in SQL Query Analyzer Returns 47,978 Rows ---- SELECT C.RecIndex, E.EvalID FROM dbo.tblCNAKeyInformation C LEFT OUTER JOIN dbo.vCurrentEvalInfo E ON C.RecIndex=E.RecIndex Executed in 1 second in SQL Query Analyzer Returns 47,978 Rows ---- SELECT C.RecIndex, E.EvalID, E.DATE_COMP, E.EvalDate, E.EvalCode, E.EvalResults FROM dbo.tblCNAKeyInformation C LEFT OUTER JOIN dbo.vCurrentEvalInfo E ON C.RecIndex=E ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA v. DirectX

    I know this has been asked before, but my question is a little more narrow. I want to go into the game industry, and I'm currently programming in what I understand to be the industry standard--DX in C++. XNA seems to be a higher level abstraction of DX, which makes me skeptical that it's more limited, or more for hobbyists. Would learning XNA be a waste of time if I already program in DX I believe XNA operates on a layer directly above the hardware. While DirectX gives you what it says... Direct access to hardware resources. And I do believe XNA operates off of DirectX too. So when you use XNA, it really uses DirectX. I can't say I know this stuff, but that's what I guess. ...Show All

  • SQL Server DDL Triggers

    I know that DDL_LOGIN_EVENTS is the same as CREATE LOGIN, ALTER LOGIN and DROP LOGIN combined but where is this documented I have some code here ( http://sqlservercode.blogspot.com/2006/08/ddl-trigger-events-revisited.html ) that basically shows that you can combine events But where is this info in BOL For example if I do this: create a trigger and I use DDL_VIEW_EVENTS CREATE TRIGGER ddlTestEvents ON DATABASE FOR DDL_VIEW_EVENTS AS PRINT 'You must disable Trigger "ddlTestEvents" to drop, create or alter Views!' ROLLBACK ; GO After that I would check the sys.triggers and sys.trigger_events views to see what was inserted SELECT name,te.type,te.type_desc FROM sys.triggers t JOIN sys.trigger_events te on t. obje ...Show All

  • Visual Basic Terminate program from nested function

    Hi, I'm writing a .dll. I'd like to know how to stop all the code running from anywhere in the solution. For example: -A class of the .dll is called from an .exe. -Function A is called from the main sub. -Function A calls Function B. -Function B calls Function C. -I need to terminate all the running code from Function C with a simple method/function. Is there an easy way to do this Sometimes it gets very long to propagate error handling back tho the main sub when deep into functions. I hope I explained it clearly. JakkyTchong So how would one go about terminating the application entirely I have an error handling routine that informs a user that an error has occurred and gives them the option to terminat ...Show All

  • Smart Device Development Register a dll on windows ce

    I use a com dll with my project on windows ce but I must register it.I try to do this with adding cab project to my project and I add the dll to the cab for registration but it didn't work it can not register it. And I didn't find the regsrvce.exe file on my system to register the dll. Is there any way to register the dll on windows ce. I'm having a simlar issue. I have written a managed ActiveX control in C# (Compact Fx 2.0) and would like to register it on a smart device. I would then like to use that activex control in internet explorer. So far I have tried created a smart device cab project and added the output of my activex control project, copied the install to the device, ran it. But ...Show All

  • Visual Studio Team System update some files

    Hello, I would wish to update some files between two branche with API TFS Thank you Ok I have two developers (Dev1 and Dev2). I have two branches (BRANCH1 and BRANCH2). When Dev1 does one check-in, I list the files to modify (Files1.cs, Files2.cs). When Dev2 does one check-in, I also list the files to modify (Files3.cs, Files4.cs). I would wish to be able to update on BRANCH1 only the files (Files2.cs, Files3.cs) which were modified on BRANCH2. Thank you ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where is the download?

    It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D I imagine when they said the 30th, they probably meant some time during business hours... ...Show All

  • SQL Server Replicate column to subscriber - even it if is unchanged in UPDATE statement

    Set publisher database table column to 1. Replicate table to subscriber (column is also 1 on subscriber once it is replicated). Set subscriber database column to 2. Update publisher database column to 1 (even though it is already 1). Change is NOT replicated to subscriber (it stays at 2). This means that replication is comparing the insert statement to its current value in the database. Is there any way to change this behavior We want the the column to replicate to the subscriber. Thanks Peng...XCALL works for what I want to do. Now, I have another problem which I will post a new thread for: Changing Article Properties without a new Snapshot. Linda ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Diamond Digger (BoulderDash Clone, with source)

    Hey everyone, So here's my second game, a boulder dash clone that features 5 levels, 1 enemy type and a top 5 highscore. Screenshot #1 Screenshot #2 Download Diamond Digger I loved BolderDash, what a great blast from the past thanks for making this clone! --- Glen http://www.zenfar.com ...Show All

  • .NET Development XML,XSLT and ASP.net

    Hi, I need to render the XML document in a ASPX page, using XSLT. I am not able to handle multiple if conditions in the xslt file. I have rendered the choice as a dropdown in the XSLT. But I should place a condition, on the value 'Yes' in the dropdown, the checkbox and the label should appear.. This is my XSLT file. <xsl:choose> <xsl:when test="$choice='Yes'"> <xsl:for-each select="question/choice/question"> <xsl:if test="@type='lbl'"> <asp:Label Cssclass="styletextsublabel1" runat="server"><xsl:value-of select="@value"></xsl:value-of></asp:Label> </xsl:if> </xsl:for-each> <xsl:if test="@type='checkbox'"> <asp:Checkbox runat="server" Cssclass="stylepadding"> <x ...Show All

  • .NET Development Must declare Scalar variable

    Hi, I am using Vb.net with Sql and have the following error. Must declare Scalar variable "@ScoreDate" am going to try the data reader now to see if that fixes it but would like to know why the Datatable does not work I have looked at other Forums for the same error but have not found anything similar. Please Help This is my current code: Dim dt As New DataTable( "Scores" ) Private Sub ScoresForm_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load GetValues() End Sub Private Sub GetValues() Dim cn As New SqlClient.SqlConnection() Try Dim da As SqlDataAdapter Dim cmd As New SqlCommand() cn.Connecti ...Show All

  • Visual Studio 2008 (Pre-release) WCF-P2P, detail control, How?

    Here , a very good WCF p2p application sample for beginners. I want to modify the code to obtain more functions, I want to make it like "MS Messenger", with friend list, share picture only with my friends, search somebody online... But I'm a very beginner of WCF, following problems puzzled me very much, could anybody give me some advice Q1: How to connect to people only I want Not all users online. Maybe, how to control the WCF P2P connection flow Q2: How to find somebody online only I want Q3: How to send message to only one user within all connected users Presume every user(peer) has a exclusive ID(for example: hotmail account, not PNRP ID), and the ID information will be published when peer is online. ...Show All

©2008 Software Development Network