Aubrey Kagan's Q&A profile
Software Development for Windows Vista Smart Copy/Move dialog,Smart Welcome Screen
I wait for an Innovative,Imaginative,Impressive version of Vista from Microsoft . itis a historical event that Microsoft present monthly builds of its next version of Windows but itis really good ,nice,new idea But We Want and Watch and Wait an amazing version of Vista than its CTP Builds (I sure that Microsoft can give more) Smart Copy/Move dialog:- OK as all of Windows Users do much more copying of Big Files Like Movies or Games the process of copying or moving Big Files from place to place on the drive really takes many resources and with no doubt affects the speed of the system. So,in Vista Copy/Move dialog I think a pause butto ...Show All
Windows Forms Can't anyone help me with this? - "..timeout period elapsed prior to obtaining a connection from the pool..."
I posted this problem but no one responded. I figured I'd try one last time. I'm having a wierd problem. I've been using Visual Studio.NET 2003, and writing an app that up to now has been working perfectly. All of a sudden an error comes up and have no idea what it means or how to stop it from happening. The error is: "Timeout expir ...Show All
Software Development for Windows Vista warning C4312
Hi, i am getting warning C4312 for following line: pFrame=(PDWORD)pContext->Ebp; where pFrame is declared as follows: PDWORD pFrame; and pContext as: PCONTEXT pContext; i am building 32-bit binaries with /WP64 flag on. i read msdn page for warning C4312. it suggests changing datatype but how cam i change types for DWORD and PDWORD i guess they are from system. Thanks, Chanakya It is more a problem of the member Ebp type. If this is just a DWORD you have a problem because in a 64 bit environment this will not work casting this to a pointer! It must be of type DWORD_PTR! ...Show All
Visual Studio How to dynamically insert multiple tables in one report?
I need to show multiple tables in one report. For example, the first talbe will show the activities from all sites; then based on site, the following tables will show the activities from each site. But the "site" information will not be known until runtime. The number of sites is also not a fixed number at design time. Is there a way to do that I am thinking of using subreports. But I haven't found a solution to insert subreports dynamically since the number of the subreports might be change. Can anyone help me Thanks! Hello, Crystal Reports for Visual Studio does not have the ability to add database tables a ...Show All
Visual Studio Team System Team Explorer - red cross on "documents"-folder
Since installation of TFS I am unable to see the content of the documents-folder (teamexplorer) on a client-machine. There is always a red cross on the folder! If I start the team explorer on the server the documents folder is shown correctly. I tried to copy the http-url ( http://[servername]/sites/[Project ]) to an IE on a client and there the sharepoint site is shown without any problems. I did the changes required after installation of Sharepoint Portal Services SP2 ( http://blogs.msdn.com/robcaron/archive/2005/10/07/478336.aspx ). I think I also configured the users like mentioned in the install guide (TFSInstall-v50926.chm - Manag ...Show All
Visual Studio Express Editions Problem Installing Beta 2
Was using Web Developer Express Beta 1 successfully on Window 2003 Server. I uninstall all of beta 1 as according to install instructions and installed Beta 2. When I run Beta 2 I get the following error message... "Package 'Visual Studio Common IDE Package' has failed to load properly (GUID={6E87CFAD-6C05-4ADF-9CD7-387943875B7C)}. Please contact package vendor for assistance. Aplication restart is recommened, due to possible environment corruption. Would you like to disable loading this package in the future You may use VWDExpress / resetskippkgs' to re-enable package loading. YES or NO. If I say yes the following message ...Show All
.NET Development Culprit was Accept/Reject Rule!
Specs: -------------- P3 550MHz WinXP Pro .NET 1.1 -------------- Hi there! I'm working on this application using VB.NET and Access 2002. I'm trying to avoid reading the entire database into a DataSet, so I'm using a DataReader to get records I need (it seems fast enough for now). I want to use the DataSet only to add new records. The problem is updating the database because I have related tables. The primary key used in the DataSet will not necessarily match the PK that will be assigned by the database since it might already contain other records. The following diagram shows 2 tables in the DataSet. tblParents: ID: NAME: 1 par ...Show All
Visual Studio How to Limit Number of Connectors Between Concepts?
Is there any way to limit the number of connectors between to Concepts/shapes in the May CTP version of the DSL Tools As an example: I have ConceptA and ConceptB. I have Connector1 and Connector2. To enforce the proper rules within my domain I can allow either Connector1 or Connector2 to connect ConceptA to ConceptB. But I cannot allow both Connector1 and Connector2 to make a connection from ConceptA to ConceptB. But since both connectors permit a connection from ConceptA to ConceptB I cannot see how to enforce the needed domain rule with the current version of the tools. ...Show All
Windows Forms ArgumentException in DrawString
I have some code which worked fine in framework 1.1 but is giving me an ArgumentException in 2.0. The code follows: using ( Font fntDraw = new Font ( "Arial" , 16, FontStyle .Regular)) { Rectangle rcLayout = new Rectangle (0, 0, _cpixCell, _cpixCell); StringFormat sfmt = new StringFormat (); sfmt.Alignment = StringAlignment .Center; sfmt.LineAlignment = StringAlignment .Center; g.DrawString( "F" , fntDraw, br, rcLayout, sfmt); } The DrawString call generates the exception. I can draw pretty much anything else into this Gra ...Show All
.NET Development Datasets aren't finalized after leaving the scope
Hi, we discovered a strange behaviour concerning garbage collection of datasets. Because our application needs a tremendous amount of memory and constantly allocates more and more of it we are counting the instances of our objects in memory. Thus we able to determinate if an object is finalized by the garbage collection. Basically most of our objects contain these code snippets in the "new" and "finalize" methods: Public Sub New () MyBase . New () TestClass.SharedCounter += 1 'Shared variable of integer End Sub Protected Overrides Sub Fina ...Show All
SQL Server print blank page
i export my report to pdf and its leaving one blank page with every alternative page is there any setting thanks Make sure your layout, pagesize and margins all agree. Also, search this forum. This topic has been addressed several times in the past. ...Show All
Visual Studio Team System Build Type Creation Wizard Customization
Hi All I am aware of and used the PCW (Project Creation Wizard) of VSTS for creating new team project. Also I have successfully customized the process template. I am running into the requirement of customizing the Team Build Type Creation wizard. I dont know if such support exists as a extensible feature of the VSTS Team build System OR VSIP is the only way out. If VSIP, how can we make the plugin work on the command that is internal to VSTS for ex Create a build type Please let me know if somebody has already done something like this with the build system before. That will be of great help Thanks in Advance, Amol ...Show All
Smart Device Development Can no longer add reference to CF 2.0 assembly in windows forms application
Hi everyone I had solution that contained many projects which was written in visual studio 2005 beta 2, the solution contained both smart device projects (windows forms and class libraries) and projects that targeted the full framework as well (windows forms and class libraries). Some of my full framework projects contained references to my .net CF 2.0 class libraries as I wanted to share the libraries between both platforms. This all worked exactly how it should without any problems. Then the other day I opened the very same solution up in the final release of visual studio 2005 and found that it will no longer build as ...Show All
SQL Server Deny access to a view
I'm having trouble creating a read-only view. I've got 1 or more tables that I wish to remain updatable but I want to create a view that covers the table and/or spans all the tables. However, I want the view to be select only. I can't seem to get it to work. DENY UPDATE ON [dbo] . [MyView] TO [dbo] CASCADE All that seems to execute my dbo user can still use... Update MyView set SomeID = SomeID + 10 Plus, ideally I just want to say, DENY UPDATE ON VIEW TO ALL Any thoughts On that view object, in EM, try removing all permissions other than SELECT. HTH For more SQL tips, read my blog (b ...Show All
Software Development for Windows Vista ASP.NET And a State Machine Workflow
I recently read the MSDN magazine article, Windows Workflow Foundation, Part 2 (http://msdn.microsoft.com/msdnmag/issues/06/04/CuttingEdge/), where Dino Esposito demonstrates how to work with workflows in ASP.NET. Dinos' demonstration provides a helpful solution to working with Sequential workflows; however, it left me a little confused with how to work with a State Machine workflow. In the article, Dino demonstrates how to pass parameters to a Sequential workflow by using a Dictionary object, which is then passed as a parameter to the CreateWorkflow() method. The problem is that State Machine workflows pass parameters throug ...Show All
