fieda's Q&A profile
.NET Development TableAdapter auto-generated code not working in VS 2005
All, I'm having an issue with the DataSet/TableAdapter code that was auto-generated by Visual Studio Professional 2005. Here is a snippet from the DataSet.Designer.cs file that was created by the software: [System.Diagnostics.DebuggerNonUserCodeA ttribute() ] public void SetTaskOrderNoNull() { this[this.tableTaskOrder.TaskOrderNoColu mn] = System.Convert.DBNull; } The build error I get is: 'byte' does not contain a definition for 'Convert'. I've done nothing to the above code. It's straight from the mouth of Microsoft. I've been looking through the Help system, and I've seen how the DBNull is a static member in the System. ...Show All
SQL Server A Problems after the install of the Hotfix
After installing SP1 and then the hotfix: http://support.microsoft.com/Default.aspx id=918222 We now get the following error when trying to work with date parameters in Report Builder: Query (6, 117) The '[VBA].[DateSerial]' function does not exist. ---------------------------- Semantic query execution failed. ---------------------------- Query execution failed for data set 'dataSet'. ---------------------------- An error has occurred during report processing. Is this a known problem or is there some sort of something that I can reinstall Thanks! Please open msmdsrv.ini from G:\MSSQL\MSSQL.1\OLAP\Config Does it contain t ...Show All
SQL Server XML source
I used a URL to xml feed as source and it worked great. A nother URL I visit requires me to add the lastvisited time to the URL. Any suggestions how to do this in SSIS (Assume I can select time lastvisited from database but how do I add it to the url and make it execute every 5 min for example) Regards, Throstur Thanks Jamie. You have been a great help. Regards, Throstur ...Show All
Visual C# how to update graphic in a different function
This is my code for drawing a set of 8 circles: private void tbInputTest_Paint(object sender, PaintEventArgs pe) { //Get the Graphics object g = pe.Graphics; //Create an array of rectangles Circles = new RectangleF ; for (int i = 0; i < 8; i++) { Circles = new RectangleF(310, 30+(i * 40), 30, 30); g.FillEllipse(Brushes.White, Circles ); g.DrawEllipse(Pens.Black, Circles ); } } I have a button that when pressed will update the fill color of one of the circle. how i do that I mean how to propagate the graphic handle toward the whole program. by the way the circles appear on a ...Show All
Visual Basic Relase the Fix for Visual Basic Compiler Error &amp;amp;amp;amp;H8013141e&amp;amp;amp;amp;
Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e& this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 .. JSB PS: this error pisses me of, i need to restart VS.IDE every 5 minutes. i think this is too bad for a recent relesase product ( its full of Bugs ). I am having the same problem. Happens in both Visua ...Show All
Visual Studio Express Editions WEBBROWSER CONTROL ..NEED HELP
I M A NEWBIE IN VB.NET... i created a new project...with a webbrowser control....i studied a webpage.. used this line webbrowser1.document.getElementsByTagName("INPUT").item(0).innerText="HELLO" to fill a textarea... it worked.. but below that there was a button on that webpage...i dont know how to click it using vb.net... can anybody plz ans my question... thnking in advance Hi, This post may help http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=166883&SiteID=1 . Best regards, ...Show All
SQL Server columns in select list
In your client, sure -- every client library can do that. In SQL Server, probably not. What is the business or technical problem you're trying to solve Perhaps we can come up with a better way of handling it. -- Adam Machanic SQL Server MVP http://www.datamanipulation.net -- < buragohain@discussions.microsoft.com > wrote in message news:6926c563-86b6-40a5-a3f0-3bc32f8e9e94@discussions.microsoft.com ... hi friends! Suppose, i have a query: SELECT fname AS Firstname, lname AS Lastname FROM Customer Now is it possible to get the column ...Show All
.NET Development vb.net and Access deployment problem
Hi I am working on a project using vs.net 2003 and access database. the problem is that I created a installer and try to install to other computers The installation is succeed on any computer, but when click on .exe file, some computers work fine, but some others just can not load data from access database only the form shows up without the data. Then I change the code a little bit. I use Application.ExcutablePath to location the database file when the program in the run time, the path given is right, but still the same problem, a form without data can anyone tell me the reason why it can find the db in some computers bu ...Show All
Visual Studio 2008 (Pre-release) How to get the data collunm name from the GridViewCollunmHeader
Dear all, I have the code below. XAML file < Window.Resources > < DataTemplate x:Key = " ID " > < TextBlock Text = " {Binding Path= ID } " /> </ DataTemplate > < DataTemplate x:Key = " Title " > < TextBlock Text = " {Binding Path= Title } " /> </ DataTemplate > < DataTemplate x:Key = " NumPages " > < TextBlock Text = " {Binding Path= NumPages } " /> </ DataTemplate > ...Show All
Windows Live Developer Forums Is it possible to find speed of xfer when xferring a file over network
Hi, Is it possible to determine the speed at which a file is getting xferred when xfering a file from a windows file share over a network On Windows XP , window shows the time left for xfer complete, but not the speed of xfer. Is there an option that needs to be set to view this information Thanks, -Praveen There are many factors apart from network bandwidth that comes into play. For eg. on a local LAN with 1Gbps link, you might still less ,<10mbps xfer rate. this might be due to cpu bottleneck. which might be getting saturated... Or it could be OS.. -Praveen ...Show All
Visual Studio 2008 (Pre-release) How do I access child ui elements of a ListBoxItem
Is it possible to get the child UIElements from a ListBoxItem created via a DataTemplate The Context property in this case is set to the bounded data object. Do you mean you want to get to the ListBoxItems (and their content) generated by a data bound ListBox If that is the case, please see my blog post in http://www.beacosta.com/Archive/2005_09_01_bcosta_archive.html with title "How can I get a ListBoxItem from a data bound ListBox " If this is not the scenario you are asking about, can you please explain a little bit more what you are trying to do Thank you. ...Show All
.NET Development XMLSerialize and its attributes
Hi, after writing my own custom XML saving tool I found XML serialize, which appears that it will do most of it for me :). However I've found a few things I can't work out (the documentation is a little inpenetrable in some cases for me). 1. I have a class called "IrcNetwork", and a derived class called "GemIrcNetwork", however both of them can represent the same XML element in the saved file (the program only uses GemIrcNetwork though). I need some way of overriding the fact that the XML type name "IrcNetwork" belongs to the IrcNetwork class. I'm pretty sure this is accomplished by the XmlAttributesOverri ...Show All
Visual Studio Visual Studio 2005 Beta Support: A Joke...Updated
I have spent most of the last week trying to use the Microsoft support and documentation to learn how to use SQL Server 2005 and Visual Studio 2005. I have come up with a new phrase..."It just doesn't work." I downloaded the Microsoft online book for SQL Server 2005. First it would not install because it thought that I didn't have NET Framework 2 installed. Then, I found out after a few hours of searching that I had to use a different download (not mentioned in the Microsoft download page) for a different release of NET Framework. Then I installed the online book. Now, there is no way to read the book. It is in .hXS format which does not op ...Show All
Visual Studio Team System Logon with the object model in RC
In beta 3 I used a NetworkCreditials object to create a conenction to a TFS server. NetworkCredential objNetworkCredential = new NetworkCredential (strUserName, strUserPassword, strDomain); TeamFoundationServer objTFS = TeamFoundationServerFactory .GetServer(strVstsURL, objNetworkCredential); But in the RC version the factory uses a Microsoft.TeamFoundation.Client.ICredentialsProvider in the GetServer method. In Client applications I can used the UICredentialsProvider, but what about Server applications Is the only way to logon to a TFS server in server application to use the current users credentials &n ...Show All
Visual Basic Calculating Elapsed Time Based Upon Two Values
I'm having issues coming up with a solution to what is hopefully an easy fix. Here's my problem: I want to calculate an elapsed time from two values expressed in minutes. I have one text box that contains a value for the "Start Time" and another text box that contains a value for the "End Time." Both of the values are expressed in a format for military time (i.e. 1200, 1300, 1430, etc.). When the "End Time" text box loses focus, I would like the "Elasped Time" (expressed in minutes) to appear in a third text box. Seems easy enough...right Well the problem I'm having is since the first two numbers in m ...Show All
