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

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

tchen777

Member List

Daniel2005
Raja Pratap
Annihil8
J. Bennett
Rush hour
Mega_x
gorshing
bobo224
S.Wind
Ramanuj
TheJet
Daniel Hilgarth
aghoneim
Stefan Dobrev
abcdefgqwerty2
ramesh_n3
Simulacrum
shaddado
haha_ji
Chris Jobson
Only Title

tchen777's Q&A profile

  • Visual Studio Express Editions Save collection into a file, then read back

    Hi folks, I have been doing some searching here about how to store the data in a collection into a file, to be able to read it back in later. I could save every data item one by one into a file, and then read it back one by one, but this is a painstaking and errorprone process. I found some articles about serialization/deserialization into an XML-file, but I cannot quite grasp it (yet). I am not sure if the serialization works with collections. Simply put this is what I want: (<<< is what I need to know>>>>) 1- create a (public) collection and fill it with all kinds of data 2- invoke a Save command, and obtain the filename and path to save to 3- <<< store entire collection into said file >> ...Show All

  • SQL Server Checkpoint file used by another process

    I have an SSIS solution with 8 packages in it. I have checkpoint turned on with the 'If Exists' option. Each of the 8 packages have 8 separate checkpoint files specified. One out of two runs will fail with one of the below errors: The checkpoint file \\xxxxxxxx is locked by another process. This may occur if another instance of this package is currently executing. Checkpoint file \\xxxxxxxx failed to open due to error 0x80070020 "The process cannot access the file because it is being used by another proces I have checked all the settings and everything looks fine, looks like the problem is when you have many Control Flow tasks in a package and if two of them are completed at the same time and they try to write to this fi ...Show All

  • SQL Server what are Precausions while updating schema of a database?

    Hi I need to update the schema of an existing database from a .NET application. can anybody suggest me about the precausions to take while upgrading the schema of a database. Thanks vizai. Hi Madhu Thanks for the reply Schema updation means . I'm droping SPs,UDFs,Views,Constraints, modifying Table definitions(ALTER) and recreating all what I've droped previosly. My Aim is to compare and update the database (Tables definition ,SPs,UDFs,Indexes,Views). Can U help me in this. Thanks vizai ...Show All

  • Visual C# DataGridView (DataGrid?) Question

    I am developing an application which has the following reqirements for its data component: 1. Display data in grid in hierarchical fashion, with the ability to expand/collapse tree nodes. 2. Ability to embed controls directly into cells in the grid and manage events for these controls as well as the grid itself. 3. Ability to create custom column headings, as depicted in screenshot. 4. Ability to change cell/row background color, based on user actions. 5. Ability to embed images directly into cells/headers, and wire those images up to events 6. Ability to merge columns and rows. 7. Ability to manage/control row-level access. My first question is regarding which control I sho ...Show All

  • Windows Forms Only the last value is sent???

    I was wondering if anyone could tell me why it only appends the last row of data in my listbox to my xmlserializer to write it to my xml file....the infomation comes in the listBox but only the last row of data is written to the xml file.....why is that and how would i go about fixing that...any help would be great! empinfo info = new empinfo(); string connect = System.Configuration.ConfigurationSettings.AppSettings["connstring"]; SqlConnection sql = new SqlConnection(connect); string cmd = "Select * From Employees"; SqlCommand scmd = new SqlCommand(cmd, sql); sql.Open(); SqlDataReader dr = scmd.ExecuteReader(); if (dr.HasRows) { while (dr.Read()) { //s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Show off your website and/or game!

    As part of our effort to reach out to the XNA community, we would like to create a special community page on the XNA Developer Center that links to YOUR site, game, or blog. Here's what you need to do, send me (David Weller) an email (click on my name link to the left of this post for the email address) telling me: 1) Your name 2) Your contact email 3) Your website or game (or blog) 4) (Optionally) If you send me a link to your game, please let us know if you give Microsoft permission to use your game as part of any press-related activities we might do (i.e., incorporate a screenshot/video of your game, etc.). Please don't reply to this post with links to your site/game, I need the information emailed to me. Thanks! ...Show All

  • SQL Server Oracle Pass through queries

    G'day So, this is a newbie type issue as I'm quite certain there is a simple solution I just haven't found it yet. I'm an old Oracle DBA who is new to SQL Server so I'm currently struggling. Anyway, I have created a linked server from my SQL Server database. I can easily issue distributed queries or I can use openquery without problems so the link is working. The OLEDB I am using is Microsoft's not Oracle's so it is possible that changing the version of the oledb may solve my problem. The SQL statements I am issuing are simple but are not being executed as pass through queries. The documentation seems to indicate that it should work (do the processing on the Oracle side) but it doesn't. This is important as the source table in Ora ...Show All

  • Visual Basic beginer question -help

    this is in VB CurBrowser = MainTabControl.SelectedTab.Controls(0) i need it in c# what is the echivalent because in c# i cant use ....Controls(0) no arguments ...Show All

  • .NET Development We're not supposed to use List<T> ? ( List )

    I installed FxCop and had it analyze my application. In several spots, it says: "Do not expose List<T> in object models. Use Collection<T>, ReadOnlyCollection<T> or KeyedCollection<K,V> instead. List<T> is meant to be used from implementation, not in object model API. List<T> is optimized for performance at the cost of long term versioning. For example, if you return List<T> to the client code, you will not ever be able to receive notifications when client code modifies the collection." I'm a bit weak in my OO.. so I'm not sure what "expose" really means in this context. Is this saying to not use List<T> ...Show All

  • Visual Studio Team System MS Project versions?

    Does MS Project have some sort of versioning mechanism An .mpp was created by pulling work items for a query and then saved to a desktop. after modifying and saving the changes, upon reopening the start date and first item in the project plan have incorrect dates. Once the document was sent to me and everything connected to TFS, the dates were what they should have been. I'm just curious how I can access the same .mpp and see different dates than a coworker for the same work items. We are both running MS Office Project Pro with SP2 and are both connecting to the same TFS site. Yes, I sent the .mpp back to the person where the .mpp originated and he made the revisions and then published. Ever ...Show All

  • Visual C# Language Converting Tool

    I was wondering if there is a tool that converts projects into different languages I know about the developerfusion tool that converts C# -> VB.NET and visa versa: http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx but I'm looking for something a little more powerful (and hopefully free) that converts entire projects. My projects are never all that huge and don't involve databases or anything, so I don't need a "sledgehammer" of a tool, more like a "fly swatter" I have Visual Studio 2005. I'm hoping there might just be a plugin that I'm unaware of. yes, I've just recently used a demo version of your conversion software. It does a nice job at converting, but unless you know VC++ well enough, it doesn't do the job tha ...Show All

  • Windows Forms How to fetch selected date and value from Calendar

    I'm totally new to windows programming and I have a basic questions 1 . Calendar Which calendar (datetime picker or monthly calendar)should I use to get the selected date. For instance if a user clicks on a particular date the selected date is returned to a text box. If there is any example I can look at I will really appreciate Thanks!! You are creating a brand new DateTimePicker instance. That one will be initialized to today's date. Change your code to something like this: Private Sub dtCalendar_CloseUp(ByVal sender As Object, ByVal e As System.EventArgs) Handles dtCalendar.CloseUp Me.txtInquiryDOE.Text = dtCalendar.Value.ToShortDateString End Sub ...Show All

  • Visual C++ C# and C++/CLI sharing objects

    Hi guys, I really need some help on this as i'm going slowly insane. What I have is a windows service written in C++/CLI exposing an object with TCP remoting. The remoted object loads a bunch of other objects from a database into a List<> and keeps them in memory for the lifetime of the service. I have another project which is a C# Winforms application which accesses the service using TCP remoting and wants to get access to an object in the list. However, when my C# project gets the object it seems to get a copy of it rather than a reference to it. All the parameters look the same but if I attempt to update it, the C++/CLI "copy" of it doesn't change. I have an event in the object which fires when a property of ...Show All

  • Visual Basic populating an Access database using visual basic 2005

    I am trying to create a new employee application that gets input from a user in text boxes and then take that information and populate a database in Access that will later be pulled to the Track IT! database on SQLserver2005. How do i do it Thank you. IGiberson wrote: Also, it is a 3 form application... with different information on all forms... would it be easier to populate the database each time they go through the form or should i just have it get all the info at the end and populate it then it depends entirely on the database and how you want the application to run/how it should run. If the forms are for 3 different tables then I would do the operations on the table on each form, ...Show All

  • Visual Studio VS 2005 acting-up baaaaadddddly

    I am building an .exe using VS2005 with SP1 on XP-64. First it was working fine, then the debugger starting acting up and refusing to stop at breakpoints, I was able to fix that by changing the debugger type from Auto to Native code. Then VS refused to work all together asking me to reinstall the application. Did that about 4 times to no avail, then decided to remove all needed files and download new ones, Platform SDK and .NET Framework and such, from the website and reinstall everything. Tha made the compiler work again and the Debugger did stop at the breakpoints, however it won't go into the functions where it stopped, F11, and would crash. I noticed that since it crashed at a very low address it must be crashing in one of the ...Show All

©2008 Software Development Network