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

Software Development Network >> He is Cool's Q&A profile

He is Cool

Member List

Sideout
PhrankBooth
micronax
Supernaut
AndyL
Ubit
jk-olap
Steven D
Will Merydith
Jim Sz
Chris Via
Amos Soma
sevenlayercookie
jhikel
AlexanderO
Malcy
Sabrecat
zubziro
Afteravid
Angry Coder
Only Title

He is Cool's Q&A profile

  • Visual C# Trying to determine Class by a string value

    I'm having a DUH moment here and hopefully someone can answer it before I'm bald... I have a string that contains the name of the class and I want to create a new instance of the class that's referrred to. I have: string classToUse = "StartMeUp"; I have a class called StartMeUp that does some function... Of course, I want to create a statement similiar to: StartMeUp smu = new StartMeUp(); However, I've forgotten how to use the string to get to an object name... any helpers out there You're correct... when I tried it, I couldn't come up with logic to do that step, but due to having a short deadline for the prototype, I implemented a switch to determine which class to run, although I'm going to try this ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. simple projectile motion physics??

    im pretty new to gamedev, so simulating physics is new to me too. i know the projectile motion formulas, im just having trouble applying them. is there any "tutorial" on projectile motion physics for XNA basically, someone suggested to do "scorched earth". im trying to get the hang of just some simple projectile before i apply it to a game. i know i should basically have to just enter the initial velocity vector and the angle. then have it passed to a function that gets the initial x velocity, and initial y velocity. also, im assuming that whatever i get for y-velocity should be negative as "up" is negative in the XNA graphics. then, after each update, it should find the current change in position for x and ...Show All

  • SQL Server Grid Computing for Sql Server 2005?

    Probably a bad way to start but wondering if Sql Server 2005 scales the way Grid computing does (ie several instances attached to same DB) by adding cheap hardware which is load balancing requests. Or is there only the option of adding more CPU's to the existing frame to scale the Sql Server 2005 DB We are migrtating to 2005 from 2000 and have several questions about maintaining a sql server 2000 failback DB that is kept in sync with the new 2005 DB after it goes production. I was hoping to be able to detach a 2000 database and re-attach it to 2000 but seems not to work or at least backup and restore the 2005 databases and recover into 2000 but don't see that option. At last resort using something like DataMirror to maintain a synced ...Show All

  • Visual Basic How can I mute Wave Sound Without Muting System Sound ?

    HI Friends !! I am able to Record Sound in VB 6.0 and also can play a sound. But now i want to Mute this sound without Making My Sytem Mute ! Means, that sound shuould be muted but my system sound must not be. Please Help Me!! Emersion Thanks MSFT Abel Valadez This does Mute System Sound !! I m trying following Code 'It needs a textbox (Text1) and two command buttons (Command1, Command2) Private Declare Function waveOutSetVolume Lib "Winmm" (ByVal wDeviceID As Integer, ByVal dwVolume As Long) As Integer Private Declare Function waveOutGetVolume Lib "Winmm" (ByVal wDeviceID As Integer, dwVolume As Long) As Integer Private Sub Command1_Click() Dim a, i As Long Dim tm ...Show All

  • .NET Development Table does not appear to update after UPDATE statement

    I am trying to update a table (asps) in MS access with the code below. However even though it complies and appears to execute, the table is not updated. Both ID and recID are double. I am working in ASP .NET C#. Any ideas Thanks private void Button1_Click( object sender, System.EventArgs e) { OleDbConnection conn = null ; conn = new OleDbConnection("Provider=Microsoft.Jet.OleDb.4.0; Data Source=C:\\Inetpub\\wwwroot\\WEB\\afterschoolprograms.mdb"); string strEditCommand = "UPDATE asps SET "; strEditCommand += " NAME = "; strEditCommand += " WHERE ID = "; using (OleDbCommand cmd = new OleDbCommand(strEditCommand, conn)) { cmd.Parameters.Add( ...Show All

  • Architecture Software Development Lifecycle

    Hi We hear so many things nowadays about Softwate Development Lifecycle, Architechture, UML, Design Pattern etc etc. I know it may not sound good to some of you. But can anyone list out the activities of a Software Development Lifecycle. Lets say I want to develop a brand new product / project what stages would be involved I mean how would I implement all the things I have mentioned above to the development. I have some idea on all the things I have mentioned above. What Frank means to say is, always confirm by email and keep an archive! This way, when a review comes along, you can smack people around with it if they are trying to get you out and just maybe, they will leave you alone the next time around. I like ...Show All

  • .NET Development Install Uninstall Problems with .NET 2.0 and 3.0

    I have a serious problem with installing .NET Framework version 3.O and version 2.0. I tried to install Version 3.0, but the installation hangs. I had the same problem installing the security update KB922770 in October. The installation froze; Microsoft Update recorded a failed installation but did not provide a listing to retry the install; my Add/Remove Programs lists the update, but without a date or a size. When I click on the listing to uninstall, I get an error message to check if the installer is in the Installers folder in the Windows directory, which it was. I tried moving this folder and now have the Update Utility trying to install Security Update KB917283 for .NET Framework 2.0 which apparently never was installed. I trie ...Show All

  • SQL Server Copy Database with Microsoft.SqlServer.Management.Smo.Transfer breaks identity columns

     Hello I have a task to copy at runtime "etalon" database inside one same SQL 2005 server. Everythings ok except identity fields: identity breaks in new database. I use such code:                     Transfer xfr = new Transfer(db);                     xfr.CopyAllObjects = true;                     xfr.Options.ContinueScriptingOnError = true;                     ...Show All

  • Visual C# anyway to improve IDE performance

    When i type anything in C# IDE (VS.NET 2005), it always stuck for 0.5 second - kind of pain and stop my thinking. Anyway to improve IDE performance My machine is PIV 3.19GHZ, 2.00G RAM - do i need to upgrade to 20G :) There is an option for source code control that performs an auto-checkout. The checkout happens on the first edit to a file. Are you seeing this slowdown only the first time you type in a file, or are you seeing it literally every time that you type a character (or at a dot, etc) Thanks! Anson ...Show All

  • Software Development for Windows Vista RPC_E_WRONG_THREAD in Vista; but not 98/2000p/2000s/2003s/XP pro

    RPC_E_WRONG_THREAD I am working at company that uses COM and DCOM to provide OPC data. Their application works fine on all OS (XP Pro requires some security tweaking to make the data server available externally). Vista throws RPC_E_WRONG_THREAD when I try to access the underlying COM data server.  Is there a Vista patch or security setting to allow vista to do this. Windows 98, Windows 2000 Pro, Windows 2000 Server, Windows 2003 Server, XP Pro all run it!  Yeah. xp sp2 security has really gave me hard time. It only allow packet level authentication, while using the WMI events needs the authentication level to Connect. Am I right The above mentioned problem occoured with all win200 ...Show All

  • SharePoint Products and Technologies normalHandler.ProcessRequest(context) causes my blank sharepoint web page

    I have this code that doesn t cause an execution error, but results in an empty page. Is there any thing i can do to fix the problem or to lacate the cause Microsoft.SharePoint.ApplicationRuntime.SharePointHandler normalHandler = new Microsoft.SharePoint.ApplicationRuntime.SharePointHandler(); normalHandler.ProcessRequest(context); Thank you. Actuall y the page that I try to execute and which causes the [problem is when I try to export a web part. Since it s supposed to pop up with a dialog window, and since in my code i change the http handler, that caused a blank page. But i m still not sure what causes the error in the code and how i can fix the problem Thanks ...Show All

  • Visual Studio Team System Can't execute Team Build - TF30063 error

    Hi, I'm trying to execute a Build on my local machine, but I am getting the following error: TF42056: The build service could not connect to the Team Foundation Server: TF30063: You are not authorized to access http://buildServerName:8080/ I have Team Foundation for Testers installed on my machine. I know that I actually can access port 8080 on the build server because that's where our code lives, and I can access and modify the code. I'm really stuck as to how to get builds working. Can builds only be done on machines that have Team Foundation for Developers on it I hope not, because it wouldn't make any sense that a tester couldn't launch a build so they could run their tests. Any help would be greatly appreciated!! I am at a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tiling a texture?

    Hey, I have a 3d terrain system. The terrain is built using a heightmap image. Then I have a large texture that I paste over the top, this covers the complete terrain. I'd like to be able to dispose of the one large terrain texture image and use tiling and different layers for different tiles. (Texture splattering, I think this is called). However, for now I'll be happy with just tiling my grass texture over the top of my terrain instead of it automatically scaling. Can anyone point me in the right direction to repeat and tile my texture rather than stretch to fit Thanks Fluxtah, Thanks for your help. I can now get the terrain with one correctly sized tile (I am using 25.0f as a scalar). I ...Show All

  • SQL Server escape characters

    Hi, I need to insert this command into a table, but I can't because. insert XXX set column1 = isnull ( Title , '' ) + case when ( case when title is null then 1 else 0 end ) = 1 then '' else ' ' end + isnull ( Last_name , '' ) + case when ( case when First_name is null then 1 else 0 end ) = 1 then '' else ' ' end + isnull ( First_name , '' ) + case when ( case when Middle_initial is null then 1 else 0 end )= 1 then '' else ' ' + isnull ( Middle_initial , '' ) END I don't know how to use escape sequence, I need insert just once thanks hi i really dont understnd your problem. does this ...Show All

  • Windows Live Developer Forums What is the difference between the following mapcontrol.js and Which one is Microsoft Virtual Earth Map Control?

    What is the difference between the following mapcontrol.js http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js http://dev.virtualearth.net/standard/v2/MapControl.js Which one is Microsoft Virtual Earth Map Control I appreciate your help. Yep - v2 is simply an older version with a LOT less functionality. We provide the different URLs so that you have time to update your site to the latest version when we roll one out. You can still use v2, but a) I took down the documentation on it, b) you'll lose a lot of features, and c) it will be retired at some point sooner than v3. ...Show All

©2008 Software Development Network