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

Software Development Network >> Jim Stevens's Q&A profile

Jim Stevens

Member List

Davidsfg
gadi_bez
Prabagarane
Ingenious
JDeciple
MerrickDeWitt
Catalin Zima
DocMARs
Bingo Boy
pessi
Ole Morten
bluebx32
anester
calavera2043
Mile Petrov
MikeDai
punchycool
imanish11111
Landon Parks
duck16
Only Title

Jim Stevens's Q&A profile

  • Visual Studio Team System CTP5 - Import Scripts

    I think the import scripts feature is nice but there has got to be a way to import more than a single script at a time (i.e., all the scripts in a folder). Can anyone tell me how to do this Also, is there an API I can use to import scripts Thanks - Amos Hi There, At present, one can only import one file at a time, but I will record your suggestion to be considered to be implemented after V1. There is no API's either at this moment, but will be considered for future. - Sachin Kumar ...Show All

  • Visual Studio Tools for Office VSTO SE - Create Spreadsheet on Server Without Excel

    I understand that with VSTO SE and VS 2005 you can create and manipulate spreadsheets on computers/servers that do not have Excel installed. I have done a lot of programming Excel with COM but am new to VSTO. I have searched various examples online but have not found just one simple example of creating a spreadsheet pro grammatically on a server that does not have Excel. The resultant application would be a console app that would run without a GUI to process and create/update spreadsheets. Could someone please list as briefly as possible (VB preferred, C# okay) how to create a new spreadsheet, update a couple cells, and then close the spreadsheet from the command line with no GUI. Thanks. Hi, You've ...Show All

  • Visual Studio CTC constant for "Test Results" context menu?

    I'm trying to find the constant that I need in my CTC file to add my own item to the context menu in the Test Results pane. However, there don't seem to be any such constants defined in the header files found in the VS SDK's VisualStudioIntegration\Common\Inc, or the example found in VisualStudioTeamSystemIntegration. I'm looking in the August 2006 CTP release of the SDK. Any help would be appreciated. Thanks! The one you probably want is this one guidVSEQTPackageCmdSet : imnuTestResultContextMenu where guidVSEQTPackageCmdSet = {B85579AA-8BE0-4c4f-A850-90902B317571} imnuTestResultContextMenu = 0x1301 The context menu contains the folowing groups in the same guid scope id="igrpTestResul ...Show All

  • .NET Development System.Uri is not able to represent a query string properly?

    This seems very odd to me, but I may have encounted an uri that cannot be properly represented by System.Uri. Console.WriteLine(new Uri(" http://www.example.com/somepage.html foo=bar%2bbaz ")); This should print the following line: http://www.example.com/somepage.html foo=bar%2bbaz Instead, the following line is printed: http://www.example.com/somepage.html foo=bar&baz Note that the semantic meaning of the uri has been changed. In .NET 1.1, a workaround exists: escaping the uri before passing it into the constructor of System.Uri: Console.WriteLine(new Uri(System.Web.HttpUtility.UrlEncode(" http://www.example.com/somepage.html foo=bar%2bbaz "))); In .NET 2.0, this workaround no lo ...Show All

  • SQL Server A critical SQL Server problem

    Hi, Once, I wanted to attach a database to SQL Server by means of "CREATE DATABASE ... FOR ATTACH" command, in Query Analizer. I encountered an error and attaching database failed. (The error was something like this : "the phisical file 'FILENAME' maybe is incorrect") But after going to Enterprice Manager, I realised that a database whitout a name was created. Since then, I wasn't able to do any process in SQL Server whitout either not recieving an error or failing the process. I decided to uninstall and reinstall SQL Server again. But after uninstalling, whenever I want to reinstall SQL Server I get this error : " A previous program installation created pending file operations on the installation ...Show All

  • Visual Studio 2008 (Pre-release) Relative bindings for nested UserControls

    Hi all, Apologies if this is a stupid question, but I've trawled the forums and net for an answer, and just can't find what I'm looking for. I've created a XAML UserControl in another library that has binding defined for its element, however the DataContext for that control is specified in parent XAML form that is hosting the control. I'm using a XMLDataProvider as a test harness and I'm specifying the DataContext in the hosting XAML page (lets call this Form1) and then I'm creating an instance of the UserControl in Form1, then wanting to shift the DataContext to a contained element in the binding XPath. XML Data: < Items > < Item > < Number > 10001A </ Number > < BillTo > < Contac ...Show All

  • .NET Development Converting hostnames back to IP

    How do I convert a hostname back to its ip so far I'm using System.Net to get the host name with gethostEntry() but.. how do I get the ip I dont see anything like HostName. Or is it AddressList Use the System.Net.Dns class. For example: IPAddress[] addrs = System.Net.Dns.GetHostAddresses("www.google.com"); foreach (IPAddress addr in addrs) Console.WriteLine(addr.ToString()); ...Show All

  • Visual C# Reading from a Select Statement

    Hi I have a Select Statement, which iam passing to the server using an object of type SqlCommand. Now, this select statement returns the string value. I wanted to read this value obtained in to a String type. What i have to do. Do i have to use the sqldatareader to do this Thanks! Santhosh When you use a SELECT statement in comes back as a result set irrelevant of whether you looked it up in a table or generated it as you did above. You would use the same logic. The only difference in your case is the fact that you really don't have a field name so you must use an ordinal to get the value. using (SqlDataReader rdr = cmd.ExecuteReader(CommandBehavior.CloseConnection)) { if ((rdr != null) && rdr.Read()) ...Show All

  • Visual C++ What does this Error means...? How do we fix the problem...?

    Hi, ...   ...   ...   Allah Is Here... I use the Visual Studio 2005 Standard Edition, with Visual C+++ and DirectX 8... I get this kind of error from the compiler, as below...   1>------ Build started: Project: Chapter 9_Project, Configuration: Debug Win32 ------ 1>Compiling... 1>Crap___1.cpp 1>c:\documents and settings\ly heu\my documents\c++ codes\chapter 9_project\chapter 9_project\headercrap1.h(116) : warning C4005: 'D3DFVF_SIMPLEVERTEX' : macro redefinition 1> c:\documents and settings\ly heu\my documents\c++ codes\chapter 9_project\chapter 9_project\headercrap1.h(64) : see previous definition of 'D3DFVF_SIMPLEVERTEX' 1>c:\documents and settings\ly he ...Show All

  • Visual C# Thread safe Form

    Hi, I have a form with several controls which I am updating from different classes. I am looking for a thread safe way of doing this. I would prefer not to use the tedious Invoke/InvokeRequired technique. Is there an easier or perhaps better way of doing this, I have come across the idea of using an interface For clarity: class MainForm... Button specialMove = new Button(); ComboBox tenHitCombo = new ComboBox(); ... private void specialMove_Click(object sender, EventArgs e) { // new Thread for massive damage! Thread.Start() } // Thread Method string x = MainForm.tenHitCombo.Text //UNSAFE Thanks I am updating several controls from several classes, that's what the problem is. From class a, I might want to get a value from a control a ...Show All

  • Visual Studio Team System Migrating source code from expired trail version to another TFS server.

    Hi all, A client has asked me to help migrating the source code from one TFS server to another TFS server. They have been running a small development project on a TFS server using the MSDN 180 trail key. They have now purhased a proper licens to TFS and has to migrate the source code from the TFS Trail server to the real server. Is the some tool to do this It is not that important that the releated work items and the data in the OPAP cube are being migrated. The important part is moving the souce code and the version history. To make matter worse ... the trail key has expired ... Any idea how to solve this problem Kind regards Tony Hi Adam, I overlooked the link to the article regardi ...Show All

  • Visual Studio HTTP Checkout - Possible Timeout Anomaly

    My team is encountering a strange problem when trying to checkin or add larger files to VSS 2005 via HTTP or HTTPS. The resulting error is always the dreaded: There was a failure uploading the URL.... although I don't believe that error indicates what the actual issue is. I've read what I think to be every post on the subject here and elsewhere on the web, and no situation matches exactly (others are simply an easy timeout misconfig or a permissions issue and nothing can be checked in.) It's not a permissions issue as all team members can checkin smaller files and large projects that contain small files-- as long as the file being checked in doesn't take more than 30-60 seconds (see below.) It's not a typical HTTP "tim ...Show All

  • SQL Server How can i determine the Queuing_order of a conversation?

    Hi There Is there a DMV or something in the system that can tell me what the current queue message number is for a conversation. I would like to determine what the message queue_order number for a message is before or after i send the message, as i would like to log this information Thank You Order is guaranteed only within a dialog. Sending across multiple dialogs will result exactly in the behavior you observed, because the messages from various dialogs might be shuffled and get ahead of each other during transport. ...Show All

  • Visual Studio Crystal Report For VS.NET 2005.. Cannot change DBName, ServerName on Runtime if write SQL Statement

    I have the problem about change database name and server name runtime... I use CR for VS.NET 2005 to make a simple report Use OLEDB for SQL Server and write SQL Statement in COMMAND OBJECT.. (Error will not occur, if I choose link table, not manually write SQL Statement) I found that i cannot change DBName and ServerName I receive error when i call function Report.Database.Table(i).ApplyLogOnInfo(NewLogOnInfo) -------------------------------------------- Failed to load database information. Details: The database DLL 'crdb_query.dll' could not be loaded. Error in File C:\DOCUME~1\anop3\LOCALS~1\Temp\{68D71403-5484-4650-B960-D55DB2523564}.rpt: Failed to load database information. --------------------------------------------- Then, I wri ...Show All

  • SQL Server Rendering problem in PDF and TIFF

    using ssrs 2005 I have a report that looks fine in the preview and in mhtml. But in Tiff and PDF it page ejects and takes another blank page and an eject prior to printing a textbox. The textbox is as wide as the page width (I have made it narrower and played around with the height in the layout envirnoment to no avail) and the data is a varchar(8000) with about 700 characters in it in this instance. The report also takes an extra page eject at the end when in PDF or Tiff format. I have not objects in the report that are overlapping and there are no warnings. What could be causing this behavior. Regards, Gary I'm really not sure what you mean by "page eject". Do you mean ...Show All

©2008 Software Development Network