Heinz Krug's Q&A profile
Visual Studio Team System How does the version control,change management works for the CLR objects in SQL 2005.
First of all thanks for the nice product. I do not know how the phrase my question, but here is something I am looking for. When I have a CLR object i.e. CLR stored proc / function in SQL 2005, the imported scema shows the code in the database project as binary code. When I put the whole solution in the source control it will obviously store the binary version of the code. So does it mean for the change management of the CLR objects, I have to have separate project of VS2005 and use it for source control and change management Virendra Does SQL 2005 have change control management I'm interested in three different areas: Files: - stored procedure change control Database structure: - ...Show All
Visual Studio MSBuild does not copy dlls to Bin of Web Project
I am trying to us MSBuild to build my solution so that I can use CC.NET however, I have found a problem that MSBuild is not copying the required assemblies to the bin folder. When I compile in VS.NET 2005 it works correctly. I have not been able to find a solution for this. Thanks, Austin I have tried both Release and Debug configurations. When I build using the IDE all project references are copied to the web bin directory. When using MSBuild a lot of references are missing. I am using the Web Project not Web Site in VS.NET. Any help would be appreciated. ...Show All
Software Development for Windows Vista vista Rc1 and button driver
dear All, i try to build a button driver for Windows Vista. the driver installed well. the button icon shown on the tabletPC of control panel. the SAS key work fine but the other key doesn't work. some body can provide the registry file for the button driver with the window vista. Hi: I asked the product team about this and here is what they said: There are button samples in the WinXP DDK. Button drivers are unchanged for Vista, so their XP drivers should be fine. Button registry settings have been expanded in Vista to support press & hold for buttons, but their XP settings should still work. Hope this helps, - Mark Hopkins (MSFT) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Meshes not rendering correctly
When I load meshes onto my form, they don't seem to render correctly. Like if I load the tiger.x mesh (in the sdk), it will only draw like half of his face. Then If I rotate it will only render some other parts. Does anybody know what I'm talking about and how to fix it It sounds like the mesh is being clipped against the near clipping plane, as David suggests. This may be caused by not setting a view matrix that locates the view a suficient distance from the mesh. Try something like this: Vector3 vCamera=new Vector3(0.0f,0.0f,-10.0f); Vector3 vLookAt=new Vector3(0.0f,0.0f,0.0f); Vector3 vUp=new Vector3(0.0f,1.0f,0.0f); Matrix mView=Matrix.LookAtLH(vCamera,vLookAt,vUp); device.Transform.View=mView; ...Show All
Visual Studio Express Editions Windows - No Disk
I just downloaded Visual Web Developer 2005 Express and am getting a lovely error from the installer. As soon as the "Setup is loading installation components." progress bar completes, I get a dialog entitled "Windows - No Disk" "There is no disk in the drive. Please insert a disk into drive ." (Yes, the drive letter is empty) Anyone have any advice I had a similar problem, but with another program. If I kept hitting "cancel" or "try again" repeatedly, eventually it would continue and work. But obviously, this is annoying. I read this solution on another forum: http://forums1.itrc.hp.com/service/forums/questionanswer.do threadId=1065150&admit=-682735 ...Show All
Visual Studio Team System Command line statement to get a list of team projects
Hello, Does anyone know of a command line statement that returns a list of all team projects on a TFS server. Thanks I am not aware of a built in command, but there have benn blog postings on this. This one is dated, but it should get you going. http://blogs.msdn.com/jmanning/archive/2005/10/14/481105.aspx -paul ...Show All
SQL Server transform Active X script to what?
HI I'm totally new to integration services, I was savy with DTS but now having been told to get on with it in SQL 2005 I'm a bit stuck. I've got an ActiveX task which basically does the following:- Function Main() DTSDestination("Title") = DTSSource("Title") DTSDestination("Surname") = DTSSource("LastName") DTSDestination("FirstName") = DTSSource("FirstName") DTSDestination("OtherNames") = DTSSource("PersonCode") IF (IsNull( DTSSource("LastName") ) ) and (IsNull( DTSSource("FirstName") ) ) THEN IF Not (IsNull( DTSSource("PersonCode") ) ) then DTSDestination("Surname") = DTSSource("PersonCode") El ...Show All
.NET Development i dont have idea what is wrong in my project - plz help
hello please look at my 'project'...i dont have any idea what is wrong, Im just starting in programing... here he is ttp://rapidshare.com/files/13127386/baza_pracownikow4.rar private void button1_Click(object sender, EventArgs e) { if (db.State == ConnectionState.Open) { using (SqlCommand sql = db.CreateCommand()) { sql.CommandText = @"INSERT INTO pracownicy(imie, drugie_imie, nazwisko, data_urodzenia, miejsce_urodzenia, pesel, nip, nr_dowodu, urzad_skarbowy, numer_konta, ulica, nr_domu, nr_mieszkania, kod_pocztowy, miejscowosc, ulicak, nr_domuk, nr_mieszkaniak, kod_pocztowyk, miejscowosck, wyksztalcenie, data_zatrudnienia, rodzaj_umowy, umowa_do, stanowisk ...Show All
Windows Forms Uninstall Dialog Boxes
Hello, I'm searching the way to add dialog boxes to my setup project but in uninstall sequence. When i use the UI editor on visual in my setup project i can modify the property of the dialog boxes of the Installation. What i do not understand is how to add a dialog boxes for the uninstall. I'm using ORCA to modify or Add a dialog box during the installation but i don't see an uninstall table on the MSI. Thanks for your help. Anton Thanks for your response and sorry for my late. When i click on the add/remove program how to show an other window than the dialog MaintenanceForm. How to customize the detection of the clik on the button add/remove program. Thanks a lot ...Show All
Visual C++ Standard header file?
Hi everyone, I am new to Visual C++ and I thought I need some help here. I am currently using Visual C++ in MS Visual Studio .Net 2003. I am trying to compile a previously written program but I am always getting this error.. Documents\Visual Studio Projects\MV_OPEN_1\MV_OPEN_1.cpp(5) : fatal error C1083: Cannot open include file: 'iacqctrl.h': No such file or directory I looked through the code, and the header file iacqctrl.h is included as #include <iacqctrl.h> My limited understanding tells me that this header file is a standard library file in Visual C++ and when I try to google this header file, there is no hit. I am doubting if this is a standard header file in Visual C++. Can anyone advise Thanks. ...Show All
SQL Server DTS Packages Unspecified Error
WE have dts packages created with ftp component in Sql 2000 dts designer. At the same time client where we are developing the package has sql 2005 components. When we move this package to sql 2000 production server - we can execute nor we can open the package it will give unspecified error. if we recreate the package on client which does not have sql 2005 component than only it works. So for any mistake the packge once opened in sql 2000 designer also with client having sql 2005 components it does not work. Only criteria this error happens when you have ftp component used in dts package. Did anyone has seen this problem Any fixes or patches available to be applied Thanks for the help. Manoj Hi Microsoft already kn ...Show All
Visual Studio Tools for Office Any reason for difference in speed?
Hi, I have produced a VSTO solution that loads up in about 10 seconds on my development machine, this is running the built code (not run from visual studio) on a virtual pc. However when I test it on a test environment pc, not under virtual pc, it takes over 20 seconds. The first thing it does in ThisWorkbook_Startup is show a splash screen - this takes 4 seconds to appear under virtual pc and almost 18 seconds in the test client. The rest of the loading process takes about 6-8 seconds on both virtual and test pc's. The only difference is I have Office 2003 SP2 (11.6560.6568), while the test pc has SP1 11.6355.6360. The virtual pc is running with 1GB of RAM (although it does have SQL Server 2005 and IIS running all the time), the test clie ...Show All
Visual C# convert object returned from Stored Proc to Guid
convert object returned from Stored Proc to Guid /// <summary> /// Insert method creates a new group record. Called from the Save method. /// </summary> /// <param name="group"></param> /// <returns>Method's success or failure.</returns> private static bool Insert(GroupInfo group) { group.GroupID == null; group.GroupID = (db.ExecuteScalar("syl_GroupInsert", group.GroupName, group.OwnerID, group.SecondaryContactID, group.DateAdded, group.FullURL, group.AvailableCredit, etc. We tried Converter<object, Guid> in place of the and it is not working! ! Replacing w ...Show All
SQL Server OLAP response format
hi all, The response I get from AS 2000 is different from the reply of AS 2005. The AS 2000 response seems reasonable than the response from AS 2005. Below are the two response: Analysis Services 2000 Reply: (Format seems Correct) <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <m:DiscoverResponse xmlns:m="urn:schemas-microsoft-com:xml-analysis"> <m:return xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" ...Show All
Windows Forms Multi thread
Hi, I have a while loop which keeps showing words in a label on a Form. I can still do events with the Application.DoEvents(). But the while loop contains 2 thread.sleep(). Which makes it slowing down in handling events. Its getting stuck for 5 seconds in total. I thought i might solve this problem by using multi threads. Once the first thread starts which contains the while loop, it should start a second thead that contains the Application.DoEvents() and not slowing it down anymore. Can this be done like how i described it Or does anyone has a better solution I'm all ears, thanks in advance! I'd like to second what Ahmed said: Any use of "DoEvents()" is suspect. In fact, we treat use of Applica ...Show All
