senthilkumar's Q&A profile
Smart Device Development is there an api to set the background image on the home screen?
I would like my Windows Mobile 5.0 application to be able to change the background image on the home screen. What code should I use for this Me .BackgroundImage = Image.FromFile( "derr.jpg" ) change derr.jpg to what you want... At least that works for Visual Basic... ...Show All
Visual Studio 2008 (Pre-release) WS-* protocol associated to IsInitiating or IsTerminanting in wsHttpBinding
Hi Is there a ws-* protocol associated to the features IsInitianting or IsTerminating in wsHttpbinding or simply it is owner feature resolved at level of server Thanks in advance Javier The IsInitiating and IsTerminating features are not part of any WS-* protocol at this time. They represent a way to flow the values of these two booleans on [OperationContract] from the server to the client via WSDL. Hope that helps, -mike ...Show All
Visual Studio Help still broken
Just installed the release version of VS2005 standard. Alas, F1 help is still broken. If I position the cursor over a word (for example HANDLE) and hit F1, the following happens: 1. If MSDN is set to use local help only, it always displays the topic-not-found page, even though on the left hand side, the topic is not only present, but selected. A single click on the highlighted item displays the correct information. 2. If MSDN is set to use online help first, then pressing F1 takes up to a minute (looks like multiple redirections happening), then either displays the topic-not-found page or displays something only vaguely related to the select ...Show All
SQL Server Create Script Database
Hi, i want to know if there is a tool like scptxfr in SQL2005, in order to generate a script of all database. I need this , because i have to make a job that automatically generates script of all database every day for backup. Thks. There is no such tool with SQL Server 2005. However you could create such a tool very with SMO with not much effort, depeding on what you want to do: http://blogs.msdn.com/mwories/articles/smosample_transfer.aspx ...Show All
Windows Forms Simple designer question
Hi, I have made a custom ColumnHeader class, that is owner-draw and supports images. So, I needed a ListView control with new property Columns - collection of ImageColumnHeader objects. Everything works just fine when declaring ImageColumnHeader objects programmatically but in design time when I add a column using the ImageColumnHeader collection editor, in the generated code ...Show All
Software Development for Windows Vista Hand-ON Lab 06 ex1 Complete Code Error...
Error 1 Activity 'invokePOSubmissionWSFabrikam' validation failed: Path 'outgoingPOforFabrikam' used to specify member for 'processPOWorkflow' is invalid. Path needs to point to valid member. c:\Windows Workflow Foundation\Labs\Lab06\Completed\Exercise 1\ContosoWorkflows\processPOWorkflow.cs 1 1 Complete Code Testing..... Build Error... This Problem.... How solution Hello, You may be seeing that those fields definition declared as "private" rather than "public". Please go ahead and check the following lines in the code-beside (processPOWorkflow.cs). They should be public property. public ContosoW ...Show All
Visual Basic Checking internet connection using My namespace
Hi all, I was under the impression that I could use the My namespace to check for an internet connection, specifically this: If My .Computer.Network.Ping( "www.microsoft.com" ) Then however this is not working. In vb 2003 I was using the WebRequest and HttpWebResponse method to determine if an internet connection is available. I'm trying to use some of the new features of 2005 and hence why I'm trying to use the my namespace for this. Any help is really appreciated! ReneeC wrote: Public Shared Sub SimplePing() Dim pingSender As Ping = New Ping() Dim reply As PingReply = pingSende ...Show All
Visual Basic Really simple question!!
Ok this is much more simple than my last question about iterating through all pictureboxes on a form!! How do you launch a web page in the user's default browser from a piece of VB.NET code In GML (the programming language I'm actually decent in) you use the shell function, but in VB.NET, this doesn't appear to work!! Thanks in advance! -Javawag Protected Sub CreateProcess(Byval Filespec as string, Byval Switches as string, optional Byval RunDir as string = "") Dim startinfo As New System.Diagnostics.ProcessStartInfo   ...Show All
Software Development for Windows Vista What is the meaning of this exception?
I've converted my workflow in beta2 from 1.2 When I start the instance, all works properly, also if i raise an events. But after I persisted and loaded the workflow instance in my asp.net webapp, when i raise an event on this loaded instance, I receive the following exception: {"Event \"RicercaTesi\" on interface type \"Tirocinio.Rossi.Service.IRicercaTesiService\" for instance id \"d2eb063b-13f6-4c5c-b77e-32fd913a951e\" cannot be delivered."} The inner exception is: {"Queue 'Message Properties\r\nInterface Type:Tirocinio.Rossi.Service.IRicercaTesiService\r\nMethod Name:RicercaTesi\r\nCorrelati ...Show All
Visual Studio 2008 (Pre-release) WPF apps slow for some reason
Everything is slow for some reason. I tried Max, and that ran decently (aside some weirdness I'll explain below), but I try running some of the sample code and other stuff I compile on Visual Studio, and it's unbelievably slow. I tried the samples here on XamlPad... I can click on a button at a rate of about 2-3 times a second, and my CPU usage will jolt up to 100%. Most other sample applications run just as slow. Max runs okay, except that it takes about 40% of my CPU time even when it's minimized. By the way, is there something I can do about text being blurry Here are some of my machine specs: Pentium 4c 2.4ghz HT 1gb DDR 400 dual ...Show All
Visual Basic Null Reference Exception on an Invoke
This one has me stumped (not that I pretend to understand Delegates ). I have a process that is on a seperate thread in a class module, that class module raises an event, which the main form repsonds to and then updates a listview based on the event. So far, so good. The problem arises in my routine in the main form to update the listview, which as far as I can tell I have structured correctly. The .Invoke line (bolded below) causes a System.NullReferenceException ("Object is not set to an instance of an object."). I'm at a complete loss to understand how that particular error can be generated by an Invoke st ...Show All
Visual C++ New STL debug iterator strategy assert fails on standard code
The following peace of code makes the new stl port crashes (asserts) in debug mode. It happens both in Visual C++ 2005 & Express. vector<int> vs; vs.push_back(1); vector<int>::iterator i=vs.begin(); vs.pop_back(); if (i!=vs.end()) // assert here in != operator ; Obviously the code is stupid (useless) but this is standard, and there is many way to make a concrete (usefull) example crashes. The reason is simple. After pop_back the itterator previously pointing on the last element of the vector happens to point on its end. Thus i.Mycont is set to 0 by the new STL strategy. At least, when compar ...Show All
Visual Basic Multilanguage Application
Hi everybody, I need to develop a multilanguage application. I don't mean VB & C#. I need one application that provides a german, french and english text. I have done already a ml application. But it was an ASP SQL server solution. Now I'm working with VB.Net. There were some threads with a similar question, but I need quite the basics. I'm sure there is a solution that is now available in VB.Net without a database. Thanks for your hellp. If you are using the windows forms designer, you can set the Localizable property to true. This will spit the properties into the associated .resx file instead of spi ...Show All
Windows Forms Sharing same db connection between base and derived constructors
Since there ain't an architecture forum, I'm posting here first. Moderators please feel free to move. I have a base entity class, whose constructor will open a database connection, load general values specific to the class from records, and close at end of constructor. Next comes a derived class for a specialised entity that has to load more info/data (for ...Show All
.NET Development axWebBrowser control accepting security certificates problem
Hi I am using a axWebBrowser control to access HTML elements (from a https site) via a document model. I’ve got my head around the DOM side of things and I’m very happy with the way the elements are being presented to me. The problem is that I need to manually accept the security certificate via the security alert dialog. Can I do this programmally Thanks in advance. If you have just one certificate, you can select form the internet options. Security - Custom Level – and look for “ Don't prompt for client certificate” and change it to enable ...Show All
