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

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

Rohitgulati

Member List

MariaMM
Jais-Jeff
dave.dolan
snowsquirrel
MLyons10
Bluhman
rhansen
Dietz
Jawad Naeem
sammy chen
lucas3256
mrMarkH
flypp3r
VOC
rhansen
Yitzhak Steinmetz
Mark Benningfield
Matt Lin
venup
tenbrooks10
Only Title

Rohitgulati's Q&A profile

  • Visual Studio Express Editions Reinstall help files?

    I recently installed two additions to VSC#2005EE: 1) The Service Pack 1 2) The .NET 3.0 (aka WPF), which created some new templates I'm not certain which one was responsible, but one of these two deleted most of my help files by way of 'merging' them. Since I'm offline more than I'm on, and I loved my original local store of help files, is there any way to get them back short of complete removal & reinstall (No, I don't want to change to online help. I need to be able to access it wherever I have the laptop at that given time/day. I've tried specifying 'local help first', but most of the index and content is just gone.) Okay, how would I go about that As far as I know, I never directly installed the ...Show All

  • Smart Device Development How do I validate a textBox ?

    If I attach a validating method to a textbox like the example code below, when is it called After losing focus from the textbox It doesn't seem to work. In the Compact Framework there is no ErrorProvider control what is the correct way to display validation errors Certainly not a MessageBox like I did... Thanks private void textBoxNumericCode_Validating(object sender, CancelEventArgs e) { if (string.IsNullOrEmpty(txtbNumericCode.Text)) { MessageBox.Show("Numeric Code is mandatory!"); } else if (!Regex.IsMatch(textBoxNumericCode.Text, @"[0-9]+")) { MessageBox.Show("Please input a numeric value!"); } } ...Show All

  • Windows Forms PrintDialog & PrintDocument are Printing The Document With Out Text.

    I am using PrintDialog and PrintDocument in 2005 for printing a document. Even Though the document is having data in it the out put is not having the data. i wrote code like this can any one fix this. PrintDialog objPrintDialog = new PrintDialog (); System.Drawing.Printing. PrintDocument objDocument = new System.Drawing.Printing. PrintDocument (); objDocument.DocumentName = "C:\123.doc; objPrintDialog.Document = objDocument; if (objPrintDialog.ShowDialog() == DialogResult .OK) { objDocument.PrinterSettings = objPrintDialog.PrinterSettings; objDocument.Print(); } Hi check the below links. It has an example which will help you. http://msdn2.microsoft. ...Show All

  • Visual Studio Team System Major Modifications of Task.xml cause project creation failure. (process template is uploaded without errors)

    I am beginning to think that there are limits to the extent that the task.xml WORKITEM can be modified; I am guessing the problem resides in the generic tasks that TFS places in your "todo" list at the creation of your project. There seems to be no way to turn off the creation of these assignments when you create your project. My experience is that I can modify Task quite a bit; but as soon as I make too many modifications to the <TRANSITIONS> I will get an Exception (see below). I can even cut and paste from "Bug.xml" all my states and transitions that work just fine in Bug, but fail when imported into Task.xml. Additionally I have found that if I try to make my own field (MPRI.Common.EstimatedHours) requi ...Show All

  • Visual Studio Express Editions How can I get results from string formatted formula?

    How can I get results from string formatted formula EX)Dim ExampleFormula as string = "((6/2)*5)+2-3+1" Then how can I get results from that string formatted formula I've tried it manually by referencing Java Stack Calculator source, but it was much harder than what I'd thought. Is there any easier way to get it done (such like data parsing) or better example source based on VB Express Sorry for my bad english. It's because I'm not native english talker. Well, I'm afraid to say that you actually misunderstood my question. The question is : Getting a numeric result from a string. I'm not looking for how to convert formula into string format. Actually, I'm looking for how to let computer ...Show All

  • Microsoft ISV Community Center Forums Scorecard & Sharepoint

    Can anyone help!!!! After deploying scorecards to sharepoint, most users when trying to view the scorecard webpart get the following error: Web Part Error: A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe. In fact the only users to be able to view the scorecards are the two accounts used in the creation of the scorecard - almost everyone else gets the above message. To make this problem even more confusing some of the users can view the scorecard. After reviewing two users with the same domain & sharepoint rights one of which can view them the other can't - absolutely no consistancy - so making this a dam hard issue to figure out. I ha ...Show All

  • Software Development for Windows Vista Parameters property of the HandleExternalEvents activity - what's the point?

    I've been going through some of the Hands On labs for Workflow. Several times, I've had to put a HandleExternalEvents activity in my workflow, and then set the InterfaceType and EventName properties. After I do this, there's a section of Parameters properties that correspond to the arguments of the function I have handling the event, and I've been instructed to bind these to new members in a workflow, and then in the event handler, reference the new members instead of the arguments to the handler function. Since I don't really know what I'm doing, I follow directions, but when I step through the code while debugging, I notice that the member that I bound the parameter to has a different value than the argument to the event handler, which I ...Show All

  • SQL Server Displaying Multi parameter info : Report builder

    Hi All, Is there is any way to display the User selected parameter information if the parameter is multiselect I was able to display if the parameter is single valued but if it is multivalued (list), i was not able to . Any help is greatly appreciated. Regards, Thanks Bala, This was really helpful. We wanted to use the output of the Parameter!Dimention.Value array for custom filter description which is easy to understand... placed under the report title. Here's what we are using =REPLACE(cstr( "Dates Aggregated: " +JOIN(Parameters!DateYearMonth.Value, " ; " )), "[Date].[Year - Month].[Year].&" , "" ) This goes throu ...Show All

  • SQL Server Populating with dimension hierarchies

    Hi, I I want to populate the drop-down-list in a VB(.Net) Form, by retrieving the various hierarchies in the dimensions of the cubes (along with dimensions if possible). This should be done dynamically and in real-time! Can you please help in implementing this Any code/method, etc would be highly appreciated! Thanks in advance. Best wishes! (Software : SQL Server 2005 Enterprise Edition (with Analysis Services and BI Studio), VS.Net 2005 Enterprise Edition, ADOMD.Net) Using ADOMD.Net, you would establish a connection (using the AdomdConnection object), then use the .Cubes collection, the .Dimensions collection, and the .Hierarchies collection to retrieve the metadata you are looking for. Review the following topic i ...Show All

  • Visual Studio Express Editions Recalculate an Array?

    OK – I have any array that holds calculated values that are derived from user inputs (textboxes). Each time the user changes one of the text boxes I clear the array list and then fill it back up with the calculations from the new user inputs. The results are then placed in a grid. Here is the question – Is there a way to recalculate the array without clearing then rebuilding it Is there a better way to do this whole procedure (- like in an excel spreadsheet when you change one cell the others that are related change too) you can use say, an Arraylist to store your values, then you can go through each element in the array and once you find the element you want, just change the value. I guess this can a ...Show All

  • Visual Studio 2008 (Pre-release) Could I use SqlMetal.Exe with C# 2.0

    Is there any possibility that i can use SqlMetal.Exe (produce DAL) and C# 2.0 (it uses output classes of SQLMetal.exe) And extra question : Is it safe to install C # 3.0 to Production Server (not development server)  I will develop LINQ ASP.NEt project on my own computer than i will publish it to Production Server (it includes ASp.NET 2.0 projects) .. I agree with Dinesh's response that LINQ is not quite ready for production use. There is no go-live license at this point. It is only for tech review so far. That being said, it MAY be possible to use LINQ to SQL and publish the compiled application to a ASP.Net 2.0 server. Since most of the LINQ work is done with compiler ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Adjacencies for Shadow Volumes

    I'm trying to build shadow volumes in XNA. I've done this in DirectX and it's pretty straight forward, but I need adjacencies to help me out. Are there any helper functions in XNA to calculate adjacencies I can't seem to find it if there is. If anyone has any suggestions on efficiently generating adjacencies or generating shadow volumes I'm open to all thoughts. Thanks. -Javier ...Show All

  • SQL Server Reporting Services - credentials error.

    Hi everyone. I have created a report in RS and it works fine (am invoking from VB.Net - windows forms). However, I have copied the report into a new one as I need a very similar looking report to be called from the same application, but if I attempt to invoke it in the same way as the first I get the following error: "An attempt was made to set credentials for a data source '<name>' associated with thre report. Report data source settings are specified in a way that prevens credentials from being submitted to the report server." I am passing the credentials like so: Dim cc As New DataSourceCredentials Dim cred() As DataSourceCredentials = {cc} cred(0).Password = "*****" cred(0).UserName = "*** ...Show All

  • Visual C# Microsoft.Office.Interop.Excel application - how do I interact with the message boxes that pop up (ie updating links)

    Hi everyone, I'm making an application that has to open a lot of excel and word documents to make a few modifications and then save them but when it runs i have to manually close the dialogs that pop open such as updating external data source links in excel sheets. Is there a way to automate this because currently i need to sit there and click the "don't update" button over and over again. Thanks :) take a look at this link http://www.developerfusion.co.uk/show/1130/ for MS Excel use Application.DisplayAlerts = false; for MS Word Application.DisplayAlerts = wdAlertsNone ActiveDocument.Close '*** action that raises popup Application.DisplayAlerts = wdAlertsAll hope this hel ...Show All

  • Software Development for Windows Vista Host Application Workflow communications via Local Services

    I'm having difficult time calling host application events from the local service via "CallExternalMethod" activity. I have included some snippets of code. This is my Interface for the local service: [ ExternalDataExchange ] public interface IHostCommunicationService { // Host Application Event event UpdateStatusbar OnUpdateStatusBar; // Calling this function from WF using CallExternalMethod void UpdateStatusbar( MessageType messageType, string text, int panel); } This is my implementation for the local service: public class ITADTHostCommunicationSvcImpl : IHostCommunicationService { public event UpdateStatusbar OnUpdateStatusBar; public void Upd ...Show All

©2008 Software Development Network