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

Software Development Network >> Amit G's Q&A profile

Amit G

Member List

raveIndia
gRoberts
Karaner
s2631
Caralyn
Raja_Krish
Bruce T
A-Ka
bani3
Brad Hehe
gibic
Jandost Khoso
Tariq Ayad
TereByte
Mike New
hani sallam
CamelbackCinema
Amit11
your evil twin
Bradpatt
Only Title

Amit G's Q&A profile

  • Visual Studio Express Editions Can't open .js files in projects

    Hi- I'm (under-)using VC++ Express as an editor and organiser for some JavaScript files, as well as some C files. All files are on network drives. I have no problem with the C (.c, .h) files, but with the JavaScript (.js) files, I can add them to my project, but when I attempt to open them (double-click or right-click, open), I just get (for example): x:\scripts\gaia\harikiri\omt\include\Idle_Tests.js Cannot open file I get the same error if I copy the file onto my local disk ie. it appears to be the extension (.js) which is causing the problem. I've just moved from MSVC++ 6 which I was using for the same purpose, and no doubt I' ...Show All

  • Visual Studio Recursive delete *.scc files

    I'm trying to clean my source tree of VSS *.scc files: This fails: <Delete Files="$(OutputDirectory)\precompiledweb\**\*.scc" /> These work: <Delete Files="$(OutputDirectory)\precompiledweb\vssver.scc" /> <Delete Files="$(OutputDirectory)\precompiledweb\web.config" /> What am I doing wrong Thanks, Mark Have a look at this file that can be used to achieve what you want. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="CleanFiles">   <ItemGroup>     <FilesToDelete Include="**\*.scc"/>   </ItemGroup> &nbs ...Show All

  • Visual C# What is the '@' character in front of a string?

    i am new to c# and i have often seen a string defined as--> string str1=@"helolskdfjlkdsfjl"; what does the the character '@' mean Konstantin, That's not actually correct. That line will not compile. You still have to double quote it: string message = "This is the first line .\r\nThis is the second line .";   When this message in displayed on screen (like via MessageBox) all text after '\r\n' is displayed on a new line. Using the @ character if front on the string literal, causes the escape sequence to be ignored: string message = @"This is the first line .\r\nThis is the second line . ...Show All

  • Visual Studio Running reports in an Access database

    We've put an ASP.NET front end on a little Access application... we're wondering if there are any tools that would allow us to access and produce the reports that are defined in the database. Office automation is not an option. Can anybody suggest a direction to begin looking daniel Yea, that's the conclusion I've reached after snooping around the net for a while. Looks like the VS-version of CR doesn't have a report import/conversion feature though. ...Show All

  • Visual Studio Team System Sharepoint Integration

    My company currently already has servers setup for Sharepoint already and want to try to use those for Team System. Does anyone know if its possible to point the Sharepoint integration to another server Or, does anyone know if its possible to move over data from an existing Sharepoint site to the one created by Team System Hi, It is possible use a remote WSS server though it isn't a supported configuration. A whitepaper is being written to describe the steps that need to be taken for this to function properly with TFS. I can probably post some preliminary instructions on how to do this if necessary, but they will be pretty rough. O ...Show All

  • Windows Forms Context Menu Size

    Hello, Whenever my context menus are opened, they are programically resized depending on the visible toolstrip items. This allows the menu to look much better because their is not a lot of extra "white space" on the right, when autosize = true sometimes. Although I have run into a problem though. No matter what I do, the arrow to show dropdown items is automatically set to wherever the autosize property feels it should be set at. Is it possible to move this arrow Is their another way Hi I did achieve (removing the arrow)by handling the Paint event of T oolStripMenuItems.Manuall paint tha ...Show All

  • Visual C++ Fairly simple school project, multiple errors

    I'm working on a toy problem for school.  It involves a binary heap, a few classes that inherit from a base class and some various helper classes.  I'm getting about 60 errors but none are descriptive enough for me to figure out what is wrong.  It compiled fine before I added some of the more recent classes I wrote, but now it's screwed.  I don't want to post all the code because it's so much, but here are the errors.  I know this isn't enough to go on, but if anyone has a suggestion for things to look for, I'd appreciate it.  Thanks: c:\Project4Heap\CarWash.cpp(35): error C2039: 'custType' : is not a member o ...Show All

  • Windows Forms Accesing a form from another one

    I have created a VB .net 2003 application with a main form and 3 other forms that sould be called from several place in app code. The problem is that if i use the "myform = new Allready_defined_formed" in every form which wants to use that form, i have each time a new instance of the form. So how should i do to have the&nb ...Show All

  • Visual Studio How to use aspnet_compiler in team build (tfsbuild.proj)?

    Hi, How do I call aspnet_compiler.exe in the team build proj file for web applications We don't have .sln or .csproj file for web project and we'd like to call aspnet_compiler.exe instead. Can someone give me an example Thanks! Olivia, You should use Web Deployment Projects for this. Look at http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/ for more details. Neil ...Show All

  • Visual Studio Team System How to Search on status on whole project?

    I would like to query the whole source control tree, to get a list of currently pending status of items. Because I want to know who is working on what or want to rearange the tree and minimize the work for other developers. Furtheremore our QA team wants to know which items are currently under construction.... I noticed there is no option for this in the UI(there was this search functionality in VSS, so more people might run into this same problem) but there should be using the commandline tool. But when following the documentation it apears that it's not working. When running the comand:tf status /server:myserver /workspace:* I on ...Show All

  • .NET Development some questions about timeout and design

    Hi, I have a site that has a number of web methods in one web service class. untill the last few days it has worked well. now I am seeing an increase in errors like: Exception.Message    : Unable to connect to the remote server Exception.Source     : System Exception.StackTrace :    at System.Net.HttpWebRequest.GetRequestStream()    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) or: Exception.Message    : The underlying connection was closed: A connection that was expected to be kept alive was closed by the serve ...Show All

  • Smart Device Development Precompiling forms on a desktop client to display on a Pocket PC device

    Hi All. Happy New Year. I am currently writing some software that generates forms that are to be displayed on a Pocket PC device. At the moment, a 'description file' of the form is generated by my desktop component that is uploaded to and interpreted by the PDA. Is it possible to cut some processing from the PDA by using the System.CodeDom and related classes to generate a compliled code file on the desktop component, so the PDA can just 'use it' using the System.Reflection.Assembly class. In all fairness, i am not sure if the System.Reflection.Assembly is available on the compact framework Thanks and raise in advance. Ja ...Show All

  • Windows Forms Winform running in other computer IE not loading

    Hi I wrote winform(usercontrol) in ie local computer(Win2k Srv) is running, but oter computer is not loading security is full trust ... and usercontrol is dll registered in GAC and Regasm this usercontrol is the inheritance of "System.Windows.Forms.UserControl"  from Templete usercontrol public class TempUserControl : System.Windows.Forms.UserControl {   ... } public class myUserCtrl : TempUserControl  {   ...Show All

  • .NET Development How to create a single instance Data set?

    How to create in a Windows Forms Application a single instance typed Dataset using .net2.0. This is needed to have real-time update on two forms. Regards Bhargav     I Have added the dataset to the project ((ie) .xsd file) and added two tables to it.Next how do i proceed. ...Show All

  • SQL Server URGENT: Insert and Update in a transaction is getting blocked

    Hello, I have the following situation: -Package A begins a transaction (TransactionOption="Required") with IsolationLevel=Serializable -PackageA calls PackageB -PackageB has 2 data-flows. The first one inserts into TableA. The second one updates TableA. They run serially. They both have TransactionOption="Supported". The update is blocked in SQL Server by SPID=-2   (which I know is MSDTC). I tried setting RetainSameConnection=TRUE on the connection manager in PackageB. It failed with: "Incompatible transaction context was specified for a retained connection. This connection has been established under a different tran ...Show All

©2008 Software Development Network