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

Software Development Network >> srinivasintouch's Q&A profile

srinivasintouch

Member List

steff111
Stanomatic
Sandy Wood
tdcntt
monchhib
AnthonyAM444
Alexander K
Cammyr
malhar
Haneli
asalcedo
PedroSimao
DrChuck
S4turno
Kris M.
StarPilot
Pavor
Cam Evenson
GrimStoner
Wil Burton
Only Title

srinivasintouch's Q&A profile

  • Windows Forms Windows properties??

    Windows properties hi ............... I want to change some of windows properties from my application EX. changing the background of the desktop , changing the theme, etc... can anybody tell me how could I do that, if there is a class library for that purpose please tell me about it or any other information that leads to that purpose. thanx..................... Sorry In the above code is wrong constructor usage. Please, replace the example line System.Diagnostics.Process.Start("c:\\windows\\system32\\regedit mywallpaper.reg"); with System.Diagnostics.Process.Start("c:\\windows\\regedit.exe","C:\\ YourPathToFile \\ mywallpaper.reg"); Same head too many ye ...Show All

  • Visual Studio Team System Can a test belong to multiple Test Lists?

    Our project is getting to the point where there are so many tests, that we would like to organize them into groups. I attempted to use Test Lists to do this, and set up different batches of tests that would be run for different purposes. I would like a list for all unit tests, a list for unit tests relating to a specific functional area, a list for all integration tests, a list for all unit tests + all integration tests, etc. However, it appears to me that a test can only appear on one test list. Is this true If not how can I add a test to multiple lists Right now I am just selecting the All Loaded Tests in Test Manager, and dragging the test name to the target Test List on the left. Thanks, Dylan ...Show All

  • Visual C++ Calling C# Main() in C++.NET

    Hi, I am a newbie and I wanted to know if it is possible to call an application written in C# using C++.NET. I know that Main() is the entry point of the this C# application...so can I launch the C# application by calling its Main() from a C++.net program Is this related to managed and unmanaged code Do I need to include the class where Main() is located in the C++.net program Should I do that by "#using classWhereMainIsWritten" or using the namespace Help! If you simply want to launch the C# application from your C++/CLI application (which would result in the C# application’s Main entry point function being called) then you can simply launch a new process to handle it. From C++ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Not Using Vector2 in my 2D Game Engine

    I just recently changed, oh, about a 1000 lines of code in my game engine. Instead of using Vector2 for things like position and size, I decided to use floats instead. Does anyone else use Vector2's as their main position and size data types in their 2D game Right now, I have the code for both versions, and I'm trying to make entirely sure floats are the way to go before throwing one of them away. Any comments Since Vector2 is just a pair of floats it will use up the same space as two separate float variables. This is no different in .NET than in C++. So, I cannot see why it would be less efficient to use the struct vs float vars. ...Show All

  • Smart Device Development Designer: DataGrid Dock property loses its value during form inheritance

    Hi, VS 2005, CFv2. Its easy to reproduce this problem. Create new form FormBase, drop DataGrid, set dataGrid.Dock to Fill, inherit form Form1 from FormBase. Now Form1.dataGrid.Dock is None. Thanks, Tom. Please submit a bug report: http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 ...Show All

  • Smart Device Development .Net CompactFramework 2.0 data question

    Hi everyone, Does the .Net CompactFramework 2.0 support the System.Data.Odbc namespace I'm using VS 2005 for a CE 5.0 project and I need to connect to a database via ODBC. Thanks in advance, Dave Neither NETCF nor Windows CE support ODBC. ...Show All

  • SQL Server ODBC connection to SQL 2005 Express

    I am attempting to setup a SQL Server 2005 Express database as a backend to an Access MDB, and need to establish an ODBC data source for the backend database. On two different systems (Windows XP Pro and Windows 2003 SBS), I get an error that says I cannot connect to the SQL Server. I get a message that says: Connection failed: SQL State 08001 SQL Server Error: 2 [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server That is followed by a Login timeout expired and a suggestion that under the default settings SQL Server does not allow remote connections. I have shared memory, named pipes and TCP/IP protocols enabled, and the firewall set to allow connections on port 1433. And the Express manag ...Show All

  • Visual C# C# 2.0 closures - bug or feature?

    Would anyone care to explain me what is happening there To me, both i and ii seem to be local variables within the same scope, so why the compiler treats them differently using System; using System.Collections.Generic; internal delegate void VoidDelegate(); internal class Program { private static void Main() { List< int > a = new List< int >(); for ( int i = 0; i < 10; i++) { a.Add(i); } List<VoidDelegate> handlers = new List<VoidDelegate>(); foreach ( int i in a) { handlers.Add( delegate { Console.Write(i); }); //If we comment out line above and uncomment two lines below, we'll get the expected "0123456789" result. //int ii = i; //handlers.Add(delegate { Console.Write(ii); } ...Show All

  • SQL Server Complex SQL Query - Joins, Max, Union

    How to find maximum value from two tables have the same field name For example: Table -1 has field calcuated_price and its max value is 3500 and then Table -2 has same field name calcuated_price has max value is 3000. Nishith Well, there are three things to discuss here. First off this statement: Table -1 has field calcuated_price ... then Table -2 has same field name calcuated_price This just shouts out "design issue" Of course it is totally out of context, so these may be quite different things you have modeled and you just want to compare their prices. The point I am trying to make is: if the tables have the same things in them, or even common columns that have the same meaning, then you ought to consider making ...Show All

  • Visual Studio Express Editions How to generate user instances in SQL Server

    Hi, I'm a newbie in C# and SQL Server and I'm trying to add a SQL Database within Visual C# 2005 Express Edition . But I receive a message that says: "Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances." But how do I do that I have Management Studio Express installed. Best regards I too would like to use this solution. However, I'm not sure where to enter the sp_configure 'user instances enabled','1' command. When I do run => cmd.exe I get a C:\Documents and Settings\root> and this command caret doesn't accept the sp_configure command...cd'ing to C:\> doesn't do it either...and now I'm at t ...Show All

  • Visual Studio Express Editions Project Folders not getting created during debug?

    I thought I read something about this somewhere but I can't find it. I've created some sub-directories for one of my VBE applications. Whenever I debug(F8) the app, it never creates these folders and I either have to create the folders and their contents by hand or put up with the multiple exception errors. Is there an option for the project to automatically create all files/folders that have been added during program design Thanks Ted There is no code. Solution Explorer, right click, new folder. The folders I create in solution explorer aren't getting created during debug. They do if I publish, but never in debug. Ted ...Show All

  • Software Development for Windows Vista Can DataExchange service hold variables?

    I would like to know whether "LocalCommunicationServices" could have a .NET property to hold data returned from within the workflow .This way the host can get hold of this property and tap the data out instead of using events where the same activity would raise a custom event and the host would recieve the data through the events arguements.(This is a long way of getting things done.....). The doubt is whether the information on this property is volatile especially when whe have our runtime hosted in a webservice and caters to many client calls. Thanks in advance.... You can only place the ExternalDataExchange attribute on an interface. If the host wants to know a value of an act ...Show All

  • Visual Studio Show All Files button in Solution Explorer doesn't work.

    Hi there, I need to show files in solution explorer. These are not in project exactly but they exist on hard drive (like bin and obj directories in C# projects) . In MPF sources (I mean ProjectNode.cs) we can see that code: /// <summary> /// Handles the shows all objects command. /// </summary> /// <returns></returns> internal protected virtual int ShowAllFiles() { return (int)OleConstants.OLECMDERR_E_NOTSUPPORTED; } /// <summary> /// Unloads the project. /// </summary> /// <returns></returns> internal protected virtual int UnloadProject() { return (int)OleConstants.OLECMDERR_E_NOTSUPPORTED; } That is interesting fact - methods UnloadProject() and ShowAllFiles() are the ...Show All

  • Windows Forms textBox Question

    is there a way to allow only ' a-z A-Z 0-9 ][{}()-* ' characters to be typed into a normal textBox the MaskedTextBox wont work in the way that i want it too. Im using VC++ 2005 thanks no still not working, ive seen similar code for doing this somewhere but i cant remember where although it may have been the same code. maybe someone out there has a solution to this mysterious puzle it doesnt seem to recognise the word ' Regex ' either so it could be that ...Show All

  • Visual Studio Tools for Office Failure to manually Attach Managed Code Extensions to Documents

    I am following the example described at : http://msdn2.microsoft.com/en-us/library/ms268877.aspx I am modifying the document manually to point to a working example from part 1 and 2 of: http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerOverview.asp I chose a local install of a doc and assembly and included the SetSecurity and UpdateManifest installer classes noted in the sample and all works great. Now I create a new doc and follow the manually attach instructions with no success. I made the property changes for '_asemblyName' and '_assemblyLocation' (with the actual path name, not the manifest guid). It now gives the following error when the doc is saved and then ...Show All

©2008 Software Development Network