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

Software Development Network >> Adam Cirillo's Q&A profile

Adam Cirillo

Member List

Group By Expressions
Ralf P.
Dorsk
HouZhenYu
der.marcus
Code Cowboy
Joe Au
Paul Cheung
John Clien
lc247
Marlon
LizS
eugene.z
Ram_Madurai
chessmaster
Daveskis
ergb10
MSDNMAN
Digital-Pioneer
SonosDataGuy
Only Title

Adam Cirillo's Q&A profile

  • Visual C++ #region in Visual C++

    Hi, How is declared region block in Visual C++ I.e. : In C#.NET you can write #region RegionName // any code you like #endregion But in C++.NET it is illegal, so what syntax is for region in C++.NET Thank you Hello B.J., In Visual C++ 8 the syntax is: #pragma region RegionName //Code in Region #pragma endregion __________ Gal Beniamini ...Show All

  • Visual C# What is the fastest way to read and write data?

    To write and read a hundred sets of 1000 numbers, which way is the fastest way: - Binary file - XML file - Text file - ArrayList (run out of memory ) - Database Table Thanks Sorry for the uncleared question. Suppose I'm trying to get an optimal set of solution by doing the iteration for 100 times, so I have 100 sets of data. I'd like to be able to keep all data and then sort a number of each set to find which set is the best one. I don't need to show all of data, but just the best set of data, to the user. I'm not sure which way I should store all the data because obviously I'm dealing with a lot of DOU ...Show All

  • SQL Server Query notification from Win32

    I would like to take advantage of the Query Notification facilities in an existing Win32 application that uses ODBC to access a variety of MSSQL servers.  Is there any way to use this feature from a non-.NET application   I would prefer to use ODBC to access this feature , but if that is not possible, then any way will do.  I know I can probably create a .NET process and synchronise the Win32 app and the .NET app, but that is my last resort.  I'm hoping to find something a little easier. Cheers,  Scott Hi Scott - Although the names are quite similar, Query Notifications is not the same thing as Notification Se ...Show All

  • SQL Server Command USE with variable

    Why I can’t use the command USE with variable declare @banco varchar(20) select @banco='xpto' USE @banco I have try in other way without success DECLARE @banco varchar(50) declare @SQL varchar(50) select @banco='xpto' print @banco select @SQL='USE '+@banco print @SQL exec(@SQL) Help me, please. Rodrigo It is executed at both compile time and run time, so I presume that is the reason. Not all commands can use variables in place of constants. the TOP command, for instance, only takes constants until it was altered in SQL 2005. For USE sysntax and description: http://msdn.microsoft.com/library ...Show All

  • .NET Development Release version of CLR Profiler for .Net 2.0

    Now that Visual Studio 2005 is released and I have installed the team suite version, I still cannot find anywhere the release version of CLRProfiler for .Net 2.0. Will someone at MS make it available for download The CLRProfiler officially on the MS pages is for .Net 1.1. Beta2 seems to have some internal unsupported MS link. Thanks Pawan We haven't released the final version of the CLRProfiler yet. We wanted to fix some bugs and update the documentation. I'm in the process of getting it posted on the MSDN site. It should be available to download in the next 2-3 weeks. Thanks for your patience Claudio Cal ...Show All

  • Visual Studio Problem with logger

    hi there i am trying to log the contents of my build into the file log.txt and send an email to the developers. It is not logging the contents of my build onto the file log.txt and it is not creating the file as well. My command line parameters are as follows: msbuild /logger:logger.dll;log.txt my logger.dll is the custom logger that exists on this page as sample logger http://channel9.msdn.com/wiki/default.aspx/MSBuild.SampleLogger Kush28 Hi kush28, No, there's no way to attach a logger from within a project file. This is to prevent projects from having dependencies on loggers: otherwise for example I might not be able to build your ...Show All

  • Visual C++ Activex control newbie question

    Is there a difference between OCX files (Activex Control) to a DLL component that is created using ATL Which method is better Also, can I package DLL into cab files to embed in HTML Or can I only do this with OCX files steve bushner wrote: Is there a difference between OCX files (Activex Control) to a DLL component that is created using ATL Which method is better Also, can I package DLL into cab files to embed in HTML Or can I only do this with OCX files I don't think anyone uses the ocx extension anymore - but back when they used to, an ocx was a COM DLL with an ocx extens ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2d DirectX?

    Can someone point me to a simple 2D game engine that is run by DirectX. A simple one would be good. I dont need or know how to use all of the advanced programing. what i really want is to make a game like "robowar" or "darwinbots".. Oh. On the side... is it posible to graphics rendered by VB's managed backbuffer/render code that are about as fast DirectX if all i want is a 2D view Thanks One example of a complete engine is Flatredball , and is always getting updated. I have also been working on some tutorials and articles on 2D in Managed DirectX . At the moment I have a set of posts on my blog that a ...Show All

  • Visual Studio Team System Anyone familiar with the web test in team systems?

    Joined the Vancovuer Launch Event 2005, the guy demoed web test, to create a user then use validator to check the result is correct or not. How about this scenario In the web test demo of team system, how can we get the failed information automatically if the user was created twice If we test this manually, obviously we human can read the error message "This account has been exist!" and if it's not exist, "Your account is created successfully". Thank you very much, Slumley. It's the way to validat elements on a dynamic page. ...Show All

  • Visual Basic Determine Dll Types Programatically

    How can you programmatically determin if a dll is an assembly, win32 or activex Thanks for the feedback.  I double checked with our team and there is no API call in .NET that can give you this information.  You would need to write custom code to crack open the DLLs and see what they are.  I've passed this on to the product team for consideration in future versions.  If you have the time and interest, I suggest you file a suggestion on the product feedback center and reply with the ID number.  Thanks again. Paul Yuknewicz ...Show All

  • SQL Server Conditional MDX ?

    I've got a solution where I need to apply some adjustment to a measure for a given scope: Scope ([Organization].[Organization].&[13], [Product].[Division Temperature].&[Frozen], [Measures].[FOB]); This = [Measures].[FOB] - 1.25; End Scope ; This works fine, but given that this solution uses role based security to limit access to specific dimension data, there are some roles that don't have access to the [Organization].[Organization].&[13] and the MDX fails parsing. Is there any way to make a conditional MDX that I can use to only apply the given MDX SCOPE when the role has access to the dimensions used in th ...Show All

  • SQL Server can not connect to Report server from SQL SERVER 2005 Management studio

    Hi All, I have a brand new install of sql server 2005 on brand new WINDOWS SERVER2003 with latest versions. Every thing works fine excepting I get a 404 when I connect to report server from management studio.. I am even able to publish reports and all the url://localhost/reportserver url://localhost/reports url://localhost/reportserver/reportbuilder/reportbuilder.application all work fine on local machine and with in the network behind the fire wall. But when I try to connect to report server using management studio on the local server or remote server, I get the following error. " TITLE: Microsoft SQL Server ...Show All

  • Smart Device Development Raise email flag

    How do i raise the email notification flag (icon) So the little envelope appears on the toolbar any help would be appreciated! anyone no one has done this before No one knows how Seems like raising a message recieved flag would be a pretty simple thing... but i cant find anything in MSDN to descibe how i might progromatically raise a message recieved event. :( ...Show All

  • Windows Forms How to add a launch condition based on whether a task is running

    I want to add a launch condition, so that the install will not continue if my program is already running. I have seen lots of documentation on how to search for a file and use that for a condition. Is there a way to get a files state, or to check for a process. I am using VS 2005 to create my setup. The Windows Installer way to do this would be to have entries in the ServiceControl table, if this is a Service you're trying to stop. Visual Studio doesn't expose this in the IDE, so you'd have to be comfortable with MSI files and Orca to do this, or move to another MSI-building tool such as Wix. ...Show All

  • Visual Studio 2008 (Pre-release) database support

    Hi! Will LINQ support database providers other than sql server Actually, I didn't ask -- someone else did. But I *was* wondering when a Mono-affiliated project was going to be doing something with this, aside from the XLinq classes that were whipped up during PDC. ...Show All

©2008 Software Development Network