Colin Bowern's Q&A profile
Visual Studio Express Editions which feature do you mainly miss form the VS2005 full version?
Hi all (hopefully i am asking to people owning the VC# 2005 Std or PRO versions) I have started using VC#2005 EE and i find it's really great! I have checked the page with Product Feature Comparisons http://msdn.microsoft.com/vstudio/products/compare/default.aspx I wonder what or (which ones) features among the list could be "mainly" missed, say, in a real production environement I suppose it could be depend on personal view points but say generally speaking which features could be considered really " fundamental " to a professional Another "curiosity": as the VC#2005 EE FAQ clarify that this wonderful product can be used also for commercial applications do you know if currently there are actually people/comp ...Show All
Smart Device Development New menu item in Outlook Contacts Menu
Hi! Like the example that goes with WM 5 SDK, just Medical History example, " C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\Medicalhistory\ MedicalHistory.sln ", i'm traying to make the same in Smartphone application, but i can't, and i don't know why this example don't works properly .. I'm developing a smartphone's app that's works with outlook contacts and i need to add menu option in the standard outlook contacts menu, just like a "plug-in" to add special information when future users add new contacts .. please!! Help me!! Hi! Like the example that goes with WM 5 SDK, just Medical History example, "C:\Program Files\Windows CE To ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Course of Action; PLEASE READ AND REPLY!!!!!!!!!!!!!!!!!!!!!!
what should my course of action be on my game i've got all the storyboarding done, what should i do next someone please map out for me, what my course of action should be. my game is going to be about a man who is stuck in prison in africa after an alledged murder that he committed, and he must escape to his freedom, from the imprisonment of being falsely accused. he will also help some of his friends out, back to the U.S. back to their families. PLease Help Sincerely, T2TD P.S. im not trying to encourage the act of escaping from prison, its just and idea i sprouted. Perspective. The next step is definitely acquiring some perspective. I'd suggest getting a book on C# programmin ...Show All
Visual C++ C++/CLI destructors and finalizers chaining
According to the topic "Destructors and Finalizers in Visual C++" in the "C++ Language Reference" implementing a ~ destructor or a ! finalizer automatically chains to base classes which have these semantics after the derived class destructor or finalizer code is run. However it is suggested in that topic that the C++/CLI programmer call the finalizer at the end of the destructor processing. Would not this then mean, in that idiom of calling the finalizer of a class from the destructor of that class, that the order of destructor calling whenever a destructor is run would be: 1) destructor of derived class -> finalizer of derived class ( through suggested call ) -> finalizer of base class ( through chaining ) -> ...Show All
Software Development for Windows Vista Vista - High CPU usage
Hello, After installing Vista Ultimate, PC hangs for minutes due to high cpu usage, gets release for few seconds and than goes back to high CPU usage... What can be the problem What can be done re-installation didnt help. HD is 70G. Thanx I've been experiencing high CPU usage (>50%) by explorer for the past several weeks and just discovered the culprit. The setup file for Call of Duty 4 Demo! It's icon has been doing funky things since I d/l-ed it. I did some research on other forums and someone has traced it to CoD4MWdemosetup.exe. I just dropped it in the recycle bin and all is well. I hope this helps. ...Show All
SQL Server Programatically adding a Timeout value for BulkInsertTask?
I've searched around for a while and can't seem to find out how/where I set the timeout on a bulk insert task programmatically. Here is a snippet of code that works as long as the input file is pretty small....when I attempted to pump 1.3 million rows through the default timeout value was not big enough and a timeout exception occurred. Package loadPackage = new Package (); Stopwatch timer = new Stopwatch (); timer.Start(); ConnectionManager conMgr = loadPackage.Connections.Add( "FLATFILE" ); conMgr.ConnectionString = @"C:\BWR.txt" ; conMgr.Name = "FileInput" ; conMgr = loadPackage.Connections.Add( "ADO.NET:ODBC" ); ...Show All
Visual Studio 2008 (Pre-release) How to create an TabItem and apply ControlTemplate or style to it in codebehind?
I have a tabcontrol in xaml. Then I want to add two tabitems into it in codebehind. Each tabitem has a button in it(this should be much more complicated in realistic scene). If I have pre-defined two ControlTemplates (or styles) and hope to apply them on the buttons respectively. How can I achieve that Thanks declare a style in the resources < Style x:Key = " buttonStyle " TargetType = " {x:Type Button} " > < Setter Property = " Background " Value = " green " ></ Setter > < Setter Property = " Foreground " Value = " white " ></ Setter > </ Style > in the code behind something like the following should work ...Show All
.NET Development App.config keys
Hi, I have two different databases that I have to work with, I put their connection strings in the app.config under appsettings (i'm not sure that I could do that !!), now I want to get the connection string from each key individually like in the web.config that you type connstring=configurationsettings.appsettings (keyname) and it returns the connection string. Please Help !! Thanks AC. If you are using .NET 2.0, you should be able to define different connection string as different providers. < connectionStrings > < add name = "Connection1 " connectionString = " Integrated Security=false;data source=DB;user=me;password=mypass;Initial Catalog=Database " providerName = " System.D ...Show All
Windows Forms problem of update an item from a listView,urgent, need help!!
I have a list view problem,my list view contains the items (e.g. A, B, C, D and etc.) and quantity of the items (e.g. A-3, B-1, C-4, D-2 and etc.) and now i would like to delete the items by randomly selecting it, example when i double click on A-3 , it will automatically change from A-3 to A-2 , does anyone know how to write it Hi, sunni05 The ListView has a DoubleClick event, you can handle this event to when double click on item(s). e.g. private void listView1_DoubleClick( object sender, EventArgs e) { this .listView1.SelectedItems[0].Text = "A-2" ; } Hope it helps. Best Regards. Ye ...Show All
SQL Server Move .ndf file to a different drive
I have a several indexes on a filegroup that I would like to move to a different physical drive. I am aware of the sp_detach...sp_attach routine which allows moving the .mdf and .log files to a different location. How would I go about moving a .ndf file though TIA Thanks Simon...that worked! I just wasn't sure if that's how it was done. Needed some reassurance! And...I'll definitely consider giving my next DB a .simon extension! :) ...Show All
Visual Studio Custom source for connector
Hello again, In my DSL, I want to create connectors which doesn't connect from a shape but from a compartement of a shape. I couldn't find any explanations so I ask this question here... The reason for this: I have a Component element which has two elements (Contract and Implementation) embedded. In the Component's shape, two compartements are defined for these elements. But there are no shapes added because this would result in a rather ugly mix of many different shapes when many Component elements are added. A Contract element has a reference to an Assembly element and this relationship I want to create via the compartement item and not via a shape. I hope you understand my short overview... Best regards Christian Hi Christina, ...Show All
SQL Server Copy data from SQL Server to SQL Mobile
Hello I'm developing an application that need to create everyday information to be stored in a SQL Mobile Database. The SQL Mobile database will have: Last schema from tables (in SQL Server database); Last information in the tables; I don't want to copy all the tables from SQL Server database than this mecanism should give me the way to choose the tables. I have been reading about the SqlCeReplication but I don't undestand what is InternetUrl property. The SQL Mobile database is created in the PC and after is copy to the the Mobile Device. How can I avoid the InternetURL property tkx in advance Paulo Aboim Pinto Odivelas - Portugal Ola Paulo, The Merge Replication process is based on an agent running on ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Helpful Snippet: VertexStreamer
Between setting up a vertex buffer, writing and creating a vertex decl, and creating an array of vertices and actually writing the data to the VB, rendering vertices is a lot of work, particularly if you're just hacking up quick things or just getting started. So in the hopes of simplifying things, I'm making the XNA port of a small snippet of code I've had lying around available. Here's how you would render a triangle with this class: partial class Game1 : Microsoft.Xna.Framework.Game { private Utility.VertexStreamer m_Streamer; private Effect m_Effect; public Game1() { InitializeComponent(); m_Streamer = new Utility.VertexStreamer( this.graphics.GraphicsDevice ); CompiledEffect ce = Effect.Compil ...Show All
.NET Development Control Telnet Client from Process Object
Has anyone been successful in controlling the XP telnet.exe or Putty's plink.exe from a Process object I can run DOS commands and other applications with redirected input/output, but simply get a hung application when trying to run a telnet client. Does anyone have a simple example they could share, or another way of doing a simple Telnet connection Thanks. I guess "formatting" was a bad choice of words. I'm talking about the codes/commands that come back from the AIX box I'm trying to connect with. I can decipher these into their telnet commands (i.e. authenication, terminal type, etc), but how do I determine what to respond back with I see a listing in RFC854, but I'm unsure as to what to res ...Show All
Visual C# How to develop a site with a content of different languages?
I have to develop a static site where the content should change according to the language selected. Suggest me, how to store the data for different languages and display it Should I have separate page for each language or Either to have the data in sql database or in xml and display it using single page based on the selection of the language. Also refer a site where I can get a souce code for this type of site. hi, first for webpages development you can use this forum http://forums.asp.net second you can use cultures for localization for the controls text , here its some links article bout Localization\Globalization>>> http://msdn.microsoft.com/msdnmag/issues/06/05/BasicInstincts/ ...Show All
