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

Software Development Network >> ashok mah's Q&A profile

ashok mah

Member List

xplosiv_1
laserbeam
me*
kenambrose
Runespy
Kanhaiya
martin_eifert
2162
CalinMac
Bertrand Caillet
tornin2
discoversk
dslarve
LAPM
cedubose
gracias
steveareno
SAD1
Pikachu881
Yaniv75
Only Title

ashok mah's Q&A profile

  • Audio and Video Development XPath Syntax - which is best?

    state:actioned()=true() state:actioned()=true state:actioned()=1 state:actioned() Are all of those valid and one in the same Depending on which document or sample I'm looking at I see all flavors. The second one ( focused()=true ) is an error, since true by itself is undefined. The rest are equivalent, but yeah, having no RHS is less typing. Note that any non-empty string is converted to true, so you could have focused()='0' or focused()='false' or even focused()='Jack Sparrow' and they would all be equivalent to true() . Only focused()=0 or focused()=false() or focused()='' or not(focused()) are really false. ...Show All

  • Windows Forms how to match combobox with a datagrid

    i have a combobox which get's his data from a dataset. Now i load brand's in this combobox. Now i want that when i select a brand that appears in this combobox that in my datagrid all the items of that brand appears. Is this possible and how can i do this drag and drop combobox name : cmbCategory datagrid name : dgrBook category use categoryBindingSource book use BookBindingSource I have tried what you said but it won't work. ...Show All

  • Windows Forms Need to do a context Menu on the design surface

    I've been sifting through the documentation for several hours now and need some help. I have successfully impltemented a forms designer. newDesignSurface.BeginLoad( typeof ( Form )); I'm able to move and size my controls with no problem. Now I want the same functionality that is in Visual Studio when you right click but I can't find what services are needed to do the following. When I right click I want almost the exact same menu that shows up in Visual Studio, but I can't figure out how to get a context menu to show.  What service provides me the ability to display a context menu or capture a right click on a control in the design surface   Thanks for any help you can give me. Ken ...Show All

  • Visual C++ Problem compiling an ADT using istream &operator>>

    I keep getting a "error C2143: syntax error : missing ';' before '&'" error for the following code fraction.h..... #ifndef FRACTION_H #define FRACTION_H #include <iostream> #include <cstdlib> //for abs() //#include <iostream.h> #include "fraction.h" using namespace std; using std::istream; using std::ostream; using std::cin; using std::cout; /************ Type definitions for ADT Fraction ************/ typedef enum { POS, NEG } SignType; class Fraction { public : int numerator; /* numerator and denominator are declared as */ int denominator; /* int to simplify the algorithms, but they */ SignType si ...Show All

  • Visual Studio 2008 (Pre-release) Resources, Templates and Styles

    I think there must be some fundamental that I'm not understanding correctly. Why are Style Resources with an explicit TargetType key not utilised inside DataTemplates This does not seem intuitive to me as DataTemplates with an explicit DataType key are utilised. See the following example: < Window xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:sys = " clr-namespace:System;assembly=mscorlib " > < Window.Resources > < Style TargetType = " {x:Type TextBlock} " > < Setter Property = " Background " Value = " Cyan " /> </ Style > < DataTemplate DataType = " {x:Type sys:Int32} " > ...Show All

  • Visual Studio Team System Question with VS 2005 and TFS

    Hello everyone, The organization I work for is beginning a redesign of our website and we're migrating from .Net 1.1 to 2.0. We currently use Visual Source Safe 6.0 for our source control and we barely use any of the functionality outside of checking files in and out (though I'm pushing to change that hopefully). So I've been researching other source control systems and, of course, ran across Team Foundation Server. I've spent most of the day researching the different "role" version of VS 2005 and found that our small development team wouldn't really need that (we have 3, sometimes 4 developers who write the code and then 2 or 3 people who do the HTML mark-up. Using something from the Team Suite might just be overkill). So my q ...Show All

  • Windows Forms PivotTable (OWC??) SmartClient C# 2005

    Hi, - SmartClient (WinForms) C# 2005 - PivotTable control from OWC 10/11. I have an existing ASP.NET C# 2003 app that uses OWC pivottable controls extensively. I would like to migrate to SmartClient (WinForms) C# 2005. However I find the PivotTable control will not work. I am looking for a solution or an alternative to the pivottable control with equivalent features. I am using Analysis Services on the back end. Thanks ...Show All

  • Software Development for Windows Vista Get data values from workflow.

    Gurus, I am trying query tracking database using TrackingDataItemValue. I am trying to find, lets say all the running workflow instance where order amount > 2000 or some matching criteria. Order amount is a public property of my workflow. I am using default tracking service without any custome tracking profile and I am able to get all the workflow instances from database but the problem is when I try use TrackingDataItemValue with my search criteria, I dont get any WF instance. Do I need to use user track points and custom tracking profile Here is code I am using. IList < SqlTrackingWorkflowInstance > queriedWorkflows = new List < SqlTrackingWorkflowInstance >(); SqlTrackingQuery sqlTrackingQuery = new ...Show All

  • Visual Studio 2008 (Pre-release) Disable page input during asynchronous process

    This is the scenario: user clicks on a button; the button handler starts an asynchronous process and changes the page cursor to an hourglass; after the async process finishes, a callback function changes the cursor back to default. The problem I see is that changing the page cursor does not propagate to some controls which are still displaying the default cursor. Also, I don't know how to stop user's input while my async process is still running (short of disabling all the controls). The only solution I can think of is to show a modal dialog with a progress bar, but that's not what I want. So, these are my questions: 1. How can I change the cursor on the page and all the controls contained in it 2. How can I disable user's input o ...Show All

  • Smart Device Development Communication between Windows mobile and a server system with WiFi/GPRS

    Hi I'm investigating the different opportunities for communication between Windows mobile and a server system with WiFi/GPRS. The solution that I try to find is the one that is most suitable for communication over network where the connectivity is very poor, like GPRS communication. My system must be able to "puch" information from a server out to registered mobile devices... Do anyone know if Microsoft already have application/systems that handle the communication part (like ActiveSync, ISA-server) so I can concentrate on my own business functions Right now I'm investigate MSMQ, Sockets or WebServices. What is the best solution for mobile system that need to handle real "push" over wireless communication ...Show All

  • .NET Development Creating a NewFolder using c#

    Hi, I am writting a textfile to c:\ Temp folder. I want to check whether there is Temp folder available in c: , before i save the files in c:/Temp.If there is no folder called Temp in c:,then i want to create a new folder[Temp] dynamically. Can somebody give me an suggetion to do it My existing code is: public void TextWrite() { string logPath = (string) (new System.Configuration.AppSettingsReader()).GetValue( "DataAccessLogPath", typeof(string)); ////////////////////"DataAccessLogPath" is <add key="DataAccessLogPath" value="c:\Temp\"></add> given in App.Config file. DataTable dt= Context.QueryDataTable(Sql.Select( RootSystem.Bills.WOWJ_NO, R ...Show All

  • SQL Server Restore all data (system must not exit during restore) using SQL DMO

    I am using the SQL DMO to do my backup and restore. The restore works fine for one thing. I there is current connections on my database I cannot perform the restore. I need to be logged on to the system to be able to do the restore (restore must be built into the system), but if I log in I cannot do the restore of the database. Need help ASAP!! Thanks!!! I'll explain to you what exactly needs to be done then you maybe can help me better. I need to do a full backup and restore of the database. The user with the correct login details will have the ability to perform the backup and restore. And it is right there where the problem comes in. A user is logged into the system so a connection to the database exist ...Show All

  • Visual Studio 2008 (Pre-release) WSDL has wrong soap:address??

    I have been just learning WCF and I have a virtual machine running Windows Server 2003. I develop my hello world WCF Service and the Hosting website locally on my own PC, and if I browse to http://localhost/MyHost/HelloWorldService.svc wsdl I get a WDSL that has all the correct information in it. But when I deploy this Web Host app to my Windows Server 2003 machine, and I go to the address http://servername/MyHost/HelloWorldService.svc wsdl the soap:address property of the WSDL file is incorrect and I cant load any Service References, I get the following output: The document was understood, but it could not be processed. - The WSDL document contains links that could not be resolved. - There was an error downloading 'http://markv.kram/Hel ...Show All

  • Software Development for Windows Vista Inconsistent File System Enumeration with FindFirstFile / FineNextFile

    I'm working to get a commercial application to run on Vista. Among the many broken things, the first one I encounter is a crash due to a stack overflow due to a recursive function that goes bad. The app enumerates files in various places using FindFirstFile | FineNextFile in a recursive function (C++). I'm using retail Vista Ultimate with VS 2005 sp1 plus the VS Vista update beta. What I see in the debugger is that when I start out enumerating drive "c:", I come to the "Documents and Settings" folder and recurse into it. When I get to "c:\Documents and Settings\All Users\Application Data", FindNextFile then returns "Application Data" over and over again and I recurse into "Application Data&qu ...Show All

  • Software Development for Windows Vista ICameraControl

    How can i use this interface in VB.NET application What Requirements should i include in VB.net Application to use ICameraControl interface plz help me thnks SEE THIS WEBCAM http://www.creative.com/products/product.asp category=218&subcategory=219&product=13979 DOES THIS CAMERA support the ICameraControlInterface !! ...Show All

©2008 Software Development Network