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

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

rusty_dev

Member List

Chris McLeod
_brg_
h1
Pockey
Vaish
drazvan
gibic
newguyintown
Alex-MyRpg
Bradrover
IceAngel89
TianHon
enric vives
RAYMOND KNIGHT
Bartosz
BobInVermont
Gili
AndrewBadera
Alex1st
busternelson
Only Title

rusty_dev's Q&A profile

  • Visual Studio Express Editions Form applications and console output

    Hi all, I just discovered that I'm not able to print anything on console from a project created as Win Form application. No printf(), no cout<<, neither Console::Write() works. The program is launched from a cmd.exe window and works, but some messages printed on the console never appear. Should I have to change some project settings Thanx Have a look at the Win32 API AttachConsole. You should find samples in MSDN and I bet there are some to google or search.live for. -- SvenC ...Show All

  • Visual Studio Team System Team Explorer - red cross on "documents"-folder

    Since installation of TFS I am unable to see the content of the documents-folder (teamexplorer) on a client-machine. There is always a red cross on the folder! If I start the team explorer on the server the documents folder is shown correctly. I tried to copy the http-url ( http://[servername]/sites/[Project ]) to an IE on a client and there the sharepoint site is shown without any problems. I did the changes required after installation of Sharepoint Portal Services SP2 ( http://blogs.msdn.com/robcaron/archive/2005/10/07/478336.aspx ). I think I also configured the users like mentioned in the install guide (TFSInstall-v50926.chm - Managing Security Roles for Team Foundation Server). Did anyone have a suggestion how to fix it ...Show All

  • .NET Development String

    If I were to do this. public class myclass { //Is this better private string mymember; //or this better private string mymember = null; public void mymethod() { mymember = "string1"; } } What is the difference between the two way of initilizing the string variable. Because String is immutable does the first method create two instances of the String variable the second just one What is the recommended way of initlizing private variable that are assigned in once place in the class and used everywhere else Alex Wayne wrote: //Is this better private string mymember; //or this better private string mymember = null; What Mike is trying to tell you Alex is that in ...Show All

  • Visual Basic is there a way to modify code in vb.net on the fly when it is running?

    is there a way to modify code in vb.net on the fly when it is running I vb 6 you could hit ctrl break then modify the code then hit F5 and the changes were made. in VB 7 u have to do a recompile after u make the changes for them to take affect. Does anyone know if there is a way to make changes and not recompile the code and have the changes take affect right away. Sharewareisland.com wrote: Yeah, Sorry that does not work for me and i dont think its only my copy of visual studio. Try to add this code MsgBox 2 + 2 then add a break point on the code and then hit f5, change one of the numbers and u still see that after u hit f5 it say displays 4 Hi, That is odd; I can make changes at the brea ...Show All

  • Visual Studio VSS 2005 Crashes When Creating History Report

    My VSS 2005 is crashing when I - Open VSS 2005 Explorer - Navigate to subfolder - Right Click - Select View History - Check "Recursive" - Enter a recent date - Click OK - Click Report - Both Include Details and Differences are checked - Clicking either OK or Preview for any of the choices (printer, file, clipboard) causes a "MS VSS Explorer has encoutnered a problem and needs to close". Button choices are Debug, Send Error Report, Dont' Send. If I click debug, VS opens with a green arrow at the bottom of this method. Unforntuantely I dont know C++, so I dont know any other context to provide BOOL CStatusBar::SetPaneText( int nIndex, LPCTSTR lpszNewText, BOOL bUpdate) { ASSERT_ ...Show All

  • Windows Forms UserControl as Container

    Hi all, Just a quick question and I am sure there is a simple solution but I just haven't found it yet. I know how to make my UserControl a container by using ParentControlDesigner etc. This works fine and I can drag and drop Windows Forms Controls at design time. However, if I add a Panel to my UserControl Class, compile it and then try to drag and drop another control on the Panel, the Panel does not act as a container. So my question is: If I have a UserControl which consist of a single Panel, which is a pretty lame control I know, how can you get the Panel to act as a container at design time Any help in this would be greatly appreciated. Kind Regards AM PS. The UserControl that I have written does not consist of a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Collision Detection

    Ok, i know this has already been posted on but after going through that i still couldn't get it to work. So here's my code and plz tell me what's wrong. Texture2D _paddle1; Texture2D _paddle2; Texture2D _ball; Vector2 _paddle1pos; Vector2 _paddle2pos; Vector2 _ballpos; Vector3 _p1box; Vector3 _p1box2; Vector3 _p2box; Vector3 _p2box2; Vector3 _bbox; Vector3 _bbox2; BoundingBox bb1 = new BoundingBox (); BoundingBox bb2 = new BoundingBox (); BoundingBox bb3 = new BoundingBox (); SpriteBatch spriteBatch; _paddle1pos = new Vector2 (50, 300); _paddle2pos = new Vector2 (1000, 300); _ballpos = new Vector2 (400, 300); _p1box = new Vector3 (_paddle1pos.X, _paddle1pos.Y,0); _p1box2 = new V ...Show All

  • Software Development for Windows Vista Validating a running workflow

    Hi, Is it possible to validate all the activities in the workflow which are in the initialized state Heres the problem description. I have a sequential workflow which has a set of activities. I need to allow dynamic update of this workflow. On adding new activity to this workflow from the host, I need to validate not only the newly added activities but also other existing activities, which have still not been executed. Is it possible to do this -Madhura Just to add to what Tom said, you can also call the Validate method of the WorkflowChanges object prior to calling ApplyWorkflowChanges. This returns a ValidationErrorCollection which allows you to enumerate through any individual validation er ...Show All

  • Visual Studio Team System ReportProcessingException: The Language expression for the report ‘body’ has a user profile dependency.

    Hi, We are trying to configure a subscription to e-mail the "Remaining Work" report daily to a specified email account. We are running the RTM version of TFS and have not modified the RDL's in any way. The Remaining Work report displays fine when accessed via the URL. http://server/Reports/Pages/Report.aspx ItemPath=%2fTFS+Management%2fRemaining+Work The Reporting Service Log (\Program Files\Microsoft SQL Server\MSSQL.3\LogFiles) file shows the following exception when the subscription's scheduled time comes: ReportingServicesService!library!a!08/11/2006-12:02:05:: i INFO: Call to RenderFirst( '/TFS Management/Remaining Work' ) ReportingServicesService!processing!a!08/11/2006-12:02:05:: e ERROR: Throwing Microsoft.Repor ...Show All

  • Windows Forms DataGridView and Update/Insert/Delete data in MS Access

    Hello, I have an application (Windows Forms) that populates a table from an *.mdb file to a DataGridView . Is there any tutorial available which shows how to implement Update/Delete of current data, or Adding(Insert) new data using the DataGridView   Thank you in advaned. Could not find file 'C:\Documents and Settings\Nicholas\My Documents\Visual Studio 2005\Projects\DatabaseProject\DatabaseProject\bin\Debug\datafile.mdb' ...Show All

  • SQL Server Converting milliseconds in hours

    Hi! I have the difference between two dates in milliseconds. I want to convert this difference to the format hh:mm:ss.mmm, without the date. So, if the difference is bigger then one day, I would like to show it like this, for example: 36:25:14.047 How can I do this Thank you! If you want to show the difference between two times in the format, h:m:s:ms, this code will do it.  For the zero padded numbers, I would create a function to accept a number and return a string representation with the specified required number of zeros to pad the number. Chris Winland DECLARE @date1 AS DATETIME , @ms INT , @s INT , @m INT , @h INT , @formatted VARCHAR ( ...Show All

  • Windows Live Developer Forums MS VB Run Time Error 429

    Hello List, I hope you can assist me with a problem I created. I have a problem, I think, due to having an ADCenter.dll assembly out of synch with what is found in the system registry. This is based on the help text for the ActiveX component error, my application is throwing. I had to recreate this .dll and .tlb in order to modify the password hardcoded in the below routine. Private Sub SetAuthCredentials(ByRef pAPI As AdCenterAPI) We integrate the XML response from the web service into a Excel spreadsheet, and I believe that this the problem. The VB project contains a reference to the ADCenter, and is included into our Excel macros. The error is found within the following code block Public Sub MSNRequestReport(ByVal AccountID As Long, ...Show All

  • SQL Server .bak file not fully restored

    I restored a .bak file (to a different server) to find missing a lot of the data I thought it contained (and by the size of the file appears to contain). Is there any other process to acertain the content of the bak file You could view the backup header to ensure which backups have been made to this media. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Audio and Video Development Superimposition filter with MF

    Hi, I've been working for a little time with Media Foundation, trying to implement an application I had once created with DShow. This is a C# form using a wrapper and a filter to play a video file applying a transform. With DShow, I was able to write a filter to write on the video, using a HBITMAP and the m_pinput properties in the CTransformFilter Class. In MF, I'm not able to reproduce the same process like that. So my question is : "Is it possible to write a filter with MF, which would allow to write on the video (using Superimposition) Thanks Hi, Thank you for your answer. I finally found a way to implement my filter. The true hidden question surely was : "Is ther an easy way to do this, as ...Show All

  • Visual Studio Team System Cannot send a content-body with this verb-type

    I had HTTP request with the following in the query string parameters: ProductAllocationIDs =3480 After executing the recorded web test, the request failed. The following was discovered in the details section System.Net.ProtocolViolationException: Cannot send a content-body with this verb-type. at System.Net.HttpWebRequest.CheckProtocol(Boolean onRequestStream) at System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback, Object state) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.Execute(AsyncCallback completionCallback, Object callerState) Has anyone encountered this problem before Tester Is there a form post parameter or a StringHttpBody on the requ ...Show All

©2008 Software Development Network