Phil Miller's Q&A profile
Visual Studio regarding reports
Im using reportviewer control on the form and Project>Add New Item>report for creating reports Are these not Crystal reports Where are crystal reports located in vs.net2005 IDE I am new at this so my ability to help is limited. To create a CR report, go to your Solution explorer, right click on progject name, choose Add and then New Item. Click on Crystal Report. To add a CR viewer, go to your tool box. I found CR stuff at the bottom of my list. Online Help had some decent instructions and tutorials. I hope this isn't to late and it helps. ...Show All
Software Development for Windows Vista Beta2 - can't find system.workflow.* assemblies
I have installed the January CTP, on a clean XP machine that had only VS 2005 RTM installed in the specified order: winfx runtime, Winfx SDK, VS ext for Winfx, then "Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2(EN).exe" When I create and compile an empty WF project, I get these errors: Metadata file 'System.Workflow.ComponentModel.dll' could not be found. Metadata file 'System.Workflow.Runtime.dll' could not be found. Metadata file 'System.Workflow.Activities.dll' could not be found Looking in gacutil /l, I find these entries are there: System.Workflow.Activities, Version=3.0.0.0, Cultur ...Show All
.NET Development NetworkStream.DataAvailable
Hi guys. I've done a client server application. On the server I'm reading from the NetworkStream using Read method. Before this I'm making a test : if NetworkStream.DataAvailbale then start to read. I've noticed that this test is slowing down the performance. Do you know how can I avoid this Thank you. Mircea Thank you for your answer. I've done some research and I've noticed the problem with the DataAvailable. 1. I can not use your sugestion because I'm working with big files and it will be very slow if open/close the file very often. 2. Read method will block and I wanted a way to specify the timeout. So, ...Show All
Windows Forms SplitContainer Resizing when dropped into a form
I have a relatively simple test application to learn about Whidbey. And SplitContainers are breaking all my sizes: I have a Main Form (main). I have a UserControl (uc). uc is AutoSize/GrowShrink. It contains a TableLayoutPanel which is also AutoSize/GrowShrink. It has one column that is AutoSized. If the cells of the table contain controls like labels and buttons, the width of the uc is 200. When I drag and drop uc into main, its width stays at 200. If the any cell of the table contains a SplitContainer of width 200, when I drag and drop uc into main, it's width jumps to 379. This width of 379 is only occuring in design mode of ma ...Show All
Windows Forms Redrawing issues
I am building an explorer-style application with a treeview on the left and a panel on the right. Depending on the selection within the treeview, I add one of a set of controls into the panel. My problem is that when I do this the panel area "flickers" when the panel redraws. The code looks like this: public void ShowObject(string Moniker) ...Show All
Visual C# FileSystemWatcher isnt watching a thing?
The following code compiles and runs, but when I create a file in the c:\ directory, or delete it, the event does not fire. Any ideas FileSystemWatcher watcher = new FileSystemWatcher (); watcher.Path = "c:\\" ; watcher.Filter = "*.txt" ; watcher.NotifyFilter = NotifyFilters .FileName | NotifyFilters .Attributes | NotifyFilters .LastAccess | NotifyFilters .LastWrite | NotifyFilters .Security | NotifyFilters .Size; watcher.Created += new FileSystemEventHandler (FileCreated); watcher.Deleted += new FileSystemEventHandler (FileCreated); watcher.EnableR ...Show All
.NET Development Failed to access IIS metabase, VS2005 RC
I am developing a webservice in Visual Studio RC. I have just got a new pc and my problem is that I am not able to access this webservice. I have created a virtual directory in IIS, but if I try to browse there, I get a "Failed to acces IIS metabase" error message. Does anybody know how I can resolve this problem Where exactly is the "Operators" set up in IIS I see no dialog to do so in IIS. ...Show All
SQL Server Logging Issue
We are running into a wierd problem where the "UseParentSetting" LoggingMode only works for the immediatelly called (child) package - the one right after the package that defines (enables) the log. So say you had three packages: Pkg1 enables logging and calls Pkg2, Pkg2 inherits the logging by setting LoggingMode=UseParentSetting and calls Pkg3, and finally Pkg3 inherits logging from Pkg2... In this scenerio Pkg3 would not log any events (PreExecute, PostExecute, etc...), but if you specifically defined (enabled) a log, then Pkg3 would get logged as well as the immediatelly called package (Pkg4). Any ideas wh ...Show All
Visual C# Simple Database connection
How do I make a simple database connection to sql server 2005 express and how do I find out/set the database name In the System.Data.SqlClient namespace you will find the SqlConnection class. Use the Database property to get the connected database name, here is a example: SqlConnection dbConn = new SqlConnection("Data Source=Aron1;Initial Catalog=pubs;User Id=sa;Password=asdasd;"); MessageBox.Show( dbConn.Database ); Here is a good list with example: Connecting and Retrieving Data in ADO.NET Using the .NET Framework Data Provider for SQL Server Connecting to Data Sources Wor ...Show All
Software Development for Windows Vista WINVER warning
I get the following warning sometimes: WINVER not defined. Defaulting to 0x0502 (Windows Server 2003) Where do you set this Do you need to, or will it run on win2000 this way WINVER is an environment variable used by the makefiles that build certain SDK samples. The Windows SDK command prompt build environment automatically establishes all the correct environment variables, including WINVER. The SetEnv.cmd batch file and SetEnv.msh Monad shell scripts contain the actual code to setup the environment. As your problem is occasional, my guess is that sometimes you use the SDK command prompt and ot ...Show All
Visual C# Data Access Application Block
is there a way to use data access application block with vs2002 and framework1.0 thanks Hi, This one should work with v1.0: http://www.microsoft.com/downloads/details.aspx displaylang=en&FamilyID=76FE2B16-3271-42C2-B138-2891102590AD Regards, Vikram ...Show All
.NET Development Why 'file.exist<--false' if the file is present in C:\Documents and Settings path?
Hi, The same file exits in 2 locations in my system. C:\folder1\xxx.doc and C:\Documents and Settings\...\xxx.doc. I use <input type='file'../> to get the file. Only if the first one is browsed will I get file.exists=true.. I have given Administrator permisssion to asp.net account. What should I do for the second one Thanks in advance. Hello, Is it possible for you to write a small consolel application repro for this and try it out pl. It will make it easier to debug the problem. Thanks Lakshan Fernando BCL Team ...Show All
SQL Server Lazy Processing - Info required
Hi Folks, I'm trying to get under the hood of Lazy Processing because i'm a DBA and will be responsible for tuning AS servers. Lucky me! I've scanned BOL but just can't seem to find anything that explains in some detail what happens during this process and how it all works etc. I can clearly see that one can tune it and monitor etc - that's documented in BOL clearly. I guess, what i'm asking is: Where's the detailed description of Lazy Processing Many thanks. Kyle. For the lazy aggregator itself, it is conceptually very similar to AS2K. For a pretty good AS2K description, see the AS Perfor ...Show All
Visual Studio Express Editions Developing INTRANET MESSENGER
Hello guys, I am a new VB Programmer. I want to develop internal messaging system i.e just like MSN Messenger but working in Local Network only. But I am confused in chosing the right control and the right technique for developing it. Would you Guys please help me inselecting the right control and also say the best reason for it. Always ready 2 learn Kabindra Bakey Sample that uses a web service in the msdn magazine ...Show All
Smart Device Development DataGrid Alternation item color
How can I change the DataGrid alternating item(row) color in Compact Framework 2.0 Thanks, Vijay Please see this: http://www.opennetcf.org/Forums/topic.asp TOPIC_ID=350 ...Show All
