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

Software Development Network >> Ashish Derhgawen's Q&A profile

Ashish Derhgawen

Member List

WXS123
Sweeps78
Jason227
selva_kumar
Jademobile
elkadeem
Any ole Joe
Skippy_sc
batterhead
CThelen
Wil Burton
dlcollison
Rudemusik
djm-web
Asday
EileenWin
JWei
s12
thalion99
Davew01
Only Title

Ashish Derhgawen's Q&A profile

  • Software Development for Windows Vista Self-updating application

    I'm hoping someone here can give me ideas, or at least point me in the right direction. Our application (under XP) is capable of downloading and installing updates to itself. An XML manifest is stored on the server, which outlines all the updated files. However, since the format of this file might need to change over time, the application itself isn't qualified to read this file. Instead, it uses a DLL. The DLL is always up to date (i.e. able to read the file manifest) because the application first downloads the latest version of the DLL from the server. It then invokes code in the DLL, which processes the manifest, creates a list of files that need to actually be downloaded, and returns control to the application. Next, ...Show All

  • Visual Studio 2008 (Pre-release) Binding to Code-Behind Property

    I've tried many different things based on other posts but I can't get it to work. Here's the scenario. I have a simple WPF app that consists of a single Window. In the C# I have a property defined as... public double opac = 0.5; In the XAML I have a DataTemplate defined and I want to bind to the above property like this... <Rectangle Opacity="{..bind it here..}" /> I've tried making it a dependency property but I get an error when I put the following code into the C#... public double opac { get { return (double)GetValue(opacProperty); } set { SetValue(opacProperty, value); } } // Using a DependencyProperty as the backing store for opac. This enables animation, styling, binding, etc... public static re ...Show All

  • Visual C# Java to C#

    Hi all.. I want to convert a java program to C# project. I used JLCA but the new C# project gives me 57 errors.. Like : Error 1 The type or namespace name 'EventListener' could not be found (are you missing a using directive or an assembly reference ) Error 2 The type or namespace name 'TreeCellRenderer' could not be found (are you missing a using directive or an assembly reference ) . . . . etc.. How can I implement java classes to .Net. Like EventListener. I need an JLCA examples too.. I developed a lot of C# project but I have never had a problem like this.. I love C# and I want to go on with Java.. Any help will be appreciated, thanks in advance. Soner Altin C# has intrinsic support for events as opposed to Java, so using ...Show All

  • Windows Search Technologies Cannot install Windows Desktop Search on XP64

    Hello, I was excited to see the availability of Windows Desktop Search for XP64, but to my dissapointment, when I attempted to install it it, it went about 3/4rs of the way through and failed. It seems to fail on this event: DoRegistryUpdates:UpdSpInstallFromInfSection Failed for ProductInstall.GlobalRegistryChanges.Install error: 0x5 Any help on this would be appreciated. thx Here's a copy of the part of the error log that shows the failure: 13.187: Copied file: C:\WINDOWS\SysWOW64\SearchProtocolHost.exe 13.281: Copied file: C:\WINDOWS\SysWOW64\mssph.dll 13.343: Copied file: C:\WINDOWS\SysWOW64\mssphtb.dll 13.422: Copied file: C:\WINDOWS\SysWOW64\mssprxy.dll 13.453: Copied file: C:\WINDOWS\SysWOW64\tquery.dll 13.562: Copie ...Show All

  • SharePoint Products and Technologies Importing contacts with Outlook 2007

    Hi: We have several machines that use Windows Vista and Office 2007, I've notice that when I try to import contacts from my Outlook I have this message 'To import contacts, you must have an Address Book compatible with windows Sharepoint Services and you must have Internet Explorer 5.0 or higher'. This site is runnig under Microsoft Office SharePoint Portal Server 2003. I've read an article of microsoft and the solution is to add manually the contacts, is ther any other way Regards I have the same problem when Using IE. I have Windows XP with Office 2007. I have both IE and Firefox on my machine but IE is the default. We have both IE 6 & 7 in use in the office and it happens on b ...Show All

  • SQL Server Store Proc Backup / Transfer

    Question What is the best way to transfer Stored Procedures to another db without having to script it WHY We need to transfer stored procedures from one development database to another on different machines not on the same network. Platform Studio 2005 SQL Server Management Studio Express advTHANKSance Without scripting Well, you could execute the following query to get the definition and then apply the result to the target server. select definition+char(13)+char(10)+'GO'+char(13)+char(10) from sys.sql_modules m join sys.objects o on m.object_id=o.object_id where o.type='P' ...Show All

  • SQL Server how can i select numeric columns only?

    hi all, how can i select numeric (int, money, numeric, etc) columns only from syscolumns. i need to run a sum() aggregate on all numeric columns thanks, joey Good catch. At some point, it might just be easier to explicitly list the types. A not null precision is supposed to indicate numeric, but it includes datetime and char ( ). The test for xtype = xusertype eliminates the user defined types. There are only 25 total, so making an explicit list would not be difficult. The test for precision only eliminates 3 types. Using xprec and prec helps. Here's another cut: Select * from systypes where xtype = xusertype and xprec is not null and prec is not null And collation is null and name not like '%time%' and nam ...Show All

  • SQL Server Validation queries running too long

    I have a table that contains approx 200 thousand records that I need to run validations on. Here's my stored proc: [code] CREATE PROCEDURE [dbo].[uspValidateLoadLeads] @sQuotes char(1) = null, @sProjectId varchar(10) = null, @sErrorText varchar(1000) out AS BEGIN DECLARE @ProcName sysname, @Error int, @RC int, @lErrorCode bigint, DECLARE @SQL varchar(8000) IF @sQuotes = '0' BEGIN UPDATE dbo.prProjectDiallingList_staging SET sPhone = RTrim(LTrim(Convert(varchar(30), Convert(numeric(20, 1), phone)))) END ELSE BEGIN UPDATE dbo.prProjectDiallingList_staging SET sPhone = phone END --2. Remove quotes UPDATE dbo.prProjectDiallingList_staging SET sp ...Show All

  • Visual Studio 2008 (Pre-release) Chart scaling in WPF

    Hi together, I have got a chart line (e.g. a sinus) which is presented as a WPF polyline object. Now I have a canvas object where I want to put that line on. canvas1.Children.Add(myPolyline); Now the sinus is shown on the canvas, but only a small (little) curve on the canvas. Is there a way to scale that polyline so that it fits on the whole canvas Do I have to calculate that transformation by myself or is there any support in the WPF. Any help would be great. Cheers, Franz I'm not so sure, but I think that when you state BrushThickness you can set something like "1px", if you can, zooming wouldn't affect size... Tell me if this works. Cheers! ...Show All

  • Visual Studio Calling a recipe inside another recipe???

    Hi All, I wanted to know whether it is possible to call a recipe inside another recipe. Say for example, I have 1 recipe each to create a business entity project, data access layer project etc., Now, say for creating a solution, is there any way where I can say my CreateSolution recipe will call BusinessEntity recipe, DAL recipe etc. .. Or the only way is to specify as individual actions grouped together .. Any help is appreciated.. Regards, - Santhoo Morning Victor, Are you aware of the warning to never work with children or animals, as they tend to show you up in some way Well as far as I'm concerned you can add computers to that list too now!! I've arrived at work to read your reply ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Draw Fonts into a Texture?

    Hey all, First, thanks to those who created XNA...I'm one with lots of ideas, not a lot of time to get my head around the finer points of DirectX - this is for me. Can't wait to play this stuff on my 360. To the point -- I'm building a varient on Asteroids for my kid and want to put a score up onto the screen. I'm gathering from the docs I've read (and the stuff I've tried that doesn't appear to work) that there's no easy way to just "myFont.DrawText(myTexture,"Hi there!",100,100,Color.White)" and have it just work I assume that I'll have to fire up my PhotoProg, find some font I like, turn each of the numbers 0-9 into a .dds and fire them onto the screen as textures If that's the case, is anybody putting li ...Show All

  • Commerce Server Search Wildcard Characters

    It seems that quite a few characters are interpreted as an OR unless enclosed in quotes. Specifically the - (dash) character. Is there a way (and where) this can be customized. All of my clients parts numbers have a dash in them so the Search is somewhat confusing for the end-user. I looked through the documentation but could not seem to find it. Please Advise. Colin and Vinayak, Thank you very much for the response and clearing up the issue for me. Xcel... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Building Mechs for Mechcommander 2

    Hello, I'm new around here so it this post is in the wrong place point me in the right direction. I'm a big fan of MechCommander 2. I have seen on another site where some one has built mechs for the game as addons. I like to try to build a few. What programs would I need to do this Thanks for any help offered. Donald Wolfman, If you don't care could you email me at dunn@tvscable.com I have a few questions and suggestions to ask you. Thanks ...Show All

  • Windows Forms help with DataGridView

    hi all. i set my DataGridView.DataSource=MyDataTable after i update a field in the DataGidView and Clicked on another field, i wanted to get the changed rows from my MyDataTable . (MyDataTable.GetChanges) but it is NULL. only if i press the TAB or exit the grid(after updateing a filed), it will be updated and i'll get the changed rows from my MyDataTable. why i'm not calling any update method. after editnig a cell i click on another cell, thats all i do. now, when i click on a save button, and check for the datatable.getchanges i get null. ...Show All

  • SQL Server Price Aggregation Question

    Hi all, I have a cube that has time, product, and location hierarchies. I also have the retail price for every transaction at the leaf level. I am having trouble writing the mdx to get the aggregation the way I need them. In the time dimension, at the non-leaf level, i want the last retail price of the children in the time. ie: if I am at the quarter level, i want to show the price of period 3. In both the Product and Location dimensions, I want the retail price to be averaged at the non-leaf levels such as Product category and Zip code. I don't really know what the right approach is to make this happen, any advice is greatly appreciated. Thanks, Wino... Hi Wino, Based on my understan ...Show All

©2008 Software Development Network