Christian Sciberras's Q&A profile
Visual Studio Team System SMTP Issues
Hi All, When i try to send mail, i am getting the following error...SMTP server is correct and port was opened from firewall ...and it is listening also...but i couldn't figure out what problem is ..because the same configuration i am using in another TFS, it is working FINE...please help me in this regard. Event Type: Warning Event Source: TFS Services Event Category: None Event ID: 6011 Date: 12/14/2006 Time: 7:44:02 PM User: N/A Computer: <ServerName> Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the adm ...Show All
Visual Studio Team System SQLExpress
Do we really have to have SQL2005 Developer / Enterprise installed to create database projects My poor machine doesn't like SQL2005 Developer, and so I was happy with using my install of SQLExpress. The Standard Edition is not supported. At least it is not supported in CTP6. Only Developer and Enterprise Edition is supported. Amos. ...Show All
Community Chat My creation: Galaxy war (2D game using DirectX)
Hello there. This is my game: Screens: Selecting a map, lets start on Easy Shooting stars in game, fun multiply backgrounds Lets see my score Download game: Galaxy war Official website (for more information) The game saves progress as you advance (the save is encrypted so forget cheating ;) There are multiply backgrounds and multiply ships. The design of the game is so good that the user can create ships himself. It takes about 2 second to add another level on the map, the information is kept in an array inside the program. I have created a version containing songs in the background (the ending background music was set to Back to the Future theme song) but first: It was a .wav file over 30 mb and I still haven't learned how to play m ...Show All
SQL Server Smart Aggregation
I'm having problems implementing the following in reporting services 2005. My hierarchy looks like this (just to illustrate the problem...): University->Student->Exam My query returns the following fields: University,Student,StudentPayment,ExamName,ExamScore I need to create a report that will show the hierarchy and to smartly aggregate the StudentPayment to both the Student and the University levels. The problem is that the StudentPayment field is being multiplied by the number of exams in the upper level aggregation. If only I could set the granularity level of the StudentPayment measurement... Note that I don't have access to the query, so I can't change anything on that front. Thanks, Efi ...Show All
Visual Studio Team System Import scripts not working?
I'm trying to update my db project with changes that have been made in the db, I can do the schema compare using the db as the source and the db project as the target, I can get the change script either in the editor or exported to a file. I then try and import the script into the db project, it goes through the steps, says it's altering my sp, and tells me that the db update was successfull, but if I look at the sp schema in the db project nothing has changed, and it I run the schema compare again it produces the same change script, so the db project it not being updated. I realise that in a perfect world, we would do all the changes in the db project and then generate change scripts to run on the actual db's, however there is alway ...Show All
Windows Forms problem with dates
Hi again people i have this problem with the subtraction of dates used in my program. What i am trying to do is find the difference between two dates in the format of 25.5.2007 for example. The 2 dates are taken from a database and displayed in textboxes. If TextBox1 contains the above date 25.5.2007 and TextBox2 contains (lets say) 27.05.2007 the difference is 2 days but i cannot display this result in a third TextBox. I get an error to do the data type such as "string "25.5.2007" cannot be converted to type Double"" or something similar. I tried with the CDbl thinking that would solve the problem but still no luck. Any suggestions Thanks Hi... I've used th ...Show All
Visual Studio Team System Weird Compare Issue
When I click the "Check-In" button on a TFS SCC project in the source control explorer I get a list if .vspscc and .vssscc file conflicts that occur. When I click on resolve and then click the compare button I get a pop-up window that has the notification icon, 2 buttons but no text at all. Not even on the buttons. What is going on here I installed TFS about 4 days ago. Cheers, Mark Yes it does, constantly, but only when in vs2003. Also when there is a merging confilict and I click to view it in the merge tool, all the buttons like Ok and Cancel have no writing on them at all. Ill try to post a new picture on flickr for this as well Mark ...Show All
Windows Forms ADO Interop problem
I have a project that uses ADO, and which works fine in the development environment. However, when I install on an enduser workstation (same OS), I get the following error message when the app opens.: ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x800A0E7A): Provider cannot be found. It may not be properly installed. at ADODB.ConnectionClass.Open(String ConnectionString, String UserID, String Password, Int32 Options) at ctlorders.Common.GetCount(String strConn, String strSQL) at ctlorders.frmProductionMain.GridView1_FocusedRowChanged(Object sender, FocusedRowChangedEventArgs e) at DevExpress.XtraGrid.Views.Base.ColumnView.RaiseFocusedRowChanged(Int32 prevFocused, Int32 focusedRowHandl ...Show All
Visual Studio Express Editions Lots of things seem to not work!
I have had a number of problems with VB which nobody has been able to solve. Some examples are listed below: 1) File.Encrypt method does not work and generates an error suggesting that my file system is not NTFS. It's properties box states that it is NTFS. 2) I cannot run any program that I publish to work - get an error when I try to run it (even a test program that consistes of a single button which displays a message box when pressed) 3) When dragging a datatable onto a form, the designer sometimes autogenerates code that contains errors and will not compile. 4) I've had problems with bits of code from videos and books that don't work (yes, I've checked and double checked for typos) 5) Strangely, when I post a question to ...Show All
Visual C++ Can you tell me how to convert long to BYTE?
when i upgrading vc6.0 project to vc2005 project it has the following warning: Warning 233 warning C4244: '=' : conversion from 'long' to 'BYTE', possible loss of data e:\ooltip.cpp 1884 the code is as follows: BYTE *iDst ,*posDst; iDst =255*(i%2); //hard Can you tell me how to convert long to BYTE I appreciate your help. What exactly is it you want to do Have a byte pointer to an arbitrary address If so, you can do a cast, like this BYTE* p = reinterpret_cast<BYTE*>(255*(i%2)); I can't quite see what you hope to achieve with this, though, as the pointer will either point to address 0 or 255. ...Show All
Windows Forms Disable the X
Is there anyway that i can disable the X close button but i still want to have maximize and minimize. I just want X to be either gone or X to be grayed out so it can't be used. Why don't you simply change the behaviour of your X button Instead of removing it, assign another function to it (minimize window, message box, ...). Why waste a button private void Form1_FormClosing( object sender, FormClosingEventArgs e) { if (e.CloseReason == CloseReason.UserClosing) { this .WindowState = FormWindowState.Minimized; e.Cancel = true ; } } ...Show All
Visual Basic How would I make a .XML doc like .INI?
Hi. So far, I think I have gotten my form to write .XML with this code... (This is just a test form, I will add it to the real one once I get this figured out) Dim Saved As New Xml.XmlTextWriter( "..\Test.xml" , Nothing ) With Saved .Formatting = Xml.Formatting.Indented .Indentation = 2 .WriteStartDocument() .WriteStartElement( "1stStartElement" ) .WriteStartElement( "2ndStartElement" ) .WriteElementString( "TextBox1_Value" , TextBox1.Text) 'Saves TextBox1's value .WriteElementString( "TextBox2_Value" , TextBox2.Text) 'Saves TextBox2's value .WriteElementString( "TextBox3_Value" , TextBox3.Text) 'Saves TextBox3's value .WriteEndElement() .WriteEndElement() .WriteEndDocument() .Flush() ...Show All
Visual C# How to return and use a value from one method call to another
Here is a rough scratch of my code which is much longer. Just focus on my question here, do not focus on correctness. Question/Problem: how can I pass the JAAlbum.ProductID to me second call to AddNewProduct for "Track" so that I can use its value in the call to AddNewProductRelationship_Album_Track Right now, when I call AddNewProduct(xl, row, host, fileExtWAV, "Track", filePathSourceWAV, fileName, moveFile, sstore), the previous JAA.ProductID is lost but I need it ! foreach loop here { if ((String.Compare(lastAlbumTitle, currentAlbumTitle,true) == 0) || (firstAlbum == 1)) { ...Show All
SQL Server Agent Job logs on using Default User Profile
Hi, I get a strange problem whereby I have set up a Sql Server Agent job to run as a particular user. The job needs to access details from the users local profile. The job fails to access the correct user profile when it logs in, and utilises the 'Default User' profile. This happens for scheduled jobs when the actual user used to run the job as is not logged into the machine where the Sql Server instance lives. If, however, the user IS logged in at the time of job execution, the correct profile is loaded. I can see this happening by simplying executing an OS command that kicks of a batch file with something like the following: echo %USERPROFILE% whoami When the user is logged in I see the results a ...Show All
Internet Explorer Development IE and WinForms Application architecture question
Hi Forum, I'm developing a system composed of the following layers Client Apps (more than likely using AJAX) Interactive Client (interactive access to read-only data (searches) and message posting, will run in kiosk mode) Alert Client (read-only access to data through RSS) Admin Client (full-access) Server (WebService WSDL) Business Objects Database My question is this: Of the following designs, what would be the best implementation for the Interactive Client If you can think of a better one, can you please explain the basic concepts of your arch Consider that the application should have similar form and function as Windows Media Player, Google Desktop and McAfee Security products--to name a couple. P ...Show All
