srem's Q&A profile
Windows Live Developer Forums Comparison of Google, Yahoo, MSN APIs
I'm interested in producing a simple comparison of the web search APIs provided by Google, Yahoo, and MSN. Maybe some of you can help me get my facts straight. This is what I have so far: Underlying technology: G: SOAP Y: REST M: SOAP Number of queries available per day: G: 1000 per 24 hours per user ID Y: 5000 per 24 hours per application ID per IP address M: 10,000 per 24 hours per application ID per IP address Getting started: G: Examples in Java and .NET Y: Examples in Perl, PHP, Python, Java, JavaScript, Flash M: Examples in .NET Access to title, description, and cached URL G: Yes Y: Yes M: Yes Access to last ...Show All
.NET Development How can I know the reference count of an object?
To diagnose memory leak problem, it's convenient to know the "reference count" of an object. Is there any API that could let me I know that e.g.: object obj = ... ... int count = GetReferenceCount(obj); if (count > 0) { Debug.WriteLine(...); } When the window stays blank, can you scroll the window or click the menu I can scroll it and click the menu after the progress bar (showing the log file is being loaded) disappear, so I think its work has finished. In general, the CLR Profiler will show the result in several seconds on my machine. ...Show All
.NET Development XML-Schema (XSD) without internet
I have just started with XML/XSD and I have a general problem of understanding. All examples in books or on the internet I have seen so far use a line equal or similar to <xs:schema xmlns:xs=" http://www.w3.org/2001/XMLSchema "> in the xsd-file. And then in the xml-file <.... xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xsi = "http://.....>. I'm often working on a PC that is not at all connected to the internet und thus I need a local XDS-file, not on the internet. How must this be done Entering a normal path does not seem to work. What is this " http://www.w3.org/2001/XMLSchema &q ...Show All
Visual Studio Team System problem in creating custom rules.
i created a cutom rules. when i applied that rule in fxcop . it shows error as no rules are selected. that tells NamingConstants are not found in DLADesignRules.xml please tell solution for that. public class NamingConstants : BaseIntrospectionRule { // Second argument is the name of the resource stream: XML file. The resource file // is (dll_name).(xml_file_name). public NamingConstants(): base ( @"NamingConstants" , "DLADesignRules.DLADesignRules" , typeof ( NamingConstants ).Assembly) { // // TODO: Add constructor logic here // ...Show All
Windows Forms LIB's in a Windows Form?
Hi folks, I'm just wondering if it's possible to add a LIB to a Windows Form project I want to add Shlwapi.h, shlwapi.lib so that I can access the useful functions: PathAddBackslash PathIsDirectory PathRemoveFileSpec PathRemoveBackslash PathFileExists PathFindFileName etc.... Is it possible I can't seem to figure out how to add a LIB and just adding the .h causes a whole mess of problems. Any ideas Hi Blair. I would use the System.IO.Path class, but it just doesn't have the functionality I'm looking for - specifically the functions that I mentioned above. So, does anyone know how I could add a L ...Show All
Windows Forms Multiple selection checkbox
Is there a control that list checkbox and support multiple selection I checked CheckedListBox and it doesn't support the multiple selection. How can i do to support it Is there any article out there for it I'd prolly need to check for Ctrl+shift everytime the user check an item. Thanks, That's not what i want ... I want the user to be able to do a multiple selection by using crtl+shift .... ...Show All
Visual Studio Express Editions Problems with Downloading Registration Benefits
There have been several reports of problems with accessing and downloading registration benefits. We have investigated the issue and have news to report. This sticky thread will be updated with additional information as it becomes available over the next few days. Background In order to negotiate deals with partners and authors to provide the highest value benefits, we must must be able to guarantee a secure download center that limits benefits distribution to those who have registered. We use the Microsoft Connect site to provide our secure download infrastructure, which is why you are redirected to the Connect site from ...Show All
Visual Studio Team System Branching is Broken - Severe SQL Error
About two weeks ago I was able to successfully create a feature branch off of our Main\Src directory. Last night I tried to help a co-worker create a different feature branch off of Main\Src. We tried from the VS 2005 UI and via the command line with no luck. Both ran for 15 minutes without completing. Finally we left the command line branch going all night and when we got back in this morning the following error message was displayed: C:\Foo\Branches\Feature>tf branch $/Foo/Main/Src $/Foo/Branches/Feature/XYZZY A database error occurred (SQL error 0) ---> A severe error occurred on the current command. The r ...Show All
Visual C++ Importing and exporting functions from DLLs in VC++6.0
How I can import any function from any DLL file(in VC++ 6.0). Please HELP ME!!!!!! Hi! You can't import/export C++ classes from DLL, but you can import/export C styled functions (like most of Win32 API). You need to read about P/Invoke (Platform Invoke) in MSDN and use DllImportAttribute class. ...Show All
Windows Forms Printing a pictureBox
I have created an application that searches and finds drawings from an access databse but on one form you can open a drawing (tif file - from a network share) and view it in the picturebox ok but when i try to print it i cant how can i get the picturebox to print bear in mind the images change i have all the buttons and print document items there help. Ps: im new to vb.net 2003 so please try not to baffle me with too much code Check out the code below. Public Class Form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " Public Sub New () MyBase .New() 'This call is required by the ...Show All
Visual Studio 2008 (Pre-release) Check box inside list box or combobox
Is it possible to have check box inside list control in XAML I have the XAML as follows <ListBox name = "list1"> <checkbox ID= "id1"> "hi1"</checkbox> </listbox> this doesn't work. I want this to be done without Longhorn or alvon programing. Is it possible since I'm using VS 2005. Also I want to add the check boxes dynamically thru C# code. Please help me out. Thanks Taruna Add this code to your xaml file: <StackPanel Name="Root"> <StackPanel> <ListBox Name="list1"> <CheckBox Name=" ...Show All
SQL Server unable to log in [MSDE2000]
Hi there. I do apologise if this is the wrong place to post this. I usually use SQL Server 2000/2005 EE. But for this particular project or really just as a testing environment I require to use MSDE 2000 I had installed it, making my own setup.ini file and giving it the instance name, password and the securitymode set to SQL Thing is, I am unable to log in using osql. I always get this error: [DBNETLIB]SQL Server does not exist or access denied. [DBNETLIB]ConnectionOpen (Connect()). But no idea why since the password (which is password) has been entered correctly. This is basically what I input for osql: osql -U ...Show All
Smart Device Development NavigatingEvent in WebBrowser-Control
Hi! I'm just experimenting with the new WebBrowser-Control. It fires an NavigatingEvent before it navigates to a new page. There is a property called 'cancel' that prevents the navigation on the new page. But I've problems to get it work. If I simply write: private void webBrowser1_Navigating( object sender, WebBrowserNavigatingEventArgs e) { e.Cancel = true ; } nothing happens and the page is displayed - but shouldn't that stop loading the page Or did I get something wrong The event is fired because I can get the url I navigate to. THX! Tobias ...Show All
Windows Forms Local Terrarium as Screensaver
Hello, can I use my local Terrarium as standard Terrarium The LoadTerrarium and Run game modes are mutually exclusive. I don't think there is any way to put the Terrarium into a local state within screen saver mode regardless of what your command line is. This is more to protect you than hurt you. In ScreenSaver mode there are a number&nb ...Show All
Software Development for Windows Vista data exchange between workflow activities
Is there a way to exchange data between two activities I have a need where multiple activities would be executed in sequence on same data, (calling multiple function on same object).e.g. I have a sequence activty having Custom activity A, B and C. When Sequence starts execution, can i exchange data from activity A to activity B to C Activity A would be closed and then it will transfer data to B and same from B to C. In my custom Activity, I am calling a method to process data, Any suggestion which activity type should i use Thanks, Hiten Absolutely. One way would be to bind properties from the A ...Show All
