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

Software Development Network >> Sue Mosher - Outlook MVP's Q&A profile

Sue Mosher - Outlook MVP

Member List

CarmenM
Wei Wang father of twins
Vaish
joynerCN
HGChrist
cwhetsel
Dennis Lackey
DotNet_Student
22DoorsDown
Roger Andersen
Prabu.
overthetop
Carsten Kanstrup
Christina Tabet
svxtc
boston_sql92
RussP
DLdfrd
VSFW3
Coleby
Only Title

Sue Mosher - Outlook MVP's Q&A profile

  • Visual C++ I met a very strange problem

    please see the code and the result : #include<fstream> std::ofstream out("Name.txt"); class Monitor{ public: static int number; void incident(){number++;} void print(){ out<<"inciden is called "<<number<<std::endl; } void decrement(){number--;} ~Monitor(){ out<<"~Monitor is called"<<std::endl; } Monitor(){ out<<"Monitor is called"<<std::endl; } }; class Monitor2{ public: Monitor* mo; Monitor2(Monitor* mo):mo(mo){ out<<"Monitor2 is called"<<std::endl; mo->incident(); mo->print(); } ...Show All

  • Visual Studio Team System 'Custom' parameters in queries

    Hello, Is there a way to add a custom parameter to a query so it will be prompted to the user when he/she double-click the query to open it. To give you more details, we are looking for creating a query that will accept a list of work item IDs and return all the issues that matches these IDs. A convenient way will be for us to specify this kind of condition when building the query: ... And ID In @myIDList ... We tried that, but it seems to be not supported. Thanks for your help, Gaetano. Any update on this feature We would like to define a "@CurrentIterationPath" parameter so our "current work" queries do not have to change from release to ...Show All

  • .NET Development MFC exe Crashes with /clr option

    I have a MFC app that was developed with VC++ 2003 7.1 . I have now upgraded to VC++ 2005 8.0. Eventually I plan on using a Windows Form Control and hosting it on existing dialog. This exe is located on a remote computer (intranet) and I am executing from my computer. 1) First I compiled the project in 2005 and fixed a few errors and am able to compile/run with seemingly no problems 2) I turned on the /clr option and fixed what ever problems and now am able to compile with no errors 2a) now when I run I get a crash. My project settings are: <Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories=""$(SolutionDir)\common\include";" ...Show All

  • SQL Server Inserted and Deleted tables

    Hi: Can any of the experts please confirm the fact that Inserted and deleted tables in SQL Server 2005 are stored in tempdb . If so, how can I query them in tempdb ( A code snippet would be useful). Thanks AK Thanks OJ. So what I might have read is probably talking of row versioning that uses tempdb. Thanks again for the clarification. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. hello... and please give me a GUI

    Hello. I started working on a video game as a hobby a couple months ago, and I was doing it in Java because that's what I was most experienced with. Since stumbling across XNA on the web, I've just started it over again in C#, because XNA makes so many things easier. So thanks for making such a good and free product. I figured you guys would be happy to hear that an experienced Java programmer is now developing something in C#, so I thought I'd tell you. Anyway, I've read prior posts saying that you guys are working on GUI elements for the next release of XNA... I eagerly await this. My game needs a full suite of GUI elements... labels, text boxes, buttons, dropdowns, selection lists, tabs... so I look forward to them. Thanks again. ...Show All

  • Visual C# Keyword "this"

    Is it true that using the keyword "this" makes the operations slower I know this might sound silly or even stupid, but I need a trusted source to answer this for me. This is because in my team, we decided to use the keyword "this" as a standard when refering to the variables of the object; even though it is not necesary; but yesterday some "trusted source" told us that using the keyword "this" slows up everything. If this is true (which I hardly believe), how many miliseconds woild it be Thanks in advance ...Show All

  • Internet Explorer Development Dynamic Modification of elements

    Hi, I want to write a JavaScript that looks through the document and replaces every <button> tag with <div class="aeroButton">. How do I do this ...Show All

  • Visual Studio Express Editions Remove Collapsible Scope?

    Is it possible to remove the collapsible options from the editor example, the [-] or [+] for that matter in a situation like this: [-] int Glue::getStickiness() { } GSpangler wrote: Is it possible to remove the collapsible options from the editor For some reason, it's called "outlining." I thought of it as a kind of tree view, but that just shows how far I am from ordinary daily life . Try clicking the VC++ Tools | Options | Text Editor | C/C++ | Formatting and then choose your poison. - Dennis ...Show All

  • Visual Studio Tools for Office QueryTables Digital Certificate Verification

    I'm using visual basic in excel to pull in data from a web site using QueryTables. The data pull works but every time the macro runs, a dialog box pops up requesting that I choose a digital certificate to communicate with the external web site. This digital certificate (there is only one) has been created and installed on the PC I am running the macro on. When I manually click "OK" on the dialog box the macro and data pull run properly. My question is how do I get rid of the dialog box and manual intervention. I have tried adding "application.displayalerts=false" before the querytable but this doesn't help. Note I also tried "displayalerts=true". Can someone please point me in the right direction ...Show All

  • Visual Studio 2008 (Pre-release) Web Application Authentication STS

    We are building a set of enterprise identity management services that several of our in-house and third party web applications will be using to authenticate / authorize users. We need to authorize users based on the actual user and we need some way to be pretty sure the user is who they say they are before we can say whether they can do what they want to do. So, reading into WS-Trust and STS, I think this might be a great interopable fit. However, trying to mock this up in a ASP.NET web application has proven challenging. Essentially what I want or am trying to make happen is taking our current authentication routine for a username / password and stuffing that into a WCF STS request that then gives me back a token of the user that I ...Show All

  • Visual C++ Problem with char *

    How can I copy 2 char * in a third one, so it seems like this char *one = "This"; char *two = "is a text."; char *three = ... And it has to be native C++. beckers wrote: It doesn't seem to work. I've tested it with the following code: char test1[80] = "first"; strcpy(test1, "test."); strcat(test1, " And with strcat"); printf("First text: %s \n", test1); system("pause"); char *test2 = "second"; strcpy(test2, "test"); strcat(test2, " And with strcat"); printf("Second text: %s \n", test2); system("pause"); And with the test1[80] it works, but with the char* ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Counting Pollys in Game

    I would like to display the total number of poly's currently in the viewport and I would like to display the total number of poly's in the scene. I've been looking through the docs and cannot find any obvious way to do this. Can anyone point me in the right direction Thanks. If you install the full DirectX SDK, you can also use the PIX for Windows tool to capture this kind of information. Point it at your compiled executable, select the "Statistics for each frame" option, click the "HUD" checkbox, then run your game. This will overlay draw call statistics on the game screen. You can press F12 to toggle which data is displayed. This mode doesn't actually seem to show the ...Show All

  • Visual Basic MSChart problem on Win98/WinMe USER.EXE

    Hello. I'm writing a program using MSChart. On Winxp everything works fine but when I moved it to Win98 or WinMe it started to crash (not always in the same place). I didn't know the reason so i installed VB6 on that PC and ran soft through it. I thought I'll be able to debug it that way but unfortunately these errors are internal errors and whole VB crashes [module USER.EXE makes critical error 0004:000063f7]. The funny thing is that if I remove the MSChart component the software works perfectly.Did anybody face the same problem If yes, how did you deal with that Thank you in advance and best regards. PS. I already downloaded and registered runtimes - still nothing PPS. Error log file (drwatson) http://www.xtremevbtalk.com/attachm ...Show All

  • SQL Server Render method can't resolve path

    Hi, Probably a common problem, but I can't figure it out.  I'm getting an exception when I call the render method in the ReportService class.  It seems that it can't resolve the path to my file. I've tryed everthing I can think of: Created /Temp dir on both C and D drives used url http://WS2K2UA6120K1D/ReportServer /Temp/PlanSummary put the .rdl extension on the file etc., etc., etc. My code and the exception is listed below.  Any thoughts BTW, I'm using SQL Server 2005 if that matters. Thanks in advance for any help. - Bruce   ReportingService rs = new ReportingService (); rs.Credentials = System.Net. CredentialCache .DefaultCredentials; // Render arguments byt ...Show All

  • .NET Development Optional value type pointer/reference parameter during COM interop

    Hey, I am facing an interesting interop problem that I haven't found a solution for yet. Let's say a COM method takes a pointer to a simple struct: HRESULT Foo(LPBAR pBar); Let's also say that this parameter is optional and the call pInterface->Foo(NULL); is perfectly valid. Now, if the structure BAR is defined in C#: [StructLayout(LayoutKind.Sequential, Pack = 4)] public struct Bar { // ... }; and the COM interop method call is also defined: [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public void Foo(ref Bar); In this case, there is no way to be able to call Foo(null) in C#, although it would be valid. The question is: how do I let the Marshaler know that it should pass ...Show All

©2008 Software Development Network