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

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

mclagett

Member List

boran_blok_edan
HSBF Lewe
JRQ
BlackMan890
PJBM
Tomasz K.
Robin E Davies
Terax
COREY H
oaix
FJohnston
EricGeorge
Steve Jackson
mwoehlke
黃泓量 Jeremy Wong
Laurent87471
HighTower
aureole
John J Stephen
Vyatsek
Only Title

mclagett's Q&A profile

  • Windows Forms Handling control non-client area in the designer

    I have created a control derived from UserControl, where I am drawing a border in the non-client area. The designer for this control is derived from ControlDesigner. I have two problems when dragging/moving this control around the design surface. 1) I don't receive any WM_NCPAINT message while the control is being dragged, so my border is not painted. 2) When the mouse down to start the drag is in the non-client area, it is ignored by the designer. Is there any way to get around these problems other than re-implementing dragging in the designer or moving my border into the client area Ken and Joey, Your comments have been very useful for helping me understand how this all works. In t ...Show All

  • SQL Server Slow Startup

    I have two pages on a particular website that are data driven by SqlExpress. The site is in the testing stages, so there is very traffic on the site at this point. The very first time that a data driven page is accessed, the response time is approximately 30 seconds. After that, the response on the data driven pages seems normal. The data queried is no more that 30 or 40 records. I did see the "slow startup from idle" thread on this forum - that thread suggested changing from user instances, but that's not an option here. My hosting service requires that I specify user instances in my connection string. Is this just something that I'm going to have to live with, or is there any way to speed up this SqlExpress "start up ...Show All

  • Visual Studio downloading the trial

    i was going to download the trial version until my teacher in my computer science class gets me a install cd to borrow. hes part of some microsoft organization where he can get his students the install cd to install at home, then return to him. anways. everytime i try to downlad it its in an img form, but when i click save, and i go to open it, its only 2kb instead of the 2.something gigs. i have nero and i heard it can causes some problems with img. help ...Show All

  • Windows Networking Development retrieving network interface IP addresses

    Hi, I need to overwrite the DSCP byte for outgoing packets on a given socket. Currently, I am enumerating interfaces with TcEnumerateInterfaces() and plan to use TcAddFlow/TcAddFilter() to add a flow with a new QOS_DS_CLASS object. However, I need to match the interface from TcEnumerateInterface to the one the socket is bound to by comparing IP addresses, and here I am running into a problem, namely that I don't seem to be able to interpret the NETWORK_ADDRESS correctly. The address I am trying to interpret is of type NDIS_PROTOCOL_ID_TCP_IP, so I casted it to a NETWORK_ADDRESS_IP structure, but the ulong representing the IP is coming back as 0xCCCCCCCC. My alternative that I haven't tried yet is to use the IPHelper API to find the interf ...Show All

  • SQL Server You are not authorized to view this page

    Our Reporting Services was working fine i think maybe the secuity update messed our server now we can't see out reporting default website we messed around with the IIS and we were able to get to show the home pages of the reporting services when we click on the report it gets "not authorized to view pages" we messed around more with IIS and get can't see the homepage of Reporting Services the secuity patch was framework 1.1 we did remove the patch but the same problem we are not sure if this was the cause or not anybody know what i can do to resolve not access the website and fix You are not authorized to view this page Need help asap Hello all, same issue as well. New install on Windows 2003 R-2 Server. ...Show All

  • Windows Forms Adding Tab Stops in RichTextBox

    I have a created a control which inherits from System.Windows.Forms.RichTextBox. I have a \t (tab character) in my richtextbox data. Is there a way I can have the RTB not act on it. Thanks, Madhu. If your original method doesn't work, you may try this - preview the key down and check if it's a Tab. The code is something like this: private void preview_key_down( object sender, PreviewKeyDownEventArgs e) { if (e.KeyCode == Keys.Tab) { SendKeys.Send("{BACKSPACE}TabTrapped"); } } Of course, you can replace "TabTrapped" with anything you want to show. But NOTICE: it doesn't work for the situation that you set the Text of richtextbox programmatically with '\t' in it. It wo ...Show All

  • Visual Studio Team System Load Test using Team Build

    We want to run a load test nightly and collect the metrics so that we can see if/how the performance of a web app under development changes over time. To that end we created a Team Build build type for a solution that contains nothing other than a test project that contains the load test. The load test was added to a test list for the solution, and the build type was configured to run the test list. When we build the build type the load test runs just fine (we can see the load on the web server), and the test completes with no errors. After the build completes successfully we view the build report, drill into the Results section, click on the test run, and then double-click on the completed test in the Test Results window. At this point we ...Show All

  • Visual C++ stringstream causes memory link VC++ 2005?

    This simple program seems to leak LOTS of memory when compiled in VC++ 2005: int _tmain( int argc, _TCHAR* argv[]) { for ( int i = 0; i < 100000; ++i) { ::Sleep(1); std::basic_stringstream<TCHAR> str; str << _T( "Current iteration: " ) << i; } return 0; } CRT: Multi-threaded debug or Multi-threaded I compiled and ran the same piece of code in VC++ 2003 and I don't see ANY leaks! Any ideas   Please help! Thanks in advance You can contact PPS through our suport page at http://support.microsoft.com/default.aspx . Make sure to let them aware of the bug link. Thanks,   Ayman Shoukry   VC++ Team ...Show All

  • SQL Server Number of Dataset per Report

    Hi I am creating this report which requires 50 datasets to be created. I was just wondering Is there any recommended number of dataset per report Or Number of controls per report I really dont want to create this big number of dataset per report but sometimes its difficult to explain client. Regards Amit Thanks Fang for your reply. I think I am not using much complex report. They are all simple queries but have to create separated dataset for each query. I will make sure that client use the best hardware configuration. Best Regards Amit ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. complete newb to XNA

    The only thing I am good at designing games right now is just putting good ideas down on paper and expanding on them. Their in lies my problem, I want to put my ideas to work and develop the game ideas I have and see if they would really work or if other people would really like them. So in very simple ways what are the best ways to learn how to use XNA, especially video tutorials since I am a visual learner. Video tutorials: here here 2 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX book

    Can someone reccomend a DirectX book for experienced OpenGL programmers Thanks, Bob From a personal note, the native DirectX API documentation is just splendid and should put you in the right direction. If you have a good graphics background coming from opengl should even be easier, it's all about finding the equivalents to what you already know. I would suggest trying to dig through the SDK docs and then if that fails, check the internet (google.com) for some tutorials, if that fails then go ahead and ask some questions on the forums, failing that, take a look at some books. Coming from a background where books aren't really accessible, I kinda got used to not relying on them. I hope this helps. Take car ...Show All

  • .NET Development Multiple database connections

    Hi, I am at a crucial junction of my application (using VStudio 2005 Pro, C# and SQL server 2005 Express Edition) where I need to copy data between different databases that my application creates. #1: Am I right in thinking you have to create multiple connections if you are copying data between the different databases (since SQL Server 2005 Express Edition doesn't have the advanced features of the higher spec releases) #2: How many connections can SQL Server 2005 Express Edition handle at one time #3: Can I make multiple connections to the same database Any rules on this #4: What's the easiest way in C# to handle multiple connections between databases (only one instance of SQL Server 2005 Express Edition will control the ...Show All

  • Software Development for Windows Vista How to pass parameter in ManualWorkflowSchedulerService

    when using WorkflowRuntime.CreateWorkflow, there's a overload, so that we can pass some parameter to workflow but, in statemachine workflow, if an instance already exists we use ManualWorkflowSchedulerService to RunWorkflow how to pass the paramter To answer you first question, even if you are using the ManualWorkflowSchedulerService.RunWorkflow, you still need to create the workflow using WorkflowRuntime.CreateWorkflow. So you can still pass the parameter the normal way. ...Show All

  • SQL Server We have a new white paper on Connectivity!

    Dear Forum Members, We've been working on a white paper targeting SSIS connectivity which we hope will help answer some of the key questions in the following areas : What are the SSIS components and their support level for ADO.NET, ODBC, and OleDB How to deal with 64-bit connectors what is supported, what is not Special sections on popular data sources such as SAP, Oracle, DB2, Flat File, XML. A comprehensive list of data sources and available connectors from Microsoft and other 3rd parties. You'll also find answers to why some of the things are the way they are today. Note that this white paper is currently under official editing and publishing in Microsoft. It'll be a while before it goes public off ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Need help with a generic Input code.

    I've been reading a bit about C# for a while and downloaded the XNA express just a while ago and now through the tutorials have a picture of my son for a test bouncing around a screen. I can't find anything telling me where to put a input file or how to make one. I see something about making something to get keys pressed but well, would love if someone would help me in the right direction. Thanks alot. Well I'm wanting someone to push(or shove) me into the right direction on how to add keyboard input to my game. I've read the tutorial but cannot figure out how it all figures in at that point. Appreciate anyone's help. ...Show All

©2008 Software Development Network