Answer Questions
mattdawg Another question about localization
Hi, Is there a way to change culture on the fly so that all the UI elements would be updated accordingly I tried modifying Thread.CurrentThread.CurrentCulture and Thread.CurrentThread.CurrentUICulture, but it does not have any effect once the UI is displayed (as opposed to including this code in the application constructor). And another question, does WPF change the flow direction automatically according to the set culture or should I set it manually for each Window/Page I tried setting the current culture to arabic, but that didn't effect the flow direction. Are there more settings to tweak Many thanks in advance. ...Show All
thomashenrydavies How to start ? Where to start?
Hi all, .Net 3.0 RC1 is out and i was curious on how to start learning the new technologies such as avalon. So downloaded .net 3.0 RC1 and the Windows SDK corresponding to the release (still dowloading it .. it's HUGE .... :S. IS that all i have to do is there anything else i have to install anything for visual studio 2005 I've seen somewhere ... Visual Studio 2005 Extensions ..... do i need that Do i need anything else Thanks for the help! If you can't wait several more days, I think you can install Orcas June CTP like that: msiexec /i vsextwfx.msi WRC_INSTALLED_OVERRIDE=1 alright thanks, i guess ill wait. I have - visual stu ...Show All
Shaik Habeeb VSS automation
Hi, I have created a small automation program to get my projects from a VSS database. the problem is when I try it in my machine everything works without problems but when I try to run it on another machine (a server with Windows 2003) I get the HRESULT code -10550 that corresponds to: Bad username syntax: "%s" can you help me please Thanks Can you post the code this is the code I'm using Note: the errorMessage function is used only to print the error code CLSID clsid; IClassFactory *pClf; IVSSDatabase *pVdb; BSTR bstrPath = SysAllocString(_iniFile); BSTR bstrUName = SysAllocString(_userName); BSTR bstrUPass = SysAllocString(_password); ...Show All
Thymen Memory Issues
Hi everyone!!! I have develop a service the acts as a bussiness layer, I never noticed that it consumes a large memory amount, but I was testing with a little concurrent client number (12) not too much, well 2 o 3 hours later I have seen one of my nightmares comes true: the service process grown up to 900MB!!! Yes belive me!! Well first at all I think: "I'm really a bad programmer and I'm not using well the Framework, let's review the code", I found 2 or 3 issues but nothing critical, then I tried again and guess what The same result, I was investgating the memory issues debugging with windbg and I noticed that no a lot of objects where maked to get collected, specially wcf related objects, and well the GC is working but real ...Show All
Frans Vander Meiren Making NavigationUI frame specific
Hi, I would like to have my NavigationUI sensitive to the different frames i have in my page. In other words I would like to keep a journal of each frame and change the journal of the NavigationUI when the specific frame becomes visible. But I can't find a way to change the journal of the NavigationUI. So I want to change the journal of the NavigationUI each time the TabItem changes. <Page x:Class="TabJournal.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="TabJournal"> <StackPanel> <TabControl> <TabItem Header="{Binding ElementName=frame1, Path=Content.Title}"> ...Show All
Philip Tolk Relative imagesources
I have 2 questions regarding relative Uris First question: Why doesn't this work < Image Source = " test.jpg " /> < Image Source = " E:\Documents and Settings\Administrator\Mina dokument\Visual Studio 2005\Projects\testimage\testimage\bin\Debug\test.jpg " /> The first image is not displayed but the second works fine. (the exe is located in the debug-directory) Second question: If i have a program that dynamicly loads an xaml-file at runtime located at APPDIR\skins\myskin\data.xaml In this xaml-file there is an Image, will the source on this Image be relative to the main exe or to that xaml-file. Is it the same for xaml-files compiled into the main ...Show All
Koruyucu Binding problem after selection on ListView
I have created a binding style1 which binds SelectedItem to a DependencyProperty and is programmatically applied to a control. If a style is applied to a control before making selection the binding works, but if a selection is made first and style is applied after that the selection binding will not work... Is that a bug.. or am I missing something (Try this code and see if you hit the breakpoint) < Window x:Class ="BorkenBindingAfterStyleSwitch.Window1" xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x ="http://schemas.microsoft.com/winfx/2006/xaml" Title ="BorkenBindingAfterStyleSwitch" Height ="395" Width ="499" Name =&qu ...Show All
JayakumarG Help With Installing Visual Studio 2005 Professional
Could someone please tell me step by step what I need to do in order to install Visual Studio 2005 Professional. I have downloaded the En_vs_2005_Pro_90_Trial.img file but from here I am completely lost. I am looking for some way to install this program into my computer without having to purchase the ISOBuster software or possibly any other software for that matter. I am a total newbie to any sort of file like this (.img) and just about everything I have read concerning it confuses me. I do have a CD burner but I don't even know how to use it, so when I read about burning the VS2005 file to a CD I am lost here also. If someone could explain in laymen's terms how I can install this file into my machine I would greatly appreciate it ...Show All
R Raghu Defer the settings within an ItemGroup
Here's what I'm trying to do: I've got an msbuild file that will checkout from an svn repository into a new clean directory. Then I want to build the projects within the local directory that the checkout went into. I'm using the SVN tasks from the MSCommunityBuild tasks to checkout from the repository. <SvnCheckout RepositoryPath="svn+ssh://myrepository" LocalPath="c:\" /> My main build is dependent on this task, however I'm having problems getting the build to launch because I've specified my solution files in an ItemGroup as relative to this new directory path, which doesn't exist when msbuild is launched. <ItemGroup> <SlnFiles Include="C:\work\mytrunk\**\MyProject.sln" /> ...Show All
C&#35;Student How do I set a data breakpoint?
I have tried both native and managed projects, running and not running apps, but the 'New Data Breakpoint' option is perpetually disabled (greyed out) in both the main debug menu and the break points window. In MSVC 2003, the breakpoint setup was straight forward. Could someone please tell me how to get this working Is this a bug It works as it's supposed to if you don't have IVF 9.1 installed (at least their visual studio integrations component), yes. I disagree ;) Turns out if you install Intel Fortran 9.1, the visual studio integrations component will make your data breakpoints non-functional. Hopefully M$ fixes VS to no ...Show All
R.Working DLINQ & SQL CLR
Hey gang. I am just getting into reading SQL CLR and I know I am a bit behind on things but it seems like a real interesting way to do DB code now. Although I am stuck using the ADO methods which kinda sucks. Is there any possibility in getting DLINQ to work for Stored Procedures, Triggers etc Thanks and take care. Anyone I would of thought since dealing with SQL directly that the most useful spot for DLINQ would be integration with SQL Server itself instead of using ADO and SQL via string concatenation etc. Also think this is a perfect spot for ADO Elements. Object version of your data model would be great for Stored Procedures. ...Show All
Skapol Can InkCanvas Keep element in bounds?
Is there a simple way to tell an inkcanvas to keep all elements within its bounds I don't want the elements to get dragged partially out of view. I am currently using DragCanvas, but thought I would check out InkCanvas too. I need the ability to resize elements and it's very nice that InkCanvas provides this functionality. I don't think the InkCanvas has that feature. If you don't need to use the Ink mode, try my DragCanvas and set AllowDragOutOfView to true. http://www.codeproject.com/WPF/DraggingElementsInCanvas.asp ...Show All
Silaros No 'Click' for CommandBarPopups, so what should I do?
I would like to have a custom menu ( CommandBarPopup ) to have it's items enabled/disabled depending on the current user selection (e.g. chart/cell). The problem I'm facing now is that there is no Click property attached to the CommandBarPopup class. I am aware of the OnAction property which can be used to call VBA code, but what is the best way to approach this This is for a COM Add-in, not for a single workbook and all the examples I've seen of using VBA are bound to a single file. The rest of my Add-in is written in C#. I was considering having a placeholding CommandBarButton that, when Click ed, would execute the required code, before making itself invisible and making the true CommandBarPopup menu visible. However, this solution is f ...Show All
Joshua Nobes Menu item in Solution Explorer
I am attempting to add a new menu item when someone right-clicks on a Project within the Solution Explorer. This was just my first attempt, and it isn't working, can anyone provide any suggestions I have included what I have in the OnConnection method. Thanks in advance. public void OnConnection(object application, ext_ConnectMode connectMode, object addInInst, ref Array custom) { _applicationObject = (DTE2)application; _addInInstance = (AddIn)addInInst; Command dosRiosCmd; Microsoft.VisualStudio.CommandBars.CommandBar cmdBar; CommandBarControl cmdBarCtl; if (connectMode == ext_ConnectMode.ext_cm_UISetup) { try { object[] contextGUIDS = new object[] { }; do ...Show All
Bor Visual Studio Hangs when adding a web project
Hello, I am attempting to add a specific project to a solution (this is the only one it happens with, all others are fine on the same box) and it hangs and I have end the devenv.exe process. I NEED to get into the code and our other developer is able to acces it fine. Any suggestions Thanks! Jamy yes it does, I was actually double minded wondering if it should be posted over at ASP.NET (safer) or here. Can you tell us what programming language you are developing with I can then split the posts to make a new thread in the correct forum here for you classic ASP I can't seem to find a community for classic ASP to post your question to. Are you sure its classic ASP, since your topic title is "Visual Studio hangs.. ...Show All
