Sudheer George's Q&A profile
Smart Device Development Is it possible to suppressing events temporarily?
Hi, How can i suppress events for a short time on a form. My prob is that i've a listivew on a form, say A. The item_Activate event on the listview creates a new form, say B and shows it. But as on PPC it takes few seconds to display a new form. The mean while if i tap on another listview item on A, it creates another child form. Now what i need is, i should disable any events( or the same item_Activate event) on A from firing, until the item_Activate event handler is executed. This is just one case in the app. There are many such cases where i need this kind of a check. How do i do this Plz help! Thanks, ...Show All
SQL Server What is sysname?
USE <database, sysname, AdventureWorks> What is "sysname" object I frequently see it among parameters for stored procedures. Thanks. Hi Alex, Good to hear things are looking up. You're right that the trick here is to concatenate the table name into your SQL statement. I'm not sure what you're refering to with regards to the buttons in VS that run queries. Based on your description, it seems like you're just trying to automate the creation of a bunch of structurally identical tables to quickly build you database. As I've mentioned, I'd probably do this in C# just because that's where I'm more comfortable. I'm sure you could also write a query in Management Studio to do this. Since this is a one time thin ...Show All
Visual Studio 2008 (Pre-release) Button in the Chrome area?
I am trying to find something that will help me figure out how to create a button in part of the chrome, like the office 2007 ribbon button in the top left hand corner. Any ideas how to do that or suggestion on where to look Thanks you could set window style to none and then create the window from scratch. http://pavanpodila.spaces.live.com/blog/cns!9C9E888164859398!208.entry ...Show All
Visual Basic Startup Items? & Hiding / showing forms?
Basicly I'am requesting this: How does one create a 2 forms that you can move back and forth from though each form your NOT using will hide, on top of this, how do I dispose of one form and then come back to the form as a new instance. My theory was that i use 3 classess two as forms and one as a main class, the main class controls the instances on what is shown and what is not, though im unable to adchieve this. Has anyone got some sample code that can help me out .... Please keep things simple and straight forwards im repeat im currently a rook at this language. Thank you. Say i have a main form, then i make a new instance of a new form (form2) but when i show form2 i want to hide the main form(form1) now I've finshed wi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. My 2D particle engine now available
here > http://www.codeplex.com/Wiki/View.aspx ProjectName=mpe Here be my first contribution to the XNA community, a fast, powerful & flexible 2D particle engine that can easily & seamlessly integrate into your game project. Features: Completely drag & drop, no code required! Complete control over scale, alpha, rotation and color at all stages of a particles life. Definable random variation of particle speed & lifespan. 5 emitter shapes - Point, Spray, Circle, Ring & Spiral (more to come!) Extremely easy to add custom emitter shapes! Hope you find it useful, there's still a few things to iron out but i think it's near enough usable right now :) Jeff Johnson wrote: ...am I just totally missing it ...Show All
Visual Studio Team System Strange Load Test Behavior
Hi, We use several unit tests which exercise web services in a load test. One of the unit test runs a process that takes up to 5 minutes to complete. The load test is set up for 99% of the users to run unit tests which complete fairly quickly (< 1 second) while the remaining 1% runs the unit tests which takes a long time to complete (to simulate a data import). When run as a standalone unit test, everything is fine. When we incorporate the long unit test into the load test test, the tool kicks off a much larger number of tests than it was told to do. The problem seems to be that the tool thinks that no tests of type 'long unit test' have been started yet as the tests take 5 minutes to complete. It must be looking at some performan ...Show All
Visual Basic My.Computer.FileSystem object ???????
I am trying to use the following expresience in VB .Net 2003: My.Computer.FileSystem.RenameDirectory("C:MyDocuments\Test", "SecondTest") But I am getting the following error: Name 'My' is not declared. eventhough I did include: Microsoft.VisualBasic namespace in the import option of the project properties. Any Idea, Thanks. Hi Fares, the ' My ' feature is new to Visual Basic 2005 and is not available in VB.Net 2003. Andrej ...Show All
Visual Studio Express Editions pseudo coding
can anyone help me pseudo code this statement please this is what i have so far.. can anyone tell me what im missing #include <stdio.h> int main() { int inum1, inum2; float fResult; charf cCode; printf("Please enter a whole nuumber followed by a space \ \nfollowed by one of the following operators: +, -, /, or *\ \nfollowed by a space, followed by another whole number"); scanf("%d, %c, %d", &iNum1, &iNum2, &cCode); if (cCode == '+') { fResult = (float) iNum1 + iNum;; } else { if(cCode == '-') fResult = (float) iNum1 - iNum2; } else { if(cCode == '/') fResult = (float) ...Show All
Visual Studio Team System Missing Object Test Bench menu items?
I have just installed Visual Studio Team System RC and I can not for the life of me find out how to display an object within the Object Test Bench. The help gives the following instructions: In the Class View , right-click the name of the class or struct whose instance you want to create. Click Create Instance to display the public constructors of the class. Select the constructor to display the Create Instance Dialog Box . In the Create Instance dialog box, provide the parameters, and then type the name of the object. The name is not provided by default; you must provide a name. Check the Object Test Bench tool window for the object shape. I have tried the above but to no avail. The Create Instance menu item doesn ...Show All
Visual Studio Express Editions Copy to clipboard
I have made an listviwe within iamges. But how can i copy the selected images to the clipboard Need help fast My . Computer . Clipboard . SetImage ( Me . ListView1 . SelectedItems (0). ImageList . Images ( Me . ListView1 . SelectedItems (0). ImageIndex )) Will copy the imagelist item for the first selected item in the listview to the clipboard ...Show All
Visual Studio Express Editions error LNK2001: unresolved external symbol
Hi all, I am new to Visual C++ 2005 express. Moving from last release, Visual Studio .NET to new one, trying to use library(*.lib) which was working pretty fine with VS .NET I am getting following erros with VC++ 2005, error LNK2001: unresolved external symbol "struct std::_DebugHeapTag_t const std::_DebugHeapTag" ( _DebugHeapTag@std@@3U_DebugHeapTag_t@1@B) error LNK2019: unresolved external symbol "public: virtual __thiscall std::istrstream::~istrstream(void)" ( 1istrstream@std@@UAE@XZ) referenced in function "public: void __thiscall std::istrstream::`vbase destructor'(void)" ( _Distrstream@std@@QAEXXZ) error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)con ...Show All
Visual Studio Express Editions randomizing cards
I am building a memory-style game in vb2005 express. I can't figure out how to randomize the cards you have to pick from. I have an array of 20 cards, an array of 10 images, and I need to match them without repeats. (Two cards for every picture.) I am looking for a way to do it without using 8bazzillion if...then statements either. (I know that would work but it would take forever.) Thanks! You might want to have a look at Dr. James McCaffrey's latest Test Run column article Randomness in Testing . In there he discusses randomness generation, including correctly shuffling lists of items (like a deck of cards). As well, he discusses common mistakes with shuffling algorithms. ...Show All
Visual Studio Team System big green slide
Can someone point me in the direction of the "big green slide" for VSTS I'm looking for the version that contains "Team Edition for Database Professionals" There is a better one kicking around somewhere - but I think I have the slide you mean in the following deck:- http://www.woodwardweb.com/vsts/TeamSystemAdoption.ppt (It's the 3rd slide in) Cheers, Martin. ...Show All
Visual Studio Express Editions Cannot add SQLExpress Database item to VBExpress project
I've been going through the VB training videos and reached the one on databases. I installed SQLExpress but when I try to add a database to a project I get the following error. Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed. I have an up-to-date XP system with .NET 2.0 and VBExpress2005 that works fine. Any ideas This post might provide some useful information: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=98346&SiteID=1 ...Show All
Visual Studio Team System using VSTS for DB Professional side by side with VSTS for Software Developers
I currently have VSTS for Software Developers installed, but would very much like to use the VSTS for Database professionals to be able to manages Databases (espically the Comapre feature) Can I install the VSTS for DB professional side by side with VSTS for Developers is this Possible. I do not want to lose the VSTS for Developers beause it has the class designers, and unit testing (for non database code) and code Analysis which I think VSTS for DB professional does not have. Is there a work around Javahar I install the trial version of Team suite will my currently installed version of Visual Studio Team system for Developers get over written OR will i be required to un-install the VSTS for D ...Show All
