karande23's Q&A profile
Software Development for Windows Vista How to get started with WPF
I feel dumb asking this question, but I just bought a machine with Vista on it, I've installed VC2005 along with the SP1 and the SP1 for Vista Beta. I also downloaded the Vista SDK and I've got my handy O'Reilly "Programming Windows Presentation Foundation" book at my side. I assumed I'd be ready to start producing WPF code but I can't even see any .NET 3.0 assemblies when I bring up the references dialog. No System.Windows.Navigation. No nothing. I looked for any .XAML files on the machine. Nothing. I've got the released version of Vista Home Premium - am I really confused or is WinFX/WPF/XAML/.NET 3.0 supposed to be on this machine I can understand there being no .xaml files (although a bit surprised) but why can't I find r ...Show All
Visual Studio No breakpoint hit in Visual Studio Development Server unless stepping from client to server
We are using a Windows application using XML Web Services. Normaly I run "Multiple startup projects" with both the client app and the service facade. This is working fine using IIS as web server. But when I switch to the Visual Studio Development server breakpoints on the service facade are not hit. (They look OK with symbols loaded) If I step from the client over to the servicefacade the server only breakpoints are working also, so after stepping from client to server is looks that the debuging information is loaded. Do you have any ideas how I get serverbreakpoint to be hit on the Visual Studio Development Server (As mentioned the service facade is loaded) Milzit, In order for breakpo ...Show All
Visual Studio Question about DLL Versioning
I am currently trying to implement source control (VSS 6.0d) between another user (a UI developer) and me (programmer). The UI developer uses Dreamweaver 8 for his chosen IDE. We do not have other licenses for Microsoft Visual Studio besides mine (VS.NET 2003). We have gotten source control worked out but I am confused as to the best practice concerning the bin folder. I was under the impression that the bin folder is hidden, and each developer had their own when working in Isolation mode. We are working in Isolation here, but because Dreamweaver does not offer a Build option (at least I cannot find it as of now), the UI developer cannot view his changes to .aspx files. As an experiment I added the bin folder to the VSS tree an ...Show All
Visual Basic Can not change the size of controls on a form
I have a VB.Net 2005 project that I have been working on for sometime. It contians about 38 windows forms that each contain a number of controls (text boxs, labels etc...). Since using VS 2005 we have had off and on probelms with not being able to use the mouse to change the size of a control in design view. You can move the control via mouse but nat hcnage the size via mouse. You are able to change the size of the control using that controls poperty window. In the past we have closed down VS2005 and reopned the VS2005 and you can start resizing controls in design via mouse(the bug goes away). Recently this bug has gotten worse. Closeing VS2005 is not working and rebooting has been of little help. Any ideas - is this a known bug. It ...Show All
Game Technologies: DirectX, XNA, XACT, etc. xnb file shader
when i have to release my game engine it comes with prebuild shader for win and xbox is there any form i can store copyright info inside the shader or pehaps store some file info in my engine so i prevent people from steel my shaders Cool stuff. Have you seen Sean O'Neil's article in GPU Gems 2 It is an implementation of Nashita's atmospheric scattering model in shader form. ...Show All
Windows Forms Input validation on Windows Forms
There are similar questions to this but answers so far have been spotty. So far this is my understanding of the built-in "validation routine" (yes, the quotes are there) for Windows Forms , at the 2.0 level of the Framework: Validation us set at the control level, ex. textbox.validating event There are no other validation controls (like the ones in ASP.NET) built into Windows Forms If your application has a single form, say only separted by a tab control for other functionality, you'll have to do some magic, or obtain 3rd party stuff, to get real validation going. Here's what I've experienced and why I don't think Windows Forms actually has a validation system at all - hence the quotes in "validation routine" ...Show All
Windows Forms Dataset/TableAdapter creation with reserved words
Five or six tables in my source database have columns called 'System'. This throws the autogenerated data access layer into fits because the scope of the autogenerated System supercedes the .net System namespace. It also names some parameters of methods 'System' as well which messes up interior code (Like System.DBNull). If you edit the designer file to rename System to something else when it regenerates it renames the code back and breaks everything again. How do I create a dataset with table adapters that has a column named System ...Show All
SQL Server Interesting article comparing SSIS to Oracle Web Builder
http://www.tdwi.org/News/display.aspx ID=8100 News Flash: Oracle just acquired a highly regarded relatively new but popular ETL tool: Sunopsis, for ~1.5 B (as in billion!) It is an interesting tool which received a high evaluation during our project's ETL tool evaluation effort. The tool is basically a sophisticated GUI that allows users to design and specifiy ETL processing using the GUI, and then spits out SQL to perform the ETL. The SQL runs on the user's RDBMS. Differening RDBM servers are accomodated by use of "templates" for each specific RDBMS product. ...Show All
Visual Studio Express Editions Microsoft Visual Basic 2005 Express Edition Problem!!
I was making a new project, so then i press "Windows Application", then i name it, then i press ok. But then This Errors Pops UP! So anyone can solve this problem for me pl0x ok i changed my computer's name now, ima try it again where is this - Use menu Tools | Options - Select "Project and Solutions" on the tree view. - Check "Save new projecst when created" on the panel. ...Show All
Visual Basic Centralize a form
Hi, I am using VB.NET 2003. How to centralize a form Regards Tran Hong Quang Set the form's StartPosition to CenterScreen or CenterParent depending on your needs. Assuming of course this is what you were meaning. ...Show All
SQL Server Upgrade to Sql 2005 from Sql 2000 issue
Our organization has an accouning package that uses sql. We moved it to a new server running sql 2005, the old server wqs sql 2000. WE detached the databases and moved them to the new one. Our package has a 'screens' database which holds all the user and security info for the system. Within the software there is a 'synchronize with sql' function to add all the users to the new sql 2005 platform. After doing all this we have no problems accessing our data as any user previously setup. When we try to add a new user thru our software package we get the following error, [Microsoft][ODBC SQL Server Driver][SQL Server]Could not find server 'CHSVSQL001' in sysservers. Execute sp_addlinkedserver to add the server to sysservers. We only have ...Show All
Visual C# Simple If Statement Question
Is there a better way to avoid an exception than the following If statement I have a button that invokes this code. I don't want an error to occur if they leave the txtPennies.Text blank or with some other unexpected input. I made the If statement say if the text was blank, just return, but what if I wanted the If statement to go though all of the lines of code { int intLeftOver; if (txtPennies.Text == "" ) //Is there a better way return ; intLeftOver = int .Parse(txtPennies.Text); lblDollars.Text = (intLeftOver / 100).ToString (); intLeftOver = intLeftOver % 100; lblQuarters.Text = (intLeftOver / 25).ToString(); intLeftOver = intLeftOver % 25; lblDimes.Text = (in ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Strangest 'Bug' I've Found Yet
Hi, I'm still trying to draw large gridmap terrains on the 360 and so far am having a lot of success. Performance seems to be a lot higher than my 6800GT, perhaps by about a factor of about 4. The issue I'm having though is really rather strange and I've been wondering for the last couple of hours quite how it could be happening. I create a huge vertex buffer (as big as XNA allows before throwing an UnauthorizedAccessException at me) for the gridmap and draw the entire world (4million polygons) in a single draw call. Except the frame rate is good under some circumstances and bad under others, and the factors that make the frame rate plummet really shouldn't affect the frame rate at all. If I create only this one VertexBuffer and try ...Show All
Visual Basic Reflection fails with File Not found.
Hello All: What's happening; A Net2.0 application loads a custom control using reflection. When the control is actually shown in the interface, the control instantiates another control from the same assembly into another panel of the interface. The User control that is initially instantiated through reflection and is show in the left panel we cal the "SelectControl" and the second user control that is ionstantiated by the "SelectControl" and placed in the Right Panel is called the "ViewControl" It's a plug-in mechanism we are using. There are already several plugin controls we have built that are used this way in this application that work without issues. so the Architectual model and the code implimenta ...Show All
Visual C++ Accessing Image resource (bitmap)
Hi, I tried but without success to access a bitmap file which I added in my application resource file as following: "resource.h" #define IDB_LOGOBWVISU 107 "app.rc" IDB_LOGOBWVISU BITMAP "Dessins\\LogobwVISU.bmp" How do I access this resource from within managed C++ code taking into account that I want to assign it to following Image object: System::Drawing::Image* Logo_Visu; Many thanks in advance, Stephane It sounds like you're using VC Express. You'll need to install the Platform SDK to be able to use LoadImage(), you'll find the instructions here... ...Show All
