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

Software Development Network >> Dileep Agarwal's Q&A profile

Dileep Agarwal

Member List

Dan_Dan
D. Roman
CJira
Bill Cumming
zhishan
Evan Mulawski
mfeo
sebahattingokce
aCaen
Peter Beresford
nastynate
Vic1234
RJGibson
Beckwith
Larry_t
Anil Dhiman
lkld999
Spenceee
Kernel Panic
KitWest
Only Title

Dileep Agarwal's Q&A profile

  • .NET Development .NET remoting and local web server

    We have a backend application and ASP.NET web application running on customers' sites. Once in a few weeks they would report that they could not run our web application. They get the "Cannot find server" error on the browser. If they try to go to  http://localhost/   they will get  the same error.  The ASP.NET application communicates with the backend application through .NET Remoting.   To fix it, they would have to kill the backend application and restart it. Then the web app would come up just fine.   What could be the problem in the backend app that caused the local web server down Any help would be greatly appreciated. hong2007     ...Show All

  • SQL Server Conditional SQL Insert Query

    I have a simple ms access table with no primary key. I want to check if the value exists before it exists. I know there is way to do that directly using a insert clause without having a select statement but cannot seem to get it right. Any help would be greatly appreciated. Regards, Vibhu Bansal. Vibhu Bansal wrote: insert into tblTexas(ID, DateBirth, Race, Gender, Height, Weight, Eyes, Hair) values ('05320052', '11/08/1976', 'W', 'M', '509', '210', 'BRO', 'BRO') where (select count(*) from tblTexas where ID='05320052')=0 The erro says "Semicolon expected" before where clause Sorry guys was away on vacation so could post code earlier. Any help would be beneficial. Vibhu ...Show All

  • Windows Forms DataGridView and Images

    I have a DataGridView myGrid; I set myGrid.DataSource to a DataView that has a column called Type.  Column Type is a string in the DataView, after I set myGrid.DataSource to the DataView I would like to change myGrid.Columns["Type"] to a bitmap. I have tried the following code but instead of the picture, the cell contains the string value "System.Drawing.Bitmap" (without the quotes). private void myGridCellFormatting ( object sender , System . Windows . Forms . DataGridViewCellFormattingEventArgs e ) { //set image for the Type field if ( myGrid . Columns [ e . ColumnIndex ]. Name . Equals ( "Type" )) { //  I have tried with and without this next line with no difference myGrid . Columns [ e ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. BoundingBox for Models

    Hi, I'm very much used to using Geometry.ComputeBoundingBox() from MDX 1.1 and am wondering where the equivalent in XNA is. My problem at the moment is that my models are having their centres placed at Y coordinate 0, so half is above ground and half is below ground. My solution has always been to compute the bounding box and simply raise the mesh by the amount that the min vertex is below the ground. (So minVertex.Y = 0). The BoundingBox has a constructor that takes a List of Vector3s, but this would presumably mean iterating over every ModelMesh in a Model, reading out the Vertex data from the VertexBuffer and extracting the x,y,z values for each vertex... this seems rather long winded I've seen a lot of people talking about ...Show All

  • Windows Forms Custom Prerequisite :Urgent

    Hi all, I having the setup file build in Install Shield(setupBRINKS.exe), I want to add this as Prerequiste for my .NET application setup, I made the folder name "Brinks" at location "Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages" and copy the "setupBrinks.exe" inside that and created one Product.xml there, also created one folder "en" inside "Brinks" folder and created one "Package.xml" there. Below is my Product.xml < xml version="1.0" encoding="utf-8" > <Product xmlns=" http://schemas.microsoft.com/developer/2004/01/bootstrapper " ProductCode="ACCS"> <PackageFiles> <PackageFile Name="setupBRINKS.exe"/> </PackageFiles> <InstallChecks> <MsiProductCheck Product="IsMs ...Show All

  • Visual Studio Team System Install fails "SharePoint Services is currently using MSDE, but TFS requires SharePoint Services to use SQL Server 2005.

    Single-Server deployment. Installation fails with the message "Windows SharePoint Services is currently using MSDE, but Team Foundation Server Requires Windows SharePoint Services to use SQL Server 2005. To proceed, you must exit setup, uninstall Windows SharePoint Services, and then uninstall MSDE. Then reinstall Windows SharePoint Services in accordance with the Team Foundation Installation Guide, and run setup again." I am only running SQL Server 2005. I cannot find any evidence that MSDE is running or installed. I am installing in the order stated in the installation guide (IIS, SQL Server 2005, .NET hotfix, SharePoint, TFS). I am really stuck and way behind schedule. Any help is GREATLY appreciated... ...Show All

  • Visual Studio Unable to Check in file <file name> error

    Hello, I am getting 'Unable to Check in file <file name>' error. I have created a new web site in Windows 2003 (IIS6). Then Installed Frontpage extensitions 2002. Leter throught Sharepoint Administrator, I have integrated external VSS to the project. After that I have opened the project from other machine remotely. It showed all the files as checked out. Was not sure why. But any way, I tried to check in the files then I got the 'Unable to Check in file <file name>' error. NOTE: In IIS I have used Integrated Security. Was not sure what mistake I did. 'Unable to Check in file <file name>'. There is a problem with VSS integraton. Contact Web ServerAdministrator' Error. Was not sure what I have to change ...Show All

  • Visual C# Automatically install and start service

    All the help stuff I have read, mentions using the command line InstallUtil.exe to do a service installation, followed by a manual start. Is it possible to have the service exe itself do the install and start-up to make distribution and handling a bit easier for non-techies (after all, users are used to just double clicking an exe file to have an app run, and it would be good to have the same functionality with a service.) Russ, You may certainly do that. Your other option, which I mentioned - but have never tried, is to load your very own service assembly from your very own executable, and try and call the Install() method on the ServiceInstaller derived class. My wrox bible indicates that installutil merely does that anywa ...Show All

  • Visual Basic IsDBNull problem

    I am probably doing this wrong If IsDBNull(EDFRow.EStart) Then Me .EStartDateTimePicker.Checked = False Else Me .EStartDateTimePicker.Checked = True End If I get the error that the filed is dbnull Can someone please explain this. Davids Learning If ( EDFRow.isEStartNull = True) Then Me .EStartDateTimePicker.Checked = False Else Me .EStartDateTimePicker.Checked = True End If isEStartNull Method is provided by default for typed datasets. :) ...Show All

  • Visual Studio 2008 (Pre-release) Selection box

    Hi, how can I implement - perhaps translucent - selection box into my WPF application These in Office 2007 look cool ;-) Jan Well, as you guess this is not the problem here. Unless I can draw the selection box just by drawing and changing a rectangle... ...Show All

  • Visual C# events for array of buttons.

    dear all I have an array of buttons pbuttons (nearly 40 of them). I want to have click events for these buttons can someone tell me how to do that for a array of buttons thanks in advance, prasad.. you could make 1 event handler and do it that way. Example: Button[] myButtons = new Button[10]; for(int counter = 0; counter < myButtons.Length; counter++) {    myButtons[counter] = new Button();    myButtons[counter].Name = "btn" + counter.ToString();    myButtons[counter] += new EventHandler(MyButton_Click); }   private void MyButton_Click(object sender, EventArgs e) {    if (sender != null)    {    ...Show All

  • SQL Server Script component with multiple outputs

    Hi, I wonder if someone might be able to help me with scripting a script component. I'd like to include error redirection of rows within my script. If the conversion of any of my inputs fail i'd like to catch the error and then just output all values to another output path. The output path will just take the input values without converting them from string data types and output them to an error table. In the script i imagine i would use try catch statements and if it fails then set the output. I am not entirely sue as to how to go about switching between outputs though. Any help on this matter would be greatfully recieved. Cheers, Grant Here is some additional good links: http://msdn2.microsoft.com/en-u ...Show All

  • Windows Forms String Collection Editor error: "Constructor on type 'System.String' not found"

    VS 2k5, 2.0.50727. Using a PropertyGrid to try and edit an object that has a collection of strings. I'm trying to get this to work, but I'm having absolutely no luck. There's tons of people who are having the same problem, and most questions are answered with the same solution; however this solution does not work for me. I've created a sample program that replicates the error. To get this error, create a Windows Form app in C#. Add the following class to the project : public sealed class StringCollectionFailure { private StringCollection fail = new StringCollection (); private string name = string . Empty; public string Name { get { return name; } set { name = value ; } } public St ...Show All

  • Visual Basic string ?

    I have one doubt in VB. If possible, can u explain me please I have a string = "googlemailsearch" I want to check whether the characters "mail" is available in the above string ! The characters "mail" would be in any place. Can be in the begining or at the last .... InStr is not a method of the string classes. It's a function! A better solution would be to use the native .Contains method. Dim MyString As String = "googlemailsearch" If MyString.Contains( "mail" ) Then ' Do Something End If ...Show All

  • Visual FoxPro Will VFP6 work with Windows Vista

    My company operates a series of VFP6 runtime databases successfully in the Windows XP environment. We currenly have one PC loaded with Windows Vista. When the runtime setup is run it does not install the runtime files onto the Vista PC. Can VFP6 work in the Windows Vista environment How can this problem be overcome Many thanks in anticipation. > And in my opinion the point is:  if I have an application VFP6 (and perhaps I don't possess the sources, or I don't have resources to convert the application to new versions), in some way I have to be able to make it work. I see your opinion but I don't agree. If an old app written in a very old version, to which you may not even have ...Show All

©2008 Software Development Network