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

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

vighnesha

Member List

Noovish
VICAllen
pink_flower4love
Aparrel
YGO
JPlenert
TrevorL
redwar
RomanAnanyev
CharlieDigital
Ossian
Peter Blanchfield
DDH
Johwwy
gtisupport
toladyh
ariana28
triston oconnor
xzhutiger
Valkyrie-MT
Only Title

vighnesha's Q&A profile

  • Visual Basic VS 2005 IDE Unresponsive

    We had originally installed Beta 2 of the product which ran better than expected. After using the tool from MS to uninstall the beta software we then installed VS2005 Final which we downloaded through our msdn subscription. The IDE becomes just about unusable. Not only that but it pretty much renders the computer useless while it eats up CPU cycles. This occurs during the following conditions: 1.) We make a small change in code and the editor hangs, the hour glass pops up and the cpu usage for the devenv.exe process is usually at 99%. The icon at the top of the VS IDE switches to the default exe icon. This unresponsive behavior usually ...Show All

  • .NET Development Type.GetMembers() on an interface does not return members from inherited interfaces

    Consider the following: using System; using System.Reflection; public interface IBaseBlah {     string GetSuperString(); } public interface IBlah : IBaseBlah {     object DoStuff( string name); } public class Foo {     public static void Main()     {         Type t = typeof (IBlah);         foreach (MemberInfo info in t.GetMembers(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance))             Console.WriteLine(info.Name);  ...Show All

  • .NET Development Discrepancy between how Uri class parses URL and the way Internet Explroer does it?

    Here's a Google Desktop URL: " http://127.0.0.1:4664/&s=8lD6KsMwZ1Zd3ZWWqfZb327gN6g&q =". Internet Explorer properly treats everything after the last '/' as a query string (even though starting query string with '&' instead of ' ' is odd). To prove this is the case just look at the page sorce and see google desktop logo <img> has relative src=hp_logo.gif, which corresponds to http://127.0.0.1:4664/hp_logo.gif URL (check image properies in the browser). Now load the same http://127.0.0.1:4664/&s=8lD6KsMwZ1Zd3ZWWqfZb327gN6g&q = URL into the .NET Framework 1.1 URI class. Observe Query property = "" ...Show All

  • Windows Forms DataGridViewComboBoxColumn bound to complex object

    I have a list of Customer objects(List<Customer>) bound to a DataGridView.  One property of Customer is Category which itself is an object of type Category .  I want to bind this property to a DataGridViewComboBoxColumn column. At design time, I add a DataGridViewComboBoxColumn column to the DataGridView.  I set the following properties of this column. (pseudo code) DataPropertyName = "Category" DataSource = CategoryBindingSource DisplayName = "Name" ValueMemeber = (blank)   The BindingSource CategoryBindingSource is bound to a List<Category> object.  But when I run it, I got two errors for ea ...Show All

  • Smart Device Development Controlling a device power state on XP

    Hi, I have no previous experience in device related development. My question: is it possible to control a device power state (more specifically, turn it on and off) on XP I found SetPowerState, which is only available for Windows CE, and various WMI "SetPowerState" methods that aren't implemented. If it's possible, then how Thanks, Osnat Yes it is possible. You can do it by writing a command line program for the device in which you can pass arguments to the .exe. Then using www.OpenNetCf.org 's Desktop.Communication library you can call the command line application .exe (from you desktop maching) using Rapi.C ...Show All

  • .NET Development About strong naming

    I am a beginner in strong naming. I have read that strong naming is done in command mode when the assemblies are ready to deploy.  However, I have an application which involves over 80 assemblies.  What are the proper steps to do strong naming for the application   What I will going to do is: 1. In VS.NET, switch to 'Release' mode and compile. 2. Use command window in VS.NET, do strong naming one be one. Am I right   If I need to recompile the solution frequently, should I repeat the whole procedure   That seem very troublesome... Thanks Hi Kennon, Thats correct. If you strong name an assembl ...Show All

  • .NET Development closing an OleDB database connection

    Hi guys! I am just confused which to use in closing an OleDB database connection I read about connection.dispose and stuff but right now I am doing this Try connection.Open Catch Finally If connection.State = ConnectionState.Open Then connection.Close() connection= Nothing End If Is this Ok I read about dispose and I am confused when to use it... Please enlighten me...Thanks! Thanks for your reply. So I instead of connection = Nothing I should just write connection.Dispose, right ...Show All

  • Visual Basic VB 2005 Compiler Optimization Discussion

      There's been something percolating in the back of my mind. I come from a computing environment that preceeded windows and the Intel Architecture and instruction set. n comparison to the instruction set that i'm used to, the Intell instruction set looks like a house wreck which may or may not be important to the discussion at hand. Everyone knows that moderators agree on everything and that in moderator space we just stand in love circles and sway back and forth. So when I was discussing a compiler one day, I said I really admired a language which had a seven pass compiler. "Nonsense", was the response, "two will do it." Wi ...Show All

  • Visual C++ Using my MFC of Visual Studio 2003 Profissional on Express Edition

    Hi! I have bought the Visual Studio 2003 Professional and it brings with the MFC library. I would like to know if I can copy and use the mfc libs and headers in the Visual Studio 2005 Express   Thanks Victor Hi Victor, The answer is that we do not recommend you do this nor do we support this scenario. The VC 2005 source code has breaking changes and hence you will not be able to compile your code correctly using 2003 libs with the 2005 compiler. Hope this helps, Sarita Bafna Visual C++ Team ...Show All

  • Visual Basic System.Runtime.InteropServices.COMException (0x800A03EC): Cannot access xls file

    Hello I am trying to retrieve the Worksheet name from an Excel spreadshet so I can load into a dataset for conversion to a .csv file. I am aware that Excel has that facility built in, but the users that use Excel are not familiar enough with Excel to use that feature, it is up to me to write an application that will do this for them. (Automate as much as possible, if you will.) Nevertheless, when I try to retrive the worksheet name, which is needed for objCmd, I receive the following error: System.Runtime.InteropServices.COMException (0x800A03EC): Cannot access 'IBM Legacy RISC Inventory.xls Some code snippets are included be ...Show All

  • SQL Server Cannot generate SSI Context

    New install of SQL Server 2005 (x64) Standard after uninstalling previous version SQL Server (x86) Standard. After installation, client connections are receiving "Cannot generate SSI Context" error messages. TCP/IP Integrated Authentication is being used. Kerboros authentication is failing when SQLService is running under a domain account and works when running under local system account by reverting back to NTLM authentication. How do I get the Server to revert to NTLM authentication when running under a domain account so that the error will go away Mike "klist.exe purge" should clean up your local cach ...Show All

  • Windows Forms Design-time functionality at run-time

    I am trying to find a way to paint a selection border around a control whenever it is active at run-time.  I would like the border to be as similar as possible to the selection frame that is displayed around a selected control at design-time.   The way I am currently doing this is by hooking the MouseDown event of the control.  In&n ...Show All

  • Visual Studio Error during install VS 2005 XP

    I get the same error even after a reboot Cannot create the selected folder ''\crt\sys it will rollback and fail to install any helop would be appreciated i would add that i can't create any ''sys'' folder at all on my HDDs I run the real admin accnt and has setup SYSTEM to be able to have full permissions on C drive. still wont do it ...Show All

  • SQL Server Is the SP1 multilingual?

    Hi, Unlike the SQL Server 2005 SP1 download page, the SQL Server 2005 Express SP1 download page ( http://msdn.microsoft.com/vstudio/express/sql/download/ ) and the pages it references don't mention whether the download is english only or multilingual. Since there's no language selection possibility on these pages, I'm assuming it's multilingual. Am I right Thanks in advance. -- Patrick Philippot - Microsoft MVP MainSoft Consulting Services www.mainsoft.fr Hi, There is a dropdown to choose from: http://www.microsoft.com/downloads/details.aspx FamilyID=11350b1f-8f44-4db6-b542-4a4b869c2ff1&DisplayLang=en HTH, Jens Suessmeye ...Show All

  • Visual C# Syntax Error in Update Statement

    Dear All, I had encountered Syntax Error in Update Statement when I execute the following code. private void UpdateNewPwd( string EmpID, string NewPwd) { string strUpdate = "Update Users SET Password = '" + NewPwd + "'" + " where EmployeeID = '" + EmpID + "'" ; string connectionString1 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + System.Windows.Forms. Application .StartupPath + "\\Local_Database\\DryEtch.mdb;User Id=admin;Password=;" ; OleDbDataAdapter dbAdapter = new OleDbDataAdapter (); OleDbCommand dbCom = new O ...Show All

©2008 Software Development Network