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

Software Development Network >> Scott D. Nelson's Q&A profile

Scott D. Nelson

Member List

auto
danleis
sqlguy12
Visions.net
Rich Tebb
b0bd0gz
Six
Alexey Rokhin
N. Feldman
HMote
viv3
RonaldK
Steveinbeloit
Jon Braganza
Junner2003
vgrigor
Trisha1802
ysrini
kalprin
Manoj Verma
Only Title

Scott D. Nelson's Q&A profile

  • Visual C# I need a textbox to recall the last entry before it closed last.

    I am new to C# and have one problem with my application. I need a textbox to remember the last entry made to it before it closed. Say, if I type Hello World into the text box and then close the application. When I open the application again I want to see Hello World or what ever else I last typed. I imagine the answer is pretty easy, but I'm just not getting it. Any help would be great. In C# 2.0 (C# Express/Visual Studio 2005) it's quite easy. Take a look at this Code Project article that walks you through just how to do it. ...Show All

  • SQL Server How to handle report parameters of type DateTime?

    I have defined a report parameter StartTime of type DateTime. I would like to use it in my Chart as filter criteria for the date that is retrieved in my query to view the results beginning with the StartTime. So I defined in the Filter Tab: expression: =Fields!Date.Value operator: >= value: =Parameters!StartDate.Value A Preview fails because of different types string and DateTime. It seams to be the parameter that has to be converted to a string. The problem is that the query data are represented in the de-AT format: e.g. 31.01.2006 but even converting the date to a string using localizing formats do not end in a de-AT format but in 01/31/2006, probably because I am using english tools. Is there any easy solution to compa ...Show All

  • Visual Studio 2008 (Pre-release) Reduce Messages Size

    I have created an application that use a DataContract tag. I use a default DataCOntarctSerializer for serialize objects. I used a ReferencePreservingDataContractFormatAttribute for  serialized cyclics references. I used tcp Binding.   My messages size is too big. I want optimized a message size. I must increase a messagesize over 1 Mo and the real size of my objects is much smaller  than 1 Mo. I would like improve performances.   I  will like to know if somebody already had this problem Thanks       Can you show us what the message looks like over the wire You may have to go to basichttp binding but it is worth a look . ...Show All

  • Smart Device Development Autostarter

    Hello, I m newbie i want to launch the application automatically when i boot the device (imate sp5) I am using c++ for development purpose is there any method to register the exe and launch it after specific interval if any API or Code sample send me ASAP thanks in Advance Regards Salman Hi, You can use CeRunAppAtTime to run an application after some time. ...Show All

  • SQL Server How can I place a value from my dataset into the page header?

    My report has a parameter of "End_Date" which is used to create my dataset from a stored procedure. In the dataset, a column called "Begin_Date" is returned with various other information used in the report creation. Currently, the parameter "End_Date" is used in the page header as part of my report title. My user's whould also like to see the "Begin_Date" value in the page header. Both End and Begin dates are unique values occuring once per report run. How do I get the "Begin_Date" contained in my dataset as a value to be displayed in the page header title many thanks Thank you Brad for the response. Please excuse my lack of understanding. In the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Strangest 'Bug' I've Found Yet

    Hi, I'm still trying to draw large gridmap terrains on the 360 and so far am having a lot of success. Performance seems to be a lot higher than my 6800GT, perhaps by about a factor of about 4. The issue I'm having though is really rather strange and I've been wondering for the last couple of hours quite how it could be happening. I create a huge vertex buffer (as big as XNA allows before throwing an UnauthorizedAccessException at me) for the gridmap and draw the entire world (4million polygons) in a single draw call. Except the frame rate is good under some circumstances and bad under others, and the factors that make the frame rate plummet really shouldn't affect the frame rate at all. If I create only this one VertexBuffer and try ...Show All

  • Smart Device Development Debugging without ActiveSync -unable to get Visual Studio 2005 to cooperate

    Hi All, I need to connect a new device to my computer, and I cannot use activeSync to debug it because it has no usb or com outlets. I manged to connect it by LAN and pinged it successfully. So i wanted to use my lan connection and work by it on the device. The device cpu is "Alchemy au1550" I followed the instructons from this forum : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=447917&SiteID=1 and noticed that conmanclient2.exe that i used from the mipsii folder exited immediately, the one from the mipsii_fp folder got stuck at the command prompt. I assume that neither is compatible with my cpu. does anyone know where I can get a compatible version Thanks, Yariv Kimchi ...Show All

  • Visual Studio Menu item in Solution Explorer

    I am attempting to add a new menu item when someone right-clicks on a Project within the Solution Explorer. This was just my first attempt, and it isn't working, can anyone provide any suggestions I have included what I have in the OnConnection method. Thanks in advance. public void OnConnection(object application, ext_ConnectMode connectMode, object addInInst, ref Array custom) { _applicationObject = (DTE2)application; _addInInstance = (AddIn)addInInst; Command dosRiosCmd; Microsoft.VisualStudio.CommandBars.CommandBar cmdBar; CommandBarControl cmdBarCtl; if (connectMode == ext_ConnectMode.ext_cm_UISetup) { try { object[] contextGUIDS = new object[] { }; do ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I cant run the tutorials in the Aug SDK

    I just downloaded the Aug Directx SDK and I am trying to run any of the tutorials for Direct3D, but I always get a BadImageFormatException error. The line: using ( CreateDevice frm = new CreateDevice ()) Throws the exeption (This is from Tutorial1). However the EmptyProject runs ok. Any clues why the turorials are not running I think I have everything fully updated. -Matt I am running WinXP (64bit), and this is my VS version. Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 ...Show All

  • Smart Device Development Specification of performance requirements for PPC devices

    Are there any guidelines or examples for the specification of performance requirements for applications to be run on PPC devices Regards, -- Marcos Ruano ...Show All

  • Software Development for Windows Vista Directx.AudioVideoPlayback Issues

    I'm try to write a simple media player using these namespaces: Imports Microsoft.DirectX Imports Microsoft.DirectX.AudioVideoPlayback Objective: The player will repeatedly play the same video file. When i run the program the player play the video file (video background is black) without any problem. However, when I test on different PC (higher spec and better graphic card), 1st time the player play the file as normal, when it repeat the file again the video background color change to brighter. Does any come across this problem If you need further clarification please let me know. Please advice Thanks ...Show All

  • Visual C++ XML contents from Windows Clipboard

    Hi to all, In my application, i could able to retrieve the text data (CF_TEXT) from the clipboard, when it contains text data other than XML data. but if the clipboard contains XML data then i couldn't able to gather the information. can any one tell me how to gather the XML data from Clipboard. Advanced thanks for any help. from Gopinath MV A better place for such issues would be the win32 dev newsgroups at http://msdn.microsoft.com/newsgroups OTP Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual C++ Error in vector allocation.

    I have a large application that's been working for several years. Recently I was doing some work and I started getting errors every time I allocate a vector and use it once: vector<int> myvec; myvec.push_back(0); At this point I receive an access violation: msvcp80d.dll!std::_Container_base::_Orphan_all() Line 197 + 0x5 bytes C++ : Access violation writing location 0xcdcdcdcd Here's the code (the error line is bolded): inline void __CLR_OR_THIS_CALL _Container_base::_Orphan_all() const { // orphan all iterators _Lockit _Lock(_LOCK_DEBUG); if (_Myfirstiter != _IGNORE_MYITERLIST) { for (_Iterator_base **_Pnext = (_Iterator_base **)&_Myfirstiter; *_Pnext != 0; *_Pnext = (*_Pnext)->_Mynextiter) ...Show All

  • Smart Device Development Compensating for Deprecated classes Document View VS Spliter Window

    I have a legasy project that was written using a splitter window as its main window. It has 3 differnt views. Basically on top are somethgin akin to a directory tree list on the left with a file list on the right, and underneath it has a log message view. Apparently some standard says that this is not the correct methodology for presenting data on Mobile 5.0 and thus MFC will no longer support this. This leaves me with the option of rewriting MFC to put the support back in (I have not been fully successful in doing this) My second choice is to convert this to be an SDI with Document/View and either have 3 "documents" or 3 views of one document or some combination thereof. Has someone already done something like this I w ...Show All

  • Windows Forms Capture MouseClick or MouseDown event in WebBrowser Control

    Hi! Is it possible to capture the MouseClick or MouseDown event in a WebBrowser Control I tried but it seems that the events are not firing.... Thanks for your help. Jus Jessica, thanks for your answer. However, I want to capture the mouse events on the control even when there is no Url set (empty window). Background: I have created my own dialog designer and want to move the webbrowser control when I click on it. Thanks. Jus ...Show All

©2008 Software Development Network