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

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

Armela

Member List

AeX
ATRIP
kscmjo
Redmanmc
Steve Jackson
Carlos.Camargo
Fayez Mutairi
Sumit Bhatnagar
Xelestial
Predator14567
Visware
Dietz
georgeob
justme2005
ahallowell
Crofty
Gerrit L
c_shah
rwerner
Novak
Only Title

Armela's Q&A profile

  • SQL Server Strange Problem with IBMDA400 OLE DB Provider

    Dear All, My objective to use SSIS to to pull data from DB2 and store into SQL Server. Working environment is: =========================== Database: DB2 UDB iSeries V5R3 Provider: IBM DB2 UDB for iSeries IBMDA400 OLE DB Provider SQL Server 2005 SP: Latest i-e SP2 In connection manager, i have changed the following properties in OLEDB driver settings and connection with DB2 is tested successfully. 1- CATALOG LIBRARY LIST = AS/400 library 2- PERSIST SECURITY INFO = TRUE 3- INITIAL CATALOG = Database Name 4- Defualt Collection = AS/400 library After testing connection, I Created an OLE DB source and in OLE DB Datasource Editor set following properties: 1- VALIDATE EXTERNAL METADATA = FALSE 2- ALWAYS USE DEFAULT CODE PAGE = TRUE ...Show All

  • SharePoint Products and Technologies permissions question

    Hi does anybody know if it's possible to only have Edit rights on your own documents We want all our customers to create pages. But we don't want customers to change pages from other customers. thank you ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Quaternion Tutorial

    Could someone school me in using Quaternions in XNA I'd love to have a tutorial specfically for XNA. I read a tutorial that helped me to understand them a bit better, but still not sure how to plug it into the game. If you can believe it, the documentation doesn't explain it to well. Well, I don't know about a tutorial... and I'm certainly no expert on quaternions... but, the following is something I did to make the example from the XNA Game Studio's Express's help file more interesting. First, you'll need to complete "Tutorial 1: Displaying a 3D Model on the Screen" (this is part of "Going Beyond: XNA Game Studio Express in 3D" of the Getting Started section). Once you've completed that tutori ...Show All

  • Visual Studio #if MSBuild ...

    Hi What #if statement can I use to detect MSBuild in my code I tried MSBUILD, but no luck. Do I have to define one I if, how regards Kjelli I'm using AzMan to control page/code access and are having trouble configuring this on WinXP. On the team build server / test site it's working and would be appropriate to have security applied. Please explain where I should put your statement. I've tried in TFSBuild.proj: <Project DefaultTargets="DesktopBuild" xmlns=" http://schemas.microsoft.com/developer/msbuild/2003 "> <PropertyGroup> <DefineConstants>$(DefineConstants);MSBUILD</DefineConstants> This is without the conditional statement. (Don' ...Show All

  • Visual C++ Problems in debugging

    I encountered the error message below: First-chance exception at 0x7c812a5b in mda2.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f764.. Unhandled exception at 0x7c812a5b in mda2.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f764.. Any possible answers Am I out of memory It occurred at this line m1pos [ i ] = new int [m1[0]+1]; //allocate new array where m1pos is an array of pointers. When my input file is small, there is no error. When my input file is large, I will have this error. I am using the term bounds checking in a general manner. It is the type of stuff that makes sense; the type of stuff that programmers should do but we often a ...Show All

  • Visual Studio Express Editions Must be non-negative and less than the size of the collection

    I keep getting the same error message when i start debugging. This recently started and I don't know why because i didn't change anything yet today. I could attempt to fix the problem myself but I the error message I get does not tell me where in the code the error is Does it It builds fine but freezes on the splash screen. - Thanks System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index" ya even i am facing the same problem for Enterprise Search in MOSS 2007 in search scope, all crawling h ...Show All

  • Visual Studio Passing Parameters to Crystal Reports 10 using Visual Studio 2005

    I have been looking all over the place and I am looking for a way to generate a stand alone Crystal Report using a parameter passed from a form in Visual Studio 2005. I don't want the report to be attached to a reportviewer, I just want the report to be opened with the parameters being passed to it. How would I do such a thing I have been looking for the answer and I cannot find it. Hi I figured out what was wrong with my report. In fact I consider this a bug, since in the vs 2003 version I use the same code with no problems at all and it works. The problem is when I use this line of code this .oRpt.Database.Tables[ "spGetAllMaterialForReport;1" ].ApplyLogOnInfo(oTLI); w ...Show All

  • Visual Studio 2008 (Pre-release) MessageSecurityException problem

    I have a problem that's got me stumped I have a "self-hosted" server over wsHttpBinding, with message security and secured with a home-made certificate (for now at least), the clients are validated using a CustomUserNameValidator. This is in an intranet setting, but not in a domain, firewalls switched off.. From one particular machine I've got problems connecting to the service - I have the cert installed on the client in TrustedPeople (and using PeerOrChainTrust), the client finds the cert. - Before i switched off negotiateServiceCredential in the client I got either "the local security authority cannot be contacted" or another one that I cannot remember right now that stated something about something that does not ex ...Show All

  • SQL Server Something to think about. . .

            Given:       " x   I     ( null   U   VARCHAR(1)) : char(ascii(x)) = x in SQL Server 200x       Prove:      '' should be considered a null in SQL Server 200x   declare @test varchar(1) set @test = '' Select case char ( ascii ( @test )) when @test then ''''' is not null' else 'Q.E.D.' end T  'Q.E.D.'       \ :      '' = null, because char(ascii( '' )) 1   ''     ...Show All

  • Windows Forms ToolStripComboBox vs ComboBox

    The ToolStripComboBox has less fields than a ComboBox, especially useful things like databinding features. They can't be made shorter than 75 pixels, either. I have seen forms with ToolStripComboBoxes that are very short and have data bound to them, so how is this achieved ...Show All

  • .NET Development Why expression evaluation in conditional block is different in C#.NET and VB.NET

    Here I paste the same code in both language. Do I missing something here Why they behave differently C#.NET using System; using System.Collections.Generic; using System.Text; class Program { public static void Main( string [] args) { if (func1() == false && func2() == true ) Console .WriteLine( "check" ); } static bool func1() { Console .WriteLine( "func1" ); return true ; } static bool func2() { Console .WriteLine( "func2" ); return false ; } } VB.NET Module Program Sub Main() If (func1() = True Or func2() = True ) Then Console.WriteLine( "check" ) End I ...Show All

  • Visual C++ Why can I create an object to ref class on the stack in CLI?

    Hello! I got a little confused with the creation of ref classes. I have a ref class e.g.: public ref class A{ public :A(); public : virtual ~A(); } Why can I create in another object an A object on the stack but not a String object : public ref class B{ A myAObj; // compiles String myString; // does not compile, should be: String^ myString } What is the difference here. I thought it is only possible to create value types on the stack with the C++/CLI Is the myAObj really created on the stack or is it created on the managed heap too And what is about passing that "stack"-object to a function - is a copy created Thanks for any help... Maik Wiege ...Show All

  • .NET Development Authorization Problem

    Hey, I'm writing a little program which sends E-mail, I built a class: public class Send_Mail { public void send( string use, string pass) { string to = "snaidis@gmail.com" ; string from = " semionn.89@mail.ru "; MailMessage message = new MailMessage (from,to); message.Subject = "Using the new SMTP client." ; message.Body = @"Using this new feature, you can send an e-mail message from an application very easily." ; SmtpClient client = new SmtpClient ( "smtp.mail.ru" ); client.Send(message); } }   I'm getting the following problem: ------------------------------------------------------------- An unhandled exception of type 'System.Net.Ma ...Show All

  • Visual C++ Using CLR

    Standalone using CLR Is it possible, if not, what are the advantages of using CLR Thanks, Chris If by standalone you mean an application that can run on a machine that does not have the CLR installed - then the answer is no it is not possible. Note: it is not possible to write a standalone Windows application. While it is possible to write a "standalone" regular C++ application it would not be a very exciting application - and I say "standalone" as it still require that the PC you run it on has Windows installed. The are many advantage to the CLR - for one a complete compiler geek like myself can write a forms application in an afternoon - something I couldn't do wi ...Show All

  • SQL Server Understanding Estimated Execution Plan

    When I generate an estimated execution plan from Management Studio, one of the things I often see in the execution plan generated is an 'Index Scan'. When I put my mouse over the 'Index Scan' graphic, I will see a window display with something called 'Output List' at the bottom of the window. Do I understand correctly that SQL Server will scan my index looking for values in each of the fields included in this output list Thanks, Amos. Output list is nothing but the list of columns that will be projected from the operator (scan or seek). So this will relate to say the column(s) that are required for the join and/or referenced in the SELECT list of the query for example. There is a parent topic in the lin ...Show All

©2008 Software Development Network