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

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

George2

Member List

abhishek_6023
Jean LeFrancais
Vivek S
SPDOTNET
davros51
brohans
eriawan
Tambra
Landon Parks
charlestek
MJSJ
vbasp
naxtell
uncleschmidty
RyanB88
andyedw
format1337
stubs
Ghoort
lavez
Only Title

George2's Q&A profile

  • Windows Forms TreeView doesn't cancel user check

    Hi, I have a tree view which holds directories and the state if the content is installed or not. The user should not change the state of the CheckBox - this is done by code. But if the user clicks quick enough (first double click is the encounter of this behaviour) the checkbox changes its state. This is my code to test that: private void tvDirectories_BeforeCheck(object sender, TreeViewCancelEventArgs e) { e.Cancel = true; } With this code - I cannot set the checkbox with code. But the user can that (after first double click). What's wrong with this code Thanks in advance. This is documented behavior of the .NET ListView control. It is on the "to fix" list but without a ETA ...Show All

  • Visual Studio Express Editions Snippets with vb.net express

    I am trying to create a custom snippet (of a set of statements that I retype and retype). I looked up the subject under the help menus in vb.net express and got the following set of commands to start the progress. I'm a little lost. There is no new menu under file (just new project). I have looked under project templates and also new item templates and cannot find an xml file option. Is there a seperate way to do this with vb.net express Creating an .snippet File Before you can begin writing your code snippet, you must create an XML file with a .snippet file name extension. To create a .snippet file On the File menu, click New and then click File . Click XML File and then click Open . On the File men ...Show All

  • Visual Studio Dynamic Graphic Location does not work

    I use Visual Studio 2005 with Crystal Reports, and have a 'path' field where I store the absolute path of some images. I used the Graphic Location formula to change the image path for every record, as follows: formula = "C:\Inetpub\wwwroot\v2\catalogimages\"+{TestReport.Κωδικ : prodid}+"_1.jpg" The path is correct. When I use the same path in Explorer I get the image. However, when I run my report the image does not refresh and I see the default image (as if the file is not found) For testing reasons, I have also set the image to be a hyperlink pointing to a file using the same formula with the exact path, and when I click the image I get the correct image! How can I refresh the image object to show the correct image ...Show All

  • SQL Server Post Hotfix error

    I am getting the following (MOM) error on 3 of my databases anytime I initiate a backup of the mdf. The database seems to backup as expected. The one thing that has recently changed is I implemented MS Hotfix 2187 on my SQl cluster over the weekend. Severity: Critical Error Status: New Source: MSSQLSERVER Name: Commit record has already been distributed. Check DBTABLE Description: Unable to expand message 17055 [-1073724769] 18264 Database backed up: Database: XX03PLUS, creation date(time): 2005/12/06(18:38:50), pages dumped: 23026, first LSN: 18761:44:1, last LSN: 18761:46:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'G:\temp\ar03PLUS_fromVCforK1.bak'}). thanks in advance, Jerry ...Show All

  • Windows Forms Prerequisite not working?

    I'm trying to build a setup for my application using a Windows Installer project. I'm using VS2005. My Windows application requires SQL Server 2005 Express, so I marked that as one of the prerequisites. I built the installer successfully and ran it on one computer running XP. It successfully detected that neither .net 2.0 or SQL Server 2005 Express were installed and installed both of them before installing my application. My application ran just fine and life was good. I then took the exact same setup.exe and setup.msi and ran them on another computer - also running XP. It didn't attempt to install either of the prerequisites, and seemed to successfully install my application. As soon as my app was launched though it failed with " ...Show All

  • Visual Studio Tools for Office Rules

    I am writting a outlook addin and wish to get the rules the user has created. How do I do this thanks Ralph Hi, Since this is a Outlook Object Model related question you will be able to get a better response if you posted the query to the Outlook DL below: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US Thanks. ...Show All

  • Visual Studio Tools for Office Word 2003 Add-in using VSTO 2005 SE - Action Pane - Runtime error "Object reference not set to an instance of an object"

    This error is thrown when the ActionPane.Controls.Add(UserControl) method is called in the add-in startup subroutine. Both the ActionPane variable and the UserControl variable have been instantiated at the beginning of the class "ThisAddIn". The exception (System.NullReferenceException) goes on to give the following breakdown: at Microsoft.Office.Tools.ActionsPaneInternal.HookUpSmartPane() at Microsoft.Office.Tools.DockableControlCollection.Add(Control Value) ........ Any ideas There does not seem to be a reference available to "ActionsPane". This is an add-in project not a document or template project. Documentation suggests that a custom task pane is possible at appli ...Show All

  • SQL Server Concatenating Fields With NULL Values

    Hey everyone, This is probably a very simple question, but I am just stumped. I am storing different name parts in different fields, but I need to create a view that will pull all of those fields together for reports, dropdowns, etc. Here is my current SELECT statement: SELECT m . FName + SPACE ( 1 ) + m . MName + SPACE ( 1 ) + m . LName + ', ' + m . Credentials AS Name , m . JobTitle , m . Company , m . Department , m . Address , m . City + ', ' + m . State + ' ' + m . Zipcode AS CSZ , m . WorkPhone , m . FAX , m . Email , c . Chapter , m . Active , s . Sector , i . Industry FROM tblMembers m LEFT OUTER JOIN tblChapters c ON ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. mesh scale and move problem

    hi all, How to scale and move my mesh in DirextX Best Regard, Usually managed D3D functions have direct reflections of their C++ counterparts... So in your case, it can be Device.SetTransform() and Matrix.RotationX() for example or something like: using Microsoft.DirectX; Direct3D.Device device; // Created rendering device. device.Transform.Projection = Matrix.PerspectiveFovLH((float)Math.PI / 4, 1.0f, 1.0f, 100.0f ); ...Show All

  • Windows Forms "A generic error occurred in GDI+." Exception occured when drawing custom items in ListBox

    I wrote a simple example just for purpose of some customized drawing on items. Here is the whole class definition, class MyListBox : ListBox { public void DrawCustomItems() { for ( int idx = 0; idx < this .Items.Count; idx++) { //Graphics graphic = Graphics.FromHwnd(this.Handle); Graphics graphic = this .CreateGraphics(); DrawItemState state = DrawItemState .Default; if ( this .SelectedIndices.Contains(idx)) state = DrawItemState .Selected; if (! this .Enabled) state |= DrawItemState .Disabled; Rectangle bound = this .GetItemRectangle(idx); DrawItemEventArgs e = new DrawItemEventArgs (graphic, this .Font, bound, idx, state, Color .Red, Color .Yellow); ...Show All

  • .NET Development How to use generated assembly?

    I have a dotnet dll name test.dll after using sgen I got test.XmlSerializers.dll Now my types in the generated dll are suffixed with “Serializer” keywork i.e If I have testclass I get testclassSerializer type in the generated dll. How can I use these generated types for deserialization hi It generates an error “unable to cast object of type class1 to type class1” - InvalidCastException. any idea how to over come this ...Show All

  • Visual C++ Is there a recommended standard name for a C++/CLI member function to free resources?

    I have just been learning about finalizers in C++/CLI and saw quite a bit of sample code that duplicated the same resource-freeing code in both the destructor and finalizer. It seems obvious to me that I should put the resource-freeing code in a single place -- another private member function (see sample code at the end of this message). So I have to questions: Am I doing the correct thing in this sample code Am I missing any important concept Is there a recommended standard name for the C++/CLI member function to free resources Many thanks for your help! - Kevin Hall ref class Resource { private: // Is there a recommended standard // name for this member function void FreeResources() { Console:: ...Show All

  • Visual C++ Windows Media Player - Visual C++ Runtime Library

    OK...I am not sure if this is where I need to post this, but it looked like the place. I am running Windows XP I have been trying to open my Windows Media Player 10 and this is the message that I get.... --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Assertion failed! Program: ...rogram Files\Windows Media Player\wmplayer.exe File: .\geiss.cpp Line: 509 Expression: hdc == NULL For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts (Press Retry to debug the application - JIT must be enabled) --------------------------- Abort Retry Ignore I have tried downloading WMP again, but nothing. The player was working O ...Show All

  • Windows Forms RowDataBound not firing

    Can anyone offer any suggestions on what to look for when my RowDataBound event is not firing. I'm just tying to see if I can change the row data: protected void GridView1_RowDataBound( object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType .DataRow) { e.Row.Attributes.Add( "onmouseover" , "this.style.backgroundColor='blue'" ); e.Row.Attributes.Add( "onmouseout" , "this.style.backgroundColor='white'" ); } } Should be simple, but this code does not appear to execute. Any ideas ...Show All

  • SQL Server xp_cmdshell and activation

    We are trying to use xp_cmdshell commands in service broker. If I kick off the process without activation, the process succeeds. If I enable activation, the tasks with xp_cmdshell fail. The xp_cmdshell task is either a echo command so that users know that we are processing a database, or a file copy. I used the TechNet article by Roger Wolter to create the queues and stored procedures. We will be working across domains that have one-way trusts. Wayne Yet another manifestation of the database Execute As context, as described here: http://msdn2.microsoft.com/en-us/library/ms188304.aspx . See thse series of articles: - http://blogs.msdn.com/remusrusanu/archive/2006/01/12/512085.aspx - http://blog ...Show All

©2008 Software Development Network