Software Development Network Logo
  • Audio and Video
  • VS Team System
  • .NET Development
  • Windows Forms
  • Smart Devicet
  • IE Development
  • Visual C++
  • Visual FoxPro
  • Windows Vista
  • SharePoint Products
  • Visual C#
  • Visual Basic
  • SQL Server
  • Visual Studio
  • Game Technologies

Software Development Network >> mohandasgandhi's Q&A profile

mohandasgandhi

Member List

Forrestsjs
Learning VB
COHNV
.neo
WayneSpangler
Ramachandra
Lawrence 007
Sandy Wood
Dual Cortex
Scott Tachiki
TonyCapps
kokob007
Michael Vanhoutte
lissbpp
jigsaw-ols
Hello_Yo
Jym
project123
Admann
Amos Soma
Only Title

mohandasgandhi's Q&A profile

  • Visual Studio Express Editions ListView Scroll Vertical

    I just would like to know how to make my listview having a Vertical Scroll and not the Horizontal ! I think you may have to use Win32 ShowScrollBar: http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/commctls/scrollbars/scrollbarreference/scrollbarfunctions/showscrollbar.asp example (unsure if this will work) //top of class, just after class declaration: [DllImport("user32.dll")] public static extern int ShowScrollBar(IntPtr handle, int wBar, int bShow) //method to show the scroll bar: ShowScrollBar(this.listView.Handle, 0, 0) hope it helps in some way! ...Show All

  • Visual Studio Problem building Managed C++ project with Msbuild that has multiple assembly references

    I have a VS2005 solution that includes a Managed C++ project as well as several C# projects. The C++ project references several of the C# projects. All projects in the solution reference log4net.dll (as an AssemblyReference). My C++ project builds without any warnings using the VS2005 IDE. However, when I build the solution using MSBuild, I get zillions of warning messages such as: log4net.dll : warning C4945: 'LogicalThreadContextProperties' : cannot import symbol from '<some path>\log4net.dll': as 'log4net::Util::LogicalThreadContextProperties' has already been imported from another assembly 'log4net' For my managed C++ project, I set all references to be: Copy Local: true Copy Local Depencies: false Use Depend ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Skysphere Demo

    It's finally all working, thanks for all the help! I've created a Sky Sphere demo to help me figure out how to do such a thing for my game. The texture for the sky sphere gets distorted around the poles, and I haven't figure out how to fix that, but otherwise it looks pretty cool. If you're interested, I've uploaded the source code and artwork to: http://www.spellflight.com/GameModels/SkysphereDemo.zip Here's the readme: Skysphere Demo By Michael Billard mike@sbillard.org This Windows XNA demo displays a sky sphere and a simple model that flies around the game world. You can control the model's rotation and position. You can also control the camera rotation and camera position. Background texture by NASA. Models and te ...Show All

  • Visual Studio Express Editions Creating Open - Save File menu

    I am trying to figure out how to make a menu for saving & opening a file that my program has created. I coded the program to always open the same file but I want to be able to save records to other file as needed & not quit sure how to go about this any help would be great ty Hi x1trader1x, I think you will find that the best way to do this will be with the menustrip control and add a File menu with Open and Save on that menu (its the standard that is used in most applications so will not confuse to many people either). You will then need to add a SaveDialog contol and a OpenDialog control to you form and write the code to use this control on the click event. Have a look at http://msdn2.microso ...Show All

  • Visual Studio Team System TFS Trial Exp Date?

    We are currently evaluating the trial version of TFS that we downloaded from MSDN. Is there a way to see the date that the trial will expire   Martin Woodward wrote: Cheers Jeff, this "Martin Woodward" guy you pointed to seems to know his stuff :-) Hmm...I have "Mark as answer" but I can't find my "Mark as hilarious " button. :) Or, to put it another way: (+1, Funny) ...Show All

  • Software Development for Windows Vista Truly Dynamic Runtime Activity Property Nirvana

    I'd like to acheive "Truly Dynamic Runtime Activity Property Nirvana". My most critical custom workflow activity needs to expose a list of items that is not known at custom activity compile time. Each item in the list can be bound to from other activities - this is a pretty powerful concept for our workflow application that makes it very useful for end users that design their own workflows with my custom activity. I've figured out a solution where this dynamic custom activity is possible but it involves dynamically generating / compiling a brand new custom activity class on the fly - not the prettiest solution and I'm trying to create a better solution. Ghenadie has a neat example of how to create dynamic properties here ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Framerate Question

    I am programming a 2D Halo game and I'm wondering the recommended framerate for a 2D game. Currently my game runs at 66-78 fps but the problem is that every 1/16 of a second, according to PIX the frame rate goes down to 30 - 38 fps. So is this natural or should I try drawing things at different times The reason I'm worried is because my computer has 3.2 Ghz processor and it also has a pretty good graphics card, but on other computers I don't know how low the framerate will be. wakawaka54 The 13 year old programmer When you see framerate dips in PIX captures, try capturing with other counters to see if those frames correspond to other 3D, in-process, or external events. IO, memory use (garbage collection), state changes, and ...Show All

  • Visual C++ msvcr80.dll Problem

    Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin If your application works as expected then the owenrs of WinDoctor might have more details. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Windows Forms How do i populate a datagridview cell with an unbound data after input information on a cell?

    Hello, I want to populate, in datagridview control, a row cell with to fields (to simplify the example). I have a sql database with a table named Products. The datagridview will show the code of product and in the next column for the same row the correspondent description. I want to insert manualy in each row the product code and after that using for instance the CellEndEdit event conect to the sql database, search for the product code in products table and bring the corresponding data to the grid columns, for this example the description for each product. I am using Visual basic 2005. How can i do this simple task !!! Thanks. Hi again, Sorry but why do i need a new data adapter and ...Show All

  • .NET Development Memory leak in timer event

    Using Visual Studio 2005 PE Hello all, I am experiencing a memory leak in my project when I use a timer event. I decided to simplify things, so I created a simple test project based on Windows form: Action1: 1.Created a Windows Form 2. Dragged a timer from the toolbox to the form then double clicked to create an event handler. 3. Set the Enabled field true (Kept default values for the timer) 4. Built and ran as is (no statements in body of timer event handler) Observation: Using Task Manager, observed memory progressively increasing by 8K at about 15 - 30sec intervals. Action2: Added counter to body of timer (increments on each timer event) static int x; x++; Observation: Memory leak ...Show All

  • SQL Server SQL SERVER 2005 Error handler

    I AM TRY TO CATCH AN ERROR FROM A QUERY AND I WANT NOT RETURN THE COLUMN DESCRIPTION OF THE SYSMESSSAGES BECAUSE I WANT TO CATCH THE NEW FUNCTIONALITY OF THE SQL SERVER 2005 ABOUT THE FUNCTIONS THAT IT HAS INCORPORATED I THINK INSIDE THE CLR AND INSIDE TOO THE DATABASE MACHINE BUT... I LOOK FOR MANY LESSONS I DON'T KNOW WHAT I NEED TO SETTLE ON MY MACHINE O MAKE SOME CHANGES OF CONFIGURATION TO HAS SUCCESS ON THE FOLLOWING QUERY: CREATE PROCEDURE [dbo] . [uspPrintError] AS BEGIN SET NOCOUNT ON ; -- Print error information. PRINT 'Error ' + CONVERT ( varchar ( 50 ), ERROR_NUMBER ()) + ', Severity ' + CONVERT ( varchar ( 5 ), ERROR_SEVERITY ()) + ', State ' + CONVERT ( varchar ...Show All

  • SQL Server How to call Mutiple select Option

    i am using Stored procedure but i have two filters in two filters i need to call Multiple select value I need some help i dont Understand how to use Mutiple value property .when i selected its giving some error If i can use Normal Query its working Multiple selected value propery.Its giving problem in Stored Procedure only Error:Sysntax error   @Str=' where' IF ( @APN IS NOT NULL) BEGIN SET @Str = @Str + '    APN   IN ' + QUOTENAME ( @APN , '''' ) END EXEC ( 'SELECT APN,TLK,ORP FROM PKT_Data' + @Str ) Every thig is working when i select Multplse select parameter its giving error How to select 'in' Can any body help me. ...Show All

  • SQL Server Embedded tab Character

    I have embedded tabs in a text field that I want to import to a destination table. I was thinking I need to replace the tabs with spaces. REPLACE (character_expression,searchstring,replacementstring) Anybody know how to specify ascii in the character expression. If there is a better way I am open to suggestions, however I do not way to remove this in the raw data but handle at transformation time. Thanks, Larry This is pretty Sweet, endless opportunity, unlimited potential. Thanks, Larry ...Show All

  • Visual Basic Compiler does not warn when assigning to readonly property

    I am maybe a newbie in VB .Net programming, but two recent incidents lead me to believe there are bugs in the VB compiler. Today, I finally discovered that compiler did not warn me even though, I was assigning a value to a public readonly property. Not only that, I have configured the project's compile settings to treat all warnings as errors. Option strict is on. This experience is similar to an earlier one where I was puzzled how in the world was it possible that a protected readonly structure variable in a mustinherit base class was indirectly overwritten in a totally unrelated calculation. Not only that, when I changed the structure declaration to a class declaration it would still overwrite the protected readonly variable. Th ...Show All

  • .NET Development How to find the last occurence of <p> within a textblock tiltled <h2>??

    I have html files with the following structure: <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <p>paragraph 3 - bladiblah di blahblah</p> <p>paragraph 4 - bladiblah di blahblah</p> <p>paragraph 5 - bladiblah di blahblah</p> <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <p>paragraph 3 - bladiblah di blahblah& ...Show All

©2008 Software Development Network