DQM's Q&A profile
Visual Studio Cannot Enable SourceSafe Internet
Hi, I'm using Visual SourceSafe 2005 release version on Windows Server 2003 R2 x64. I cannot enable the SourceSafe Internet feature, Visual SourceSafe Administrator returned the following message when enabling SourceSafe Internet for this computer: "Visual SourceSafe Internet was not enabled on this computer because Internet Information Services (IIS) is not installed." I have a Sharepoint website running on the same computer, so IIS is installed for sure. Any idea how to enable this Thanks! This is strange since all VSS Web service is doing is trying to access VSS database using IVSS (ssapi.dll) If the share and disk permissions set correctly then the only other problem I can think of is if the databas ...Show All
.NET Development Need Help - PFX Import - Can Import but can't read back
Hi, I am using .net 2.0 on windows xp (sp2). I wrote following code to import the certificate into my store name in local machine location: X509Store myStore = new X509Store(StoreName.My, StoreLocation.CurrentUser); myStore.Open(OpenFlags.MaximumAllowed); X509Certificate2 certificate = new X509Certificate2(fileName, mypassword); myStore.Add(certificate); myStore.Close(); The issuer certificate (for the above certificate) is already in the local machine store. If I try using this certificate to sign my .Net click once manifest, it throws exception ("Keyset does not exist") If I delete the certificate and import it through windows Certificates mmc, it works perfectly (same certificate) Is there some thing wrong ...Show All
Visual Studio Team System Test Manager dropping and duplicating tests from the list
After having some serious problems with Test Manager spontaneously dropping and adding test (for example, tests will suddently show a "Test [TestName] does not exist in the test list" I tried to find anyone else that had a similar problem. After some searching, I came across http://kjellsj.blogspot.com/2006/04/vsmdi-file-weak-spot-of-vsts-test.html which describes the problem we're having to a tee: In particular, Kjell-Sverre's describes the problem that they [...] from time to time get "The test 'TestName' does not exist in the test list. It may have been moved, renamed or deleted". Yesterday, the 'Test Manager' showed all tests duplicated in the test lists. Today, another developer saw just some chinese characters when openin ...Show All
Visual Studio Express Editions Breaking Point
I need to take this slow. 1. I have created a sql database that will allow me to input user info. 2. I have used the detail view of the database to create a form. 3. I have inserted a dataviewgrid and linked it to my datasource. 4. I have added a radio button to my form. 5. I have added two text boxes ( 1 is text the other is numeric) Now what I need to know how to do (in detail) is the following: 1. The text that I put into my first textbox to appear in my datagridview as a title 2. I need the numeric value that I enter into my second textbox to appear below it. This is a good start towards resolving my larger issue. I will ask other questions as they arrive but I have to start somewhere. Stupid! I just ...Show All
Windows Forms Read and write *.csv File
How can i read *.csv file and import data in database also read data from database and write in *.csv file If you're using VB.NET, it has built-in support for parsing .csv files. If not, you can always add a reference to Microsoft.VisualBasic... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help me on How to fire a sprite to a mouse position from another Sprite
Hi again, this time i need some major help. I'm creating a shooter arcade, and the biggest problem i ran into so far was getting the sprite to fire towards my mouse positioned reticule. Could I please get some information on how to tell the game code that i want the sprite to move towards the mouse x,y from it's fixed positions. Thx for your help. One way to make one object "follow" another. 1) Create a new 'direction' vector as the difference between the two object's positions (object1 - object2) 2) Normalize the resulting 'direction' vector. This will create a 'unit' vector with no magnitude. 3) Negate the direction vector. This will set the direction of object1 to face towards ...Show All
SQL Server Updating a row
Hi I come from a Unix backgound and used Informix ISQL quite frequently. I have a row that contains a compund field 'cust_and_date' and contains a value of C0003 32656 I want to write an update statement that will amend the C0003 to C00009 but leaves the 32656 as is. I tried the following:- update scheme.slitemm set substring(cust_and_date,1,8) = 'C00009' This returned a syntax error Any help gratefully received Right from Books Online: Examples This example replaces the string cde in abcdefghi with xxx. SELECT REPLACE('abcdefghicde','cde','xxx') GO Here is the result set: ------------ abxxxfghixxx (1 row(s) affected) Peter Cwik ...Show All
Visual C++ How is type checking done?
Could some body tell me what happens when the compiler sees an instruction like this: int i; i = 10 + 'A'; cout<<i; The code compiles and runs perfectly and promptly shows an output of 75. So how is the type checking done here When is the asci value of 'A' inserted in place of 'A'. Does it happen at compile time or at runtime Could some body explain or point to a link Compiler casts char type to int and computes result immediately. This is assembly code for this code fragment: int i; i = 10 + 'A'; 004113AE mov dword ptr [ i ],4Bh 4Bh is result of 10 + "A' calculation. Compiler makes all calculations possible at compile time to optimize runtime performance. ...Show All
Visual C++ VS2K5 SP1 Beta
After installing the SP Beta I now have code that does not build and I get errors in MS files: Error 21 error C2446: '<' : no conversion from 'MSXML2::IXMLDOMElementPtr *' to 'MSXML2::IXMLDOMElement **' c:\program files (x86)\microsoft visual studio 8\vc\atlmfc\include\afxtempl.h 553 Hello Did this ever get resolved or has the thread just die Thanks Damien ...Show All
Game Technologies: DirectX, XNA, XACT, etc. From C++
Hi! How this will be look in MDX C#: D3DLOCKED_RECT rect; unsigned short *data; int tempdata[size]; for(int t=0; t<2; t++) { int offset = size*t; texture[t]->LockRect( 0, &rect, NULL, D3DLOCK_DISCARD ); data = (unsigned short*)rect.pBits; for(int i=0; i<size; i++) data = 32768+mass[i+offset]; texture[t]->UnlockRect( 0 ); } Thanks for help! There are two ways that you can handle such a locking operation in MDX: by operating on a returned array, or through a returned GraphicsStream object. To use an array to lock and write a color to the center half of a texture, for example: void FillTextureCenter(Texture tex) { SurfaceDescription desc = tex.GetLevelDescription(0 ...Show All
Windows Forms Concurrency violation help me please
hi i use vb.net 2005 and an access database i connect to one table and change many things on the table and then save it again i use the disconnected mode i disappointed i try to solve the concurrency violation like the msdn said (get a fresh copy of the table and merge it to the worked one)but it sometimes save and sometimes not !!!!! although im one user for the database help me thanks in advance. hi every body i try all solutions to solve this problem from google to msdn the exception appears some times and times not !!! any help please thanks in advance. ...Show All
Visual C++ Threads.....
I am trying to call a writeEvent function from different function,which is occupied by one thread already in the program. Thus I am trying to use this piece of code. delegate void AppendTextHandler(String ^s);//Global void phone::writeEvent(String ^msgs)//a member function. { if(richTextBox1->InvokeRequired) { AppendTextHandler ^ATH = gcnew AppendTextHandler(phone::writeEvent); richTextBox1->Invoke(ATH, new object[]{msgs}); } else richTextBox1->Text += msgs + "\n"; } I am using VC++ 2005, the error i get is as follows..... Compiling... phone.cpp .\phone.cpp(251) : error C2061: syntax error : identifier 'object' .\phone.cpp(251) : error C2143: syntax error : missing ')' before '{' .\phone.cpp(251) : er ...Show All
Visual Studio Corrupted files on check in with SourceSafe beta
Hello, We seem to be having issues with Visual SourceSafe V8.0.50215.44. Our toolset has used SourceSafe for asset management for two projects now with little issue. Since we updated to the new DevStudio beta 2 and the accompanying version of SourceSafe, we have been having intermittent issues with SourceSafe. Sometimes when we check in a new version of a binary file, it will appear in SourceSafe as a 0 K file, or even worse randomly corrupted. There doesn’t seem to be any way to predict if this will happen, and it has made the process of updating our assets very laborious, because we have to double check the checked in file to make sure it didn’t get corrupted. We will have to revert to a previous version ...Show All
Software Development for Windows Vista ASP .Net Pageflow CTP
Do we have any update of Pageflow CTP Release Regards, Pavan Hi Pavan, There are no updates to the .NET Pageflow CTP at this time. Check out http://wf.netfx3.com/files/13/default.aspx for updates. Thanks Dennis ...Show All
Visual Basic Setup Produced By "Build, Publish" Gives Error After I Uninstalled VB With CD And 'Removed' All Installation CD Programs
Hello, I created a setup file from my application. I did this because I want to put my application on other PCs without installing Visual Basic. I basically want to just run the applicatoin on other PCs. What I did to create the setup file was within VB I clicked "Build" then "Publish." I then wanted to test the setup file on my PC, so I removed everything given to me by the VB installation CD! So, I uninstalled VB using the installation CD. But, I also had to go to the control panel to remove some of the programs that the installation CD gave me. I did this because the uninstall via the CD left things on my system that the installation CD gave me. When I was done, the control panel, remove programs listing ...Show All
