Software Development Network Logo
  • Visual C#
  • Visual Basic
  • Game Technologies
  • Visual C++
  • VS Team System
  • Visual J#
  • VS Express Editions
  • Architecture
  • Microsoft ISV
  • Visual Studio
  • Windows Vista
  • Smart Device
  • Visual FoxPro
  • Windows Forms
  • .NET Development

Software Development Network >> Nick P.'s Q&A profile

Nick P.

Member List

ibmTom
om corp mangere
Arjan Ligthart
rlcowan
amygal
RamaGudimetla
Erno Vuori
Eddy Fuchs
Shawn-Peter
Jordi Valldaura Riqué
Omar Abid
Fadi Toutayo
E.Geg
Nickolas Hook
rtconsultant
Castro
W-i-s-e_G-u-y
Drudkh
Sean Perkin
Håkan B
Only Title

Nick P.'s Q&A profile

  • Visual Studio Team System Unable to access Team Foundation Server after Domain Migration

    Hi, Initially, we were able to connect to the Team Foundation Server and access Work Items as well as the Source Code, as 'Contributors', but after we were migrated to a diffferent trusted Domain, we have got the following error, whenever trying to access the Foundation Server: "TF26000: Could not connect to the Team Foundation Server. Check that you have a network connection and that your Team Foundation server is available." Now, we can only access Work Items or the Source Code as 'Administrators'. Can anyone provide a solution Thanks in advance. Ravindra N. It looks like ...Show All

  • Windows Forms How to insert a row between two rows in a Datagridview

    Hi there!. Im trying to insert a row between two rows in an attemp to get some expanded datasheet style. The datagrid view is data bound and a message is displayed "data bound grids doesnt allow rows.add command"  Is there any way to do this Oh Oh. Please dont tell me that i have to populate the grid to make it data unbound. I would like the grid to be able to modify the database and this could be very complicated if i do an unbound datagrid. Thank you very much When the DataGridView is databound any additions/inserts/deletes to rows has to be done at the datasource level, so you'll have to perform the insert to your datasou ...Show All

  • Visual C++ How to read the last line of a file in Managed C++

    Hi, well this is a very stupid question but I can't find the efficient way. I need to read the last line of a very very large file. So, I don't want to open it and loop through all the lines but I need another way. Help, please, anyone can post a code snippet Try to use: FileStream::Seek( Offset, SeekOrigin::End ) FileStream^ fs = gcnew FileStream( "path", FileMode::Open ); fs->Seek( -4,  SeekOrigin::End ); This the file pointer to the last 4 bytes from the end back of the file. Bye Martin ...Show All

  • Windows Forms Windows form demostration.

    Hi All, I use java for most of the time, and i want to get to know something more about making a windows application. In sun's jdk, it always comes with a Demo called SwingSet, which demonstrates most of the visual componets of java. I wonder if there is some simular thing available for .net's windows form. Thank you. Ther you go http://www.windowsforms.net/Default.aspx tabindex=8&tabid=3 Remco ...Show All

  • Visual Studio Single Sign-On / OS Authentication

    Hello all, I have both VS2005 and Crystal Reports Developer XI Release 2 installed (so I have the v11.5 CrystalDecisions dll files in my GAC) and I am trying to create a web page that impersonates the currently logged-in user and runs a Crystal Report against an Oracle DB. (btw, does the new single sign-on feature in CR XI only work against an MS SQL Server DB I have only seen examples referring to SQL Server.) Anyway, I have already verified that I can run queries against my Oracle DB as the currently authenticated user (using the WindowsImpersonationContext class). I then created a simple report and selected "OS Authentication ...Show All

  • .NET Development NegotiateStream problem?

    I have this code where I would like to authenticate before starting to accept communications from a client. After I add the authentication code, I stop getting the actual data. Here is the code. What is wrong using System; using System.Net; using System.Net.Sockets; using System.Net.Security; using System.Text; using System.Threading; namespace TestApp { class Class1 { [ STAThread ] static void Main( string [] args) { try { ThreadStart threadStart = new ThreadStart(StartServer); Thread processThread = new Thread (threadStart); processThread.Start(); ClientTest(); ...Show All

  • SQL Server SSIS Tutorial – Problem with Error Redirection (Lesson 5)

    Platform: Win Server 2003 Enterprise Edition SSIS Version: 9.00.1187.00   I’ve been working my way through the SSIS tutorials and have noticed a problem when trying to redirect Error Output in lesson 5 “Adding Error Flow Redirection”.   Having configured the redirection to the ErrorOutput.txt file and running the package, when I went to view the contents of the file, it was empty.   I then removed all but the Currency_BAD.txt data file and re-ran the package. This time the file contained the error row.   Next I returned the other data files, but introduced an error row in the Currency_VEB.txt data ...Show All

  • .NET Development How to run a standalone application independly from any DLL files

    I developed an application under Visual Studio C#. However, the EXE file was unable to run in a PC without .Net environment, which is short of those relevant .DLL files. Can I build up a C# application running independently from DLL files Hi, Since Windows 2003 was released. It was bundled with the .net framework (1.1). So I guess microsoft is now bundling its framework into the OS. So this wouldn't be a big issue on deploying .net apps...     cheers, Paul June A. Domag ...Show All

  • Visual Studio Team System Can't Install Team Foundation Server

    When I attempt to install Team Foundation Server (I've tried both single-server and dual-server install) I get to a dialog which has only one option on it - Uninstall. Huh I've never had TFS installed on this machine to begin with! I even humored it by running the uninstall, but this didn't help at all. On the next installation attempt I still come to the same impasse. The installer only offers the option to uninstall. Any idea what might be wrong Thanks for any advice which you can offer! Here's my server configuration: Windows 2003 Server SP1 Sharepoint Services 2.0 SQL Server 2005 CTP Version Info:    Microsoft SQL Server Manage ...Show All

  • SQL Server SQL Server 2005 won't install

    I have followed the steps on this page but keep getting this message. SQL Server 2005 CTP Setup has detected incompatible beta componens from Visual Studio or SQL Server. You must run the build cleanup wizard from the CD to remove previous SQL Server 2005 components, and then run SQL Server 2005 CTP Setup again. For detailed instructions on uninstalling SQL Server builds, see the SQL Server 2005 CTP readme file. Any assistance would be appreciated... Thanks Absolutely genious. I was going nuts after SQL server not getting installed. Thanks to the solution it worked for me too. Thanks ...Show All

  • SQL Server display msgbox in browser

    hi.. i have the following embedded code in my rdl file.. Function validateDate (ByVal startDt as datetime, ByVal endDt as datetime) if (startDt > endDt) System.Windows.Forms.MessageBox.Show("Date Range From must be earlier or the same as Date Range To") End if End function this code works in VS IDE but the msgbox would not appear when view using a browser... how can i get the msgbox to appear when view using a browser thanksss Code execution will happen at the server, not at the client. Client only receives the output of the renderer. The MessageBox might be showing up ...Show All

  • Visual C++ Selecting Items in a View

    Hi all, i have created an MFC application which currently works fine, what i am trying to do is make sections of the view clickable, so that the user can click and it will update the view with some information. does anyone know if this is possible and how i can implement it thanks for the help Martin (noobie) :) OK - if you're drawing it yourself, create an array of co-ordinates for each item, probably a map that associates it with an id for the item to pop up, then check your mouse position in on click against those co-ordinates. ...Show All

  • Windows Forms User Control Property of Point Array

    I have a user control which has a property that is an array/collection of points I am trying to add some default values to a number of points using the DefaultValue decoration from the ComponentModel e.g. Imports System.ComponentModel Public Class HomewarePolygon     Inherits UserControl     Private _NodeArray() As Point     <Category("Appearance"), DefaultValue( GetType (Point()), "{ New System.Drawing.Point(10, 10), New System.Drawing.Point(10, 100), New System.Drawing.Point(100, 100), New System.Drawing.Point(100, 10)}"), Description("Gets or Sets the nodes of the polygon.")> ...Show All

  • Windows Forms Datagrid INSERT problem & table with Autonumber

    Hello, I have a datagrid that displays data from the Access table with primary key set as Autonumber. Update and delete functionalities work fine, but when i'm trying to add a new record and than save changes - it fails. Here is the code: ' *** bind datagrid m_con = New OleDbConnection() m_con.ConnectionString = CONN_STRING m_SQL = "SELECT * FROM Users ORDER BY  ...Show All

  • Visual C++ cl : Command line error D8000 : UNKNOWN COMMAND-LINE ERROR

    I am having problem with a response file that contains a /Zm192 command in VC++ 2005 RC.  The compiler command line includes @responsefile and the content of the file contains only /Zm192.  This worked fine if VC++ 2003.  Does anyone have any ideas what is causing this Thanks It was still required for me in VC++ 2003.  I've not tried to remove it for VC++ 2005.  Have changes been made between these versions to warrant its removal   I have a large, complex application to build. ...Show All

©2008 Software Development Network