eyeJ's Q&A profile
Visual Studio Express Editions Designer Gen Code Section.
I have one XX.VB file created in .NET 1.1 I dragged and drop it in Vb.NET Express Now how can i force Vb.NET Express to create and copy all "Windows Form Designer generated code" of .NET 1.1 into XX.Designer.vb . If not possible can i do it manually , how hi, the keyword here is Partial which is new in .net 2.0 instead of writing 2 classes it write one class in two files so instead of declareing class like this //form1.vb Class Form1 Inherits System.Windows.Forms.Form End Class it split it into 2 files each class has the exact same name but one of them will starts with the word partial usualy ...Show All
.NET Development xml documentation
Hi! I've a problem cos my boss wants to do a strange thing (i think so). i'm gonna try to explain it: He wants to know how the .net generates the xml documentation when you programmer with c#. I mean which classes of .net are called to generate this xml. Basically, how (I supose) the compiler read (I supose) the .cs file and take just the documentation tags (<summary>,<param>...). Once you've got just the tags you need, it's easy to generate the xml, but i don't know how to do the before step. I have an idea but i think it's not the optimal one. My idea is: open the .cs file and go ...Show All
Software Development for Windows Vista A couple of questions regarding WF...
I've just recently begun researching WF and I am very excited about the possibilities it offers for making Workflow applications. I have looked at all of the examples I can find, and I have just started looking through the samples included with the SDK, but I cannot find an answer to something that I would consider pretty simple. Let's say I have a helpdesk state machine workflow defined for dealing with incoming help requests. How would I present a view of all of the pending requests Do I have to instantiate that many workflow objects Do I simply query the store myself and populate a datagridview How have other people dealt with this My ot ...Show All
Visual Studio Team System Custom ValidationRule examples?
Hi, Are there examples/doc for writing your own validation rules If anyone had luck creating one, posting it up would be great. Even greater would be if one of the default validation rule class (e.g. ValidationRuleFindText) source code was available (and how to register your own into Visual Studio. I know you're supposed to extend ValidationRule (base class) and implement the validate method, but a specific working example would clear up a lot of missing documentation (e.g. sender generic object). Hi dnelson MSFT I have tried with your coding. It could build sucessfully. But it didn't validate my QueryStrings   ...Show All
Smart Device Development TextBox Readonly gray background
(Using Compact 1.1) When setting a textbox to readonly the background becomes gray. How can I avoid this Is there a neat trick I can use I tried creating a class and subclassing TextBox and overriding OnPaint but this does not work on 1.1. Are there any other options I also tried setting the control readonly to false and enable to false but then the font is gray. Thanks, When I first looked I could only find answers relevant to .Net 2.0 or the full version. But I actually found the answer I was looking for myself. All I need to do is use a Lable !!! Couldn't be easier... I mean is the c ...Show All
SQL Server How to set a ReportParameter to the value NULL?
Hi, how can I set a ReportParameter in C# to NULL My code is as follows ReportParameter [] param = new ReportParameter [1]; param[0] = new ReportParameter ( "LanguageID" , "1" ); param[1] = new ReportParameter ( "TopCount" , "30" ); this .ReportViewer1.ServerReport.SetParameters(param); Sometimes I want to pass the value NULL for the parameter TopCount so my stored proc can handle a special case. I tried param[1] = new ReportParameter ( "TopCount" , null ); but it doesn't work... I know, that there is a possibility for using urls to pass parms. There you have to put the parm name, followed by ":isnull=true". T ...Show All
Windows Forms how to add column from datatable to datagrid view n vb 2005
i add 2 combocolumns and 3 text columns by smart tag of datagrid view . then i fill dt ( datatable) from table adapter td (select * from transport) now i want to add 5 columns of dt(datatable) to to datagridview.. -------------------------------------------------------------------------------------------- tnx ...Show All
Visual Studio Team System TF30177 - Error creating new Team Project!
I keep getting this error. I looked through all the similar errors on the site and none of it fixed it. This is a clean installation with the TFS - RC. Error TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking. Explanation Plugin error text: “System.Web.Services.Protocols.SoapException: TF51613: [BIS.ReadIdentities] Could not read the following identities : System.ArgumentException: Value cannot be null. at Microsoft.TeamFoundation.Proxy.GroupSecurityService.ReadIdentity(SearchFactor factor, String factorValue, QueryMembership quer ...Show All
Software Development for Windows Vista pass paramters to InvokeWorkflow Activity
I am invoking a workflow from within a workflow. How can i pass in parameters If you are in the designer, once you set the TargetWorkflow property, the property brower should show you all public properties exposed by that workflow type and you can set/bind them. Here's an example of programmatically invoking a workflow (Workflow1) that exposes one property (named MyProperty) of type System.String: InvokeWorkflowActivity invokeWorkflowActivity1 = new InvokeWorkflowActivity (); invokeWorkflowActivity1.TargetWorkflow = typeof ( Workflow1 ); WorkflowParameterBinding workflowparameterbinding1 = ...Show All
Visual Studio Team System Some reports are not being updated
I'm not sure if this is a problem with my environment, or a misunderstanding on my part. A couple of the reports are not being updated -- for example, the Builds report never shows anything, even though I've run several builds on the build server. I'm also not seeing anything other than "zeros" in the Bug Rate report, even though I've created and resolved a couple of bugs. The only Error in the Application log is below, but I don't think it's related. What else can I check Thanks, Phil Application Log Error: Event Type: Error Event Source: SQLSERVERAGENT Event Category: Alert Engine Event ID: ...Show All
Visual Studio Express Editions datagrid view column name
well yes that is an option but i am using different sql statements every time thus it takes time to alter every statement so what i really weant is that at the load of the gridview i would like to change the column name from the db to my customized column name so that the grid_load checks for them just once and alters the names as and when they occour is this confusing... by the way thanks for ur reply one more thing i have a dropdownlist box that i populate using an sql statement so as to select the column names but if i use aliasing i am not able to retreve values stored in the particular column name coz it goes in search of the d ...Show All
Software Development for Windows Vista Roles and WWF
I've read the articles that Microsoft have published about the new WWF. I saw only in the article by David Chappel a few words about this issue. In People 2 People Workflows one of the major concernes is how flexible is Role resolution and Role assignment works. Where can i get more info about how WWF is going to address this issue Hello Krishna, I'm deriving the class WorkflowRole, and then using it in an EventSink. When the call to the method I ncludesIdentity happens, the identity comes "" (empty). So my question is the next one: How can I set up the identity of the user who makes the call Regards, M ...Show All
Visual Studio Express Editions moving to another computer?
I've installed vwd2005 on my laptop and can't handle how slow it is. I've already registered it though, is it a problem to uninstall and reinstall on a different computer Im foreseeing a conflict. Am I too paranoid As the registration costs are Nil at the moment (Until Nov 2007) it shouldn't worry you.... But if you download the ISO install and install from there you do not need to worry about registrations, You will get a registration message for the first few times you run it. Have a look at the Express home page and the registration FAQ item 7. If you are using the Web installer to install the system, you will have to re ...Show All
SQL Server Buffer latch error
I have a backup database job that failed with the following error on sql server 2005 Executed as user: TestUSerl. Time-out occurred while waiting for buffer latch type 3 for page (1:10541989), database ID 8. [SQLSTATE 42000] (Error 845) BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013). The step failed. Does anyone know why this happened Is it the server or the array Any help is appreciated. Thanks ...Show All
Windows Forms How to "preserve" data between forms ?
Once the User logs in, I am required to save a bunch of information regarding the user profile. I have created a UserData class, I want that once this information is populated, it should be accessible from any other form. Any suggestions about how to do it In Web application, I could cache the data in session variables, any such thing for&n ...Show All
