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

Software Development Network >> Pankaj Mahadik's Q&A profile

Pankaj Mahadik

Member List

ME_Jen
Mark Groves
bdaniel7
Ying Fa
sachin13p
Helschaee
Bugzzbunny
sajithpt
Puffychan
Joe Buys
rayhughes
Kunal Cheda
U3Bunji
dekdout
JeremyPalmer
Mike Flasko
Voln
Alfonso1912
eXseraph
Dahl Berg
Only Title

Pankaj Mahadik's Q&A profile

  • SQL Server SQL Express user permissions?

    I'm trying to build a web application using SQL2005 Express and Visual Studio Express.  It all works OK on the local machine, but gives an error "Login failed for user xxxx\ASPNET" when used remotely.  I can't find where I can set login permissions for SQLServer 2005 Expresss - can anyone help, please Thanks John Remote connections are disabled by default. You can use the Surface Area Configuration tool to enable them. Thanks Laurentiu ...Show All

  • Windows Forms Shell Extension Context Menu in C# strange error.

    Hi, i'm writing a shell extension in c# that will add two menu's to the right-click menu of explorer. Here is the problem. If i select one file and use the standard OPEN context menu all is well, but if i select two or more files and use the standard OPEN context menu it seems to want to run through the code for MY created menu. Here is the code in question: int IContextMenu.QueryContextMenu(uint hmenu,uint iMenu, int idCmdFirst,int idCmdLast,uint uFlags) { // The first id to use (should be 1) int id = 1; if ((uFlags & 0xf) == 0 || (uFlags & (uint)CMF.CMF_EXPLORE) != 0) { // Create a new Menu Item to add to ...Show All

  • Visual C# reseditor

    Where do I find the reseditor in Visual Studio 2005 On the top menu, click Project | Properties. On the left-hand side, click on the Resources tab. This will pull up the reseditor. HTH, Karen ...Show All

  • Visual C++ Merge IDEs

    I find the MSVC .NET GUI just awfull... (no offence :P). Is it possible to use the .NET linker and compiler with MSVC 6 Thanks. Speaking of moving folders.  Moving/reordering folders at least manually in the project (text) file worked well before 2005 and is broken in 2005 (now all folders are sorted alphabetically no matter what you do - maybe the C# team pressured them for this, but we C++ guys get this now too and any resolution has been delayed until Orcas) This has been mentioned in a bug at the product feedback center - you can vote on it here: http://lab.msdn.microsoft.com ...Show All

  • .NET Development Just got curious about why NGEN must put assemblies in GAC...

    I had expected that NGEN would generate a native assembly and I can pass it around. I am quite surprised that NGEN only put the result native image in GAC. Anyone can tell me a few reasons of this design This is a great question!  There are two issues here: 1) Why don't we allow you to pass native images around 2) Why NGen images are stored in the GAC Shipping NGen images is a feature that we looked at.  The difficulty here is that NGen images depend on the specific environment that they were compiled in (version of the runtime, version of dependencies, publisher policy, security state, etc.).  This makes NGen images not ...Show All

  • .NET Development How to block managed code being decompiled?

    After a lot of efforts, around 6 months of my development work on windows forms and components to bring a better application, I learnt that managed codes can be decompiled (Including Visual c++ 2003 in which I am developing - supposed to be stronger than C# and VB!). This looks like a setback, at least for initial start of my application in the market. I have made a trial run on my own code (95 % managed code with forms and windows components), simply it can be decompiled. Only 1 out 12 classes, which is unmanaged code, was not decompiled. Is there any way, using option like /CLR or otherways I can make managed code obfuscated from out ...Show All

  • SQL Server design of the classes of data access layer

    hi all for designing the data access logic layer,if i have 3 table that relate to each other ,for example contact,address,sometime with creating the customer address should be created too. should i design one class for each of them seperately and design 1 class(in bussiness layer or data access layer(i am not sure)) for calling the create stored procedures of 2 tables and put the 2 stored procedures in one transaction or not ,should I design 1 class for both tables and add the transaction in sp part because i need also the sp of creating each table seperately. thanks I wouldn't use a stored ...Show All

  • Smart Device Development why the same code have diffren result between PC and PPC?

    why the same code have different result between pc and ppc Sample Code (run as windows form ): create a form , add treeView control and add code as show following  in form_load method. bool isSelected = false;    treeView1.CheckBoxes = true;    TreeNode tn;    for(int i=0;i<40;i++)    {     if(i%2==0) isSelected = true;     else isSelected = false;     tn = new TreeNode("Demo"+i.ToString());     tn.Checked = isSelected;     treeView1.Nodes.Add(t ...Show All

  • Windows Forms .NET requirements for ClickOnce

    Hi, I have had great success using Thinstall with my app. Thinstall builds an executable that includes not only my app but also all of the required parts of the .NET framework. This means I don't have to make my users go through installing the .NET framework, which for them would be very bothersome (they are all attorneys and have little patience). I've been using InstallShield to distribute this EXE and all of the supporting files. So far, so good. My problem is with updates. The EXE gets updated regularly, along with the supporting files. I'd like to get rid of InstallShield and use ClickOnce in VS 2005. What I can't quite figure ...Show All

  • Visual Studio Team System New To Team System? Check out these resources

    Welcome to the Visual Studio Team System forums. My name is Ajay Sudan and I am a Product Manager for Visual Studio Team System. If you are new to Team System, then you'll want to check out the resources on the Getting Started with Team System page. Thanks, Ajay Sudan Product Manager Visual Studio Team System http://msdn.microsoft.com/teamsystem The beta 3 VPC is finally up on MSDN.  In the next week or so, there will be a beta 3 refresh VPC (yeah, famous last words). http://blogs.msdn.com/buckh/archive/2005/11/22/495875.aspx Buck ...Show All

  • Visual Studio Error 1304 when installing .NET Framework 1.1

    Hi All The installation of .Net framework fails with the error 1304. "Error writing to file: Microsoft.Vsa.dll. Verify that you have access to that directory". I see the directory %WINNT%\Microsoft.NET created and that file "Microsoft.Vsa.dll" present in it when this message occurs. I'm running under Windows XP SP2 and the partition is formatted as FAT32, so I think there should be no problems with access rights. Thanks in advance Leonid Hi, Does it work if you'll try to manually delete or better to move it somewhere else I think your file is Read-Only on disk. ...Show All

  • SQL Server Management Studio: Error opening read-only SQL Template

    We have custom SQL boiler plate templates for our dev group. We store in a version control library. When we open one of the templates from SSMS, we get the error below. The template still opens and we can work and save as something else, which is what we want. However, this exception is thrown everytime. It is a nuisance. Is this a bug that will be fixed TITLE: Microsoft SQL Server Management Studio ------------------------------ Failed to open template. (AppIDPackage) ------------------------------ ADDITIONAL INFORMATION: Failed to open C:\Documents and Settings\MyUser\Application Data\Microsoft\Microsoft SQL Server\90\T ...Show All

  • Visual Studio Express Editions Writing to a text file

    I am trying to write text to a disk file. I dimensioned a variable, sr, as StreamWriter and used the line sr.WriteLine(strPage) to write the text to the file but all it does is open an empty file and does not write the text to the file. I know there is something in strPage because I also write it to a textbox on my form. Can someone please help Don Dim tempFile As String = My .Computer.FileSystem.GetTempFileName Dim sw As New IO.StreamWriter( New IO.FileStream(tempFile, IO.FileMode.Open Or IO.FileMode.CreateNew)) sw.WriteLine( "hello" ) you can use FileStream to contr ...Show All

  • Visual Studio 2008 (Pre-release) Vista Beta 2 IIS7 setup

    I've just upgraded to the new Vista Beta 2 build 5384 and am unable to get any of the WCF samples provided with the SDK to run.  I'm pretty sure it's just an IIS7 setup issue. From reading around i've seen a few sites recommending that i add a MIME type mapping for the .svc file... but i cant' work out how to do that.  This ( http://www.iis.net/default.aspx tabid=2&subtabid=25&i=1032) suggests that there should be a MIME Types item in the list of things i can configure for the default web site in inetmgr ... but it's not there Here's what i have done so far. Installed... 1. Vista 2. IIS - added the windows featur ...Show All

  • Visual Studio dataset Visualizer

    Hello, I am using the DataSet.ReadXML() method to fill a dataset. I need to be able to debug this dataset and take a look at the rows. I have read articles about the DataSet Debugger, but I do not seem to have that feature in my Visual Studio, I am running VS2005 with the .NET 2.0 framework. I should mention I am developing a Pocket PC application. Why cant I use the DataSet Visualizer Please help, thanks Ok I see, so there are different types of debuggers depending on the type of application I just thought they would all have the same features. Thanks for the info ...Show All

©2008 Software Development Network