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

Software Development Network >> Weston Hutchins - MSFT's Q&A profile

Weston Hutchins - MSFT

Member List

Daigu
Maaloul
rtaiss
AntonioP
Matthew Lebo28574
JuliusY
Colin Macguire
NP Rudra
Sixon
Sarah71
Vladimir Chtepa
BlueBeetle
James Stetson
Remmie
god_of_coolness
Summoner
Lonnie Barnett
LazyGenius
abuck
loulou296
Only Title

Weston Hutchins - MSFT's Q&A profile

  • Visual C# How to create a LogFile...?

    Hi... I want to create a Log file in my application. I want to use this log file to put the text received & transmitted on my PC serial port throgh my C# application. I am receiving large text on my PC serial port. Is there is any special class to create a log file in C#. Thanks in advance, Vinay Thanks, It will surely help me... One last thing...wont that StringBuilder variable "theLogEntry" will cause any problem to my running application if data to logged goes beyond say 10000 or more lines... (means if my logged data becomes too large) Can i check file size or stringbuilder length by any chance(say 100KB)... If it is greater than this size then close first & ...Show All

  • Visual C++ Creating Owner Draw ListBox using Create function

    I have created an owner drawn list box as follows DWORD dwFlags = WS_CHILD|LBS_OWNERDRAWFIXED|WS_BORDER|WS_POPUP|LBS_NOTIFY|LBS_NOINTEGRALHEIGHT; m_ListBox.CreateEx( 0, WC_LISTBOX, _T("ListBox"), dwFlags, CRect(10,10,250,250),this, 0 ); But the DrawItem call is not happening to the listbox. Any clues Maybe you do not provide the important MeasureItem handler for your control, or the control does not contain items, or the control actually should be created with Create function ...Show All

  • Visual C# Capture Key Presses in Windows

    Hello, I would like to build an app that acts similar to ALT+TAB (a key combination causes a form to pop up, hide the form when the keys arent held down anymore) and I'm just wondering what I would need to do to capture keys in Windows Will I need to access the Windows API directly to accomplish this Are there any examples that somebody could point me to that show how to do something in C# based on a KeyDown in Windows Thanks! Adam, I'm not entirely sure this is possible in C#, but you may want to check out http://www.codeproject.com/cs/system/CSLLKeyboard.asp You may also want to look in to using SetWindowsHookEx in user32.dll. It's fairly trivial to call an external dll in C# (System.Interop). ...Show All

  • Visual C# My enumerator is not returning the count??

    Hi, I have created a class using the KeyedCollection: public class RobotPartKeyedCollection<T> : System.Collections.ObjectModel.KeyedCollection<string, T>, System.Collections.Generic.IEnumerable<T> where T : RobotPart { private RobotPart partToSearch; internal RobotPartKeyedCollection() : base(null, 0) { } public RobotPartKeyedCollection(RobotPart robotPartToSearch) : base(null, 0) { partToSearch = robotPartToSearch; } protected override string GetKeyForItem(T item) { return item.Name; } internal void ChangeKey(T item, string newKey) { base.ChangeItemKey(item, newKey); } public new T this[string name] { get { ...Show All

  • Microsoft ISV Community Center Forums Need help with a macro (not sure if correct site... thx)

    Hi! I'm using MS Word 2003 and am trying to create a macro to edit a very long file I have. The macro would make it so easy to fix, but I can't figure out how to create it correctly. I've been using the macro recorder so it records my moves. I had copied a word using ctrl+shift+left arrow and then tried to find the word again using the "find" function and then pasting what I had copied into the find function. When I open the macro, it is looking at the find function with the "text" of my previously copied information, i.e., "ARNP" rather than the new copied/pasted info from my next selection. (Does this make sense ) I'll paste the macro below for those who may be able to help. (All I want is to be able to fin ...Show All

  • Visual Basic How do you set the namespace for a form's resources in VS2005?

    How do you set the namespace for a form's resources I cleared out the root namespace setting in the project. I added the namespace to the source code in both form.vb and form.designer.vb. Then I added an icon to the form using the designer. When the project is compiled, the namespace is applied to the form but not the resources. When I run the project, I get this error: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. ... You need to make a project ;level reference to the assembly... Main Menu....Project....Add Reference And then from the top of the forms code file use an imports statement:(exam ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. missing Direct3D device???

    Help! I'm working on my first XNA Project: Learning how to work with 2D images/sprites. I follow the directions completely and I get this in the Main() module when it tries to access the Game1 module: Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater. I tried downloading the Direct3D 9.0 SDK extras package, but it didn't help. I'm stumped. Dan This really irritates me that their is absolutely no workaround! I'm creating a strictly 2D game without any pixel shading, and I was working on them before beta 2 with no problems at all. Now that its required its ridiculous! I found workarounds after it gets to the actual Game class, but mine wont get that far. ...Show All

  • Visual Studio Express Editions printing multiple worksheets

    The following works for mew to print a worksheet named "totals". But I don't know how to print multiple worksheets. Dim printer As String printer = oExcel.ActivePrinter() Worksheets( "totals" ).PrintOut(from:=1,to:=1 , Copies:=1, Preview:= False , activeprinter:=printer) I've tried: Worksheets( "totals" )("numbers").PrintOut(from:=1,to:=1 , Copies:=1, Preview:= False , activeprinter:=printer) & Worksheets( "totals", "numbers").PrintOut(from:=1,to:=1 , Copies:=1, Preview:= False , activeprinter:=printer) please help!! Put in a loop or call individually - in this example I'm previewing but seems to work just f ...Show All

  • SQL Server sql server SSL provider error

    Hi, I just started receving the error message The server was unable to load the SSL provider library needed to log in; the connection has been closed. SSL is used to encrypt either the login sequence or all communications, depanding on how the administrator has configured the server. see error message 0x2746. I read on therad that applying more memory will resolve the issue also someone talked about applying service pack 2. i am only getting thie error and i found that it could be locks, reindex on server from other sources but can you please suggest why this is happening i would really appreciate your help I would suggest to determine the performance issue by looking at few PERFMON counters for Disk and memory, then ...Show All

  • Visual Studio 2008 (Pre-release) getting the june ctp

    hi all, i just started researching WPF and am looking at building a fairly extensive demo application with it. from what i can tell in my few hours of reading about the subject the Vista June CTP is really the environment to be working in. i have downloaded the July CTP and installed the June CTP tools but it would be really nice to be able to use Cider. i dont understand why the June CTP was pulled from msdn subscriber downloads or if there is a way i can get my hands on a copy at this point but would be really interested in getting some more experienced opinions on how to get it or how to get started without it. All the samples i am finding seem to be done for the June CTP as well :P i was also wondering if anyone knew where i c ...Show All

  • SQL Server SQL Server Memory Consumption with SSIS?

    I've been working on serveral packages for the past hour and after finishing for the night I quickly wanted to check to see how much memory SQL Server was consuming on my laptop. It was using almost 500MB of memory. It typically hovers around 50-100MB when I'm not doing anything with it. Is this normal The answer very much depends on how much memory do you have on the system, and what other applications are running. SQL Server does like to use the memory if it is available (otherwise - why would you buy all that RAM - was not it to make SQL run faster ) so if you have enough free memory SQL Server can use some to cache its data. So check how much memory is free - if about 20% of RAM is still free, everythi ...Show All

  • Visual Studio 2008 (Pre-release) Toolbar in window title

    Hi! How could one place a toolbar (or perhaps any other control) to the window's title bar just as Office 2007 applications do My only idea is to not show the application window and simulate it in the client area... Thanks you would have to strip the style on the window - windowstyle = none and then youcan create your own header. theres one post on this blog http://pavanpodila.spaces.live.com/ ...Show All

  • Visual Studio Express Editions can't find solution

    I'm trying to send the solution of a website to someone but I can't find it. I used the search folders option and it's not there. I have three websites saved on VWD and only one of them has a .sln file. I don't know why the other two don't. Is there a way I can create a .sln file for a website Thanks. VWD and ASP.NET projects in VS 2005 do not use project files and instead are stored in a directory tree much like a website would be on a server (in other words they don't have solutions). If you are trying to send a website you should zip up the folder where the website is stored and send the zip file out. Let me know if this helps! ...Show All

  • Visual C++ about intellisense...

    Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra Hi We do not have C# projects. We have only C++ projects. We have around 200 to 250 projects in a solution... So how to disable intellisence in C++ projects. Thanks Chandra ...Show All

  • Smart Device Development TypedDataSet, Datareader or SqlCEResultSet

    Hi, I need to know whether using TypedDataSet when developing PocketPC applications is good practice.i really like working with TypedDataSet because it is quite easy but I'm afraid that I will have problems with the performance.I want to ask which is the bast way for dataAccess ,which is the best-TypedDataSe,DataReader or SqlCeResultSet and why. Thank you for the attention The very fact there are different ways to do it means there's no one-fits-all solution. All these ways have benefits and drawbacks so you should pick whatever's best for your scenario, time line and development skills. Perhaps little prototype would help you choose. ...Show All

©2008 Software Development Network