Nick__A.'s Q&A profile
Visual Studio Team System Source control in a remote environment
How can team foundation client (team explorer) recognize that the same project is coming from the same server in a remote environment For example : I set up a TFS server named "tfs" in the intranet of our company, and it could be accessed from internet via "tfs.mycompany.com". Then I add two tfs server in my team explorer, one is named "tfs", the other "tfs.mycompany.com". When I work in my company, I work with the server "tfs"; when I work at home, I use the server "tfs.mycompany.com". However, how can the team explorer recognize that the source code is coming from the same server I check out the source code in our company, and continue my ...Show All
Visual Basic Converting a String to a Guid?
I have a guid stored in string variable that I need to convert to a guid type. How do I do it ...Show All
Visual Studio Express Editions A nifty but NOT working image slideshow (from resources)
Hi there people. Of all things I'm having problems making a lousy slideshow type program. First off, I've deleted the code I've made in frustration so don't ask for any :) I imported my pictures into the resx file and know how to access them individually but what I'm trying to do is to simply make back and next buttons. I can't seem to figure out how to get the pictures from the resource file to a string array so I can call it with an int (Picarray ). I've tried many things, now I'm just looking for a link or project that has one already built so I can learn by example, anyone got a link like that I have Google'd for it ( ...Show All
Visual Studio Team System HTTPS or VPN to access TFS
Hi, we have a couple of developers that work remotely a few days of the week. Currently we have a firebox router in the office and use MuVPN clients to connect to it. I was wondering whether we would be better off (would it be faster) to expose the TFS through HTTPS rather than use a VPN Does anyone do this, or not Why did you choose the solutions you have Thanks for your help Graham It is possible to setup the TFS AppTier to support HTTPS connections in addition to (or even exclusively in favor of) HTTP connections. It's not the easiest thing in the world - establishing and configuring a certificate server ...Show All
Windows Forms bind to indexer
Hi, It's possible to bind to a indexer (ex: a["name"]) in VS 2005 beta2 (specially for datagridview) OK - you may be looking for something like the sample below - it takes virtual properties from a "model" and presents them to the DataGridView as "real" properties. It involves implementing ICustomTypeDescriptor - and although a bit complex this is extremely powerful (and how ADO.NET does a similar thing). It should be fairly simple to adapt your Entity type to this: class EntitySample : ICustomTypeDescriptor { Dictionary< string , object > ...Show All
Windows Forms Imagelist: Embedded Resource problem
Hi, I added a imagelist containing images to a form, worked fine in my project. Then I moved the project directory. After this, I could not add any resource images to the imagelist object. I get the error: An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll Additional information: Could not find any resources appropriate for the&nb ...Show All
Visual Basic Having trouble getting a correct value of textbox3
Hi Im using VIsualbasic2005 Express (its .net of course ) Dim intText1 As Double Dim intText2 As Integer Dim intText3 As Double intText1 = Val(Frm3.TextBox1. Text) 'Here is says Conversion from string "" to type 'Long' is not valid. intText2 = Val(Frm3.TextBox2. Text) intText3 = CDbl(Val(Frm3.TextBox2. Text) * Val(Frm3.TextBox1. Text)) Frm3.TextBox3.Text = intText3 Textbox3 is still 0 When textbox1 = 0.04 and textbox2 = 456 the problem is the Third teextbox3 is just givine me 3 and not the value of Textbox1(0.04) * Textbox2(400) Yep i have done that it works no ...Show All
Windows Forms How to view XML in WebBrowser control using the DocumentText property?
Hi, (This is on .NET 2.0) The only way I managed to show XML in the webbrowser control was to write the xml contents to a file and then use "Navigate(...)" to open the file. This is a bit awkward for me because I have the XML in a string variable, and the most straightforward way to do it would be to simply assign it to the "DocumentText" property. But that did not work... (nothing is displayed, although using the context menu to view the page source shows that my xml content is there). Any tips on how to do this Thanks Rubens Hi .. i have implemented the same bit. ie. showing PDF/ HTML/ TEXT file in ...Show All
Windows Forms WYSIWYG HTML Editor Control
There are tons of browserbased WYSIWYG HTML Editor controls. But, i'm building a windows based Content Managment System, and need a HTML Editor for Windows. Anyone know of a control i could use, or a way to export to HTML Is there classess to convert RitchText to HTML hi, thanks to jonas, i've been able to do a full english& ...Show All
Visual Studio Team System Cannot Create Team Project
I have just installed team server and all its pre-reqs, single server install. I have installed this on a Virtual Machine. After all this, I installed VS 2005 on the machine and tried to create a Team project. The error I am getting is "Unable to connect to server" When I try to connect to http://servername:8080/default.aspx i get the following error: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this spec ...Show All
Visual Studio Express Editions ComboBox 2005?
I need to know how to add a ComboBox into a VB Basic Express 2005 exe application. I have tried but I haven't found any luck. Please Reply ASAP. thats true, you can just add controls from the tool box when you are on the designer view, you can add any controls when you are on code view plz mark your answer as reply best regards ...Show All
Visual Studio Shipping VSTA Application
Hi, I have one application and I want to ship that to another machine , how do I ship runtime VSTA engine with my application to that machine so that I donot require to install VS 2005 or VSTA explicitly on that machine. Thanks in advance. VSTA contains both the IDE (which contains the IDE and Runtime) and a Runtime only MSI, plus languange packs for both. Normally you only need to chain the IDE MSI into your host application. But if you want a Runtime only install that is also an option. Paul Stubbs Program Manager ...Show All
Smart Device Development ControlBox
How would I execute code when the user clicks the controlbox (little x in the upper-right corner). for an example, if i wanted to display a form that prompts im the user really wants to exit when the x is pressed; or if i wanted to end the program instead of just closing the form when its pressed Well, you haven't specified a language. Are you using the compact framework, or is this in the wrong forum The event is FormClosing and if you set e.Cancel to true, it won't close. ...Show All
Visual C# Working with database data in textbox controls instead of datagrid?
I've learned how to display/update data from a database in a datagridview control. But when working with one row at a time, i would prefer to make a nicer GUI, with textboxes/checkboxes etc. Are there any easy way i can achieve that Reading and displaying is one thing, but what about updating Does anyone know where i can find any tutorials that demonstrates working with data in other controls than the datagridview Example: A GUI with a button that fills the textboxes with data from a data source, a button that updates any changes to the db, and buttons that lets me select previous/next records. Btw, i'm working with a Mysql database, so i ...Show All
Visual Basic Window size?!?!
I work on a 17" Widescreen LCD monitor with a resolution of 1920 x 1200. How will I know if the Windows application I develop will fit on a 15" screen with a resolution of 1024 x 768 In VB6 there used to be the "Form Layout Window", is there anything similar in .NET 2003 Thanks Screen real estate typically refers to the number of pixels you have (e.g. a 1024x768 resolution has more 'screen real estate' than 800x600 or, two 17" monitors running 1280x1024 has 36% more screen real estate than a 22" monitor at 1600x1200, although they have physically different sizes). If you want the controls to stay the s ...Show All
