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

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

nrasinec

Member List

Evan Hennis
William Bartholomew
Jiri Hendrych
MeAndYou
FernandoLeite
JohnACE
Stephen Turner
Helen Cool Granny
Gravy
Helen999888
HSBF Lewe
Claire Salvail
logtorahul
SweptSquash
curiousNovice
Zero_
PhilAustin
Rudgr
cometta
Ted.
Only Title

nrasinec's Q&A profile

  • Visual Studio 2008 (Pre-release) Application Desktop ToolBar with WPF

    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 thank you OldDino, the AppBar in Genghis is created in managed code, but is written in .Net 2.0 and we want to use WPF Massimiliano ...Show All

  • Visual Basic VB Generics: if list.Exists("Foo")

    I love generics but I don't understand them very well and can't find an answer that makes any sense to me. Perhaps someone can help. I understand dim l as List(Of String) and l.Add("One") l.Add("Two") l.Add("Three") but I don't get if l.Exists("Foo") then l is a list of String, and apparently I need to define a delegate that returns true/false if the param exists in the list. Have to use AddressOf to tell Exists what to call when it's invoked. All that sorta makes sense. However, I'm very unclear on what the delegate should look like MSDN shows a hard coded "saurus", but that makes no sense to me - it seems like I ought to walk the list somehow, and I'm assumi ...Show All

  • Visual Studio Team System Team Build result not showing in the Builds Report

    i have stopped getting new entries in my reports, even though they appear in the list of builds. I've only added a task to create a directory & make a dummy exec call to do a "dir"... Build still succeeds... The warehouse gets updated on a timer. You can manually kick it or change the interval ( http://blogs.msdn.com/echarran/archive/2006/04/26/584152.aspx ). Here's a post on creating custom build numbers: http://blogs.msdn.com/manishagarwal/archive/2005/07/13/438077.aspx Buck ...Show All

  • SQL Server Modifying Triggers in Managment Studio Express

    I have a database with an update trigger, which shows up under the Triggers object in the database tree. When I modify the item and try to save it it prompts me for a disk location to save the query. I then reopen the item on the db tree, and it shows the old code. What am I doing wrong Mike ...Show All

  • Visual C++ Class derived from abstract class with static members

    hi, i derive my class from the abstract Stream class. my class contains static members. one of them makes use of a static variable member, where an error is generated at compile time (C2259: cannot instantiate abstract class). of course this is due to the fact, that the static instance of the class is created at the first time, a static member is accessed. why is the restriction, that no objects can be created from abstract classes, also true for the static instance is there a way of get around this thanks! hi, thanks for your reply! the compiler stops at the red marked line ("error C2259: 'D2XX': cannot instantiate abstract class"): public ref class D2XX : public Stream { protected: ...Show All

  • Visual Studio Express Editions Changing Label.text on MDI Child from another form

    Hi all. Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.IsMdiContainer = True ToolStripButton1.DisplayStyle = ToolStripItemDisplayStyle.ImageAndText End Sub Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton1.Click Dim NewMDIChild As New Form2() 'Set the Parent Form of the Child window. NewMDIChild.MdiParent = Me 'Display the new form. NewMDIChild.Show() End Sub End Class --- Public Class Form2 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Form3.Show() End Sub End Class --- Publ ...Show All

  • Visual C# Debugging a process which won't shut down

    Hi there DotNetters Forgive me for the vague description, but here is my situation: I have a third party component I'm calling into which causes my application to hang once its shut down. Basically when I call into this component at a certain point in my code and then shut down my app later the app "appears" to shut down but actually hangs around in memory running in the background. (Killing the process from the process explorer does work). The tricky part is that if I call into the third party component from other sections in my code I don't have the issue (of course other problems permit me from calling it from the "safe" areas). So here's my question, realizing that it's difficult to get a handle on this without actu ...Show All

  • SQL Server An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue

    Hi Guys, Can anyone help me with this error An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Protocol error in TDS stream". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Protocol error in TDS stream". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Protocol error in TDS stream". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Communication link failure". An OLE DB record is available. Source ...Show All

  • SQL Server Retrieving SQL data from VC++(using VC++ 2005)

    Hi to all, I made a database using SQL Server 2005 and now I want to interact with that database through VC++ 2005. Is that possible If so, how can I do it Thanks in advance!!! Try starting here: http://msdn2.microsoft.com/en-us/library/ms166342.aspx Buck Woody http://www.buckwoody.com ...Show All

  • Visual Studio Team System Filename Collision nightmare

    Here's my situation: Trunk |__ Branch A |__Branch B Branch A was baseless merged in to B Branch A was merged into trunk. Trunk was merged into B resulting in hundreds of filename collisions because the files were created from Branch A via baselss merge and then when merged in via the trunk, TFS doesn't recognize them as the same file and so now my only option when checking in the file is to undo local changes or ignore, neither of which is what I want to happen. I want the changes from the trunk to establish the merge relationship of those files that were baseless merged in from A. However, the only way I can see to do this is to undo the changes on each file force a baseless merge from trunk to B, then resolve the conflict.. ...Show All

  • .NET Development Ports

    How to determine remote computer specific port is open or closed Thanks MS Student wrote: How to determine remote computer specific port is open or closed Thanks Ahh Sorry I just Saw your question again you need to know about the specific port not to get all opened/closed ports! Simply Try to make a connection to that port using Socket class if connection is established it means that is opened otherwise it'll raise an exception that means it was closed! There may exist a better way but I dont know! Sorry! Best Regards, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Error in SpriteBatch.Draw() call with SpriteSortMode enum

    Hi all. I wrote a simple program using XNA to test the differences of SpriteSortMode.BackToFront and SpriteSortMode.FrontToBack options. I created two Texture2Ds and call SpriteBatch.Draw() method and feed it with SpriteSortMode.BackToFront, the program run well. But every time I call SpriteBatch.Draw() with SpriteSortMode.FrontToBack, the program threw an unhandled exception called NotSupportedException with the message "Specified method is not supported." Is this an error in XNA framework, or had I made some mistake in my code Please help me. Here is my code: #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework. ...Show All

  • SQL Server Varying parameter size..?

    Hello, I want to write a function that takes varying number of parameters.I mean: Fonk(4,5,7) Fonk(2) Fonk(6,6,6,8) There is a way to do this in T-SQL Thanks in advance... Hi, if this is an array of values passe to the function you should consider to pass the values as a string and a function to split the values to a table like done in: http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=320221&SiteID=17 If they are indepedent parameters which are not just a value collection you can’t do it. TSQL does not allow writing function with different signatures. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms identifying all child object's state?

    Hi, I have developed a Business Logic Layer for my Forms Application. For all classes, there is 2 properties 'isPersisted' and 'isModified'. These properties allow the application to know when to Insert, or Update an object's data to the underlying DB. i.e. IF 'isPersisted' = False and 'isModified' = True then we insert. OR  IF 'isPersisted' = True and 'isModified' = True then we update. i.e. in my Logic 'isPersisted' is True when the object has related data which exists in the DB, whilst 'isModified' means that the object's properties have been changed and will require either updating or inserting, depending on the state of the 'isPersisted' object. I have a Base Class which all my classes ...Show All

  • .NET Development ADO.NET2.0-SqlConnection,SqlCommand and DataReader used in VBExpress:Unable to cast object of type 'System.Decimal' to Strin

    Hi all, In my SQL Server Management Studio Express, I have a database "ssmsExpressDB" with a table "Table-dbo.LabTests" that has the following columns:         ID(Int)   AnalyteID(Int)  AnalyteName(nvarchar)  CasNumber(nvarchar)  Result(decimal) Unit(nvarchar) LabQualier(nvarchar)..... I created a project in Visual Basic 2005 Express and had the following code: ////////--Form1.vb---////////// mports System.Data Imports System.Data.SqlClient Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim mySqlConnection As SqlConnection Dim mySqlCommand As ...Show All

©2008 Software Development Network