Software Development Network Logo
  • VS Team System
  • Smart Devicet
  • Microsoft ISV
  • Visual C++
  • Visual FoxPro
  • Visual C#
  • SQL Server
  • Visual Basic
  • .NET Development
  • Game Technologies
  • Windows Forms
  • SharePoint Products
  • Visual Studio
  • IE Development
  • Windows Vista

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

etang

Member List

DigitalNoise
Bwilhite
Sergey Bereznikov
F. Gsell
John12
Stéphane Beauchemin
JavaBoy
Dmitriyy
TomJ72
sbrunnsen
Neal Hudson
sunny123
daydreamsy2k
JacobRonnie
canadian_coder
JR Lyon
Lars-Inge T&#248&#59;nnessen
tfeirtag
Muna
Angry Coder
Only Title

etang's Q&A profile

  • Visual C# How to make a treeview control like a FolderBrowserDialog that can view files within those folders

    hi How to make a treeview control like a FolderBrowserDialog that can view files within those folders so that the user can select the file. Here is a small piece of code modified from your question some time ago: protected void AppendDirectoriesToTreeNode( TreeNode node, string root ) { DirectoryInfo rootDir = new DirectoryInfo( root ); foreach ( DirectoryInfo subDir in rootDir.GetDirectories() ) { TreeNode subdirNode = new TreeNode( subDir.Name ); AppendDirectoriesToTreeNode( subdirNode, subDir.FullName ); foreach ( FileInfo fileInfo in subDir.GetFiles() ) { subdirNode.Nodes.Add( fileInfo.Name ); } node.Nodes.Add( subdirNode ); } }   ...Show All

  • Windows Forms Best Component for the job?

    Hi, I'm not sure if the header is the right one, so if it's confusing, I'm sorry. I come from Sun's Java world and don't know my way around the GUI programming in C# yet. When I want to display a tabular data structure in Java, I use the JTable object, which is suitable for any type of tabular data, and can be provided with a 2 dimensional array of objects that can be placed in the table using the toString() method, regardless of the data source that is used for that table. I'm trying to do something similar in c#, and I'm having trouble working with the DataGridView, which is simple only if you connect it to a datasource. I have a TCP server program written in c# that needs to display data about connected clients. I need to ...Show All

  • SQL Server Installin sqlserver 2005 error

    I get the following error message when I install sqlserver 2005. TITLE: Microsoft SQL Server 2005 Setup ------------------------------ The installer has encountered an unexpected error. The error code is 2380. Error opening file for write: 5. GetLastError: SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Setup. For help, click: http://go.microsoft.com/fwlink LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=2380&EvtType=sqlca%5csqlsecurityca.cpp%40Do_sqlGroup%40Do_sqlGroup%40x5 ------------------------------ BUTTONS: &Retry Cancel ------------------------------ Anybody got an idea Thanks Thanks for the reply, although I am a ...Show All

  • Visual Studio 2008 (Pre-release) License to deploy June CTP WCF in a server

    Hi Is there necessary to request a special license to deploy June CTP in a producction server Thanks in advance Javier Hello Javier, I am afraid that we have not provided a Go-Live agreement for the June CTP release and do not recommend using the release in a production environment. If you need to deploy your release into production, use the Beta 2 release (after signing the supplemental use agreement), or wait until the next production quality preview release of the .NET Framework 3.0 that will ship with the next major Windows Vista project release. Thanks, - Craig McLuckie ...Show All

  • Visual FoxPro Join

    Hi gurus I hope this is an easy one, what is the max join statement that you can use in one giving time Thanks guys ...Show All

  • SQL Server How to use the Microsoft OLE DB Provider for DB2.

    I follow the steps: 1.In configure OLE DB Connection Manager dialog, I click New. 2.In Connection Manager dialog ,I choose Native OLE DB\Microsoft OLE DB Provider for DB2. 3.In Connection Manager dialog I click the "Data Links" button. Now I am on "Data link property" dialog.  4.On connection tab, I enter fmdb for data source, which is my remote database name. On Network section I choose TCP/IP Connection and set the right IP/Port. Uncheck Single sign-on and enter the user and password. Then comes the Database section. Database name fmdb for Initial catalog,"fmdbrun" for Default Schema,  then what is Package Collection (My db2 database is in a AIX/RS 6000 box). 5.On advanced tab, I choose DB2/6000 fo ...Show All

  • Visual Studio 2008 (Pre-release) Help: RC1 ListView Memory Leak

    I've got a memory leak problem with the ListView. I just have a long list of items that I put in a list with 2 GridViewColumns, and as I scroll up and down the list the memory goes up and up and up, until I eventually run out of memory on my machine if I do it long enough. I find it hard to believe that there's a problem like this with list view, so I'm wondering what I've done wrong. I'm running RC1 on Windows XP x64. I've done a real simple example. The code is below. You can run an XBAP version from here: http://150.101.100.238/~john/LeakyList/LeakyListXBAP.xbap In task manager, watch PresentationHost.exe Mem Usage grow as you scroll the scrollbar up and down. Press "Collect Garbage" and the Mem Usage won't go down ...Show All

  • .NET Development Sorting of datasource

    I have a datalistview which is bind to a datasource. May I know which is a better mechanism in order for user to click on the header to sort the display..using the bind source sort property or the data list view Regards Alu I can't speak to whether one method is "better" in terms of performance or not, but I personally have standardised all our projects on using the BindingSource methods for everything, simply because they seem to work more often with less fuss, and because they're the same regardless of the underlying data source, be it a DataTable or a strongly-typed collection of business objects (which doesn't provide a DataView). ...Show All

  • Visual Studio Team System Label format

    How can I change a label from $100 format to 100.0 format It is a Grade calculator program. Already changed to individual grade text boxes to correct format, but label won't change. If you use DataBinding you can set custom formatting: label.DataBindings.Add( new Binding ( "Text" , boundEntity , "PropertyName" , /* formatting enabled */ true , DataSourceUpdateMode .Never, /* null string */ "" , /* custom format */ "0.0" )); regards, bartek ...Show All

  • Visual Studio 2008 (Pre-release) Support for Group By, Having etc

    How sophisticated are the query capabilities for LINQ. Can a SELECT includes Group Bys, Aggregate Functions, Having Clauses. I have a sophisticated query which runs within the MS Access query designer, but running the same query using .NET OleDb provider results in an error. The query uses joins to selects which have group by and aggregate functions in them. The error message says there is an error in the Syntax after the From clause. So I'm thinking to return result sets back to VB.NET and use LINQ to further process the data into the final result set. The other alternative is use a lot more code to massage the data into the final result set which is going to be nasty. The VB LINQ support in ...Show All

  • SQL Server Server Broker Contract talking to Multiple Computers

    Hello, I solved the previous issue I had and now need to find out how to make it so I have Service Broker running on one machine and the services running on another machine. I mean you can set a connection string to post a message to the service broker but then it will need to respond and the connection string in the method called does not allow you to put a server in the connection string. The other issue is because the stored procedure calls the method in your code based on a namespace and then a method but does not specify a server. I am sure a way exists but am not familiar with it. This is the last piece of the architecture I need to work out before I finish designing the system. Thanks, Scott Allison... Hi Scott, If yo ...Show All

  • Visual Basic Setup Produced By "Build, Publish" Gives Error After I Uninstalled VB With CD And 'Removed' All Installation CD Programs

    Hello, I created a setup file from my application. I did this because I want to put my application on other PCs without installing Visual Basic. I basically want to just run the applicatoin on other PCs. What I did to create the setup file was within VB I clicked "Build" then "Publish." I then wanted to test the setup file on my PC, so I removed everything given to me by the VB installation CD! So, I uninstalled VB using the installation CD. But, I also had to go to the control panel to remove some of the programs that the installation CD gave me. I did this because the uninstall via the CD left things on my system that the installation CD gave me. When I was done, the control panel, remove programs listing ...Show All

  • Internet Explorer Development Still another report on this...

    Having an intermittent problem printing To: From: CC: Subject: Attachments: headers on emails. Usually happens with larger emails or emails with large attachments or emails that have been replied to or forwarded from other people. Have installed Generic/text printer and sent the email to this printer but sometimes the headers are still missing even printing this way. I have if I open the offending email and highlight just one or two words in the text of the email eg Dear John and then print the email using my HP printer (not as text on Generic printer) - the headers then print and so does the selected words. Don't suggest using Outlook as often we only print the first page of emails as we already have the rest of the email on file especial ...Show All

  • Visual Studio Tools for Office Purpose on signing assembly

    Hi, What's the purpose of signing my assembly Does it help security to trust my assembly For info: my VSTO solution is a 'code behind' solution (for Word 2003) Thanks, Claudia Douglas H. Troy wrote: Well darn-it, Cindy, ya beat me to the punch again. I know the feeling <g> It sometimes feels as if the forums should have a "check-out" system... ...Show All

  • Smart Device Development expected 'text/xml'

    I have a webservice that returns a DataSet. The webservice is added as a webreference to a PocketPC WM5.0 project. I cannot figure out this error. If I run the compiled exe of the PocketPC from the project bin directory, it works fine, but once I try to run it through the VS emulator it throws the below listed error. System.InvalidOperationException was unhandled Message="Client found response content type of 'text/html', but expected 'text/xml'." The webservice is at http://24.248.49.225/Service.asmx and the code for the service is: using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [ WebService (Namespace = "http://tempuri.org/" )] [ W ...Show All

©2008 Software Development Network