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

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

ti_m

Member List

kelvfok
Dick Campbell
S Tonstad
marcbo
Andrew Timberlake-Newell
Sarwanan
weeMac
2007CRXI
Steven_Cahill
ToreS
Diego Cánepa
Mr_White
patternagnstusr
grolich
Hassaan Nasie
lbugnion
Alvin Chen
JDPeckham
robinjam
NeedSomeAnswers
Only Title

ti_m's Q&A profile

  • Visual Studio Express Editions Database Connection

    Hi, I am making an application that needs to connect to an sql database, using the database connection wizard, on a remote server. When i type in the path of the database it comes up with a message saying "Attempted to access a path that is not on the disk". How would i connect to this database I am putting in the database file name the path of it http://the path of the database/database.mdf . I am leaving the server login fields blank. Please note that i am not using code to do the connection, i am using the database connection wizard. The database is stored on a remote server (I canot change any server settings.) ...Show All

  • SQL Server BCP Interactive - from script

    I have a script where I'm doing a bcp out - I need to have the script do the format file on export. Is there a way to run bcp interactively from script, accepting the defaults THat way it will make a format file for me. yes, you can bcp in without a format file. We've never ever had to use a format file when bcp'ing in or out. Of course our datatypes always matched, and we always use -n, but I'm sure -c works as well. ...Show All

  • Windows Forms Modifying BidingSource

    I wonder if I can modify the bindingsource to dispaly specific field from a table rather than displaying the whole table.  Here is what I am talking about.  I am using a commercial grid to display my data. I don't have any problem to display the whole table to the grid. For instance, the following code displays a whole table to the grid. grid1.SetDataBinding(table1BindingSource); Now, I only want to display the FirstName and the LastName I have the following in my form table1BindingSource and db1DataSet From db1DataSet, I can see the following by intellicense; my table names Tabl1 from intellicense I can see Table1.FirstNameColumn and Table1.LastNameColumn; My question, how can I use table1BindingSource and db1DataSet to ...Show All

  • SQL Server Question about performance

    I'm using a tableadapter for my update operations. The application i'm using typically creates 2500 dirty rows for a single table and then updates using the tableadapter.Update(). The tableadapter.update() method takes about 50 seconds to complete, which is way too long. This is the only query running agaist the sql server 2000 database ( as this is a test server only), so i'm not sure if it is a problem with sql server or a problem with the tableadapter. Can anyone recomment how to improve performance for updating with the tableadapter and sql 2000 Thanks in advance.   The cpu isn't fully being utilzed on the sql server machine. Here is the exact process: There are 3 tables for this process. I basically c ...Show All

  • Windows Forms Form Maximize

    Hi, I have two forms, Parent MDI form and a child form In VS 2005, if I use the following code right after InitializeComponent method in the constructor, I am getting two sets of control box buttons. Form2 _frm = new Form2(); _frm.MdiParent = this; _frm.WindowState = FormWindowState.Maximized; _frm.Show(); Thanks, Looks like a bug, and a spectacular one at that. The good thing is that there is a simple workaround: just move your code to the Form_Load of the parent and the problem is gone. HTH --mc ...Show All

  • Windows Forms Referencing tablecell text in an embedded datagrid within a datagrid

    Can someone help me with correct syntax to retrieve the text from a tablecell from within an embedded datagrid, that is in a template column of the master datagrid. The embedded datagrid is created using 'onitemdatabound' method. I want to retrieve the text on 'selectedindexchanged'. I have resolved this.  Had to use: tc = masterDataGrid.SelectedItem.Cells(8).Controls(0).Controls(0).Controls(1).Controls(1) Dim FirstName As String = tc.Text ...Show All

  • Visual C# temp+=temp.Replace(chr(13),"<br>");

    temp+=temp.Replace(chr(13),"<br>"); Compilator complains that there is no "chr" in my class, why Here's couple examples how to replace:             temp = temp.Replace("" + (char)13, "<br />");             temp = temp.Replace("" + (char)0x0D, "<br />");             temp = temp.Replace(((char)0x0D).ToString(), "<br />");             //I'd use this:             temp = temp.Replace("\r", "<br />"); The latte ...Show All

  • Visual Basic how can i do with " in vb

    how can I do with " in vb , I want replace " to & email:huangzhixing@hteb.com difference between being lazy and making things work correctly in a professional manner :-) perhaps in future the Replace function maybe removed....so its better to start now than later doing things the correct way ...Show All

  • .NET Development How to create a custom data provider for SQL 2005

    Correct me if i am wrong. To use login,loginview and component like them needs a provider to acces to data. Visual studio has default SqlServerDataProvider. U need to configure your database to use this provider. But sometimes this database model is not suitable. What i want is i need to create my own provider for accesing sql server 2005 database to use component like login control. Has anyone point me a website or a detailed documentation about it Any helpfull experience about this subject will be great. Thanks...Last thing, this subject may be suitable for ASP.NET section but provider will be written on C#, so i decided to post it also here. Happy Coding... Hi, Some links to g ...Show All

  • Visual Studio Team System Contributor Access being lost for users

    We are having difficulties with users suddenly not being able to edit work items in TFS. We thought this was due to problems with our web based interface, since they can usually add/edit bugs through the Visual Studio IDE even when they couldn't via the web. However, today, one user was unable to edit a bug via the IDE either. The error is: TF26201: This work item has unsupported fields, or user does not have permissions. The users can sometimes work, so we think we've fixed it, then their access appears to be cut off again. It is very frustrating The users are set up in an AD Group, and that group is added as a contributor user. I have found if I remove the group from the contributors, then re-add it, and IISRESET the server, t ...Show All

  • Visual C++ Non-type template parameters with namespace

    Consider the class shown below: namespace X { // This namespace causes fatal error C1001 at the line below. class B { }; } template < int Size> class C : public X::B { private : X::B* b; X::B* a[Size]; // fatal error C1001 //B* a[Size]; // This is OK if B is not in a namespace or C is also inside X }; When this class is compiled with Visual Studio 2005 Professional, an error message box is shown: "Microsoft (R) C/C++ Optimizing Compiler has encountered a problem and needs to close. We are sorry for the inconvenience." The output shows "fatal error C1001" at the line shown above. Is this a problem in the compiler Thanks ...Show All

  • Windows Forms SQLXML as a custom prerequisite

    Hi all, I need to install SQLXML as a custom prerequisite. Can someone point me to a discussion on how to do this I can't seem to find any examples or tutorials or discussions to get me started. Thanx! WNC Sorry for the Dupe - there was some strange display issues occuring while posting this.... Anyway - Believe you are stuck with copying the product and package manifest files, along with your redistributable files, into a special folder "\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper" folder...on each machine that you want to build and produce an installation package. -Robert Schoen (Microsoft Visual Basic QA) ...Show All

  • Visual Studio Team System Can I browse through my source code using a browser?

    Hello, I am looking for a feature like "SVNweb" in "Team Foundation Server". Is it currently a futile search or is it already integrated There's nothing supplied with TFS that provides such a web interface. TeamPlain offers a web interface for TFS version control. See the Source Control Browser section of the page http://www.devbiz.com/teamplain/webaccess/details.aspx . Buck ...Show All

  • Visual Studio Express Editions String to number

    Is there a quick way to convert the string "2.334.654,23" to the number 2334654.23 I have tried decimal.parse but does not like the format of the string (it works with 2,334,654.23). Thanks, Antonio sobf = Replace(sob, "." , "" ) sobf = Replace(sobf, "," , "." ) was not at all the syntax I gave you. ...Show All

  • .NET Development Disposing an Inherited Class

    Ever since I started to run my application inprocess of another application I have had problems with filestreams not closing. The main program thread does not close, therefore, any child filestreams not explicitly called disposed stay alive. Many of my issues were related to a crash but not always. My latest issue is how MSDN describes using Sub Dispose in a Inherited Class. In the example below setting Me.disposed = true in MyResourceWrapper.Dispose will prevent BaseResource.Dispose from disposing resources when MyBase.Dispose(disposing) is later called. My Questions: 1. Is it okay to remove Me.disposed = true in MyResourceWrapper.Dispose It will be set to this when MyBase.Dispose(disposing) is later called. 2. Is there a wa ...Show All

©2008 Software Development Network