Travis Shipley's Q&A profile
Visual Studio Reportviewer doesn't print first time I click print button
I use a WindowsForm Reportviewer. C# 2.0 I generate the report and all is OK but when the user try to print (print button in toolbar), the application open the printdialog, I select the printer and press Ok. But the application doesn't generate a document. When I try again, all work fine. If I close the application and restart, occurs the same (first doesn't works, second works, all time works). somebody have any idea Thanks form Spain. Are you using the RTM version of the controls and of the 2.0 framework We saw iss ...Show All
Visual Studio Team System Team Project Creation
Hi, I am having a problem in creating a team project from webform using TFS API. How to use it from outside VS 2005. Any help Regards, Whidbey_boy To create a Team Project, you will need to use the Team Project Creation Wizard in VS. After connecting to a Team Foundation Server, right click the server in the Team Explorer and choose to create a new team project. Buck ...Show All
.NET Development Preventing user from typing in a datagrid cell ?
Hi, I have a normal vb.net datagrid. I do not want the user to enter any value in the first column of the grid. At the same time I cannot set it to readonly= true for some reason. How can I prevent the user from entering any value into the cells of only that column The keypress or keydown events of the datagrid are not working. Can you please help me. Prasad First, I think it's not so normal datagrid if you expect it to be readonly but can't set it as readonly. Instead of KeyPress or KeyDown, have you tried looking into other events The following is copied from MSDN. Besides the common contr ...Show All
Visual Studio 2008 (Pre-release) Invalid Operation Exception in simple method in httpbasicBinding
Hi I have a simple method defined in the following interface: [ ServiceContract (Namespace = "http://www.tid.es/ACS/Server/" )] public interface IAcsService { [ OperationContract ( /*IsOneWay=true*/ )] void ConfigurationPostBack( string url, string username, string password, string protocol); } exposed in the IIS with this simple web.config: < system.serviceModel > < services > < service name = " Telefonica.Mieres.AcsService.AcsServiceType " > < endpoint contract = " Telefonica.Mieres.AcsService.IAcsService " binding = " basicHtt ...Show All
.NET Development "cannot insert the value null into column"
in my table FriendsID column is the primary key and can not be allowed null values normally. When I have an insert stored procedure executed in the code below, it is having the error message "cannot insert the value null into column". But anyway because the column is defined as the primary key it can not have null values. Why am I having this problem Pls. help.Thx. StringBuilder errorMessages = new StringBuilder (); string ConnectionString = friends.Properties. Settings .Default.friendsConnectionString; SqlConnection confriends = new SqlConnection (ConnectionString); confriends.Open(); SqlCommand cmdInsert = n ...Show All
Visual Basic Adding Data to the original Data Source/Access Database
I have followed a number of walkthroughs whilst using Visual Basic 2005 as part of the Beta 2 Visual Studio. My problem is starting when I want to send information back to the original data source (an Access Database) Now, my form loads the information from the datasource (northwind customers table) however when I try to create a new record, the changes are reflected in the dataset, ie the record is created and i can see it if i navigate off and back on the record, BUT it WONT go back to the database. When I preview the data either from my data set with Visual Basic, or whether I open up the database itself and check the table, the record is ...Show All
Visual Studio Express Editions Adding components!
Hi, I am having some trouble adding components to VB express edition 2005. How can I do that please Bee Sorry I did not explain well enough. I meant when you make a component (control) and want to add it to a windows application in VB.NET. In Visual Studio 2003, you usually add it by right clicking the Toolbox and then select add...then you browse to where the control is and add it. After that the control will appear on the toolbox with other tools. I tried that on VB.NET express edition 2005, but it does not give me the option to add a new control. Is there any other way of doing it in this environment please ...Show All
SQL Server MS Word rendering extension
When rendering extension for RTF or Doc or WordML will be available Will it be released in service pack for SQL2K5 or it will be released in next version of SQL Server While SSRS does not have it, check out our new product, we've done just that. Export reports to DOC, RTF and WordML. Aspose.Words for Reporting Services - http://www.aspose.com/Products/Aspose.WordsRS/ ...Show All
Visual Studio Team System Decent amount of memory to run Virtual PC
Yesterday I was at our local Microsoft office to watch presentation of new VS Team System feature. The speaker used Virtual PC on his notebook and it was painfully slow. Grotesquely slow. The speaker had to have QnA breaks during his presentation while his PC was executing selected action. I asked him how much RAM he had. One gig. And this is what I was going to have on my notebook to test Beta 2. Out of the question. But before I plan for 1.5 Gig (planning for more will be much more expensive, since I will then have to throw away the RAM I have now), I'd like to ask about your experience. Is this decent Another question is what OS to choo ...Show All
Software Development for Windows Vista EventQueueName question
Hello, I have the following questions: 1) the EventQueueName is only related to an activity of type HandleExternalEventActivity (for example in the collection returned by the method GetWorkflowQueueData of an instance). Is this afirmation correct 2) has the DelayActivity a queue item like the one mentioned before (something like DelayQueueName with delay activity data) Thanks, Markus Hey Markus, (1) Yes, the queue(s) and their name(s) are created when the WF arrives at the state. In addition to those, there is the SetState QueueName, so externally we can always SetState where e ...Show All
SQL Server Datetime data type ??
I have a table in the database. One of the column is of datetime type. What is the best way to insert and retrieve value from that column. Here is the scenario 1) I want to insert value '02/03/2006' into the column. How does the sql server know that the month is 02 and not 03. Will it look into the system settings. If so then can I sepcify custom format to distinguish between month,day and year. 2) I want to retrieve value from the datetime column in the format dd/mm/yyyy hh:mm:ss AM/PM . What sql statement I have to use Thanks This is a very good question, one that many forgets to ask (until it's too late) =;o) 1) T ...Show All
Visual Basic What's the difference between BUILD and REBUILD solution?
Any pointer to an article Or an explanation of the difference -Clay So, it seems that you could always just use Rebuild. Is there ever a case where you'd NEED to use Build and Rebuild wouldn't be sufficient ...Show All
Game Technologies: DirectX, XNA, XACT, etc. D3D Sprite Object
Hello everyone, I've been using the D3D Sprite object to create a simple sprite based game. Everything was going accordingly until it came to scroll the camera. After trying many implementations and reading conflicting resources I've come here asking for help. My objective: Center the camera on an object that moves around the world. The problems: Setting the device.Transform.View matrix does nothing. Setting the sprite.SetWorldViewLH(myWorld, myView) crashes the application. Setting the sprite.Begin(SpriteFlags.ObjectSpace) flag does something, but I cant see any of my objects. When I don't set any view matrix or use ...Show All
Windows Forms DataRow to the textbox
Hi, I have 4 textbox controls(txt1, txt2, txt3, txt4) on my windows forms. And in my database there is a column called Attorney. The query might return 0/1/2/3/4 rows. Now my question is how do attach the textbox controls to the rows of the datbase. txt1---->row 0(if exists) txt2---->row 1(if exists) txt3---->row 2(if exists) txt4---->row 3(if exists) Now my question is how ...Show All
Visual Studio Help!
I downloaded both the framwork and the SDK (2.0), installed them... now what I still cannot use the System.Collections.Generic I think my visual studio has not realized I installed some stuff ^^ The 2.0 framerwork only works in the 2005 ide. . .you are forced to use the command line compiler or the express editions. . . Hope you didn't pay alot for that VS 2003. :( hurry and you can still get a good deal on an upgrade! ...Show All
