CVL's Q&A profile
Windows Forms passing variables between forms again :)
I have read about five different threads about passing variables between forms and none of them have made much sense to me or helped me. I know i am very new and green but can't seem to figure it out. So one more time could some one help me in simple terms. Show me how to be able to access data from one form to the next. I am wanting to for example access a string that i have assigned in form1 and use it in form 2. Don't know how to do it. I am using VS 2005 C# Thanks for any help with me being so dense. Generally the easiest way is to make a property (accessor method) on the form that has the variable and a ...Show All
Visual Studio Team System Custom Checkin policy error
Hello, I made a custom checkin policy which just asks if you are sure to checkin (its a demo), i then place it in C:\test\ and register the policy under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\TeamFoundation\SourceControl\Checkin Policies (With its path and dll name!). Then i go to the source control properties and add a new checkin policy, my policy shows up in the the dialog box, and executes the code in the public bool Edit( IPolicyEditArgs policyEditArgs){ ... } (Shows a dialog box.) Well so far so good... But... When i try to checkin or open the source control properties i get an Error message (Policy name is " ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Directx 10 names clarification
With my copy of Vista downloading, and my .Net 2.0 projects ramping up, I'm running into a wall trying to figure out these code names of the graphics subsystems. Do I have these right 6. -> AERO = managed app framework 5. Avalon -> Presentaion Foundation = XAML 4. Directx 10 -> Graphics Foundation = 3d Pipeline 3. Win32 -> WinFX = dot net framework 2. HAL -> new driver layer 1. Longhorn -> Vista WGF 1.0 is D3D 9.L. A D3D 9 version with some extensions for the Vista UI. WGF 2.0 is D3D 10. Both share the same new driver model (LDDM). But if you look at the new ...Show All
SQL Server HELP: REPORTING SERVICES Pie Chart Point Label Formatting
I'm trying to complete a report with a few pie charts. these charts need to show the category, the associated revenue, and the % of total. I can get the first two but am having a problem with trying to add the % to the label. This is the only show-stopper for my report. thanks You can calculate the percentage by using an expression for the data point label. E.g. =Sum(Fields!Sales.Value) / Sum(Fields!Sales.Value, "ChartName") See attached sample report. -- Robert ================================== < xml version="1.0" encoding="utf-8" > <Report xmlns=" http://schemas.micr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX and Visual C# .NET Express???
Hi, I'm trying to play around with DirectX and C#. I downloaded the C# Express edition, and the latest DirectX SDK. After installing the DirectX SDK, I tried to add a reference to my project for Microsoft.DirectX, but I couldn't find anything DirectX under the .NET tab. Then I went through the browse tab looking within the directory structure for the DirectX SDK, and couldn't find C# would reference to. I then browsed to the C:\Windows\Assembly directory, and found all the Microsoft.DirectX stuff, but C# express wouldn't add those as references. Is there a setting I'm missing somewhere, or does DirectX not work with C# exp ...Show All
Microsoft ISV Community Center Forums Programatically Add Pages to MultiPage Control
Can someone please provide assistance in adding pages to a MultiPage control programatically. I wish to add pages based on a user's input. Thanks for any assistance. Hi, this will do it... use the MutiPage control's Pages collection to Add a new page, the first parameter is the name of the new page, the second parameter is the caption. This returns a Page object of the Page you added. You can use to modify any properties of the new Page. Private Sub cmdAddNew_Click() Dim pagNew As Page Set pagNew = Me.mutiPageControl.Pages.Add("pagNewPage", "NewPag ...Show All
.NET Development WSE/DIME - ResponseSoapContext.Current = <undefined value>
Why isn't the ASP.NET runtime providing a valid reference to the ResponseSoapContext object to my WebService I'm trying to use WSE and DIME to send attachments via Web Service. I created a brand new WebService project and added in the reference to WSE. I didn't modify the Web.Config file myself, but when I looked I was pleasantly surprised to see that all entries were added automatically for me (see Web.config file below). Here is the Web Service method which I've defined: [WebMethod] public int DropDIMEOnMe(string FileSpec) { SoapContext respContext = ResponseSoapContext.Current; &nbs ...Show All
SQL Server using AJAX
Hi, For a particular application in mind I intend using AJAX to directly access a SQL procedure/ web-service preferably bypassing IIS (since it may act only as a pass-thru) using XMLhttp. Two questions, Does SQL2005 provide access to procedures over http (I read it somewhere) w/o IIS Can I store some of my javascript logic in a BLOB and access it over http to rewrite part of a page any info will help. thanks, R Hi ... thanks for the postings fr all of u. I am aware of the security issues related to this approach but ... a. in this case the application is running in a private n ...Show All
Visual Studio Debugging Problems in VSNet 2005
When I start a web project using Debug-->Start Debugging, I get the error: Microsoft Visual C++ Runtime Libary - Runtime Error! Program: C:\Program Files\Internet Explorer\iexplore.exe The application has requested the Runtime to terminate it in an unusual way. Please contact... Then when I click "OK" I get: iexplore.exe - Application Error. The exception unknown software exception (0x40000015) occurred in the application at location 0x7813461a. Click on OK to terminate, CANCEL to debug. Whichever one I choose, it doesn't matter, because I get: Microsoft Visual Studio - Attaching the Script debugger to process '[14052]IE ...Show All
Visual Studio Express Editions When will Visual Studio 2005 ship?
I place an order on November 7 with Amazon for VB2005Pro and still they have not ship it yet because they have no receive stock from Microsoft. Does anyone know when Microsoft will start shipping the new version Finally Amazon just shipped my VB2005Pro. ...Show All
Windows Forms Does the user consent prompt list the permissions the app is asking for?
From http://www.windowsforms.net/FAQs/default.aspx PageID=2&ItemID=63&CategoryID=24&tabindex=2: > Does the user consent prompt list the permissions > the app is asking for > > No. We looked into this, however, the user consent > prompt is targeted at end-users. Translating code > assess security permissions to something meaningful > & helpful to th ...Show All
.NET Development Indigo: EndDeserialization event?
One of the reoccurring problems I see in deserialization is the need to know that all objects are completely deserialized in order to perform dependency fixups. This often happens when reconstructing a readonly collection during deserialization. For example, the Control.Controls collection. Neither the parent or child deserialization routines (OnDeserailized, IDeserializationCallback) can reestablish the relationship since neither knows if the other has been completely deserialized. I'm curious if Indigo offers a solution to the problem or if there is some mechanizm I'm missing in .Net 2.0 that provides the functionality. The way I currentl ...Show All
Visual Studio Team System Visual Studio and Design view
I all community members! I have been using VS2005 B2 for the two month and found it extremely proficient in our development enviroment. I don't know if this thread is in the correct place, but I've been having some difficulty working on a user control designed by another team member, who's also using VS2005 B2. The problem is that the user who created the user control checked in back into VSS2005 and can work on it fine on his side, that was for argument's sake 4 days ago. Yesterday morning I could still help him out on this control with a design fault he was experiencing, checked it in so he can continue then later that same day I, for ...Show All
SQL Server Error when doing fuzzy lookup
I am trying to run a SSIS package that contains a fuzzy lookup. I am using a flat file with about 7 million records as the input. The reference table has about 2000 records. The package fails after about 40,000 records with the following information: ------------------------ Warning: 0x8007000E at Data Flow Task, Fuzzy Lookup [228]: Not enough storage is available to complete this operation. Warning: 0x800470E9 at Data Flow Task, DTS.Pipeline: A call to the ProcessInput method for input 229 on component "Fuzzy Lookup" (228) unexpectedly kept a reference to the buffer it was passed. The refcount on that buffer was 2 before the ...Show All
Visual Basic Data Sources Window DBConcurrencyException
Hi, In our projects we create central classes for manipulating databases (connections, updating, …). We also created a public procedure for updating SQL-dataadapters who are able to treat " DBConcurrencyException. We not only use the merge procedure to enable the system to accept our changes, but we also test if another user has changed field(s) we didn’t change. So we accept his changes and merge it with our changes. We had to write this procedure because we didn’t find a method in VS2005 (nor in older versions) to do this job for us. Maybe there is one But my principal question is another. In VS2 ...Show All
