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

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

Dancer

Member List

Andy P.
singam
JanMichaelTe
WineNCheese
Talyrond
Cem DEMiRKIR
Sayor
bob yoplait
陛下
luzippu
chrisgfromsa
Alexander Stoyan
Fran431916
RedMage44x
mivecxtr
fasttrack
RANGERAZIZ
sungrebe
Sniper167
Simple Samples
Only Title

Dancer's Q&A profile

  • Windows Live Developer Forums Can you turn off Birds Eye View Support?

    Is it possible to turn the function off ...Show All

  • Visual Studio Visual Studio 2005 Empty Projects After succesfull Instalation

    Hi, I have this problem - I have installed succesfully (with absolutely no errors) Licensed Visual Studio 2005 Proffesional on my Windows XP maschine. Then I tried to create a simple project by clicking File>>New>>Project Selected Visual++ then MFC and "MFC ActiveX Control" (I tried later on different project types) - then followed thru the wizard clicking next (selecting all default). Wizard created a project that had no class and there were only few project files - but basically no source code - I have used Visual STudio 6.0 and I never had something like that!! I have updated my instalation with ServicePack1 but that did not change anything - I still have no source files. I'm not sure if that is normal I had the ...Show All

  • SQL Server limit rows for a user

    Is it possible to set a limit for the number of rows to the user that connects to sql server (something like: whatever is the query this user does, set @@rowcount to 10000) Thanks. Alberto You will have to ask this question in the Reporting Services forum then since it is not a TSQL issue. Maybe reporting services has some mechanism that will allow you to specify a pre-command. ...Show All

  • Visual Studio How does Visual Studios find the help file for my class assembly?

    I wrote a class assembly and used the wonderful Sandcastle for documentation. When I am in VB and place the cursor over a keyword from my assembly, the help system is not finding my help file. How can I make VB, V# etc. find my help file No, the VS Help system is fairly complex and requires that you would register your content via an installer in order for it to be integrated with the rest of the help content. Have you downloaded the VS SDK If not, you can download it from here: Microsoft Visual Studio 2005 SDK version 3.0 The online help that is part of this SDK documents how to integrate help content with Visual Studio. The SDK also includes a Help Integration Wizard which you can use with conte ...Show All

  • .NET Development Newbie question timing of update and how it affects database ID columns

    Hi all, My scenario is an extremely simple database table (for now) which has an ID field (SQL Server 2005), ie auto-generated from a sequence. I've tested that this works by adding 50 rows, not setting the ID on each and then updating. Reading the rows back shows the auto-generated keys. I'm encapsulating the posting of a row into a web service, all working fine except I want to pass the generated ID back as the response. The following line ... int newID = newRow[ "RunID" ]; throws the following exception at runtime ... System.InvalidCastException: Specified cast is not valid. The column is an int in the table definition. I suspect it's coming back null, because the update has commited the rows and I suspect emp ...Show All

  • Visual Studio 2008 (Pre-release) WCF Services on embedded devices?

    Hi, I was wondering whether one could deploy WCF Services on embedded devices or generally speaking whether .Net 3.0 could be installed on Win XP Embedded (XPe) Though XPe is not mentioned in supported operating systems, XPe is based on XP Professional which in turn is a valid platform for the new .Net version. Also .Net 2.0 is runnable on XPe. Thanks, Philipp Thank you for the reply! That .Net 3.0 is runnable under XPe is wonderfull and I think especially for WCF opens many new usage scenarios. Are there any informations available about running .Net 3.0 on XPe e.g prerequiesits on components which have to be packaged into such a XPe configuration (AFAIK XPe is a componentized XP Pro, so one chooses which ...Show All

  • .NET Development Filestream - File in Use Error

    I am currently writing a program that is opening a report file. On occasions this report file may be opened for editing by an individual. My program should only open the file Read Only so even if someone is in the file editing I want to be able to go in and read the file. How may I do this using (FileStream fs = new FileStream(fnames[fcnt].ToString(), FileMode.Open, FileAccess.Read, FileShare.Read)) That is my current code that will not open the file read-only when the file is already open for editing. Thanks in advance. Your problem is with the other program, the report editor. It opens the file in deny read/deny write mode. That's not untypical for an editor, it may well leave the file in a ...Show All

  • Visual Studio Express Editions *& and * difference

    Hi, For the below code snippet, I wonder about the function of *& in parameter How is it different from " * " in terms of their function void BinaryTree::destroyTree(TreeNode *& treePtr) { // postorder traversal if (treePtr != NULL) { destroyTree(treePtr->leftChildPtr); destroyTree(treePtr->rightChildPtr); delete treePtr; treePtr = NULL; } // end if } // end destroyTree Thanks As you know * specifies a pointer - the *& is a pointer-to-a-reference; i.e. double indirection similar to ** (pointer-to-a-pointer). It allows the method to internally set the treePtr parameter to null. Without the doubl ...Show All

  • SQL Server Logging Packages Execution

    Hello all, I am struggling around defining a logging mechanism for my packages. I have 2 questions concerning that matter: I have used event handlers for my loggings (as defined here: http://blogs.conchango.com/jamiethomson/archive/2005/06/11/1593.aspx ), but the problem is with packages that failed validation. I cannot find log entry for these cases since no "onerror event" doesn't trigger (for instance when the table I'm loading to doesn't exsist). And the second question: many of my packages are executed using execute process task (using dtexec command line). I am trying to capture the result of the execution as a log file by using the ">" in the command line in order to output the execution to a lo ...Show All

  • Visual Studio Team System How downloads Visual Studio for Architecter from msdn subscription?

    Hi all, I want from msdn subscription downloading Architecter edition Visual Studio 2005. But does not have Visual Studio for Architect,Ask which editions I should download Hi ahmedilyas, Visual Studio for Architect may design the software architect,With the UML language designs class chart and so on. ...Show All

  • Visual C++ How to Create a new GUID

    Hi All, I am developing in unmanaged C++, ATL, Win32. The .Net Framework has a function to get a new GUID. How do I create a new GUID without using .Net function call Thanks duck thing wrote: GuyRoch wrote: c# Guid myGuid = Guid.NewGuid(); thanks this is extremely helpful to somebody writing C++ code Yes it is actually, because C# Syntax is a lot like C++ so to "port" that to C++ it is Guid myGuid = Guid::NewGuid(); and there using .Net to make a new guid in C++ ...Show All

  • Visual Basic Help with Post Message

    Declaration: <DllImport("user32.dll", _ CallingConvention:=CallingConvention.StdCall, _ CharSet:=CharSet.Auto, _ EntryPoint:="PostMessageA", _ SetLastError:=True)> _ Shared Function Post( _ ByVal hwnd As IntPtr, _ ByVal wMsg As Int32, _ ByVal wParam As Int32, _ ByVal lParam As Int32) As Int32 End Function Constants: Public Const WM_LBUTTONDOWN As Int32 = &H201 Public Const WM_LBUTTONUP As Int32 = &H202 Sub: Sub LeftClick(ByVal Handle As IntPtr, ByVal XCoord As Int32, ByVal YCoord As Int32) Post(Handle, WM_LBUTTONDOWN, 1, XCoord + YCoord) ' Left mouse button down Post(Handle, WM_LBUTTONUP, 0, XCoord + YCoord) ' Left mouse button up End Sub Problem: This met ...Show All

  • SQL Server Report Viewer in ASPX page- Getting an Error "The request failed with HTTP status 401: Unauthorized"

    I used the following reference code while creating this simple ASPX page with reportviewer control using VS 2005 http://www.tutorialsall.com/REPORTINGSVCS/WebFormsReportViewer-ReportServerCredentials/ ReportViewer is having following properties ProcessingMode = "Remote", ReportServerUrl = "/foldername/myreport ReportPath = " http://report.mydomain.com/reports " Even after using admin user we got the same problem Please help We've fixed our issue, sort of. Or at least we have a workaround for now. We got it to work bysetting the report server to run under the same app pool identity as the website hosting the control i.e. NETWORK SERVICE, ...Show All

  • Visual Studio Team System Navigation around Project Portal hindered by repeated display of Domain Login Prompt

    Help please! I am a project manager and seem to be the only person afflicted with this problem in my organisation and my SysAdmin doesn't know what to do to overcome it. When I am in VSTS explorer, I can right click and select to show Show Project Portal. The project portal home page is displayed, and a few moments later, the login prompt is displayed. If I 'cancel' or re-enter my password three times I can generally navigate round the portal. (But am increasingly frustrated by the hindrance caused by dealing with the all the extra popup screens!) The login prompt is also requested for each project portal home page that I visit, and for some of the subordinate pages too. It may also be requested when I select to edit or view documen ...Show All

  • SQL Server Is this SSAS bug fixed in SP2 ?

    Can someone with the SP2 beta installed try the following and tell us if the formatting bug has been fixed (using the provided Adventure Works DB) with member [Measures].[DP] as [Measures].[Reseller Order Quantity] / 1000000000 select [Measures].[DP] on 0, [Reseller].[Business Type]. members on 1 from [Adventure Works] On SSAS 2005 SP1, I get scientific notation for the 2nd and 3rd rows returned by the query (as in 2.2076 E-05 ) This is a major issue for us as we tend to run SSAS queries from SQL Server using OPENQUERY. For instance, the following query fails because of this bug: select convert ( money , isnull ( substring ( "[Measures].[DP]" , 1 , 50 ), 0 )) from openquery ...Show All

©2008 Software Development Network