Software Development Network Logo
  • Smart Device
  • Game Technologies
  • Architecture
  • SQL Server
  • Windows Live
  • Visual Studio
  • Visual C++
  • Visual J#
  • Visual FoxPro
  • VS Team System
  • Windows Forms
  • Windows Vista
  • Visual C#
  • Microsoft ISV
  • VS Express Editions

Software Development Network >> Anand K's Q&A profile

Anand K

Member List

Roberto Costelli
creaturita
NarendraKumar
metallicaboy
Alexander Stoyan
Leo Xue
blogg
DNA123
Ochensati
Cologne Claret
Joshua Lowry
Alexei Baskakov
Jason Ladwig
Jay Madore
Michael-Thomson
odul
Sumith
Retrace
katim110
sandeepy
Only Title

Anand K's Q&A profile

  • Visual Basic Using sender as a case in Select Case Statement

    When my form loads it adds some handles (using AddHandler ) to a sub ( showStatus ). What this sub does is checks which control activated the sub (using sender.Equals ) and displays text in the status label ( status ) accordingly. For this I use an If...Then statement for each possibility. There are many possibilities and my code get cluttered. Is there a way to do the same thing with a Select...Case statement. I tried: Select Case sender Case tbOne : status.Text = "blahblahblahblahblahblah" End Select where: tbOne is a textbox, status is a StatusLabel It gives me an error though, saying " Operator '=' is ...Show All

  • Visual Studio Express Editions Specify Default Project/Website Folder

    Is there a way to change the folder path for websites after installation.  For example using the Personal Web Site Starter Kit created a website in folder "  \\gthou-fsclv02p\users2$\griojas\My Documents\Visual Studio 2005\WebSites\WebSite1".  "  \\gthou-fsclv02p\users2$\griojas\My Documents\" is the default My Documents folder on the network. I would like to save my websites on the c:\ for development. Thanks for your help!   I havn't got VWD on this machine, but I will check in a few hours, but for the Language specific versions of Express y ou can do this by chan ...Show All

  • .NET Development Copying a XML file from 1 domain to another

    Hi friends Please tell me how i can copy a XML file from one web application to another web application in asp.net 1.1. please provide me with some sample codes Thank a lot in advance Regards, Lakshmikanthan.V.R File.Copy() can't write to http server. In addition you URI is incorrectly formatted. You should use 'http://' instead of 'http:\\'. You can use file share instead of URI like '\\10.100.17.71\Your_share_name\...\file.xml'. ...Show All

  • .NET Development Remoting from GINA

    Our app needs the services of remote objects during the logon process (say, to log invalid log on attempts). We have a replacement GINA in place and it uses COM to invoke a COM-enabled CLR object. This object in turn does the remoting stuff. All the objects are connected up and working but during initialisation, the CLR object performs a RemotingConfiguration .Configure(...) call which throws an exception (apologies, its a a lengthy one) and I've currently no idea how to progress. The exception relays something about illegal characters in path. Obviously, I've checked what I'm passing to the call and it's fine. Other than that, it may be ...Show All

  • Visual Basic Does the System.Web.UI.Design namespace exist in VS2005?

    Hi, I am using VS2005 and want to use the System.Web.UI.Design namespace to provide a user interface to edit list items. However, VB 2005 doesnt recognise the name space. It underlines the namespace with a blue line and the message is : "Namespace or type specified in 'System.Web.Ui.Design' doesnt contain any public member or cannot be found. Make sure the namespace or type is defined and contains at least 1 public member. Make sure imported element name doesnt use any aliases" Is there an equivilant to this namespace According to my trusty object browser ( a girl's best fri ...Show All

  • Windows Forms Background gradient

    Can someone point me in the direction of how the background gradient is added to the popup windows   I have looked the code over and cannot find it.  I can't even find the image in the project Thnx, drew10uga Hi drew10uga, Are you talking about the pop up window when loading up the application   If so, this is actually done by  ...Show All

  • Visual Studio Express Editions rand() --- its ALWAYS 41!!!!

    I have this code: #include <iostream> #include <cstdlib> using namespace std; int main () { int number; int guess; int count; number = rand(); for (count = 1; ; ++count) do { cout << "Guess your number: "; cin >> guess; if (guess == number ) { cout << "Wow, you guessed it right!\n"; cout << "\n the number was: " << number << "\n"; cout << "You found the number in " << count << " times!\n"; system ("Pause"); return 0; ...Show All

  • Visual Studio Express Editions XML comments

    Is there a button you can press or something to automatically expand/collapse all comments and methods in VB Express Should be, I just can't find it... hi, you will find a "+", or "-" sign beside every method or comments at left side you can expand or collapse this method more over you can use regions to put your code in groups whith also will give you the same signs #region "title for the region" end region hope this helps ...Show All

  • .NET Development return an object from web services

    Hi, It is a basic question:) I searched the previous post but I still do not get it. So I hope someone can help me out here. I have a simple custom class called 'WorkOrder'. using System; namespace WorkOrderService {  public class WorkOrder  {   private int customerID;   private string customerName;    private string addressStreet;    private string addressCity;     private string addressState;    private string addressZip;    private string sourceCompany;    private DateTime   appointmentDate;    ...Show All

  • Visual Basic Calculate size of string in bytes

    All, I am reading a text file line by line and want to display its progress with a progress bar... cunning eh ... Therefore I need to determine the following: (1) The size of the file (2) The size of each string taken from the line of the text file Can anyone help Regards, Determining the size of a file is easy. If you for example have opened a FileStream, check its Length property. The second part is more tricky. It depends on the encoding used for the strings in the file and what kind of newline characters are used. ...Show All

  • SQL Server List of tables in use by a view

    Hi, I wonder if I can list the tables (and views) used inside a view, I mean the list of tables in the FROM clause Thanks, Arty One way is to use SMO like: Database db = srv.Databases[ "test" ]; string a = "sp_depends " + objname; db.ExecuteWithResults(a); There are other ways of using SMO to get the dependency information, but I do not have the code available. Peter ...Show All

  • Visual Studio Code Samples

    Is there any code samples I can find that implements Crystal Reports XI in Visual C++ 6.0 ...Show All

  • Smart Device Development cell event of datagrid ?

    I write a crosstab query, it be binded in a datagrid control. as shown: Company    master  bachelor -------------------------------------- companyA     40         38 companyB     65        67 ---------------------------------------- I want to do it : When I click one of cell, it will shown a list of name details. for example : when I click ' 40 ', it will shown "Milk, Tom, Joan......" How can I carry it out in the datagrid I was at a loss.Thank you everyone.   So w ...Show All

  • .NET Development Using consumer side SoapExtensionAttribute in Beta 2 consuming Java WebServices

    I have runnning and perfectly working SoapExtension project in the web application solution. The WebServices servers are a "BlackBox" to me. I'm trying to: 1. Add an attribute to the SoapExtension. 2. Set a few values in SoapHeader's elements catching them in the AfterSerialize context of the ProcessMessage override. 3. The XPath, value, key, token and operation are supoosed to be extracted from the attribute. I saw the article http://msdn2.microsoft.com/en-us/library/system.web.services.protocols.soapextensionattribute , which says that the attribute has to be applied to "a method in an XML Web service client ...Show All

  • Visual Studio Express Editions i need help im new

    if some1 can plz help me i need to learn the basics of C++ Get a book.. there are a lot out there. I bet there is a "C++ for dummies" series . Try Amazon. ...Show All

©2008 Software Development Network