Babak Farahani's Q&A profile
Visual Studio Team System SQL Server requirement
The following is listed as a requirement Microsoft SQL Server 2005 Express, Developer, or Enterprise Edition installed and running for design-time validation on the same computer as Visual Studio. For more information, see http://go.microsoft.com/fwlink/ LinkID=78582 . It seems to suggest that a locally installed database is only required for design-time validation. If this is correct does this mean either that a) SQL Server is not used for any of the other features or b) SQL Server is used for other features but doesn't have to be installed locally If b) how do I set up DB Pro to use a remote instance This is what I want to do and is something I pointed out in one of the survey's during the CTP. And annoyingl ...Show All
Visual Studio 2008 (Pre-release) Pages to Scrollbar in FlowDocumentReader
I have a FlowDocumentReader that I'm using in Page mode. It is working perfectly for the most part. But when I shrink the window down where some of the text is cutoff, it is giving me the paginator stuff (ie. < Page2 >). What I want it to do is to give me a vertical scrollbar instead. Any ideas Thanks Lee ...Show All
Visual Studio 2008 (Pre-release) ToolBar Align
Hello All (Or should I say Lee) How can I create a toolbar with one button on the left and one on the right. In winforms each ToolBarItem has .Align property. How can I do this in WPF Thanx Itzik you could try adding a dockpanel as child and add buttons to dockpanel < ToolBar Width = " 500 " > < DockPanel Width = " 470 " LastChildFill = " False " > < Button DockPanel.Dock = " Left " > btn1 </ Button > < Button DockPanel.Dock = " Left " > btn1.1 </ Button > < Button DockPanel.Dock = " Right " > btn2 </ Button > </ DockPanel > </ ToolBar > ...Show All
Visual Studio Help Integration Generated Setup
Hi, I have created a setup program using Help Integration Wizardin Visual Studio.NET 2005. I have created a *.HxS file which I use in Help Integration Wizard. When I use this setup to install Help Files in Visual Studio.NET 2005 it correctly installs it. After uninstalling this setup when I try to run this setup programm again it runs fine but help files are not installed, though one sees the Help Topic in drop down box of Filter. When one chooses that filter it does show a hour glass icon doing something but than it come back showing no help file collections. I have no other instance of help system installed except Visual Studion.NET. Can anyone please suggest what should be done to get Help Setup working correctly Thank you. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Shader states, etc? (HLSL effects not working right)
I'd like to call upon all the shader gurus here for some help :) I've been experimenting with writing some of my own effects, meaning I'm a HLSL newbie, and have been using NVIDIA's FX Composer to do my work. After producing a cool (albeit simple) effect, I decided to try using it in my little model viewer. The problem is that the way it shows up through XNA is different than the way it shows up in FX Composer, and I can't figure out why. You can find the code to my effect here: http://www.hiranipra.com/data/help_attach/gb1_shader.txt - it's just fairly simple environment mapping-ish stuff. A screenshot of what it looks like in FX Composer: http://www.hiranipra.com/data/help_attach/FxComposer1.jpg - it's hard to tell, but the ...Show All
Software Development for Windows Vista Hello UIAutomation World with WPF
I am currently trying to figure out how the new UIAutmation works. I tried the "Hello World" approach, i.e. the (almost) simplest possible example wich uses UIAutmation to simply click a WPF Button. The Apps UI looks like this: < Window x:Class = " UIAutomationTest.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " UIAutomationTest " Height = " 328 " Width = " 334 " MouseDown = " Window1_MouseDown " > < Button AutomationProperties.AutomationId = " Butt ...Show All
Visual Basic Saving data displayed in dataGridView
I am fairly new to VB.NET 2005 and have a small problem that looks like a big one for me. Below is what I am doing to get queried data in the dataGridView at run time: Private Sub CompleteOperationsToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CompleteOperationsToolStripMenuItem.Click OperationsDialog.Show() End Sub So on clicking event of the above code the operationsdialog form opens up which has got a workcentercombobox (which is dragged from the WC010931 dataset) and ok, cancel buttons. The code in this form what I have is: Public Class OperationsDialog Private Sub OK_Button_Click( ByVal sender As System.Object, ByVal e As System.EventArg ...Show All
Visual Basic How do you trap errors from System.Drawing.dll?
When I execute the following code, I get the error - An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.Drawing.dll. In this example it occurs because the wmf file is very large and PictureBox1 size mode is Auto. I know I can prevent this error, but that's not the point. The point is I can't trap it. The error never gets caught. Can anyone please enlighten me as to why this is possible and what if anything can be done about it I thought exception error handling was supposed to prevent this type of thing from happening On a separate note, it would be nice to know (or be able to calculate) the size limitation of the PictureBox control. My guess is it's hardware dependent and therefore not docum ...Show All
Visual C# error PRJ0003 : Error spawning 'cl.exe'
I am porting a solution from VS2003 to VS2005. I am compiling the solution on Visual studio 2005 developer edition. The solution has several projects - some in c# and one in VC. One of the projects has a batch file that compiles all the projects in the solution. The solution compiles fine in VS2003. However in VS2005, during compilation the following error is shown in the output window: Project : error PRJ0003 : Error spawning 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe'. The error occurs during compilation of the VC++ dll that is part of the solution. I have tried the following: 1. Updating the PATH environment variable value to the path value obtained from VS2005 Command prompt. 2. Deleting VCComponents.d ...Show All
Visual Studio Team System Web Test Transactions
Hi, I'd like to know which is the meaning of Web Test Transactions. Is it just a logical grouping of requests Has it some other implications Which is the impact of using them Thanks LucasC I got one question related to transactions. Suppose i group four requests into a transaction, and if the frist request fails, will the client send requests 2 to 4 or will it fail the test without sending the request Thanks ...Show All
.NET Development Controling the Order of Xml Serialization
I have an object which serializes fine to xml, but when I deserialize back to an object I need to ensure that certain elements deserialize before their dependant siblings. The schema that I'm using doesn't define a specific order, so sometimes it comes in different order ie: <RootNode> <DependantNode/> <Non-DependantNode/> </RootNode> or <RootNode> <Non-DependantNode/> <DependantNode/> </RootNode> Is there a way to tell the serializer to only process a certain field after it has processed another Or do I need to modify the Xml before deserializing Thanks for any help, Matt Bell How are you defining the object Th ...Show All
.NET Development Fixed width text file
How to read a fixed width text file and then load in a SQL server tabel Using SQL Server tools, SSIS or the command-line BCP utility can do this. Using C#, you can use a StreamReader to read the text file the .Substring all the parts of each record into an SQL INSERT statement, then run the insert. There are faster ways, but this is easiest :-) -Ryan / Kardax ...Show All
Game Technologies: DirectX, XNA, XACT, etc. how to build a 2D map
hello all. i am working on a 2D tank game. I just want to ask how to build the map for the game. Is it better to build a tile map or should I load a big texture (*.jpg) file what do you think thanks ok, thanks i know this tutorial... then i will do it in this way. thanks greg ...Show All
SQL Server Report doesn't work from client side
Hi everyone, Primary platform is XP as client side and 2003 as server. When I press F5 in order to see my report from IE appears this error: An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'SQL1.BDADMIN'. (rsErrorOpeningConnection) For more information about this error navigate to the report server on the local server machine, or enable remote errors However, preview button works properly and data are showed. Let me know where am I failing. Regards, Can you verify that the account that you are using to connect to the SQL1.BDADMIN database has permissions to connect Jarret ...Show All
Visual FoxPro appending data into an existing DBF with an autoincrement field
I have a table called special.dbf. It has a autoincrement field. I would like to append records to this file. The autoincrement field always defaults to zero and produces an error message. Any suggestions on how to append or insert records would be helpful. I would like to append using a text file or excel file from MS Access table Or import directly from Access to FoxPro. Oh I thought you were directly appending from SQLExec() result. You're putting a text file in between. Then create a temporary cursor that matches the structure of your table and format of text file. Drop autoinc field. Append. ie: table: AIncField, Field1, Field2 text file: 0,"Field1Value", " Field2value " select * from myTable in ...Show All
