dki's Q&A profile
Visual Studio Team System Get Specific Version using Force Get Flag not working...
Ok, I made the mistake of deleting my local copy of the files that are in source control instead of handling all updates via Source control. In the treeview for the files it shows that the files have a status of "Not downloaded". I have been unable to Get the Latest version of the files at all. I've tried the following to resolve this to no avail: Get Latest Version: Which shows that all files have been downloaded, use the get Specific Version and use the force flag. Get Specific Version with Force Get Flag Set: Which gives the same error asking me to Get Specific Version with the Force Flag Set. Open the project via Open From Source Control: Which gives the error Th ...Show All
SQL Server sqlCeReplication.HostName size limit fix?
We are attempting to improve our merge replication process between our SQL Server 2005 server and SqlCe Mobile 3 client by switching to Data Partitions. We are using IIS as a proxy to SQL Server 2005 running on a different box using a DOMAIN account. We've setup row filters to use HOST_NAME() and have set the option "Automatically define a partition and generate a snapshot if needed when a new Subscriber tries to synchronize" to true in the Data Partitions options under the publication's properties in SQL server management studio. If I use a .HostName value of "1234", everything works fine. A subdirectory is created under a our publication's folder in the shared replication directory that relates to the host_name. Data ...Show All
SQL Server Installing SQL Server Express & remote connections on XP Home
My target market includes Micro-SMEs (i.e. 1 to 2 person business). This users often have multiple computers, but tend to run XP Home edition. Hence I need to set up a SQL Server Express on one of the machines and allow the other machines to access it. So far I realise: XP machines must be SP2ed ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=379560&SiteID=1 ) XP Home machines need to be in the same work group (am I right ) I have to Open up the MS Firewall on each of the machines for TCP ports 1433 and 1434 (see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=511441&SiteID=1 ) On the machine hosting the SQL Server Express instance, start the "Browser" Service (again http://forums.microsof ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Drawing a line?
I've looked at a few threads regarding this, but to be honest, when it comes to primitives, I havent a clue (I'm a 2D relic), now loading images etc etc is pretty simple stuff, I looked in the docs and found an example that is pretty much overkill to my needs, and its just a jumble. All I'm after is how to draw a line from x,y to destinationX, destinationY. Can someone run through it for me, maybe explain a little whats going on, as I'd like to know, it should be simple, but alas, its confusing the life out of me! :D Thanks in advance Dabz It is not as simple in XNA as it was with GDI to draw lines and shapes. Heres a few links that might help: http://blogs.msdn.com/manders/archive/2007/01/07/lines-2d-thick-rounded-li ...Show All
Visual Basic Form & Picturebox sizes
I am trying to set the sizes for the form and the picturebox to the size of the image displayed. The picturebox is set to a random varible from a listbox of images. The code I know that works is below but the problem I'm having is that it sets it to size of the image before the current image and on and on.... Form2.PictureBox1.Size = Form2.PictureBox1.Image.Size Form2.Size = Form2.Picturebox1.Image.Size Here is the code I have so far for the rest of it... Static number As Integer = 1 <-- If Code is inserted here the same problem occurs Try Form2.PictureBox1.ImageLocation = ListBox1.Items(number) <--Inserted here same problem. Catch ex As Exception Timer1.Stop() MessageBox ...Show All
Visual Studio Express Editions How can I uninstall (and then reinstall) Visual C# Express 2005? I deleted the uninstall registry keys!
I was trying to cleanup my Add/Remove Programs list by editting the registry and I accidentily removed the Microsoft Visual C# Express 2005 item. So now the Visual C# Express 2005 shows up in my Add/Remove Programs but there is no button remove (or change). How can I manually uninstall all of Visual C# Express 2005 (so that I can re-install it ) I've also installed a beta of TorqueX (it's an XNA library) that I can't seem to find but it's listed in my C# templates so I'm hoping to remove that to. Basically I'd like to totally clear my system of C# so that I can start over fresh again. :) Thanks for any help! You'll need to run setup again, it should either detect the previous installation and offer to re ...Show All
Visual Studio Team System Multiple Team Projects can't specify which to use for "add to source control"
Hi, I have multiple team projects one for each separate website we manage. The problem is that the add to source control automatically adds the items to the last team project i added. How can I change the mapped folder, or specify which team project to use Thanks, Dan Hello, There is a concept of workspace and workspace mapping that you probable need to get familiar with (see the following MSDN article for a primer). Also, if you are talking about having each file in website relating to different Team project, I doubt that it is possible. One Team project may contain several solutions but not vs. And I do not quite see why would one want to do that; are you trying to "share" ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rotating models around their own centers
Hello, I'm having a bit of trouble rotating models around their own centers; instead any new physical object I place in the world will perform its rotations from the world origin, not their own. I understand that the order of the matrices matter, and as far as I know I'm applying these correctly. Each object is a DrawableGameComponent and has its own transform matrix. In the drawing code updates by the transform and world matrices: public override void Draw(GameTime gameTime) { foreach (ModelMesh mesh in model.Meshes) { foreach (BasicEffect effect in mesh.Effects) { effect.EnableDefaultLighting(); effect.World = destinationBoneTransforms[mesh.ParentBone.Index] * world * transform; ...Show All
Windows Search Technologies OTP Windows Desktop Search 3.0
Any ideas as to how you would remove Windows Desktop Search 3.0 Exact same problem here and I'd like to know as well. I've decided to go back through the registry a little more slowly, at least, since a solution seems to definitely be there. am. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SWM Model Component
Hi all! I just finished a simplified version of a swm loader component based on the classes in SpaceWars. I used X-Tatic's converter to transform the tiny.x model into swm http://astaroth.beatbuggy.net:8080/Downloads/x2swm_1_0_0_1.zip I sent the sources to www.xnaspot.com , hopefuly, they will put it online soon. P.S. the smaple also includes components for a grid, and for FPS (which can be set to be displayed in the titlebar, screen or both) Have Fun! Catalin Zima P.S. I also wait for XNAspot to post my sample of VertexTextureFetch in XNA ;) Well, I don't have it online... I sent them an email with the code... and wait for them to put it up. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. metronome using directSound or directMusic
hey. i want to code a program that includes a metronome using c++ and directSound and/or directMusic. this metronome should raise an event periodically, it should be as precise as possible and i need to change the tempo at runtime. now what i need is something like the StartTimer (UINT TimerDuration) onTimer(UINT nIDEvent) killTimer() functions in VC++ but with a higher resolution than milli-seconds and with a way to affect the duration between the timer events at runtime, as mentioned above, thus without having to stop and restart the timer... is there a way to use directSound / directMusic in order to achieve this perhaps sth with IReferenceClock:: AdvisePeriodic or does this problem not really have anything to do with ...Show All
Windows Forms How can i copy the highlighted text from the CURRENT active window to the clipboard using c#?
It's probably very simple but I would appreciate the knowing what the method should be, cheers. not sure if there is an exact way of doing this, but ive googles a few things and heres what i found You can use the propert textBox1.SelectionStart and textBox1.SelectionEnd, both of these return an integer in the strings position, so what you could do is int start = textBox1.SelectionStart(); //gets the current mouse position int end = textBox1.SelectionEnd(); //Gets the Current Mouse Position string text = textBox1.Substring(start,end); Clipboard.SetDataObject(text); now im not sure exactly if this will work for you but i hope this helped! heres my refrence http://www.thescripts.com/forum/th ...Show All
SQL Server OpenQuery() to Linked Server hangs, leaving SPID with open tran, then templog.ldf grows without limit.
Hi, We have a customer that is using SQL Server 2000, and experiencing the following intermittent problem -- occasionally templog.ldf will grow and grow until it fills the entire disk. This is a rare problem, it has happened less than 10 times in the past two years, for a job that runs once a minute. But it has happened on 3 different SQL Servers, (two production servers, and one test server). Our suspicion is that the root cause is an OPENQUERY() to pull data from a linked server (Oracle database on Unix). We have seen that these OPENQUERY() statements occasionally hang and cannot be killed. The OPENQUERY() is used to populate a local table, and when we originally populated permanent tables with OPENQUERY(), then there would be a ...Show All
Visual C++ how to install/register a windows service programatically?
hi, I have created a windows service using ATL wizard in visual c++ 6.0. How do i register, start and stop the service programatically Is there any other way to create a service( not to be an exe) See Creating a Simple Win32 Service in C++ You have to add an entry in registry in order to register your service. and StartServiceCtrlDispatcher can be used to Spawn the service. Please see the example ...Show All
.NET Development Remoting and Scripts
I am using remoting (IPC channel) between a client and a server for IPC using .NET 2.0. Does anyone know of a way to use remoting from a vbscript (as a client) For instance, for COM objects, one could use CreateObject. Is there something similar one can do for remoting (other than using COM Interop) Thanks, Al. Remoting will not work directly with COM interop. You will have to write a wrapper .NET client component and call it through COM interop from VB script. Or use web services :). ...Show All
