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

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

Lorenzo77

Member List

Daniel2005
Sarah71
shaunhw
cdolor
Robert3234
Alle
Woyler
jatdex
ddawson04
cggamer
Lakshmi N
naicul
Jordan Y
Johan Nordberg
LouisVanAlphen
choupette
Pooja Katiyar
nagual20
AlexBB
Bryant Likes
Only Title

Lorenzo77's Q&A profile

  • Visual Studio Team System Best Practice question regarding TFS branching

    I am working on a project involving the development of a prototype. There are two different database schemas being used for different use case scenarios. The project code for the different use cases is the same except for a database access class. My question is, what is the best way handle this using VSTS and TFS Should I have two different projects with the database access class branched from one project to the other Should I set up the files in project A, and in project B set them up as links to the files in project A (since they are the same except for the database access module). Or is there a better way Any help would be appreciated. Thanks. Since we use path-space branching, I would alw ...Show All

  • Visual Studio Team System How to get working folder for a user?

    Hello, I'm a bit confused on how workspaces work. I can create a workspace and work with it perfectly, but what I need to do is have a way of knowing what is the default working folder of a workspace of a user. How can I do this There is no default, really. Whenever a user creates a workspace, it starts off blank. Exceptions: sometimes TFS will prompt you to create a workspace mapping in order to complete the requested operation. Examples: add solution to source control, where the solution (or part of it) is not mapped branch, where the target path is not mapped get, on an unmapped folder etc from the command line, you can create a workspace using an existing workspace as a ...Show All

  • Visual C++ Problems converting vs2003 project to vs2005

    I recently convert a solution with 11 or so C# and C++ projects from vs2003 to vs2005. I ran into a host of issues and I've managed to work thru all of them but this one. CmdProcess.obj : fatal error LNK1215: metadata operation failed (80131192) : There is no additional information after the colon. Any thoughts on where to beginning looking for the problem I've seen those other posts, but for those, the error always includes some information to point one towards the problem. Such as " Inconsistent method declarations ..." My error does not have any additional information. ...Show All

  • Visual Studio Express Editions How to use my self-made browser to open html files by default

    Hi, How can I make all files (file types associated with IE mozilla) to open in my self-made browser I have made a self-made browser and what I want to happen is that when everytime I click a link or a url, instead of opening the url in IE or Mozilla browser, I want it to open in my self-made browse by default. Thanks and more power! Ichi Now that you have solved the 'association' problem, the issue is how to pass the link or filename to your program (browser). Here is the technique: When a file associated with an application is opened, it is passed to the target application as an 'argument'. You need to make your program accept an argument. To do this, change your Program.cs file as follows: static void Main( string ...Show All

  • Visual C# Calling C# DLL from a Java application (or even another C++ or VB app)

    I have a C# DLL that needs to be called from a Java application. I suspect that this can't be done directly, but perhaps through a JNI wrapper to a C++ DLL which in turn calls the C# DLL I am looking for an answer that provides the simplest of examples that I can compile and test. (e.g. a C# class with a simple method that inputs one string and returns another....and those inputs and outputs are passed down and up through the layers). Do we need COM involved in this If so, how Sorry for the late response... I'm afraid I didn't get much further than this. I ended up moving on to something else, but will definitely return back to this area at some point. If I do, I'll be sure to try and p ...Show All

  • .NET Development how to check dial tone is there or not

    Hello Everybody, I have some modems connected to my pc i want to dial from the modem, but before dialing i want to check wheather the dial tone is present or not. Is there any api which could tell me about this Thank you in advance. Sarguna Hello, See this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=905868&SiteID=1 You can also get responses from Modem like, Line Busy, No Dial Tone etc... Please see that post and write back if you need more help. Best Regards, Rizwan ...Show All

  • SQL Server Freeze Header in both HTML and Excel?

    I have a report with a single Table with the "Header should remain visible while scrolling" option checked. The header works correctly in HTML, but when exporting to Excel, the header is not frozen. Should this option work in Excel also Freezing headers is currently only supported in the ReportViewer Winforms control, Webforms control, and hence in report designer preview and HTML output, but not in Excel output. -- Robert ...Show All

  • Visual Studio How to un-filter Help?

    I installed a third party toolset and at some point filtered my help results so it only hits on subjects in that toolset. When I look for help, I can't get to anything in 'vanilla' C# or Win32 subjects. For example, when I choose Help->Index and enter CreateFile(), I get zero results. My choices in the Filter By dropdown are limited to those in the third party help files. How do I set my help options to get the full array of available topics Eric Gonna bump this. To clarify, I don't think the issue is the third party tool. The problem is I have filtered my results and don't know how to unfilter them. Eric ...Show All

  • Visual Studio Express Editions Creating Windows Shortcuts (.lnk)

    I am trying to find a way to create a shortcut. I almost got it to work using another answer: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=148089&SiteID=1 , but I get a build error: Error 1 Assembly 'obj\Debug\Interop.IWshRuntimeLibrary.dll' must be strong signed in order to be marked as a prerequisite. I noticed that when I added the reference to the ocx file, the dll was copied to the obj\debug directory, but I want it to just use the file located in system32. I don't want to distribute the dll or anything. I'm just confused, and my program will be done after finishing this one last part. Thanks. If you just want a link to your program (desktop icon), I have some code at http://for ...Show All

  • SQL Server BIT-Wise Aggregation

    Hi, I have the following three tables : Account (Id int, AccountName nvarchar(25)) Role (id int, Rights int) AccountRole (AccountID, RoleID) In Role table - Rights Column is a bit map where in each bit would refer to access to a method. One account can be associated with multiple roles - AccountRole table is used for representing the N:N relation. I want to develop a store procedure - which would return all AccountName and their Consolidated Rights. Basically I want to do a BitWise OR operation for all the Rights in the Aggregation instead of the SUM as shown in the following statement. SELECT Account . Name , SUM ( Role . Rights ) FROM Account WITH ( NOLOCK ) JOIN RoleAccount ON RoleAccount . AccountID = Account ...Show All

  • Visual Basic Standard Deviation

    Try as I might i cannot figure out how to code the Mean & Standard Deviation HELP!! Actually, you need to square each distance from the mean (which not only makes it correct, but as a bonus even makes each term non-negative). :) See http://forums.microsoft.com/MSDN/showpost.aspx postid=510627&siteid=1 . ...Show All

  • Visual Studio database login pop up

    Hi, I am doing windows app in vs05. I have deployed several CR reprots. A problem just identified is that on one report, everytime user execute my program, the Database Login will be prompted, and no report is loaded into the viewer regardless what action has been taken after that (Cancel, Finish, type in id and pwd, or check use integrated security).. BTW, on the pop up, the grayout Server name box has Newdataset in it, and database box is empty. Also, it only happens on client machine, but not my dev box under debug run. I know there is a way to bypass the Database Login Prompting, for instance the next link. http: / / support. crystaldecisions. com/ communityCS/ TechnicalPapers/ cr_ rdc_ dbconnectivity. pdf. asp I am trying some of t ...Show All

  • Visual C# Unhandled exception only when running in release without debugger attached.

    I am beyond baffled by this. My application throws a System.AccessViolationException only when it is run in Release mode without the debugger attached (as in, I run the exe directly, outside of Visual Studio or I do "Start Without Debugging" in the Debug menu). Debug mode - everything works great; Release mode with debugger attached - everything works great. The very nature of how this error is thrown makes it impossible to debug, so I have no idea where to look into correcting it. Has anyone else ever come across such an error Does anyone have an idea how to hunt down such an error The application is not just a few hundred lines, it is easily on the upper end of tens of thousands of lines. I cannot seek it out with a debugger be ...Show All

  • .NET Development Using a SQL Database to authenticate users

    I am converting a MySQL database over to MsSQL and I'm having problems migrating my user authentication. I'm using Visual Web Studio Express 2005, but the Website is not locally hosted, so using the ASP.NET management seems to be unavailable. The specifc error is: The ConnectionString property has not been initialized. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: The ConnectionString property has not been initialized. The connection to the database is made in my web.config file: < add key = " database &qu ...Show All

  • Visual C++ LNK2005 in debug mode only(VS2005)

    I am encountering error LNK2005 when I am building my DLL. The queer thing bout this is that this happens only in the debug mode while it runs fine in release mode. I have attached the linker options for both debug and release modes. Release Mode: /VERBOSE /OUT:"..\..\..\Bin\Release/man.dll" /INCREMENTAL:NO /NOLOGO /DLL /MANIFEST /MANIFESTFILE:"Release\man.dll.intermediate.manifest" /DEF:"..\man.def" /DEBUG /PDB:"..\Release\man.pdb" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LTCG /IMPLIB:".\Release\man.lib" /MACHINE:X86 /ERRORREPORT:PROMPT Setupapi.lib Shlwapi.lib \msi.lib ..\..\..\Libraries\base\release\base.lib ..\..\..\Libraries\func\Release\func.lib ".\release\ceg_vs80 ...Show All

©2008 Software Development Network