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

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

xuanthuyit

Member List

Fiddel
sofakng
iortizvictory
yonderstar
QuantumMischief
Amanda Jamin
David Graton
kymaita
bikram_singh
orenga
r.matteja
Ritesh Tijoriwala
Hkrabben
Bill Foust
DLdfrd
jadams
Paul Steele
DtD
monchhib
Sweed
Only Title

xuanthuyit's Q&A profile

  • Visual Studio 2008 (Pre-release) Any WPF Appointment/Calendar Scheduler type controls available?

    If anyone has come across any WPF controls for appointment/calendaring scheduling type of functionality, request if this information be shared. Thanks. Here is an old post about C1 working on a calendar control. http://www.sdtimes.com/article/story-20051015-19.html ...Show All

  • .NET Development JOIN in select command

    If my SelectCommand points to query containing as follows: SELECT * FROM Contact INNER JOIN Company_Contact ON Contact.contact_id = Company_Contact.contact_id WHERE (Company_Contact.company_id = @companyid) how do I write my UpdateCommand, InsertCommand, and DeleteCommand objects to update the two different tables contained in the join query Is there a way I can update both the tabels using a single command and single dataadapter I'm not quite sure what you're shooting for here exactly but I'll take stab at it: 1. You can't update, insert, or delete a joined table 2. You can use subqueries to determine the appropriate record to update, insert, or delete. DECLARE @FirstName varchar(25 ...Show All

  • Visual Studio Tools for Office How to span columns selected in owc11 spreadsheet?

    thx. owc = Office web components. These aren't part of VSTO. The better place to ask how to handle them is the dedicated newsgroup. I suggest you give a bit more information about what you're trying to do, when you ask :-) http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.web.components&lang=en&cr=US ...Show All

  • Microsoft ISV Community Center Forums Move sharepoint web front-end

    Today we have a single farm sharepoint solution (Web, Search, Index & Jobb on the same server). We want to move the web front-end to a another server. Anyone know how to do this or where I can get help Thanks in advance ...Show All

  • SQL Server FTP Connection Manager: Set FTP password using a variable

    Hi, I want to setup an FTP task that is portable in the sense that all it's connection parameters are stored in variables. I can create expressions for properties ServerName and ServerUserName but not the ServerUserpassword.  Is there an property that I missed, there seems to be properties for everything else except the key piece of info, the password. I could create a script component using the FtpClientConnection method as a last resort but would rather not. Any ideas Thanks Dan,   I have tried a several combination of that example (including a period you are suggesting) but didn't get it working. It has to be sometjing else on the configuration to prevent pasing of the conne ...Show All

  • SQL Server Updating a table from a text file

    Hello, I am not sure if this is doable using Transact SQL. I need to update a table from a text file. That is, for each line in the text file, I need to see if the data already exists in the table. If not, I need to add a row to the table for that line. Can this be accomplished through Transact SQL If so how can I do this Any help would be appreciated. Thanks, Dots Several possibilities. Use bcp or bulk_insert look up both in Books Online. Load the text file into a temp table, and then INSERT into the production table where the row does not exist in the temp table. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Model not showing up in game

    Hi all: I'm playing around with the XNA Framework more and starting to make sense of things. I've run through the 3D tutorial and I can see the p1_wedge model just fine. Unfortunately, when I try to make my own model and bring it into the tutorial, I don't see anything. I have a texture for the model as well as the .x file itself that I created in trueSpace 6.6, and I've verified that it compiles ok in the project. I don't get any runtime errors either. Maybe I've missed something in the documentation... is there a scale of measurement I should be using Are there guidelines for creating 3D models for use in XNA I'd love for that to be in the docs. Anyway, I've uploaded a couple of files to my website for reference: http://www.spel ...Show All

  • Visual Studio Tools for Office How to replace a tag with formatted text in Word

    Hi, I'm using this code to find a string in my document and replace it with some text: range.Find.ClearFormatting(); range.Find.Text = "<myTag>"; range.Find.Replacement.ClearFormatting(); range.Find.Replacement.Text = "this is bold"; range.Find.Execute(... This finds "<myTag>" and replaces it with "this is bold". Is there a way to replace "<myTag>" with "this is bold " This is not a VSTO-technology-related question. You should ask questions that concern automating the object model in the office.developer.automation newsgroup. To get you started: No, there is no direct way you can specify formatting as ...Show All

  • .NET Development Regex errors

    Hi, I'm trying to split a string that holds the full path to a directory using Regex(i.e Regex *regex = new Regex(S"\\");, however I keep getting the following error : parsing "\" - Illegal at end of pattern Parameter name: \. Is there any other way to split up the directories, or to fix this error (Moderator: Thread moved to the Regular Expression Forum and Title tweaked for quicker thread understanding during a search) Hi Chris, Add '@' to the "\\". My example code is: Regex rx = new Regex(@"\\$"); string [] tests = { @"\first-last\", @"last\", @"\first", @"no"}; foreach ( string test in tests) { if (rx.IsMatch(test) ...Show All

  • Windows Forms Axshdocvw.Axwebbrowser displaying SQL Server Reporting Services reports

    I am using an AXWebBrowser control in a windows form to display a report generated with SQL Server Reporting Services. The report generated allows for the expanding/collapsing of certain information (ie: If an order row is displayed, I can click the 'expand' button display the list of products for that order or the 'collapse' to hide the product information). The problem is this: If I manually open Internet Explorer and run the report, I am able to use this feature. But when I run my windows app with AXWebBrowser, the '+' '-' buttons are not available for use. Does anyone know if there is a property or properties I need to set in order to fix this. Any help would be greatly appreciated. Thanks in advance. ...Show All

  • SQL Server Problems inserting records into non dbo schema

    I have a basic data flow which tries to insert data from an excel spreadsheet to a loading table (sql server 2005). I have created this table in a non dbo schema. I have used the schema owner as the sql server login for this loading step. The problem is SSIS seems to throw a strange error when I do this: OnError,VH0635,VHOLS\blakema,Populate Load Table,{F1C28F63-39D2-4FBB-9803-E24385014E9F},{514E8012-6998-409C-BED1-E04CE3200295},06/09/2006 11:17:37,06/09/2006 11:17:37,-1071636471,0x,An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if avai ...Show All

  • Visual C++ Memory leaks in managed classes that use dynamically-allocated native structures

    I apologize for the textbook question but I have spent enough already looking for the answer in the "textbook" (MSDN) not finding the answer that I decided to ask here, I hope you don't mind throwing in a quick answer. I am forced to use dynamically-allocated native data structures in managed classes and I am getting memory leaks because I am not properly freeing the allocated resources. I was hoping to add a destructor to the managed class but that didn't help - the destructor was never called when the object was destroyed. After reading the article "Changes in Destructor Semantics" in the Library, I still can't figure out why (note: VC++ 2005 is my first interaction with .Net – I skipped 2002 and 2003). I know there is more than one ...Show All

  • Windows Forms Setting the DataGridView columns

    Hi friends, I have many datagrids in my application. So wat i want to do is to have a common grid which takes care of setting all the styles and the required columns and their widths,dynamically. I have taken a separate class which takes care of the styles,but i want to have a generic method in that class that sets the column names and their widths respetively.How do i approach this problem . Any links would be of great help. Thanx in advance, subhanet Its not clear to me what you are aiming for. I suppose that you can create your own class of data grid inheriting from the DataGrid class (unless the class is sealed), and then set the properties you want in the class's contructor. But that wi ...Show All

  • SQL Server Why do I need to reference the server name now but not in MSDE 2000?

    With SQL 2000 and MSDE 2000, I only had to put a "." for the server name in a connection string. Now with SQL Express 2005 I have to acually reference the server instance name ".\SQLEXPRESS". Why is this Also, when running the command line tools for running scripts, I have to include the parameter "-S MACHINE\SQLEXPRESS" in the command line where as before I never used the -S parameter at all. Anyone know why I am curious because it is going to cause an impact on our upgrades for the client. My only answer to these questions is that there is no SQL Agent running anymore. Thanks in advance, Scott The default for SQL Express is to use a named instance. If you did not manually ...Show All

  • SQL Server HELP Publishing a site with password protection

    I am new to Visual Web Developer 2005 Express. I have created a web site containing a login control. It works great on my local machine, but when I copy it to the server, I get the following error when I try to login to the website: Server Error in '/mrallensclass' Application. Hi, tkae a look at the screencast on my site, which shows you a walkthrough how to enable that setting. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

©2008 Software Development Network