Software Development Network Logo
  • Windows Live
  • VS Team System
  • Microsoft ISV
  • Architecture
  • .NET Development
  • Game Technologies
  • Visual C++
  • Visual C#
  • Visual Studio
  • VS Express Editions
  • Smart Device
  • SQL Server
  • Windows Forms
  • Windows Vista
  • Visual Basic

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

GlennPierce

Member List

bikeman123
Gokhan_Varol
Razza
SmSm241
Johnny O
MarcBeuret
stan_mitchell
Pedro J. Molina
Krey
Beethal
Thorben
Hal Kilmer
kplaner
Al Lee MSFT
PWStevens
Phillip Putzback
Robert Liu
marcusaurelius
Keyrus
Graham Harrison
Only Title

GlennPierce's Q&A profile

  • Visual C# Timeout expired in SqlCommand.ExecuteNonQuery (insert) for SQL Server 2005

    Hi, I am upgrading from VS2000 & SQL Server 2000 to VS2005 & SQL Server 2005. One of my massive programs has an exception after a lot of inserts to a certain table during insert via SqlCommand.ExecuteNonQuery: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) ...Show All

  • Windows Forms Menus not fading in/out in VS2005 / .NET 2.0

    Hello, I'm using VS2005 Pro July CTP with the .NET Framework 2.0 that ships with it. Things are generally working well but I have noticed that I am not able to get the fade-in, fade-out style/animation on my menus... including menus from a MenuStrip as well as context menus. Of course, the feature is enabled at the OS level, and all other menus fade in appropriately (including Office 2003). Is there some default option that I am overlooking, or is there a known issue with this I have tried experimenting with the RenderMode option, but still can't get the fading. I appreciate the help, --Mike I filed a bug: ...Show All

  • Visual C++ How do I create an embedded cursor?

    I created a .cur file.  How do I embed it into the exe file so I can create a Cursor object. (e.g.  mycursor = gcnew Cursor(GetType(), "MyCursor.Cur");  Thanks, kenny. Hi, I can't seem to find a better way... Sorry... BTW, there's a new syntax on accessing .resx files: ResXResourceReader^ reader = gcnew ResXResourceReader("Form1.resx"); IDictionaryEnumerator^ loop = reader->GetEnumerator(); while (loop->MoveNext()) {    DictionaryEntry^ id = safe_cast<DictionaryEntry^>(loop->Current);    if (safe_cast<String^>(id->Key) == "mycur") {   ...Show All

  • Microsoft ISV Community Center Forums Multiple login to one MSDN subscription

    Hi, Can I give my employees access to the company msdn subscription but using different login name and password for each one Or I only can have one login name and password Thanks. This post is interesting, though I'm in the opposite situation. I'm the employee. My boss has given me a couple of MSDN disks to use - but I never thought about asking for his credentials to the site. As an employee of a subscriber, might I be allowed to use the site Let's say that my personal interests overlap my professional interests. Meaning, I would LIKE to use some things that aren't necessarily job-related. Or, more a ...Show All

  • Smart Device Development CABWIZ/Makecab problems

    Hi all, I'm having trouble building a CAB file for a CF 2 project. Done the usual steps,  Added a Smart Device Deployment project to my solution, set its propertys, go to build and Always get back a message saying ; Error: CAB file "C:\Documents and Settings\DAVE\My Documents\Visual Studio 2005 \Projects\Project1\DeploymentCAB\Release\Project1. CAB " could not be created It's really annoying, I dont want to have to go back to using 2003 to build projects as I really like the new features in CF 2, but if I cant deploy them correctly, then theres no point. Any thoughts/comments appreciated. Dave ...Show All

  • Smart Device Development Hiding Menubar

    Hello I have an PPC 2003 App (.net 2.0 VS2005Beta2)  which normaly doesn't use the menubar. I'd like to hide it. It worked till now I added another Dlg window where I enter some information because of this I need the SIP and because of this I have a menubar (but I only need it in this special Dlg). But now I have the menubar also in the MAIN Window!! I'm still having a similar problem with fullscreen Applications. I posted it here Fullscreen App but I didn't get it working :-( so can somebody help me regards Norbert I've seen a similar effect when trying to keep a form fullscreen, and then displaying another form. Had to c ...Show All

  • Windows Forms Control placement when Inheriting forms BUG??

    Ok I found something really mind blowing. If you build a form and put some basic controls (basically building a template) and then compile it to a DLL. You then reference it in your project and use it as a template (you inherit the form in the dll).  Now if you were to view the windows designer code (which tells you not to change it)&nbs ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. using Microsoft.Samples.DirectX.UtilityToolkit

    I just started working again on a game I had been writing and abandoned for quite a while. I have managed to get it working with the latest release of the SDK but now I have run into a problem trying to add a new UI. Im am trying to add some of the the controls from the customUI tutorial that came with the SDK . I added "using Microsoft.Samples.DirectX.UtilityToolkit;" to my code but of course the compiler didn't reconize Microsoft.Samples... After some googling I realized I had to include the files from "Microsoft DirectX 9.0 SDK (October 2005)\Samples\Managed\Common" in my project. the problem is when I do this and try to compile I ge ...Show All

  • Visual Basic Running Application from CD Rom

    Dear All, I'm developing a picture viewer program in VB.dot net 2003 with Access Database. I wanted to deploy the application into CD rom. the users of the program should not install into their pc's. It should run automatically from CD rom without installing database and applications into the user's pc's. How can I do this Please. any project sample very much appreciated. Note: Already I have the database and the program. Only I wanted to know how to do the deployment as above   Thanks a lot in Advance   you can run a .net app from a pc no prob, and have it read images from a dB on the CD too, but you will have ...Show All

  • .NET Development Unexpected program closure

    I am working on a large application written in VB.Net 2003. Sometimes the application just closes for no reason, without any warning or error messages. The application does not go through the standard closedown code - it's as if execution just stops. Does anyone know of any circumstances where this could happen, i.e. possibly framework bugs Or point me in the direction of debugging help! Thanks! Mark Are you sure no shutdown code is running There are at least 2 ways this can happen: 1. Something forcibly + rudely closes it (eg, TaskMan : EndProcess)  2. when an unmanaged thread has an 2nd-chance stack-o ...Show All

  • Visual C# Problem about Control's SetStyle

    I create a component inherit from UserControl,now,when i use SetStyle in initializing instance,code like this: SetStyle(ControlStyles.DoubleBuffer,true); SetStyle(ControlStyles.ResizeRedraw,true); SetStyle(ControlStyles.UserPaint,true); SetStyle(ControlStyles.AllPaintingInWmPaint,true); but,when use this component,it seem work well when set this small size,when i set size as 30000,30000,it contains a error:System.ComponentModel.Win32Exception but i think this SetStyle it's needed,how can i do with this problem What you're seeing is the failure to create a memory buffer of that size.  When you set double buffer = true, there is ...Show All

  • Windows Forms ListView in dotnet: Getting currently displayed items at scrollbarposition

    Hi, how can I get only the items that the user actually sees To be more exact: The items that are shown in the client area at the specific scrollbar position the user currently has set. Greetz, Sven. If you are using the ListView in details mode: Use the ListView.TopItem to get the first item currently visible in the list. Then call ListView.GetItemAt using x=1, y=ListView.ClientRectangle.Bottom - 1 to get the last item currently visible. ...Show All

  • Visual Studio Express Editions export whole program/project to work on another pc?

    hi dudes, sorry i'm very much vb.newby... can someone please explain how i can export my project i'm writing in spare time at work to my home pc, intact with all code and interface design in place please in vb.net express i have tried saving the project and then copying the whole project folder home but this doesn't seem to work properly when i open a file - there's so many, anyway! another thing i thought i might try was to export project template but the descriptions it offer for the two choices from it worry me this action may not be appropriate either thanks for any advice from any one, matty Squeakstar, ...Show All

  • .NET Development Calling a WebReference operation name the same as the Web service name

    In the WSDL below, the Web Service is "CalcService" and it contains an operation also called "CalcService". When adding a WebReference to this WSDL, the proxy generated (CalcService class) contains a "CallCalcService" method for the "CalcService" operation - persumeably because a method "CalcService" would be mistaken for a constructor. Calling the "CallCalcService" method tries to invoke a "CallCalcService" operation on the Web Service, which doesn't exist. Calling the other methods on the proxy work fine. Looking at the code with Reflector, the method passes the "CalcService" method name to SoapHttpClientProtocol.Invoke(), ...Show All

  • Visual Basic Updating underlying table

    I have a form based on a BindingSource. The text controls' Data Source Update Mode are set to OnPropertyChanged. The FormClosing method (I almost said "event") has the line Me.nameBindingSource.EndEdit() Changes to the data in the fields on the form are not saved when the form is closed. How can I do this The BindingSource object allows binding and navigation of the underlying data.  There should also be an associated TableAdapter object.  You need to call the Update() method of the TableAdapter and pass it the updated data. (This is assuming you're bound to a database.  ...Show All

©2008 Software Development Network