cuco's Q&A profile
Visual Studio Team System VSP1014 Error during instrumentation
I am trying to profile our C/C++ application and get this error when trying to instrument our largest DLL (12 meg): Error VSP1014 : Code discovery analysis failed during processing image '|2'. Has anyone seen this and know what is wrong Roger Hey Roger, I don't know if I've ever seen that instrumentation error from a customer before. Can you give me a little more infomation about that dll that you are trying to instrument Are you using any unusual APIs or programming methods in it I've contacted the guys who handle instrumention on our team to see if they can help us, but any more info that you ...Show All
SQL Server This is Driving me CRAZY! PLEASE HELP!
Whenever i try to connect to SQL Server 2005 Express June CTP, I get this message: Cannot connect to SQLEXPRESS Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. I get it everywhere, in the Express Manager, in the VB Express Applications, and all the other places. Ive checked the Services explorer in Computer Management, and SQL Server IS working. Same thing in the SQL Management window. Plz help! Btw, how come the buttons on the toolbar dont work Im using Mozilla Firefox. I have simular problem (Timeout expired). I'm using ...Show All
Visual FoxPro i just wanna do it like this
can i do that thank you everyone. To anyone that'd use MultiSelectGrid class. Please use original unmodified version. Period. ...Show All
.NET Development Creating a ASP download page
Hi I’m new to ASP.NET so I’m hopping the following question can be easily answered by you experienced developers out their. I want to create a web service which will initiate a download with the client, the file being sent to the client will depend on a “downloadID” query string that the client post’s to my service. I know how to map this “downloadID” to the specific file to be downloaded, what I don’t know is how to respond to the client with some sort of download initiation. I just need to be pointed in the right direction. Thanks I would suggest looking at WSE 3.0 ...Show All
SQL Server Undesired ROWGUID column
Hello Everyone, I have a situation where I am creating a merge publication on 2 databases using a customers table. When I create the publication it adds a column to the customers table called ROWGUID as a uniqueidentifier column. This is perfectly understandable as the merge needs some way to talk between tables. However, my problem lay in the fact that the Application (Microsoft Retail Management System) that access the Customer table does not react well with this newly created column. Whenever an attempt to create a new customer is made an error will appear: Run-time error '-2147217887 (80040e21)': Multiple-step operation generated errors. ...Show All
SQL Server Linked servers and Windows Authentication
I have seen similar questions, but none of the answers have solved my problem. I have several SQL2000 servers running under Win2003. In the past, we have been using SQL logins, but I have been trying to transition to using Windows Authentication. It has been working great except that sometimes queries using linked servers fail. The linked servers are set up for the connection to use the login's current security context. For testing this problem, I have limited myself to two servers to do this between. My Windows account is defined with sa rights on both servers. I have tried explicitly to impersonate my account, I have told it to ex ...Show All
SQL Server Missing ODBC DriverI ran the check against "MDAC 2.8 SP1 ON WINDOWS XP SP2."
I have a Windows 2000 development server with multiple instance of SQL Server 2000 Dev Edition installed. Recently, i encounter an error on Enterpise Manager. "A connection could not be established to SERVERNAME\INSTANCENAME . Reason : Data source name not found and no default driver specified. Please verify SQL Server is running and check your SQL Server registration properties(by right-clicking on the SERVERNAME\INSTANCENAME node) and try again." I tried to use Query Analyser on the server to connect to instance. And receive this error "Unable to connect to server SERVERNAME\INSTANCENAME: ODBC: Ms ...Show All
Visual Basic Database question....
In my VB 6 app I used an access DB with 77 tables each representing a different company products. They are ALL the same format just different company names for each table. In VS2005 I would like to use just one table and have about 3000 records with the column MFG. Obvioulsy this makes for quick response from the program. Here's the problem.... In the old app I populated a combobox with each table so the user could quickly navigate to the MFG of choice. In VS2005 I am using the BindingNav but there are 3000 plus records to sort through....HOW in heavens name can I populate a combo box with ONE record from each MFG name and keep its ...Show All
Smart Device Development [Windows mobile] How to get application Launch/exit time?
I wish to retrieve application-launch/exit time informations on windows CE platform development. Does someone know the equivalent of the function GetProcessTimes available on NT platforms but not on Windows CE http://msdn.microsoft.com/library/default.asp url=/library/en-us/dllproc/base/getprocesstimes.asp Is there another way to get back process creation time than encapsulating a CreateProcess method by both GetSystemTime functions and getting the elapsed time by the difference That's all I figure out for the time being. I know there is a more efficient and precis way to get that but I don't know how If any idea, plea ...Show All
Visual Studio Express Editions Connecting to access mdb file problem.
I am having some trouble connecting to my Access Database from Visual Studio Express 2005. I can add a connection if it is a sql database, but when i change the Datasource to the access option and hit ok i get a window that allows me to change my Connection string, and thats it. If i cancel it exits the wizard. Also the only data provider i have is .net framework provider for ole db. Should i have a second provider The other software i have installed is access 97,and access 2003 both with their corresponding developer software. I also have an educational version of visual studio .net 2003 and i can connect to the db using . ...Show All
SQL Server Replication with fifteen subscriptions
I have recently deployed a sql replication system into a production environment and I’m experiencing a few problems. I have a server holding consolidated data (4 processor/2GB ram) and fifteen subscribers, each being a 400Mhz Celeron with 256MB ram. Transactional replication is used to pull base data from the main server to the subscribers. This data does not change very often at the publisher, but the subscribers need an immediate update, so continuous transactional replication is configured at the subscribers. This data will never be changed at the subscriber. The server has another three tables used for historic ...Show All
Visual C# How do you do to get only 6 from 2006
I need the last number of the year to use it to for something else. How do I do it If he really does want the "last number of the year" (I assume that means "last digit of the year"), it would have to be: int lastDigit = year % 10; But if the year is in string form, it would have to be: string lastDigit = year.Substring(year.Length-1, 1); Or if you KNOW it's a 4-character year: string lastDigit = year.Substring(3, 1); ...Show All
Visual C++ How to make crtdbg.h and new(std::nothrow) work
Hi. I've been using the crtdbg functions for a while to find memory leaks, and it works great when I use the following preprocessor statements. #ifdef _DEBUG #define _CRTDBG_MAP_ALLOC #include <crtdbg.h> #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__ ) #define new DEBUG_NEW #endif As you'll know, this way the crtdbg functions show the correct file and line where the memory of the leak was reserved, using the "new" operator. The problem is that, if I want to use the "new(std::nothrow)" in my programs, I need to include the <new> library, and that creates a conflict with the "new" redefinition ...Show All
.NET Development help me about shortcutkeys in vs.net2003
Is there any shorcutkeys to add a comment tag on selected area in visual studio.net html edit box I find it only offer one in c sharp edit box. thanks! Oh,thx, I heard about it can add comment tag in html editor box form my buddy,but i tried it before and proved it had no support in vs.net 2003.So i post the question to get help, and i haven't thought it only be supported in vs2005. Sorry. Thanks a lot. ...Show All
Visual Studio Team System TF30162: Task "WITs" from Group "WorkItemTracking" failed
I got following exception during project creation after TFS installation. Here's my configuration OS : Windows 2003, SP1 TFS: Beta 3 Refresh Single Server Installation (Server is PDC as well) Here is the log: 2/22/2006 7:03:29 PM | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0 seconds 2/22/2006 7:03:29 PM | Module: Wizard | TF30227: Project creation permissions retrieved | Completion time: 0.0312508 seconds 2/22/2006 7:03:29 PM | Module: ELeadServiceMediator | Team Foundation Server proxy retrieved | Completion time: 0 seconds 2/22/2006 7:03:29 PM | Module: ELeadServiceMediator | The template information for Tea ...Show All
