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

Software Development Network >> Goat Spirit's Q&A profile

Goat Spirit

Member List

Jae
Frances83
Melterx12
luca82
Mitch5713
Jake_a_
provato
Franco Finstad
John06053
Niros
hrubesh
karthik G
pappascd
Zhao_Gil
hanjg82
R1ZWAN
Keith Newton
arcliner
Matthijs Koopman
Big Andy 78
Only Title

Goat Spirit's Q&A profile

  • Visual Studio 2008 (Pre-release) netTcp - The server has rejected the client credentials

    Hi, I'm testing a simple tcp client/server and everything works fine locally. However, as soon as I go over the internet I get: SecurityNegotiationException - The server has rejected the client credentials This is what my config looks like: < xml version="1.0" encoding="utf-8" > <configuration> <appSettings> <!-- use appSetting to configure base address provided by host --> <add key="baseAddress" value="net.tcp://mydomain:8000/servicemodelsamples/service" /> </appSettings> <system.serviceModel> <services> <service name="Microsoft.ServiceModel.Samples.CalculatorService"> <!-- use base address provided by host --> ...Show All

  • Visual Studio Programmatically setting/changing command arguments for a VC++ projects.

    Greetings, I am working on a project that requires me to repeatedly change command arguments between running sessions. For example, I need to run the app with "-args1", exit it; and then run the app with "-args2", exit it; then run it again with "-args1", exit again; and then with "-args2", and so on. Such switching could happen dozens of times a day, so I want to simplify this task by using either a macro or an add-in, whatever works. For a baisc start, I hope to employ the macro to record what I do mannually: I bring up the project properties dialog and activate the Debugging tab, then change the Command Arguments string, then exit. The following is what I get from the macro IDE: " ...Show All

  • SQL Server SQL 2005 Transact-SQL Full Outer Self Join

    Can someone please help me to find out the problem with the following Self Join using Full Outer Join SELECT T1.product, T1.vendor, T2.product, T2.vendor FROM ( product_vendor T1 FULL OUTER JOIN product_vendor T 2 ON T1.vendor = T2.vendor ) WHERE T1 . product = 1 AND T2.product = 2 This query always returns only the matching rows (as if INNER join). Is there a way to get the non-matching rows too, using a single query, without using temp tables If I put the results for Product 1 and Product 2 in two different temp tables and then do a FULL OUTER JOIN on the temp tables, I could get the desired result. I tried putting the WHERE clause condition in the Join, having <> etc., - but, nothing ...Show All

  • Visual Studio Tools for Office formulae in Excel

    Using VB.net(VS2003) and Excel 9.0 object library, if you want to assign a formula to the cells in a column, can you assign it to the entire column, e.g. xlSheet.Range("A").Formula = "whatever" Or do you have to bypass row 1 if it contains headers: xlSheet.Range ("A" & 2, "A" & rowct.ToString).Formula = "whatever" Or do you have to assign the formula to a specific cell and then copy-and-paste it down the column xlSheet("A1").Formula... etc Thank you in advance. Again, this is a question better asked of the experts in the excel.programming newsgroup :-) They'll know the most efficient way to approach a task of this nature. http://msdn.microsoft.com/newsgroups/defa ...Show All

  • Visual C# base class methods calling derived class methods ?

    Ive inherited a C# class library and it seems that several of the base classes implement some methods that call methods which are defined in classes that are derived from the calling method's class. Is this "normal" eg: BaseClass method1 method2 { //some code here some_int = get_the_int(); } DerivedClass:BaseClass method1 method2 get_the_int () { //get the int here... } "Inheriance main concept is derived class can use the base class proeprties and behaviour, but viseversa is not possible." If you're talking about polymorphic inheritence, then this is completely wrong. It is a common design pattern for base classes to call methods which are defined by derived classes, which is acc ...Show All

  • SQL Server Stored Procedures - SourceSafe

    Hi All... Well, another old c++ programmer has found the Lord - I've just written my first stored procedure. And yes, as I've always heard, it's quite cool... The thing I've never really cared for though is that they sit way out there in the database, far away from all the "other" code. I'm presently involved in an asp.net project and we use SourceSafe. I've seen some mention of VSS with SQL Server on this site and am quite pleased to see it! But for the sake of an old c++ programmer, what are the basics about getting things like stored procedures (and even the database schema for that matter) into sourcesafe That is what's the easiest way to do it ; ) For what it's worth, we're using .Net 2.0, Visual Studio 2005, SQL 200 ...Show All

  • Windows Forms Combo box resizing

    Just want to make sure that I have this straight and am not missing something. Unless one wants to draw their own control, the height of a combo box cannot be changed except by changing the font If that is indeed the case, then why does a combo box with a selected font (say Arial 8.25) render as different height than a text box with the same font selected That makes for one ugly form; either the text box and combo box can't be side-by-side without looking akward, or the text box and combo box can be the same size, but the fonts are significantly different. Someone, please tell me I'm missing something obvious. Thanks! of course the height of the combobox can be changed, just select the combobox on the form designer, you will see ...Show All

  • SQL Server System Variables in a SSIS package

    hello all, I am having a hard time referenceing system variables. Can some one give me a quick lesson I am trying to save system variables suck as StartTime finishtime and processes ran I want to store these items into a table for use later. FATSO wrote: This is what I have been trying to do. Declare @MyProcess as char SET @MyProcess = 'Zrocess 1' INSERT INTO dbo.ProcStat (Starttime, Process) VALUES (@[System::StartTime], @MyProcess ) Should be simple, but it is not working. Your best bet would be to create this as an expression on the Execute SQL Task's SQLStatementSource property. The expression will look something like this: "Declare @MyProcess as char SET @MyProcess = 'Zrocess 1' INSE ...Show All

  • .NET Development "Metadata file 'System.Runtime.Serialization.dll' could not be found" during dynamic compilation

    Good afternoon, I am trying to write code that takes metadata from a running WCF service (knowing only the service's address), and using that metadata (after running it through a wsdlImporter and xsdDataContractImporter) to compile an assembly that (hopefully) contains the data contract object used by the web service. However, when the code reaches the "CompileAssemblyFromDOM stage, the compilation fails, leaving the message "Metadata file 'System.Runtime.Serialization.dll' could not be found". It's really rather annoying, since the file in question is one of Microsoft's (and in the GAC, for that matter). The code I've been using is as follows: System.ServiceModel.WSHttpBinding binding = new WSHttpBinding(); MetadataExchangeClient ...Show All

  • SQL Server Is this possible? How

    hello guys, I want to create a report using a bar chart data region from a cube. The cube contains Date and Time dimentions. Here is my question: The catagory field (x-axis) value of the bar chart is dependent on the paramaters value(i.e.StartDate and EndDate). For instance if the difference between StartDate and EndDate is greater than 1 year, the x-axis value for the bar chart should come from the Date dimention and display the year value. Similarly, if the difference between StartDate and EndDate is less than a day, the x-axis value for the bar chart will come from the Time dimention and display the hours value. Does any body came across this kind of scenario. Appreciate your assistance. Amde ...Show All

  • SQL Server Dimension Properties

    I am using SSAS 2005. I have a Dimension table that is based on the entire data source and then 2 Fact tables that set the data into two groups. When I browse the data for Fact Table 1 in SSAS 2005, I am getting missing dimension values for all the data in Fact table 2. Is there a join property that will tell SSAS to only use data from the Dimension table that is also in the Fact table I have a primary key on the Dimension table that relates the dimension table to the Fact tables. S You will probably need to create a view in relational database or named query in DSV to build a join that only brings data you would like to see in Analysis Services. You should not rely on Analysis Services to solve da ...Show All

  • SQL Server Permisisons need to view a DB diagram

    What are the minimum permissions needed to view a sql 2005 Database diagram While "dbo" can create a diagram others often want to see the daigrams and I don't want to make them dbo rights! TIA, barkingdog Hi Jens, Can't get this working on SQL Server 2005. I have a new user account that can view table definions and browse tables and should also be able to see the diagrams (but not modify). Based on the link, I executed: GRANT EXEC ON dbo . dt_addtosourcecontrol TO public GRANT EXEC ON dbo . dt_addtosourcecontrol_u TO public GRANT EXEC ON dbo . dt_adduserobject TO public GRANT EXEC ON dbo . dt_adduserobject_vcs TO public GRANT ...Show All

  • Visual Studio reset trial experation

    ok... i am sure you have heard this one before... :-) so i bought this book: Professional ASP.NET 2.0 (special edition) (WROX) which came with a 180 day trial of VS 2005 Pro DVD (ISBN: 0470041781) last week, i have the receipt... DVD part# X11-45695 anyhow i go and install the product on a computer i haven't used for a while... and after the long install, i click the check for updates link on the cdrom installer window... so it pops open the update website, and the update website tells me that my clock is out of sync and tells me to fix it... before i can continue... so i do. well it turns out that the date and time was set to july 2006 instead of todays date, this is because i was testing some date (UTC) calculations i was doing ...Show All

  • Visual Studio Express Editions i cant find where to put my regestarion key?

    where do i put the key You can do one of two things (or both, if you're feeling devilish, and daring): 1. When you start up any Express Edition of any Visual Studio program, a small registration box should show up. Enter it there. 2. Or, start-up the program, go to Help>Register Product ...Show All

  • .NET Development Web Service Method Pass By Reference

    I'm working on a Web Services app that needs to pass objects by reference. Freeman and Jones book, ".NET XML Web Services Step By Step" states that when doing so you must use the ref keyword in the method definition and method call. Passing objects in C# are automatically passed by reference (See the code example below). My question: Is this default pass by reference behavior for objects different for Web Service methods and therefore requires explicit designation of the object as a reference type in the Web Service method and call Thanks, Mike using System; namespace RAndD { /// <summary> /// Summary description for Class1. /// </summary> class RAndDApp { /// ...Show All

©2008 Software Development Network