Evgeny Popov's Q&A profile
SQL Server SQL Notification Service on System Tables
Hello, Can I monitor SQL Server system tables like sys.objects or sysobjects using SQL Notification Services or any other method I need to get a notification into my component when there is a chance to sysobjects. Also, is there a SQL Server plugin to log all SQL Traces Thanks for your help. ~Senthamlarai Do you really mean Notification Services, or are you thinking of the new Query Notification functionality in SQL Server 2005 If you mean NS, there is another forum that is probably a better place for your question: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=97&SiteID=1 . I would move this thread there, ...Show All
Visual Studio Team System Manual unit tests
I have some unit tests that need user interaction to verify that the correct results happen (e.g. for testing plug and play events). These unit tests are obviously not suitable to be run automatically by a build machine. I thought the manual unit tests might be appropriate to address this but they appear to be little more than a document with no actual code that runs. What is the recommended way of marking such a unit test so that it is not run by default but only when someone explicitly wants to run the "manual" tests Thanks Andrew Hi Andrew, Sorry for misunderstanding. ...Show All
SQL Server Exporting text file and populate it as table using SQL
Hi, I have a problem, I have some text files in the server. I have to export that file and read it line by line and then cut it into fields and populate it as a table in SQl with SQL commnads. Could you anybody help mw with some hints, any relevent readings etc.. How can i use sql framework for this If you have control over how the text files can look like, I would recommend using the FOR XML and XML Shredding mechanisms (OpenXML, nodes() method). Otherwise in SQL 2005, I would look into CLR user-defined functions to write the parsing code in your fav .Net language. In SQL 2000, you would have to do it in TSQL or the mid-tier. Also, if ...Show All
Smart Device Development Application info in Homescreen
Hi all, I have an simple windows mobile application (c#) for Windows 2005. the application contains certain data of the user. i would like to show some of these data in the Home Screen as well. how is it possible regards, rnv are you talking about a homescreen plugin or do you want to get information about some user of the device and display that in your application ...Show All
Visual Studio Team System I cannot get source code links in FxCopCmd report
I do not have any problem with getting correct link to the source code in "Message Details" box when I am running the analysis from FxCop GUI. However, when I run analysis from command line and then load the report to GUI, the only thing I am getting is <Location not stored in Pdb> The difference between command line and GUI is that I use environment variable to point FxCopCmd to right assemblies. I also load the report to compare, but I do not really see the reason... Any idea why I am having that problem Thank you for helping. We haven't yet committed to a release date for the next version. ...Show All
Visual Basic Return key stroks lost
Hi, I have been struggling with this issue for quite a while and still don't have a clue. Any help is highly appreciated. My main program is a MDI parent form. It contains a pannle holding a treeview on the left, and another pannle for hoding MDI child form on the right. My problem is, for some reason when the child form starts, it can receive any other key strokes except Return (or Enter) key. When I hit return nothing happens. My keydown event handler for the form never stop in debugging mode when I hip return. But it does stop when I hit other keys. Where does the Return key strok go How am I supposed to debug this What am I doing w ...Show All
SQL Server Pb with group and lost of informations in the report
But I have problem with reporting services. Could you help me For exemple, I have some informatins who don't appear in my report. For example, I have a list of agricultur who are ranged in three different groups( A,B or C). I want to put their names by grouping them in their departement and their town. Then, a second group on the departement And finally, a group on the town. But agriculteurs can have a departement and no town, that's why I put them under the departement, and before, the towns of the departement. For examples for a group, I want to see : Group A Auvergne Mr smith Mr nicoli Mr ...Show All
SQL Server Office Web Components Security Settings...??
I have a number of reports for which it would be useful to allow users to make use of the office web Components to allow them to maniplulate the data and then export it to excel.. But as soon as i click the Excel symbol to dump out the pivot table to excel i get the error message; "Safety settings on this computer prohibit accessing a data source on another domian." Now i have been into Internet Explorers Tools >> Options >> security and enabled the 'Access Data sources across domains' on my computer (in both the internet and intranet zones) but it still pops up.. and wont let me export to excel Any ideas.. anyone.. ...Show All
Visual Studio Express Editions Arraylist and recursion problems revision
Ok I am new to this c# stuff. I have used c++ for a while and have to say that this new c# thing is pretty nice. Ok here is my problem. C# doesn't have vectors so I am using an arrylist instead. I don't know if you can set a type or not but I haven't. I store a list of files that I am recursively compiling as it runs through each directory. I was stupid and created a new instance of the array list each time I recursed. So I figured I need to make the arraylist global, but I don't know how to do this. Here is my code for the recursive directory listing. Let me know if you can spot something else I can do instead or if you can spot ...Show All
Windows Forms Horizontal divider line in Combo Box
This would seem to be a simple task but I can't seem to find a way to do it except to implement some seriously complicated Windows MenuEx API stuff - All I want to do is insert a horizontal divider in a combo dropdown box, to give visual separation between groups of items. My purpose really is that the items in the box will be fluid, except for a certain set of items which are special items that will always be there. Using VB2005, .NET 2.0 - anyone know a way to do this Thanks, Patrick By the way, I found a way (the only way) to do this - I extended the ComboBox control by inheriting from it (so that the combobox would b ...Show All
Software Development for Windows Vista GetSystemFirmwareTable() - Does this work?
#include <windows.h> #include <string.h> #include <stdio.h> #include <iostream.h> ULONG_PTR main(ULONG_PTR argc, char *argv[]) /*++ Description: The input to this can be - a.pat b.pat c.pat abcd\q.pat fgh\m.apt xyz\* pqr\ .pat g.pat - ListFile with the above list --*/ { UCHAR pFirmwareTableBuffer1[0x100]; UCHAR pFirmwareTableBuffer2[0x100]; ULONG_PTR retValue; ULONG_PTR err; retValue = EnumSystemFirmwareTables( 'ACPI' , pFirmwareTableBuffer1, 0x100); printf( "Ret vlaue 1= %d\n" , retValue); // // Return 20 and pFirmwareTableBuffer ...Show All
Windows Forms Why does this insert doesn't work??
Hi, I'm doing an insert to a table.. This insert it a date that is located in a variable called fecha..... Fecha receives the system date and it fills a table called usuarios, in the column "tiempo_inicial"...that's the general idea of this code.... Here's the code.... dim insertar as Sqlcommand = conexion.CreateCommand Dim fecha as datetime Dim ejecutar as sqldataAdapter ...Show All
Visual Studio Tools for Office WebService and VSTO project, on diff. machines and planets
Hello! I will give 1 million kisses to the 1 st person to clarify the following issue I have a VSTO project and a WebService project. I can send data to the WebService and retrieve data. Both of the projects are linked on my pc and everything works. The thing is that I need to export my VSTO project to lets say machine A (in my toilet) and my WebService project to machine B (over in my attic). Does it involve the same process as linking a VSTO project to a local host web service, because I am having a very wonderful experience! Thanks. Solved : need to ADD the Service. ...Show All
Visual C# ODBC+Access+SQLInsertsentece
Hi: well, i'would like to put data from a windows form in a database in Access, i know how to put the data manually,but i don't know how to put the data that somebody put in a textbox working: wXP,Access2003,driver ODBC code: string SQL = "INSERT INTO books (Title) VALUES ('textbox2')"; Only put in the database "textbox2", thank you so much for your time I found how to make it work, string SQL = "INSERT INTO books (Title) VALUE (' "+textbox2+" ')"; thank you ,very much ...Show All
Visual C++ Newbie question about Interfaces of DirectX, or other libraries
Hi, im trying to make an application with DirectX libraries. in a line of the code, i make this declaration: ICaptureGraphBuilder *pBuilder; (ICaptureGraphBuilder is an interface of DirectX libraries.) But when compile, it gives me this error: "error C2501: 'ICaptureGraphBuilder' : missing storage-class or type specifiers" What I have to do to declare variables or pointers from interfaces without error Declare something first Usually as a rule of thumb when you get a xxx missing storage-class or type specifier it's because the data type has not been declared yet ...Show All
