Dr.Gonzo's Q&A profile
Visual C++ Splash Screen
How can I make SplashScreen in Visual C++ .NET 2005 I know how to realise it in VB .NET - it is very easy to do it there. For .Net specific libraries I would suggest using the forums at http://forums.microsoft.com/MSDN/default.aspx ForumGroupID=12&SiteID=1 where folks are more familiar with such routines. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual FoxPro I really confused
Hi, I really confused..what is the different between Visual FoxPro and Visual Basic and Visual Studio.. ..which one better.. ..what features for each programs.. ..when to choose each program.. Please help me.. Thanks, Jennifer Visual Studio (VS) is a development environment with multiple languages/tools in it. Visual Studio version 6 had Visual Foxpro (VFP) in its family of languages/tools. After that VFP community chose to be separated from VS. Current version of VS (VS 2005) have VB,VC#,VC++,VJ# included. All of them are in the .Net family while VFP is not. VFP is a data centric languag ...Show All
Visual Studio 2008 (Pre-release) Overload all <bold> tags
Is there anyway to set how bold the <bold> tag makes my text The default value seems too bold for how I want... Preferably it would be some kind of overload that is set as a resource which affects all the tags. Thanks! Doh... ok. I was hoping there would be something akin to CSS where you could set the degree of boldness but I guess not. ...Show All
Visual Studio Express Editions Can not download the express edition
The reference path to the install package is invalid on the page of http://lab.msdn.microsoft.com/express/vwd/. :( Works for me. Try http://go.microsoft.com/ linkid=2676894 for the direct link. ...Show All
Windows Forms Question about ClickOnce
Hey all, I thought of using ClickOnce technology and its benifits to install an old VB6 application which is used by a website. The installation includes registeration of DLL's and COM objects. It also needs to place files under %programfiles%\company directory. I thought of using C# 2005 project to make a shell to: 1. MSI package which will do the job. 2. Create my own code of installation inside the project. What do you think Any tips on how to do this Much thanks... Regards, Zeffy. Why don't you explore ClickOnce reg-free COM features. There in an article in MSDN by Dave Templin on how ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Preventing memory leaks
Hello, I am trying to make my project clean and so I am looking for memory leaks reported by DirectX debug driver. The problem has two parts: 1) if I set a "Break on AllocId" in DX configuration with Id obtained from previous program run where DX reported memory leak, project is stopped on absolutely unrelated piece of code - is it possible that it takes some time for DX to stop it when it catches a problem how can i find the exact location could this be because of I am running it multithreaded 2) I discovered that even such calls as SetStreamSource, SetIndices, etc. throw a memory leak if they are not "unloaded" by th ...Show All
Software Development for Windows Vista How to load conditions from a .rules file in a designer hosting application?
I want to let my designer hosting application be able to read conditions from a .rules file after it reads a workflow from a .xoml file. What can I do The rule editors and related classes use the WorkflowDesignerLoader. They call the FileName property to get the "name" of your workflow file (I put name is quotes since you don't really have to have a file - you might be storing your workflow in a database. Then they call GetFileReader - passing in that name with .xoml or .cs with .rules (so if you pass back foo.xoml - they will pass foo.rules to GetFileReader). You return a TextReader. They they ...Show All
.NET Development Question about system.configuration.ProtectedConfigurationSection
I'm attempting to use the example at http://msdn2.microsoft.com/en-us/library/system.configuration.rsaprotectedconfigurationprovider.aspx . However, no matter what I do, I can't seem to get the connection string to encrypt. Is there something special I should know I am expecting it to read the app.config file and encrypt the connection string, then save it, so that when I open it, it should not be human readable. Is there another step to this Kevon i had the same issue with this example i noticed that during runtime the file *.vshost.exe.config is encrypted. but thats not exactly what i was hoping for. i tried strong naming m ...Show All
Visual Studio 2008 (Pre-release) Suggestion to creating a managed way of overriding control's templates
As I've been messing around with control templates I've become increasingly frustrated when I start on a new control simply because of all the things I need to do. Microsoft published a little "how-to" here: http://winfx.msdn.microsoft.com/library/default.asp url=/library/en-us/wcp_conceptual/html/c52dde45-a311-4531-af4c-853371c4d5f4.asp ., but it still doesn't help me for the more complex controls. For example, a Scroll Bar. Sometimes I have to have controls named a certain name, sometimes I have to have certain control types for it to work, etc... I've been trying to think of a better way this can be accomplished. What I've come up with ...Show All
Visual Studio Team System Not letting me rename web projects after branch
If I have a project called WebUIApp in a solution called MySolution that exists in a Main line, in source control explorer I have $/MyTestProject/Main/MySolution/WebUIApp. In this case, I might have the WebUIApp at http://localhost/MyTestProject/WebUIApp . Then I branch the Main line to $/MyTestProject/V1/MySolution/WebUIApp. I then get latest versions on this and then try opening the solution. When opening the solution, it recognized that I already have http://localhost/MyTestProject/WebUIApp and asks if I want to use it. I do not want to use it since this is my main line so I choose no and it automatically cre ...Show All
Visual Studio 2008 (Pre-release) Listbox with ItemsHost Stackpanel: Scrollbars?
I have a list box style that uses a stackpanel as an itemshost. I can't seem to figure out how to put scrollbars on this guy. I tried ScrollViewer.CanContentScroll = true on the stackpanel, but no luck. I assume that I should set the ScrollOwner of the StackPanel to something but to what Here is the style: < Style TargetType = " {x:Type ListBox} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type ListBox} " > < StackPanel Width = " 200 " IsItemsHost = " True " Orientation = " Vertical & ...Show All
Visual C++ Property Sheets - A problem
Compiler: Visual Studio.NET 2002 Hi everyone, I am having trouble teaching myself Property Sheets. I thought I grasped the ideas but I get a 'First-chance exception' in the Output window when debugging. I do not think I am doing anything special, my code is: CPropertySheet propsheet(_T("Property Sheet")); MyPage pageFirst; // derived from CPropertyPage MyPage2 pageSecond; // derived from CPropertyPage propsheet.AddPage(&pageFirst); propsheet.AddPage(&pageSecond); if (propsheet.DoModal() == IDOK) { } MyPage and MyPage2 are created in the normal way in the resource editor and the classes are created using ...Show All
Visual Studio Express Editions Encrypt passwords reversibly
Hi is there a function that I can use to encrypt a password that can be decrypted. the password is stored on the local machine and is used to access the server. So it should be reversible. thanks It doesn't really have to be revisable, what you could do is store the hash of the password in the database and in the client code construct the hash. For example the client would enter the password, you application would then add some text to the value (Either at the end or beginning, or any other position) that only the application would know. Then you would perform a hash on the value and enter it into the d ...Show All
SQL Server expand visibility for recursive detail row based on prompt value
I have a table with hierarchical data where I am toggling the recursive items underneath. I am setting the initial Visibility setting for the details group based on the recursive level. My visibility expression looks like "=IIF(Level("PathName_Details_Group")=0,False,True)" and I have the Visibility can be toggled by another report item box checked with the field specified. This all works very well normally, but I would like to have a prompt (boolean for expand all true/false) that will automatically expand all of the detail rows. How do I do this Are you using a recursive group - that is, you are sett ...Show All
.NET Development .Net Framework 2.0 prevents 1.1 DLL from loading
I have 3 managed C++ DLLs compiled with VS 2003 against framework 1.1. One of them also has unmanaged code it in. The unmanaged code in the that DLL is called from an unmanaged Delphi application. (The DLL is loaded via a LoadLibrary call in the Delphi application.) The transition from unmanaged to managed is done via IJW. I make no calls to create/host my own application domain. This has been working fine on all systems with just 1.1. It has also worked on MOST systems with framework 2.0 installed. It has failed on 2 out of 3 Windows 2000 systems and 1 out of 20 or 30 XP systems. Removing 2.0 from the 2000 systems allows the app t ...Show All
