sheiderpbsj's Q&A profile
Visual Studio integration of clearcase in vs2003 and vs2005 behaves differently
hi, I have some third party implementation of clearcase integration with Visual studio. It works absolutely fine in vs2003 environment . However when I try the same in vs2005 env it create some temp files by name like "~sakeaa30dc101c6e236.sln" and something similar temp files corresponding to few more files. I do not understand why thes files get created. The properties say "Temporary file created by Visual studio to test clearase capabilties.." These files create problems when I add one more project to same place and try checking in. the project is registered by string "MSSCCI:clearcase" as SCC provider well there are few more differences in behavior in VS2005 . Does anyone have any pointer ...Show All
Visual Studio About ImageMap 控件
特 希望 烈要求改 <asp:ImageMap>像Macromedia Dreamweaver插入 片后,直接在 片上 各种形 域。 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Dream Build Play - partner in crime
I'm still hard at work on a new game I'm working on, but it's more for fun than anything I would submit for a contest. But I really want to enter the dream, build, play contest too, I just don't think I'll have the time to do it all on my own. Does anyone out there want to partner up I'm no programming guru, but I've got a few skillz. I've been messing with XNA since beta 1, I got one (and a half) xna game(s) under my belt, and I'd say my biggest assets are creativity, thinking outside the box, analytical problem solving, writing, story, plot, characters, and high fives (not necessarily in that order) ...only reply if you plan on winning! Do you hav ...Show All
Windows Forms BackgroundWorker ReportProgress Multi-Core
I have a problem with ReportProgress on multi-core machines. The following code updates/removes items from a list view as a background thread processes the data that they display: Background Thread: ChangedPacket^ changedPacket = gcnew ChangedPacket(); for(int i = 0; i < newWords->Length; i++) { ... changedPacket->ItemToSub = newWord ; lexiconMutex->ReleaseMutex(); worker->ReportProgress(pComplete, changedPacket); ... } private: System::Void bwTextProcessor_ProgressChanged(System::Object^ sender, System::ComponentModel::ProgressChangedEventArgs^ e) { lexiconMutex->WaitOne(); ChangedPacket^ retrievedPackage = gcnew ChangedPacket (*dynamic_cast<ChangedPacket^> ...Show All
SQL Server Two SQL Server Service Problem
Hi there, In my Windows Server 2003(Without R2), I had installed i) Microsoft Visual Studio 2005 ii) Microsoft SQL Server 2005 iii) Microsoft Share Point Services 2.0 iv) Microsoft Office 2003 All working very fine, but what I find that I have two services of SQL Server as a) SQL Server (MSSQLSERVER), with log On as “Local System” b) SQL Server (SQLEXPRESS), with log On as “Network Service” Both with same description as “Provides storage, processing and controlled access of data and rapid transaction processing.” When I try to start the Second serviceSQL Server (SQLEXPRESS), I got the error as “Windows could not start the SQL Serv ...Show All
Visual C# Best way to marshal an array of C style strings
im trying to create a parallel managed struct in a .net dll from a C application. in my C app i have a struct with this in it: struct myStruct { . . . char header[7][30]; } and i wanted a managed version. i havent found much on marshalling an array of c style strings... but it might be because im not using the right search words. i saw this example, would this be correct [StructLayout(LayoutKind.Sequential)] public struct myManagedStruct { . . . [MarshalAs(UnmanagedType.ByValArray, SizeConst = 7, ArraySubType = UnmanagedType.ByValTStr)] public string header; } and if it is, how would i marshal over each string in the array to its parallel managed version Yes. Another op ...Show All
Windows Forms Tab Control problem
Hi, I have a really interesting problem with tab control. I have a tabcontrol with allignment set to Bottom. All the tab pages are added programatically. If the tab pages are few then everything is fine. I get the left right buttons when I resize the form. When I have many tab pages, I don't get any left right buttons to scroll to the hidden tab pages. It looks really bad. I have not been able to find out what I am doing wrong. Can some one suggest a solution I am sure it just a small problem that I am not able to figure out. Thanks! Please post Windows Forms related questions in the Windows Forms forum. Please reserve the .NET BCL forum for questions related to the core .NET library (t ...Show All
Visual C# Show Startup Programs
How can i show the startup programs from: HKLM, HKCU, and the startup folder i made this, but it's totally wrong, neve tried switch before ! private RegistryKey GlobalReg; private void Read() { switch (startup) { case "HKEY_LOCAL_MACHINE" : GlobalReg = Registry .LocalMachine.OpenSubKey( @"Software\Microsoft\Windows\CurrentVersion\Run" ); break ; case "HKEY_CURRENT_USER" : GlobalReg = Registry .CurrentUser.OpenSubKey( @"Software\Microsoft\Windows\CurrentVersion\Run" ); break ; } foreach ( string programas in GlobalReg.GetValueNames()) { ...Show All
Visual Studio Team System SOAP Event, Failed to deserialize the eventXml for WorkItemChangedEvent
Hi all, I'm writing a WebService to get notifications about the state change of the Work Item. I'm almost there, when a state is changed, my Notify() method is called, and the eventXml contains the XML info about the WorkItem. I wanted to create a C# object from the XML string, so I used the XSD.exe tool with the xsd delivered by Microsoft to create a new "WorkItemChangedEvent" class. The .cs file was generated successfully, but when I attemp to create my object like this: public void Notify ( string eventXml ) // Do not change the names of these parameters { XmlSerializer xs = new XmlSerializer ( typeof ( WorkItemChangedEvent )); StringReader sr = new StringReader ( eventXml ); WorkItemChangedE ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Attenuation in XACT?
Hi, I would like to attenuate a sound with growing distance to the listener, very much like DirectSound does with the MinDistance/MaxDistance parameters. I understand that I need to use an RPC for that and decrease the sound depending on the implicit variable Distance. Problem: I would like the sound to be inaudible at distance 10.000 (the DirectSound default). Since the range of the variable is 0 - 1.0000.000, the range 0 - 10.000 is only about 20 pixels wide on my screen. It is impossible to draw a meaningful attenuation curve that way... Question: Can I zoom in somehow Have I missed something important -- David We don't yet have a zoom control for the RPC window. However, if your distance r ...Show All
Software Development for Windows Vista .net 2.0 can't delete files on VISTA
When attempting to run a .net 2.0 application on VISTA Ultimate Edition, the program contains the following logic: if ( Directory .Exists(currentDrive + Utility .FOLDER_APPLICATION_OLD)) { di = new DirectoryInfo (currentDrive + Utility .FOLDER_APPLICATION_OLD); foreach ( FileInfo fileDelete in di.GetFiles()) { try { fileDelete.Delete(); } catch ( Exception exCantDelete) { } } } It is always indicated in VISTA that the application can't seem to delete files of type *.exe, *.dll, etc. Is there a restriction that VISTA won't allow this to occur I am logged in as administrator when I run this program. The exception is ...Show All
Smart Device Development byte straming on ppc via bluetooth
i have to do byte streaming (sound file) between 2 hp ipaq PPC via bluetooth . i've just known that i should open serial port and send data. but i don't know how to code it at all. can u give me some referrences or example code about this,please i need to send a progress report to my professor this week,so feel depressed. 1. Your device definately supports Bluetooth (compliant with 1.2) using the WIDCOMM Bluetooth Stack therefore you can communicate using virtual serial ports over the Bluetooth radio medium. When you open the serial port the iPAQ will display a "Bluetooth Browser" window for you to select the target bluetooth device. Unfortunately bypassing this requires either the purchase of a 3 ...Show All
Smart Device Development Version of Windows Mobile 5.0 SDK more recent than 5/10/2005?
The web page for downloading the Windows Mobile 5.0 SDK from Microsoft at http://www.microsoft.com/downloads/details.aspx familyid=83A52AF2-F524-4EC5-9155-717CBE5D25ED&displaylang=en indicates that the SDK was last updated on 5/10/2005. Is there any way to get a more recent version of the SDK We are particularly interested in a fix to the time zone issue described at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=512572&SiteID=1&mode=1 . A link on this post indicates that the time zone problem was fixed in late 2005 or early 2006, so obviously a version of the SDK released on 5/10/2005 will not have this fix. I, too, need this fixed, and have opened a support incident. The service pa ...Show All
Visual Studio 2008 (Pre-release) Problem using ObjectContext with MapConnection
Hi, I am trying the code samples in the The ADO.NET Entity Framework Overview document (August 2006) that came with the CTP. I ran this code succesfully. using ( MapConnection con = new MapConnection ( Settings .Default.AdventureWorks)) { con.Open(); MapCommand cmd = con.CreateCommand(); cmd.CommandText = "SELECT VALUE sp " + "FROM AdventureWorks.AdventureWorksDB.SalesPeople AS sp " + "WHERE sp.HireDate > @date" ; cmd.Parameters.AddWithValue( "@date" , hireDate); DbDataReader r = cmd.ExecuteReader(); while (r.Read()) { Console .WriteLine( "{0}\t{1}" , r[ "FirstName" ...Show All
SQL Server Tell Us Your Express Story and Win $100!
Want a chance to show off a cool way you’re using Visual Studio Express or SQL Server Express We’re looking for your stories! Tell us about something that makes your life easier or is just plain fun and if we like it enough to include in a feature article, we’ll give you a $100 gift certificate to Amazon.com! http://msdn.microsoft.com/vstudio/express/support/hero_promotion/default.aspx here's my story.... win xp pro sp2 - IIS 5.1 I have installed sql express advanced and business toolkit for reports. I enabled report server and configured the server. I created a report and now I am trying to access it through my browser. I configured the report server, but I am unable to reach the reports But when I go to : h ...Show All
