Vinko's Q&A profile
Visual Studio Team System TFS Beta 3 Refresh: Upgrade to Final Questions
We are about finished with our benchmarking phase and close to being ready to use TFS on a real project. We are thinking about installing TFS Beta 3 Refresh on a production server. Since .NET 2.0, VS 2005 and SQL Server 2005 and SharePoint are all released products the only beta software would be TF Server itself. What do folks think Would it be foolish to install on a production server or relati ...Show All
SQL Server Create schemas programatically.
Hello, I need a column of type XML but I need to construct the XML at runt time in my asp.net application. I would like to create first an XML schema to be validated all the data that is going to be inserted in that column. Can u provide me information in how to make this. Thanks. Hi, It's not clear to me what you want to do. The title of your post suggests the schema should be created at run-time but I see nothi ...Show All
Smart Device Development Can't display a string correctly (POCKETPC 2003 - mbstowcs - SendMessage)
Hello, I'm basically trying to display a text in a window. I'm using VC8 and I'm building for PPC2003 & Windows Mobile 5. I use a method that does something like: Write(const char* text) { LPTSTR lpBuffer = new TCHAR[strlen(text) + 1]; mbstowcs((wchar_t *)lpBuffer, text, strlen(text)); lpBuffer[strlen(text)] = '\0'; int nIndex; nIndex = GetWindowTextLength(m_hEdit); SendMessage(m_hEdit, EM_SETSEL, nIndex, nIndex+strlen ...Show All
Visual C++ About Power Save Function
Hi, I would like to write a function for system power save after all job was done. I use "SetSystemPowerState" to do it, but the result is nothing to do. A part of coding as below: void CvcStandbyDlg::OnBnClickedOk() { BOOL result; char errs[20]; result = SetSystemPowerState(TRUE, TRUE) ; if (result) OnOK(); else { _itot(GetLastError(), errs, 10); CWnd::Messag ...Show All
.NET Development packet sniffing
hi everybody, I'm new to socket programming as well as .net. I'm developing a network monitoring application in vb.net and i need to sniff packets on the network.I got suggestions to use raw sockets. Somebody please explain me on how to use raw sockets for packet sniffing. thank you. The only other method would be to look at creating a Winsock Layered Service provider. That said, LSPs are not gauranteed to see ...Show All
Software Development for Windows Vista Problem: Install Vista 5308 on Virtual PC?
I need to install Vista on a Virtual PC to test installation and running of some current apps I've developed. When I try to install Vista, it boots from the DVD I provide but when I "Install Now (->)", I get an error dialog box: I'm having the same problem, although with a different error message. In my case, it keeps saying that it can't find an accessible hard disk to write temp installation files to. I searched Microsoft ...Show All
Visual Studio Team System Testing Smart Client Applications.
Hello all Our company develops smart client applications. For the past year we've been using VSTS from its early Betas to now the 180 day Trial. I've been looking at the testing capabilities of VSTS and we've created a bunch of Unit tests, Manual Tests, Ordered Test(of only unit tests) and that's it. Because we do not have a web application, we can't really use the Load Test and the Web Test. The only workaround for us would be to crea ...Show All
Architecture Design Patterns
What is the usage of common GoF design patterns in daily coding I ask this because as a developer I'm constantly trying to improve both my code and my overall design, to create software that's easy to maintain and easy to extend--- hopefully easy to change without effecting the 'client' aspect through the use of interfaces etc--- Is there a more straight forward application of certain design patterns For example, does anyone sit down and actu ...Show All
Visual Studio Team System MSN Messenger integration?
Hi, I have seen several demos from Microsoft events where when a work item is changed, a build produced or an item checked in a MSN message is sent to a team member as well as an email. Can anyone point me to some sample code for this please. Also code for sending messages via Office communicator would be most welcome. Many thanks, David You can use the MSN Alerts service, to publish notifications to users that have opted into receiving via ...Show All
SQL Server loading to SQL Server
What is the fastest way I can load data into SQL SErver -- it seems to me it's with Bulk Copy and minimal logging. But that seems very slow when I look at Orace's Data Pump and DB2's LOADer. Does SSIS help here -- from what I can tell, you help me tons and tons on the ET part, but the L is what I'm wondering about... Never heard of this - is this a 3rd party tool What does it do and how does it do it ...Show All
Visual Studio Team System Beta 3 Setup Error: Windows SharePoint Services is not configured as recommended by Team Foundation Server
I am trying to install Team Foundation Server Beta 3 as single server installation and installed all required software components. However, during the installation, it gives me "Windows SharePoint Services is not configured as recommended by Team Foundation Server" error under "Recommened Components" dialog box. I exactly have followed an instruction specified in setup guide for Team Foundation Server Beta 3 for SharePoint services installation. ...Show All
SQL Server SSIS Inport Wizard does not import dates...is this a bug?
I have an Excel file with 52000 records. One of the columns is a date column d-mmm-yy. This column is NULL-able. Approximately 12,000 records have a value on this column. I started the wizard, and it happens to be that the first record containing a date on this column is record 11,012. However, the wizar imports NONE of the values, and the column shows NULL in all records. Now, if I sort first the data in the Excel spreadsheet so that ...Show All
Visual Studio Team System Workspaces are broken
I created a team project, created a distributed app in that project and checked it in. I then created another team project, created a native C++ app in that project and checked it in. Doing the above broke Team Build since both projects were associated with a single source control workspace. So I created a second workspace for the second project, and created a mapping in that workspace between the source control branch and working folder ...Show All
SQL Server sql2005:Cannot use SAVE TRANSACTION within a distributed transaction
Error returned when trying to commit the transaction to a database that is a replication distributor. (sql2005 ctp16) the error I am seeing: Msg 627, Level 16, State 0, Procedure sp_MSmerge_altertable, Line 305 Cannot use SAVE TRANSACTION within a distributed transaction. Anyone encounter transaction problem with replication Thanks. Do you have remote proc trans enabled on your server exec sp_c ...Show All
Visual J# java.util.Calendar.getInstance() fails on Windows 2003
Calling java.util.Calendar.getInstance() on Windows 2003 produces the following exception below... java.lang.NullPointerException: Object reference not set to an instance of an object. at java.util.GregorianCalendar.__dateToTime() at java.util.GregorianCalendar.computeTime() at java.util.Calendar.getTimeInMillis() at java.util.GregorianCalendar.__initialize() at java.util.GregorianCalendar.<init>(TimeZone zone, Locale aLocale) at ...Show All
