Software Development Network Logo
  • VS Express Editions
  • Windows Forms
  • Smart Device
  • Visual Basic
  • .NET Development
  • Windows Live
  • Visual C#
  • Windows Vista
  • Visual Studio
  • Game Technologies
  • Visual J#
  • SQL Server
  • Visual FoxPro
  • Microsoft ISV
  • Visual C++

Software Development Network >> Thenu's Q&A profile

Thenu

Member List

JFalcon
oh_maestro
KeFei Wang
Alex_M
Nestor Pira
AnaD
uri paran
Lovericky
Ori Gershony
SteveQ
kkennedy1008
batpox
Sydelis
Shree S
Mapper
Mark Kristensen
Ouster
Kashif Arshad
12565489789513213216549874565123
Lars Brange
Only Title

Thenu's Q&A profile

  • Visual Studio Team System Do Not Catch General Exception Types

    I have a question about the fxCop rule on "Do Not Catch General Exception Types"...I started some discussion on this in another thread but I didn't get a full answer to my question and I thought this topic was worth starting a new thread. I think I'm using the recommended Microsoft approach for Exception Management: I'm using the Enterprise Library Exception Management Application Block to handle exceptions At the "top of the food chain" I have defined some policies for handling exceptions and use the EM application block to determine how to handle, report, and log the error. In all cases at the moment, it simply ...Show All

  • .NET Development Reading XML into SQL-Server

    Hi at all ! Since the last days I'm writing on a small database application based on SQL-Server Express. The database consists of multiple tables. One table for example has two coloumns ("ICAO-Code" and "Airport"). Now to the point. The application should be able to import Data from an XML-File. Let's show it: <icaocode>EDDK</icaocode> <airport>Koln/Bonn</airport> The Innertext-Values from those nodes should be written in the coloumns from my Table in the SQL Server-Database. How I can do this effectively (There are 100 and more nodes!) Thank you very much... P.S.: I would be ...Show All

  • Visual C# How to get the Application object of the current executable

    Hi All, I am developing a Windows application using C#.  I want to store a common variable in either the main application (Program.cs) or the main form of the application and be able to pass that variable to any control or module in the program. Is the a way to get the application object, or the main form object of a Windows application in C# Thanks in advance. David Hi, There are two options. Please do some reading on the concept of a Namespace in case you are not aware of it. Namespace: http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vclrfnamespace.asp Ok, after you have read that...the two options a ...Show All

  • SQL Server AverageOfChildren Standard Vs Enterprise

    Hello, My question may be a simple one, is there a way to do an aggregate average function without buying enterprise edition. When I try to average a dimension instead of summing (for example a field with Percents) I get a error that the AverageOfChildren feature is not avaible in the Standard version of SQL 2005. Is this really true or did I set something up wrong. I would have a hard time convincing my company to buy Enterprise edition because basic functionality like averaging is not available in the standard edition... I have found the features by edition page: http://msdn2.microsoft.com/en-us/library/ms143761.aspx however there ...Show All

  • SQL Server Cannot install SQLExpress after uninstalling June CTP

    I try to install SQL Server Express after uninstalling its beta and get the following error in the log file.  Can anyone help me   Thanks.   Microsoft SQL Server 2005 Setup beginning at Thu Dec 15 20:28:39 2005 Process ID      : 110612 c:\e7b4645908c60721e3107fa330d0184a\setup.exe Version: 2005.90.1399.0 Running: LoadResourcesAction at: 2005/11/15 20:28:38 Complete: LoadResourcesAction at: 2005/11/15 20:28:38, returned true Running: ParseBootstrapOptionsAction at: 2005/11/15 20:28:38 Loaded DLL:c:\e7b4645908c60721e3107fa330d0184a\xmlrw.dll Version:2.0.3604.0 Complete: ParseBootstrapOptionsAc ...Show All

  • Visual Basic Unable to port VBA to VB2005 Express

    Hi, I hope you maybe able to assist me. If I type TextBox1.text=Month(Date())  in Access VBA the text box displays 12. In VB2005 Express Edition the above does not work Can anyone assist Thankyou in advance. Jae textbox1.text = Convert . ToString ( Now . Month ) ...Show All

  • .NET Development ERR - WebClient.DownloadData returns "protocol violation"

    I'm getting a "protocol violation" from a site that is working perfectly fine when I issue WebClient.DownloadData as such: WebClient WebClient_Temp = new WebClient(); byte[] zbyteTemp = WebClient_Temp.DownloadData ( "http://MySite/MyWebPage.htm" ); I have heard of the app.config file fix, but my app is a UserControl, and as such, I can not keep the "MyApp.dll.config" in the same directory as such: <configuration> <system.net> <settings> <httpWebRequest useUnsafeHeaderParsing = "true" /> </settings> </system.net> </configuration> I've also tried putting a <link> element into m ...Show All

  • .NET Development Compare time

    Hi, Im having a lil question. Im trying to compare 2 times with eachother. One time is in an xml file. The other one is the time at this current moment. If the time is older than 1 month, it should remove a whole table from the xml file. This is the code i produced so far: static void Main(string[] args) { try { DataSet xmlFile = new DataSet(); xmlFile.ReadXml("test.xml"); foreach (DataRow dateRow in xmlFile.Tables[0].Rows) { string Date = dateRow["Date"].ToString(); DataRow[] tempXmlFileRows = xmlFile.Tables[0].Select("Date = " + Date); ...Show All

  • Visual Studio Express Editions Flat File Database?

    Hey! Is it possible to save data to a flat file and then retrieve it again later just a simple flat file database... or maybe data.dat file what ever a dat file is lol ty all -mark You an save data where-ever you like. If you'd like a flat file, XML is probably the best way to go, for ease of searching, etc. The XML Document class will load and save XML documents for you, as well as exposing the DOM. ...Show All

  • SQL Server Cant locate SQL Server Express from client pc

    Hi, I have a 5 user network running SBS 2000. I have installed SQL Server Express on one of the client machines (not the SBS Server) I can connect locally without problem. However i cant connect from the other client machines. I have enabled TCP/IP, Remote Connections Etc I am attempting to test the connection using an .udl file. The server name is found but i still cant connect. Any help would be apreciated. Hi, "Played around" < with 'user mapping' via ssms and gained access from remote pc's. Thanks. ...Show All

  • Visual C# how to learn GDI+ ?

    I am programmer . I know the basal knowledge in GDI+.I want to improve it . who can help me learning GDI+ and introduce some book about it   The answer to this one is a simple web search away. Here is one to get you started ( Featured Book: Graphics Programming with GDI+ by Mahesh Chand, founder C#) http://www.c-sharpcorner.com/Graphics.asp ...Show All

  • Windows Forms how to make datagrid sorting by dispay member?

    Hi everyone, I have a combobox in a datagrid, the datasource of combox is a dataview, the datasource of datagrid is datatable, I override SetColumnValueAtRow and GetColumnValueAtRow two methods, every thing is working fine so far, but if you sort combobox column, it is sorted by combobox value member, not by display member. thanks We are currently looking into so ...Show All

  • Windows Forms Error in insert to table

    I have the following code: Private Sub btnvoegby_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnvoegby.Click         Dim dateStr As String = lstMonth.SelectedValue & "/" & lstDay.SelectedValue & "/" & lstYear.SelectedValue         Dim dateStr1 As String = lstMonth1.SelectedValue & "/" & lstDay1.SelectedV ...Show All

  • Visual C# :(((((( I dont understand delegates ))))))):

    Please i already read and article about delegate i understand how to use them (a little bit) but i dont understand their scope, all articles talks just a liitle about what they are really ment to for using them... Please can anyone help me And if posible a small example... but more about their scope, and when to use them or when do u need a delegate.. PLEASE DO BE SHORT AT WORDS coz` i am very very noob in delegates and not much in c# Thank you all, Thanks a lot!!! Just a normal scope as everything else. Public for a public scope etc.. but you make a delegate normally just public when you use it for events. But the scope isn't diff ...Show All

  • Visual Studio Team System IOExceptions

    As I increase the load in my load test, I see an increasing number of IOExceptions. Message: "Unable to read data from the transport connection. An existing connection was forcibly closed by the remote host." Error stack trace:' at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)". I see more of these with % new users = 100, fewer with % new users = 0. Does 'remote host' refer to the load test agent I appreciate any insight you can offer. It sounds like these errors are occurring on web test requests, r ...Show All

©2008 Software Development Network