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

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

thames

Member List

Swati Sucharita
BigLad
MichaelB
laja
Lee Hambley
Gerard van Soest
Rob Redbeard
Rich Denis
Brad Peterson MSFT
Paul Lowther
VICAllen
pink_flower4love
bruceradtke
JWM
KimI
limmer21
Alex Araujo
kathy86
MarkHope
brianpmccullough
Only Title

thames's Q&A profile

  • Visual Studio 2008 (Pre-release) Anti-aliasing in WPF 3D??

    As i blogged about this, anti-aliasing doesn't seem to work in 3D for WPF apps. As you see from here    PIC Link According to Karsten, this shouldn't occur since the 2005 Sept CTP but I still see it in the Feb CTP. (my card is 6600GT). Details here . Anyone has an idea Unfortunately, due to downlevel/XPDM driver problems, we can only enable anti-aliasing in Vista with an LDDM driver :( ...Show All

  • Windows Forms Open a file using default application

    Hello, Back in VB6, I used the ShellExecute api to open a file using it's default application. In other words, .XLS files would open in Excel, .DOC files would open in Word, etc. The call looked like this: Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, _ ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long I realize this may be a stupid question, but is there a better/easier way to do this in .NET I find it hard to believe that the old method is still the preferred way ...Show All

  • Visual Studio Team System How to list all the changeset

    Hi all, In VSTS, changeset sounds not a work item. Is there any way that I could query the changeset Regards, Leon This will dump ALL changeset information to a file: tf history $/ /r /format:detailed > file.txt See the History command for more options. ...Show All

  • .NET Development Targeting .NET Framework 1.1 using Visual Studio 2005?

    Is is possible to target the .NET Framework using Visual Studio 2005 Thanks for you help,   Frank Nesse wrote: And how about using .Net framework 2.0 with Visual Studio 2003 In VS 2003 I can only select from 1.0 or 1.1 when setting the supported runtime property of a project. (I have installed .Net framework 2.0 and the 2.0 SDK.) Apps build with VS 2003 will usually run on 2.0.  However, if a user has both 1.1 and 2.0, it will use 1.1 by default.  To force it to use 2.0, you just need a config file as follows: <configuration>   <startup>     <supp ...Show All

  • Software Development for Windows Vista backward compatibility with windowsxp?

    hi everyone, I have developed multiple applications for windowsxp (using prof-uis library to take advantage of winxp themes feature) and would like to know (since currently I am unable to run vista on my own) whether do I need to recompile all my applications so they can run under windows vista Or - all my application that were build for winXP (visual studio 2003) will run without any changes needed How will look like the UI of my winxp programs under vista thanks & egards, krompo   I don't have a Vista beta myself, but from what I've heard, it should not be necessary to recompile. ...Show All

  • Windows Forms Nightmare scroll bars.

    Hi. I extended onto a control called simple grid. Its a basic grid painted onto a user control with 2 scroll bars that show up when the viewable rect is smaller than the grid. Now, those scroll bars are terrible. They are focus hogs. If I start the control and its smaller than the grid, the scroll bars show up and they have focus, not the grid! So when I push the arrow keys, enter or tab, the scroll bar moves, not the cell selection. I've tried this.Focus() everywhere and it doesnt take focus away from the stupid scroll bars. I did, however get this.Focus() to work in the GotFocus event, so if the user clicks a scroll bar, focus immediately ...Show All

  • Visual Studio Express Editions Saving text files

    Hello, I am new to programming and I am wondering how to save to a file. I am trying to create a type of text editor, I can create the new text, save it as a new file, open it up and edit it, but I can't for the life of me find the code I need to save back to the file I just opened. If I need to post more info please let me know. Thank you in advanced for any help. System.IO. File .WriteAllText() ...Show All

  • SQL Server Exec SQL Task: Capture return code of stored proc not working

    I am just trying to capture the return code from a stored proc as follows and if I get a 1 I want the SQL Task to follow a failure(red) constrainst workflow and send a SMTP mail task warning the customer. How do I achieve the Exec SQL Task portion of this, i get a strange error message [Execute SQL Task] Error: There is an invalid number of result bindings returned for the ResultSetType: "ResultSetType_SingleRow". Using OLEDB connection, I utilize SQL: EXEC = dbo.CheckCatLog EXEC SQL Task Editer settings: RESULTSET: Single Row PARAMETER MAPPING: User::giBatchID DIRECTION: OUTPUT DATATYPE: LONG PARAMETER NAME: 0 PS-Not ...Show All

  • SQL Server How to move the whole SQL 2005 instance?

    Hi, What is the simplest way to move the whole instance from one box to another. I can stop all SQL services for couple hours, it's no problem. But I'd like to make absolute copy. So I need to move all databases, logins, roles, triggers, stored procs, packages, jobs, credentials, endpoints, proxys, etc. I need just replace the server (the box itself) with a new one. Thank you. Do you mean backup and restore for each database Or for all at once By the way, would it work: If I delete whole folder "SQL 2005" on the new box (after installation) and then copy this folder from the old box ...Show All

  • Windows Forms How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser

    At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from Microsoft's C# that will give you 2 new events and the args people like me were crying for. NavigatingExtended gives you the following args: - Url as string - Frame as string - Headers as string - Postdata as string - PostdataByte () as byte - Ca ...Show All

  • SQL Server Execute a SSIS master package through an ASP.NET web app

    I am trying to execute a SSIS package via a web application built in c#.  I found a sample to read the output of a data flow task, but I'm stuck.  If I build the command line syntax for the package, create a DtsConnection object and set the connection string to the syntax, what else do I need to do   Thanks. Clay Well, the critical step is to create a DtsCommand whose CommandText = the name of the DataReader Destination in the package, then to execute that command to retrieve the DataReader [contents]. Does your BOL version have our topic, "Loading Data Flow Results into a Client Application " ...Show All

  • Visual C# hashtable question

    hello, i want to update a value in a hashtable (ht) so i wrote- ht["key1"]=Convert.ToInt32(ht["key1"])+1 but the value is remaining the same what im missing thanks in advanced ok so i tried that and its working but what in trying is to copy fields from a dataTable (in dataSet) to a hashTable here is the code- foreach (DataRow dr in DS.Tables["table1"].Rows)  { if (hashTabel1.ContainsKey(Convert.ToString(dr["id"]))) { int x=Convert.ToInt32(hashTable1["id"]); Label1.Text=x.ToString(); //the output here is 0 , why } else { hashTablw1.Add(Convert.ToString(dr["id"]),1);  ...Show All

  • Visual Basic VBUpgrade utility problem

    I am trying to upgrade a vb6 project to vb8 (Visaul Studio .NET 2005) and the wizard displays the error message: Upgrade Faile: Exception Occured: Invalid System Configuration (unable to locate Microsoft.VisualBasic.UpgradeExtensions.dll) Please run setup again. Well, I did, and the problem remains. Also, I tried using regasm.exe and registering manually the dll but the problem remains. Also tried to use the command line - same problem. I had the VB 2005 Express prior to VB 2005 Pro installation which I removed after installing VB 2005 Pro, but I have re-run setup several times. I'm sorr ...Show All

  • Software Development for Windows Vista Compact Framework

    Well, I think I already know the answer to this question, but I'm going to ask anyway: Are there any plans now or in the future to support workflow on the Compact Framework As I'm sure the team is already aware, CF support would be highly valuable for process automation in refineries, pharmaceuticals, power generation and several other vertical markets. WF on handheld/compact devices would be very useful for my company. We deploy handheld devices used in military applications and the ability to use workflow to control UI behaviors based on input would be valuable. We duplicate logic on a desktop ...Show All

  • SQL Server Fast loading relational data

    I am searching for a way to fast load relation data. I know how to load data fast but how can i store relation data fast. For example : Table1 ( tabel1Id int identity , name varchar(255) ) Table2 ( tabel2Id int identity , table2Id , name varchar(255)) When i insert 50 records into Table1 i can't get the 50 identity fields back, to insert the related data into Table2. I think one of the solutions could be returning a selection of Table1 joined with syslockinfo, but i have no idea how to do it. Does anyone have an idea Add uniqueidentifier column to your master table. When inserting, ...Show All

©2008 Software Development Network