Danny Tuppeny's Q&A profile
Gadgets Flyout to the front?
I have a gadget that navigates through a set of XML documents via next/previous buttons. Some of these documents link to a first page with windows media player attached to play an associated video, while some link to a second page which doesn't contain a video. You can navigate backwards and forwards through these pages of the first type, without trouble, but when you click on a link which jumps to the second page, from the first, then you lose the "focus" (I say focus warily, because I realise that actually losing focus would mean that the flyout would close, which it doesn't). What happens is that the sidebar gadget has the focus, and you have to click on the flyout twice (the first time regains focus, &n ...Show All
Visual Studio Team System Foundation Server MSSCCI Provider Not Working with my version of VB6
I am running Visual Basic 6 version 6.0.81.76, and after installing the MSSCCI provider, team foundation server is not available in the program. Is there anything I can do Thanks. Hello, please check the following thread ...Show All
Visual Studio Team System Create Test List without Test Manager?
Is it possible to create a test list without using the test manager window I would like to create a test list to run in the TFS build but I don't have the test manager window availible in TS for developers. Steven, I have heard good things about TestManager from Ekobit (no I don't work for them) from my Dev leads. It basically puts a "Test Manager"-like interface into VS for Devs. It retails @ $99US. Here's a link: http://www.ekobit.com/testmngr.aspx - Steve ...Show All
Visual Studio Team System Regarding fxcop with .net 2005
Hi I am facing a problem with fxcop. I am trying to integrate fxcop1.35 version with .net 2005. Not able to validate any(Private or public) method and any decleration in any method. For class name its working and all variable decleration outside method working. Is there any body who is facing the same problem. Can anybody tell me solution for that. how to validate method and member in .net 2005 code. Thanx In advance Regards Gautam Gautam, This is actually by design in ASP.NET Web Site projects. We do not have a good way of distinguishing between ASP.NET generated unused locals and user generated locals, as such we bail completely on the RemoveUsedLocals rule within these projects. However, this rule will work as expected ...Show All
Visual Studio Team System Another Native C++ Unit Testing Question
Hello, I'm sure you're all sick of native C++ Unit Testing questions, but I have yet another.... I'm trying to use MC++ for testing a native static library. This native target library integrates several other libraries, and compiles flawlessly (no errors or warnings). So, using the Test Creation wizard, I created a new Managed C++ Unit Test class. I switched the CLR Support from /clr:safe to /clr. Then, I modified the test class to include one of the headers from the native target, and modified the TestMethod() to use the class. Next, I modified the "Additional Include Directories" in the test project to look into the native target, added the native library output directory to the "Additional Library Directories", and a ...Show All
.NET Development Change Assembly References without recompilation
Hi all. Here is the problem. I have assembly A.dll that refence the assembly B.dll, both are simply named ones. Then I sign the B.dll. Is there a way to change the assembly reference of A.dll to point to the newly signed assembly B.dll (change the PublicKeyToken from null to the new public key token.) without recompiling A.dll. Am I missing some configuration that has to be applied or some dirty hack is needed or it can't be done. As I know publisher policy in the publisher policy you can specify only to bind to another version. But you cannot specify to bind to a simple named one to strongly named. I tried with assemblyIdentity config element, but it only takes part if the assemblies are loaded dynamically. ...Show All
.NET Development Dataset
Hi, I want to know more detail information about DataSet. Can anybody help me I want t o customize it for my application , can i do it Can i add more functions to it I am going to use DataSet first time ,so i am not aware of its functionlity. I want to know details like how it read xml in dataset sequentially or direct Please help me. Thanks Vrushali Hi, Here are some links that can get you started: MSDN: http://msdn2.microsoft.com/en-us/library/system.data.dataset.aspx Working with datasets: http://www.informit.com/articles/article.asp p=30228&rl=1 Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
SQL Server String truncation using sp_OAGetProperty under SQL Agent
I have a stored procedures that uses sp_OAMethod and sp_OAGetProperty to download a string from a website. When I run the proc in query analyzer window, no problem. When I run the proc under SQL Agent, if the string is longer than 4096, it automatically truncates down to 512. Why is this and how can I fix it ...Show All
Visual C++ Link Error 2019
Hi all, I am creating an exe that does some socket programming. I have #included winsock.h. But whenever I call a fuction from winsock, I get a linker error. The text of the error is below. Does anyone know how to fix this unresolved external symbol _recv@16 referenced in function "void __cdecl GetNewMsgs(unsigned int *)" ( GetNewMsgs@@YAXPAI@Z) Thanks Use ws2_32.lib. MSDN will give both the header and library file name for Platform SDK functions, so just look one up (e.g. recv). Brian ...Show All
Visual Basic prevent tabpage from changing while input is validated
Greetings: I've got a tabControl with several pages, and the first page presents a summary of the stuff on the other pages. It is set up so that the user input on the back pages is validated on the textbox leave event. A problem occurs when the user goes from entering some invalid text in one of the back page text boxes directly to selecting another tabpage. The validation error messages get shown along with the summary page error messages, and it is not a pretty sight. I tried using a boolean flag in the tabcontrol.selectionChanged event to try to stop the selection change, but that doesn't work. I'm guessing that the selection change event gets fired before the textbox leave event. I've also tried using boolean flags to stop the ...Show All
Visual C# Converting from Text to Decimal
I have a textbox control in a datagrid that contains numeric (decimal) data. I need to compute some figures based on this. I am getting a compile time error when trying to convert. Example Textbox txt sender as Textbox; decimal dtlStHrs = 0; dtlStHrs = (decimal)txt.Text; <- Error. How can I convert this so I can do some computations Thanks instead of using (decimal) try using Convert.ToDecimal(txt.Text) You will also probably want to catch the "Input string was not in a correct format." exception in case the user puts in a non numeric value. -Eric ...Show All
Visual Studio Team System getting selected item
this is part of the code i have written follow naren's blog, if (doc is IResultsDocument) { int selectItemId = ((IResultsDocument)doc).SelectedItemIds.Length; message = String.Format("Results document with {0} items selected \n on server {1} \n and the workitem id = {2} \n Type Name = {3}", &n ...Show All
Visual C++ Mouse Click
Hi, I am currently writting a C coding compiled with visual studio 2005. The program should allow me to move the cursor to any icon on the screen n click. With the " SetCursorPos" function, i am able to move the cursor to the icon position. However, i am not sure which function can allow me to do a left click, right click, double click or left drag Anyone can help me on how to operate the various mouse click function with the use of codings. Thanks alot ...Show All
.NET Development Set time until new forum
is it posible in c# to set a time and after that time foum 3 will show if so what is the code please ...Show All
.NET Development arrays to sql server table
Using vb8, I would like to be able to programmatically save data in arrays to an existing sql server 2005 table. I've found tons of info on how to load db data into arrays but not the reverse. Can anybody offer some clues Not to be sarcastic, but if you know how to get an array out of a database, why can't you just do that procedure in reverse to get it back into the database If there is some part, specifically, that is confusing please post the relevant code for us to see. ...Show All
