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

Software Development Network >> nate.sammons's Q&A profile

nate.sammons

Member List

Peter Scheffel
David DeVey
V_1DLivi
BradleyB
odklizec
C_wander
Rover
m.mirzakhah
Matti Frisk
ventura
Francis Thomas Handy
Hong Zhang
Ronnie Smith
sandy123
dbagurus
Azhagan
johnfi
n00i3
JPP
steve6063
Only Title

nate.sammons's Q&A profile

  • Visual Studio Team System Identify when a method is an operator overload.

    Is there a single property or something to get this info or should I just look at the name for "op_" I noticed some Flags on the operator method but didn't see anything in the Method.Flags enum to indicate an overloaded operator. Is there a RuleUtilities.IsX method available that I've overlooked spotting this type of method Thanks. Operator overloading isn't supported by all languages, and overloads don't have a special designation in IL. If a method is static, publicly visible, marked 'specialname' and prefixed with op_, you've got one. There are two RuleUtilities helpers, both named GetOperatorOverride, ...Show All

  • Visual Basic Index was out of range

    I wrote the following code and it works when there are only 5 items but im doing this on a selection of 233 or more and i get the error same as title The full error message is: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Dim redv As New DataView(Items1.Alchemy) DataGridView1.DataSource = redv Dim y As Integer = 0 Dim rowcount As Integer = ((DataGridView1.RowCount * 2) - 1) Dim Value As String = DataGridView1.SelectedCells.Item(y + 1).Value.ToString & "=" & DataGridView1.SelectedCells.Item(y).Value.ToString For y = 0 ...Show All

  • Visual C# FTP PASS command from C#

    I am trying to log onto FTP. My connection works fine, my USER command results in a 331 (request for password). However, whenever I put through the PASS command I get a 331 back. The user name and passoword work fine when I FTP from the command prompt. Following are the commands once the connection is made. SendCommand("USER anonymous", socketC); iR = ReadReply(str, socketC); SendCommand("PASS xyz@hotmail.com", socketC); iR = ReadReply(str, socketC); private void SendCommand(String str, Socket s) { ASCIIEncoding ascii = new ASCIIEncoding(); String strSend = str + "\r\n"; Byte[] bSend = ascii.GetBytes(strSend); int iR = s. ...Show All

  • SQL Server Login failed for user ''. The user is not associated with a trusted SQL Server connection.

    Hi all, Can someone explain it to me why I am getting the following error when I try to connect SQL server express with .NET 2.0 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Login failed for user ''. The user is not associated with a trusted SQL Server connection. Here is my code and i am using windows authentication: <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SqlClient& ...Show All

  • Visual Studio Queued Recipe Execution

    Ok, after jumping through many hoops trying to get a recipe to execute dynamically using an IAssetReference, I finally had all the information I needed, and was ready to execute the reference. I called the execute method on the IAssetReference, and recieved an exception that said I can't execute a new recipe while another recipe is running . I was very disappointed by this, even though I think I probably understand why this is not allowed. But this leads me to wonder if it is possible to queue up recipes for later execution. The documentation seemed to give me the idea that I could spawn recipe's dynamically, and maybe this strictly means cr ...Show All

  • Windows Forms Templated emails using ASP.NET User controls

    Is there some way to render a user control or an .aspx page from a windows service, console app or windows form without using ASP.NET or IIS   I would like to use ASP.NET's built in templating/parsing capabilities, data binding, data grids, etc. but to be able to use this functionality within a windows form or console app.  I'd also prefer to ...Show All

  • Visual Studio Tools for Office Handling COM Addin Events in a VSTO dll

    Hi, I want to do something that I don't know if is possible. I have a VSTO library that gets a reference to a COM Addin. addin = CType ( Me .Application.COMAddIns.Item( "MyAddin.Connectt" ).Object, MagmaPMO.Connect) Then, the COM addin raises events but I can not handle the event in the VSTO project. Below I paste the attribute definition in my addin class and the event handler. Private WithEvents addin As MyAddin.Connect Private Sub xx( ByVal sender As Object , ByVal e As EventArgs) Handles addin.Test It is possible Thanks in advance, Regards, Juan Juan, In the ...Show All

  • Windows Live Developer Forums IE7 Beta 2 Enables XMLHTTP without ActiveX

    One of the biggest requests we got during the contest was to make XMLHTTP and XMLDOM functionality available without requiring ActiveX provisioning. I'm happy to announce that there is now a way to do this. IE7 moves the XMLHTTP and XMLDOM functionality into the core IE binary. This means you can now create Activity Apps using XMLHTTP and XMLDOM functionality without needing the ActiveX provisioning flag. IE7 Beta 2 is available from http://www.microsoft.com/ie -Scott This is great news indeed! Unfortunately it will probably still take a while before the majority of the users will use IE7. If you don't want to use XMLHTTP yet ...Show All

  • Windows Forms SaveFileDialog

    What am I missing, because it won't save. private : System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { saveFileDialog1->DefaultExt = "*.rtf" ; saveFileDialog1->FileName = "Untitled.rtf" ; saveFileDialog1->Filter = "Rich Text Format (.rtf)|.rtf" ; saveFileDialog1->Title = "Save File" ; saveFileDialog1->ShowDialog(); } The SaveFileDialog returns a DialogResult. If that result is OK, then the dialog can be used to access the selected path, so you can go ahead and save your file to that path. I believe there's some stream stuff ...Show All

  • Software Development for Windows Vista Host Workflow in Windows Service

    Is it possible to host workflow in windowsService if possible how You can do this just how you'd host it on any other kind of executable. Basically you'd create an instance of the WorkflowRuntime engine in your service as part as your OnStart operation. Any of the basic workflow hosting samples should get you started on this, or even just creating a basic Console Workflow project to see the basic code necessary. You can also configure any necessary workflow services you require on your engine by using the app.config file or by using code (runtime.AddService()). ...Show All

  • SQL Server installation bug found SQL Server 2005

    Hi! I had the earlier builds and this did not happen but: just downloaded SQL Server 2005 (RTM) from msdn When selecting to install integration services (amoungst other options), whilst installating it gives me an error saying I do not have admin privledges to install one of the .NET libraries/runtime files I cannot remember the file name at all im afraid. Error: 0x80131501 So I cancelled the install and just installed everything but the integration services... and it works fine now. I do not know if this is a bug but just thought I would let you know Issue resolved. see my new thread about installation issue resolved http://forum ...Show All

  • Visual Studio Team System Correct name: TFS Version Control or TFS Source Control

    What is the correct way of referring to the new Source Control System that comes with VSTS When you select the Source Control Item from the Options dialog in Visual Studio Team Edition for Developers (Tools | Options) it describes the 'current source control plug-in' as 'Visual Studio Team Foundation Server'. I'm hopeful there is a more descriptive name like 'TFS Source Control'. What is it In one document Microsoft call it Source Control and in another its called Version Control. Regards Will We went through the process of finalizing component names late last year after Beta 3 Refresh was released. Before t ...Show All

  • .NET Development Where's the Web dev forum?

    Like the title says... where's the Web dev forum for us ASP.NET monkeys I think some people forget or do not know there are two specific sites for specific .net development I would always consider http://www.asp.net as the primary asp.net forums And I would always consider http://www.windowsforms.net  as the primary windows forms forums. Those site have been there since day one. These I guess would be everything else. ...Show All

  • SQL Server performance: index scan (variable versus constant)

    Description: Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: ) SP4 in other words, cluster, single instance. discovered index scan where I didn't expect it. The code is a part of stored procedure, but the case can be reproduct easy in t-sql. Script 1: --CREATE TABLE [dbo].[Activity] ( -- [SentToB] [int] NOT NULL , DECLARE @BusyStatus int SET @BusyStatus = 2 SELECT count(*) FROM Activity LA INNER JOIN ExtractPeriods EP ON (LA.ExtractPeriodID = EP.ExtractPeriodID) ...Show All

  • Windows Live Developer Forums My Google Translator Activity (It Works!)

    I just made a translator activity, that will translate what you say, or what your buddy says in up to 18 different languages! Heres what you set your xml file to: < xml version="1.0" >  <Entry>   <EntryID>7</EntryID>   <Error />   <Locale>en-us</Locale>   <Kids>1</Kids>   <Page>1</Page>   <Category>50</Category>   <Sequence>10</Sequence>   <Name>Balupton's Translator</Name>   <Description>Lets you send translated text.</Description>   <URL>http: //msn.balupton.ngh ...Show All

©2008 Software Development Network