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

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

MShetty

Member List

GoDaddy
Marco Paci
Sylpheed
Tim Snow
Gunnar Adler
jwaddell
HuWu
MagedSalah
Amr Ouf
aero1
Rossa
jbearfoot
RyuMaster
Larsenal
Tadwick
Matthew Lebo28574
jchau
Glen Satuito
Sumit Bhatnagar
airwalker2000
Only Title

MShetty's Q&A profile

  • .NET Development Thread.Abort()

    I know a lot has been said about this method and I am of the firm belief that calling this method or designing my applications around this method (for clean up work) is just plain old evil. Anyway, I was wondering what would happen if the method were to be called from the worker thread itself, and the not the parent thread So something on the lines of: try { Thread doWork = new Thread(new ThreadStart(ProcessData)); doWork.IsBacground = true; doWork.Start( ); } catch (Exception) { } protected void ProcessData( ) { try { // Do Work } catch {Exception e } finally { try { Thread.CurrentThread.Abort( ) } catch (Exception) { // Do Nothing } } } My intuition tells me that this model is evil, but my mind tells me that there is nothing wrong with t ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Driving Game Download???

    Does anyone know where the XNA Racer Game can be downloaded (see this video) That will be upcoming Starter kits. In a video I saw, they mention that it's still in alpha stages or something, and that they are going to finish it off. Once done, they will be releasing it, and possibly a FPS starter kit for us developers to toy with! YAY! ...Show All

  • Visual Basic Building an OS

    I know this is Ironic, me posting something like this on my admired Microsoft site, but just for fun I'm going to do it anyways. I am a big visual basic fan, and so for FUN I've decided to design and build an x64 operating system via Visual Basic... the problem is I haven't the slightest clue on where to start with making a boot program and such. I know it is possible to create an operating system using Visual Basic and it would be very easy to program and continue to build. So with your help ill make a website for an open source OS where you guys can help me out, you can E-mail me at Aztecthorn@yahoo.com if we get deep into it... but otherwise ide like to post here for help :) Hi, You might want to try building your own version o ...Show All

  • SQL Server SQL Express 2005 Configuration Manager - Cannot connect to WMI provider

    Hi, when I go to the SQL Server Configuration Manager utility, the following error pops up : Cannot connect to WMI provider.You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Access is denied. [0x80070005] This is on a Windows 2003 SP1 server, and the database is an upgraded MSDE 2000 database. The database itself appears to be working OK. My application can connect to it, I can connect to it via sqlcmd, etc. (all locally). I'm logged on as an Administrator, so permissions shouldn't be a problem. I ran FileMon to see which file it's complaining about, and it seems the culprit is sqlmgmprovider.dll. It's trying to access this .dll as Netw ...Show All

  • Visual Studio Express Editions How can I code with c++ and c# at the same time with Visual Studio Express

    Hello I currently program games using visual studio c++ express but I also want to try out Microsofts XNA Game studio which requires visual studio c# express, however to install visual studio c# express i must uninstall visual studio c++ express. Is there any way I can continue to code with c++ and try c# with visual studio If so how do I install both on my machine Thanks. The instructions say that you must remove any previous versions of the express products.... this means that you must uninstall all beta and ctp versions of the software, Not the production or RTM versions. You can install all of the editions along side each other with out any problems. ...Show All

  • .NET Development unit test in .net

    Hi, I'm a beginner with testing proofs in dotnet. I've just created certain unit proofs and now I'm wondering if it would be possible to create some kind of "proof stack" where I could specify the execution order of these proofs. I don't understand exactly waht you've done, btw, did you had a glance of NUnit TeamSystem provides more sophisticated testing framework. ...Show All

  • Visual C# assignment to xml node value

    public class AddAnnouncement { public void _AddAnnouncement() { XmlDocument newAnnDoc = new XmlDocument (); newAnnDoc.Load( "~/App_Data/Announcement.xml" ); XmlNode newAnn = newAnnDoc.CreateNode( XmlNodeType .Element, "ann" , null );   XmlNode Id = newAnnDoc.CreateNode( XmlNodeType .Element, "annID" , null );   /////////////////////in here i want to assign to id value to 0; after that i want to increase it; like this int a=0; and id. ( maybe value;;; i dont know what mus be after dot)=a; a++; how can i do this XmlNode Title = newAnnDoc.CreateNode( XmlNodeType .Element, "annTitle" , null ); XmlNode Body = newAnnDoc.CreateNode( XmlNodeType .Element, "a ...Show All

  • Visual Studio 2008 (Pre-release) RichTextBox Blocks

    Hi, I would like to know if it is possible to make an option that can maybe be exposed to alter the behaviour of the richtextbox. At the moment, when the richtextbox is empty, or if you are on an empty line, the default behaviour when adding InlineUIComponents is to create them as BlockUIContainers. This is very frustrating as I only want my "unique" object to stay a specific size, and to still add text after and before it (like having a small image that you can have in the same line as the text) What I would like to happen is when I create an InlinUIContainer on a blank line, is instead of making it a BlockUIContainer, create a paragraph and add it as an inline, so that I don't have to do post processing work to get it to ...Show All

  • Visual Studio How To Create/Display A TFS Edit Query Tab From An Add In

    Hi, I am trying to make an add-in that can create a query (but not save it), which I think should be easy to do by getting the TFS server connection instance using _applicationObject.GetObject(...). But then once creating the query I would like to display and run it in the standard query dialog tab. Thanks for any help Kris ...Show All

  • SQL Server AcquireConnection method call fails when scheduling a job with Excel Connection Manager?

    I have a SSIS package that reads the data from an Excel file using an Excel Connection Manager and imports the data to a table on a SQL Server 2005 DB instance. When I run this package locally on the server the package being on the file system, the package executes perfectly. Now I upload the package to the msdb database and the run the package from there and the package still executes successfully. Now I schedule the package to run as a SQL Server Agent job and the package fails and when the logging is enabled I see this in the log file; OnError,WEB-INTSQL,NT AUTHORITY\SYSTEM,Copy to CRN-ALLOCATION_COMMENTS_TEMP,{40A6BF6E-7121-448B-A49D-DED58FDC746A},{BD991566-F4BD-41BC-AEBF-264032D8D0D3},5/9/2006 1:54:52 PM,5/9/2006 1:54:52 PM, ...Show All

  • Windows Forms [c#]Login Form to connect with a database

    Hi all :) Im looking for examples, link or whatever, to do a simple login form where, after the simple insert of username and password, main program start. Thank you in advance. ...Show All

  • Visual Basic Returning UNC from Map Drive Dailog

    I am writing a simple form that allows the user to browse for and map a drive. I need to return the resulting UNC map from the function. To data I have been able to open the map drive dialog and return a one or zero. Here is the code: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_mapdrive.Click ReturnValue = WNetConnectionDialog( Me .Handle, RESOURCETYPE_DISK) txt_servershare.Text = ReturnValue.toString End Sub Private Declare Function WNetConnectionDialog Lib "mpr.dll" ( ByVal hwnd As IntPtr, ByVal dwType As Integer ) As Integer WNetConnectionDialog provides no feedback with ...Show All

  • Visual Studio Express Editions Instance of Class and context

    Hi, I have a project that contains the following: Form1------------------Form AccountsForm-------Form Search-----------------Form AccUpdate-----------Class I have created the following instances of the above AccountsForm in Form1 and called it ObjAccountsForm Search in the AccountsForm and called it ObjSearch AccUpdate in Search and called it ObjAccUpdate My question is When I need to reference, forexample, the instance of the AccUpdate Class form within my project I am having to type the full context to its instance Form1.objAccountsForm.objsearch.ObjAccUpdate. somepublic property in this Class My project contains many more Class's, and I have had to draw a table to keep track of where each instance of a ...Show All

  • Microsoft ISV Community Center Forums Challenge writing a macro for setting Mergefields properties

    Hi, I have about 400 Word documents which all use the same set of MergeFields in different layouts. I need to figure out a way to write a macro which will loop through all the MergeFields in a doc and set the "Preserve formatting during updates" checkbox. When I manually did this for a field and recorded a macro, the code that got generated was: WordBasic.FormatField Field:="MERGEFIELD ReqDate " ...which didn't really help since it created a new field when I ran it. Is there any way I can do this Thanks, JGP   OK, so this hack seems to work for me in Word 2003, but I can't claim any "best-practice-ness" about it.  So take it with a caveat that furth ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Phong is just gouraud

    I am testing lighting on a landskabe. Doing so, I wanted to use ohong shading, but aparently the phong is just gouraud. http://www.greenleaf.dk/public/phong/phong.html is a page with my landskabe with and without normals with the different shadings. It is quite obvious that phong is being rendered quite non phongish. In the example scene the light is comming directly from behind the camera. I am using managed dx with vs2005. I did not install the sdk this time, but only the managed redistributables. That has not given me any problems before though. What would cause the phong to not work Usually I do install the sdk. Currently I do not, since I was testing the dx operation on systems without the sdk. It wo ...Show All

©2008 Software Development Network