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

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

Ajaykr

Member List

trai_mv
juergen.b
Simonth
OracleDBA
GLutz78
Tony512
Bogey1
GraemeP
ekb0211
Batkuip
MrKWatkins
Hippunky
R.Tutus
David_Reynolds
swingme
Anatoly Rozhyn
traderhen
John123
TA123
RMS
Only Title

Ajaykr's Q&A profile

  • .NET Development Remove Empty tag from XML file

    Hi All, I have a xml document which has one empty element. I want to remove/delete it using aspx page. e.g. Xml file is in this format <abc> <xyz> <efg/> </xyz> </abc> In the above exampele I want to remove <efg> tag This taks is best accomplished using the XSLT design pattern "Override the identity transformation". The following tramsformation: < xsl:stylesheet version =" 1.0 " xmlns:xsl =" http://www.w3.org/1999/XSL/Transform "> < xsl:output omit-xml-declaration =" yes " indent =" yes "/> < xsl:strip-space elements =" * ...Show All

  • Visual Studio Team System How to copy changed files only

    I work on a very large public website. Before Team Foundation server, we had a build process in place that would run a build and then copy changed files, remove deleted files, etc out to the QA server. I dont see anyway to do this with Team Build. Whenever Team Build gets the source for a build from Team Source Control, the file Date/Time is the date that the file was retrieved from source control. So If I deploy(copy) the site to QA, every file is replaced on the QA server. This is bad but not as bad as the problem I run into when I have to replace files on Production. We are talking about a huge public site here. I cant just replace every single file. I only need to move files over that have been modified. Is there anyway to have team ...Show All

  • Windows Forms create a "masterpage" in winforms

    Hi, When you create a website you can use masterpages with contentpanes. Now I want to create that on a winform application. So let us say that you've got on the left and top a navigationpane and that the contentpanes are the forms. Is this possible Grtz Annihil8 Hi Annihil8 I'm not sure if this is what you're after but it may serve as a nice starting point. Try creating just a basic form with navigationpanes setting on panels on the top and left. Once you have the form exactly as you like it you can save it as your own master form and then create new forms which inherit from it using visual inheritance. It won't provide any automatic navigation capabilities but it should help to give you a ...Show All

  • Smart Device Development Cdate cast error

    Hi all I'm trying to do a Cdate(datestring) where datestring is the value 25/6/2006 but it's giving me a cast error here are some code examples from the command window Now #11/28/2006 6:12:49 PM# CDate("25/6/2006") Run-time exception thrown : System.InvalidCastException - Cast from string "25/6/2006" to type 'Date' is not valid. CDate("6/25/2006") #6/25/2006# system.Globalization.CultureInfo.CurrentCulture {System.Globalization.CultureInfo} Calendar: {System.Globalization.GregorianCalendar} CompareInfo: {System.Globalization.CompareInfo} CurrentCulture: {System.Globalization.CultureInfo} CurrentUICulture: {System.Globalization.CultureInfo} DateTimeFormat: {System.Globalization.DateTimeFormatInfo} ...Show All

  • Visual Basic Writing to two files.

    Hi, my program should write a string to a file, then a number to another file, but instead it doesn't write anything to the first file, and puts the string in the second file. The files don't exist before the program is run. My .Computer.FileSystem.WriteAllText( "appdata.dat" , text, False ) My .Computer.FileSystem.WriteAllText( "apps.dat" , apps, False ) The varible 'text' is put into apps.dat and appdata.dat isn't even created. I also tried using: Dim ff As Integer = FreeFile() Microsoft.VisualBasic.FileOpen(ff, "apps.dat" , OpenMode.Output, OpenAccess.Write, OpenShare.Shared) Microsoft.VisualBasic.FilePut(ff, apps) Microsoft.VisualBasic.FileClose(ff) but that didn't work ...Show All

  • Windows Live Developer Forums Transparency

    I tried to overlay transparent gif tiles over the map and they don't render transparent. They render white. Has anyone tried to put transparent gifs over the map I am having the same problem with transparent GIF overlay tiles... The problem occurs in IE6 and IE7 rc1 but not in FireFox. I suspect it is due to the custom filter that is applied to the containing element (tile) to support opacity. Firefox and IE use different approaches. If the opacity filter is not going to work in IE, due to an IE limitation, than the VE script for tile overlay handling should not use it when the user specifies fully opaque. That way we can at least render transparent GIF tiles at full opacity. I hope this gets resolved ...Show All

  • SQL Server Adding SQL Reporting Services to SQL Server 2005 SP1

    I'm using Reporting Services Configuration tool to add the Reporting and ReportingTemb databases. Once the have been created, the tool attempts to upgrade the databases and can not create a script. This are the errors I see from the from the Reporting Services Configuration Tool after creating the databases: ! Verifing Database Version The Database version (C.0.8.40) does not match your Reporting Services installation. You must upgrade your Reporting Services database. ! Creating upgrade script for database version C.0.8.40 ReportServicesConfigUI.WMIProvider.WMIProviderException: The version does not match a supported version. at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.GenerateDatabaseUpgradeScript(Strin ...Show All

  • Microsoft ISV Community Center Forums Left, Mid and Right functions not working on Office 2003

    Hi, VB in office 2003 does not seem to recognise the Left, Mid and Right functions. I've been using the code below to convert dates in excel like "20060123" to an actual date (i.e. 23/01/2006) in previous versions with no problem. Sub DCDecToKhanya() Dim mycell For Each mycell In Selection 'For each cell in the range selected mycell = DateValue(Left(mycell, 4) & "/" & Mid(mycell, 5, 2) & "/" & Right(mycell, 2)) 'Convert the contents to a date Next mycell End Sub I get a Compile Error " Can't find project or library" Thanks Hi I ran your code in my version of 2003, and it worked OK I changed mycell = DateValue(Left(mycell, 4) & &qu ...Show All

  • Windows Forms using this code i am opening ms outlook but in place of body i need to

    If ComboBox1.SelectedItem = "Outlook E mail" Then Dim theStringBuilder As New StringBuilder() theStringBuilder.Append( "mailto:someone@somewhere.com" ) theStringBuilder.Append( "&subject=my subject" ) theStringBuilder.Append( "&body=my body message" ) theStringBuilder.Append( "&attach= C:\myfile.ext" ) System.Diagnostics.Process.Start(theStringBuilder.ToString()) End If using this code i am opening ms outlook but in place of body i need to give an .doc file can any one help me how to do Rajesh batchu wrote: If ComboBox1.SelectedItem = "Outlook E mail" Then Dim theStringBuilder As New StringBuilder ...Show All

  • Software Development for Windows Vista Cannot create more than one WorkflowRuntime per AppDomain

    I want to use workflow in 2 asp.net pages. This is how i am doing. In first page i it will update one status and in second page it will update 2 nd status. I am using the follwoing architecture ASP.net page -- > Business Layer-- Windows Workflow - Dataaccess Layer ASP.net PAge: ---------------------------------- In this page first it has to run workflow then update database. protected void btnSave_Click(Object sender, EventArgs e) { _businesslayer = new BusinessLayer.NewAccWorkFlow(); _businesslayer.Update("Analyst","Review"); } Business LAyer: ---------------------- namespace BusinessLayer { public class NewAccWorkFlow { WorkflowRuntime wf; private void Update Status(st ...Show All

  • Windows Forms How do I verify if a file exists before I try to open it (csv) for writing openmode...

    I have a program the writes to a cvs file but I need to kill(c:\\file.cvs) before I open it, but if the file does not exist i get an error how can i validate the file.cvs exist before I try to kill it IE if file.cvs exist then kill(c:\file.cvs) end if I would suggest creating a new instance of the FileInfo class and use its Exists method to determine if the file exists. Using it in your app might looks something like this: Dim file As New System.IO.FileInfo("c:\artists.gif") If file.Exists Then 'Validate File 'Delete File End If 'Create new file Does this work for you ...Show All

  • Software Development for Windows Vista Where to download directshow sdk?

    I've just downloaded directx9 SDK, and directShow isn't there. Did they move it I just checked, and the DX Feb. 2005 Extras download does include the DirectShow base classes. They are installed under Extras\DirectShow\Samples\C++\DirectShow\BaseClasses You can also get DirectShow from - Platform SDK for Server 2003 SP1. (Unfortunately, the samples use makefiles instead of Visual Studio workspaces.) - Windows SDK for Vista (currently available in beta). For this version, the samples have VS 2005 projects. ---------------------------------------------------------------------------- Mike Wasson, DirectShow SDK Documentation This posting is provided "AS IS" with no warranties, and conf ...Show All

  • SQL Server Dialog pooling sample

    Hello, Can someone provide a sample code for pooling service broker dialogs demonstrating some of the best practices to do so. I remember reading about in one of Roger's blog posts It need not be complete. Just a basic code to jump start implementation. Thanks, Ram ...Show All

  • Smart Device Development Bluetooth signal strength

    Hi all! It is possibile to retrieve the Bluetooth signal strength from a .NET CF application I'm using the OpenNET CF Library, but it seems not to have a function like this. Any help wuold be appreciated. Marco Minerva, maco.minerva@tiscali.it http://blogs.ugidotnet.org/marcom Hi all! It is possibile to retrieve the Bluetooth signal strength from a .NET CF application I'm using the OpenNET CF Library, but it seems not to have a function like this. Any help wuold be appreciated. Marco Minerva, maco.minerva@tiscali.it http://blogs.ugidotnet.org/marcom ...Show All

  • .NET Development cannot get web application service

    When I try to add a new SqlDataSource and click 'Configure...' I get an error message "cannot get web application service" and then it won't let me click 'New Connection' to setup the connection string. Any thoughts Thanks in advance. Somehow happens to me when I am creating a DataSource on a Content page.. As usual shutting down the Visual web developer and restarting works..Has anyone heard of a better work-around ...Show All

©2008 Software Development Network