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

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

hmayer

Member List

maqk
GrayMatter Software
Ben Hall (UK)
Mervin Lobo
scubabbl
Orenbutn
christy_christ
mta37
siavoshkc
Deepsteep
Jae
Stuby085
suseela
PiaMaria
matthew2005
ManjuVijay
JorgeFC
Pavan Contractor
rnadella
Chris.James.Boyd
Only Title

hmayer's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. GeForce4 MX 4000: No vertex or pixel shader support

    It seems that 3D objects will not render for me. I get a black screen. I posted about this in an other thread but it really wasn't on topic. The spacewar demo does not render on this machine. I get a black screen with the overlay display visible. I have tried several of the demos posted here as well as the simple how to in the help file. None of these work. Someone suggested that my video card has no shader support. I did some checking and discovered that this card infact does not support programmable vertex and pixel shaders. Am I out of luck when it comes to XNA on this machine Can I not render a simple textured cube using the framework System Specs: Pentium 4 3GHz 1.5 GB RAM GeForce4 MX 4000 (nVidia Driver version ...Show All

  • Visual C++ Return value incorrect

    Hi, I've got a very weird thing in my program, const bool getRunning() const { Lock(); bool t = m_bRunning; Unlock(); return t;} Where m_bRunning == true; it returns false. ( lock and unlock handles the thread safety ) after the Unlock(), t contains true. but the return value is always false. even weirder, with code optimalisation on, the function isnt even reachable. it just skips it. //DEBUG 0041B5FE call Gameye::CApplicationInfo::getRunning (411677h) 0041B603 movzx ecx,al 0041B606 cmp ecx,1 ECX contains 205 after this. Please can anyone tell me whats going on Well, bool is usually tested for 0/not zero, that is if you write the following code: if (getRunn ...Show All

  • Silverlight (formerly WPF/E) Squeezing objects

    I was wondering whether it is supported to "squeeze/distort" objects into various affine and skeewed forms Basically what I wan't to do is squeeze an image (or any other object for that matter) into the following shape: ___________ / \ / \ / \ / \ / \ I would also need a variant the would require adding some skewing like this: ___________ / | / | / | / | / | or ______________ / / / / / / / / / / ...or anywhere in between these. (and no, I'm not talking about clipping :-) Any ideas on how to accomplish this are very welcomed! Here is an examp ...Show All

  • SQL Server SQL 2005 Server DDL Trigger Errors

    Greetings! I've been working on a SQL 2005 project, and have really been excited about the new DDL triggers. I managed to implement some database-level DDL triggers successfully. However, I keep getting an error when I try to create a server-level DDL trigger. For several of the event groups, I keep getting the following error: Msg 1082, Level 15, State 1, Procedure tr_Server_Audit_Security, Line 44 "DROP_SERVER_ROLE_MEMBER" does not support synchronous trigger registration. I can't figure this one out for the life of me. Here's a sample of the trigger I'm trying to create (BTW, this code works for database triggers, with some slight mods of course): create trigger tr_Server_Audit_Security on all server  for drop_server_role ...Show All

  • Windows Forms Getting Error "The type name 'ClientCaseInfoControl' does not exist in the type 'ClientAdjuster.ClientAdjuster'"

    I have written my first user control in Visual Studio .NET 2005. Because I am not interested in this user control being used in any other application besides the WinForm app I am writing it in, the user control is in the Windows Forms project. In design mode, the VS .NET IDE recognizes it, works with it, etc. However, when I try to compile the app, I get the error message: Error 1 The type name 'ClientCaseInfoControl' does not exist in the type 'ClientAdjuster.ClientAdjuster' D:\AMCI Apps\ClientAdjuster\ClientAdjuster\ClientAdjuster.Designer.cs (the name of my user control is ClientCaseInfoControl , and the name of the project is ClientAdjuster . I don't understand how the project could not be aware of a user control, that is w ...Show All

  • Visual Basic Listview remove multiple items

    I everyone... i've got this code to remove all selected items in a listview... but i like to know if there is any more simple code to do this ... My code: Dim i As Integer With frmMain.FeedsList For i = 0 To .Items.Count - 1 Try If .Items(i).Selected = True Then .Items.RemoveAt(i) i = i - 1 End If Catch End Try Next End With Thanks Jan is correct in both things she has said, iterating using an index in a forward direction will result in undesirable action as soon as you remove a item as now the indexes of all the remain items has changed. If you going to iterate using a index reference then you definately need to iterate in re ...Show All

  • Visual Basic Null Reference Exception

    I am having a problem with a multi-form application I am writing in VB .Net 2003. When I transition back from one form to my startup form, I get an intermittent Null Reference Exception. Sometimes it will work, moving back and forth from form to form with no problems for 15-20 minutes, and sometimes it will crash everytime. I have tried putting a try-catch block around the instantiation of the main form. It does not catch anything. The exception points to line 2 of the startup form, which reads: Public Class frmWelcome Not much to cause a problem there, I would have thought. I am attaching the code for bringing up the welcome screen in hopes that someone will see something I am not thinking of. Try Dim welcome As New frm ...Show All

  • Visual FoxPro How not to print the image if there is no image file?

    My data table contains an image field holding the path and file name of image files. In my VFP report, I dragged in an OLE control and difined in the " Print When " option as "!empty(image)", meaning print only when the image field has data there. and I checked " Remove line if blank " option. My purpose is not to print or display the image (OLE control) if there is no image attached. But it still display a big blank space or simply a blank sheet. Anybody can help Thank you in advance.   First, make sure that the other items in the detail band are set to adjust their position based on what else is there. Second, if there's anything next to the image that's not empty, the line won't be ...Show All

  • Software Development for Windows Vista How to hit test non-client buttons in Vista?

    The following code was added to a Win32 application's WndProc to hit test the minimize, maximize, and close buttons. The buttons are detected if Desktop Composition is disabled, but not when it is enabled. Other non-client regions are detected when Desktop Composition is enabled. Does anyone know of a work-around for this issue case WM_NCHITTEST: LRESULT lResult; lResult = DefWindowProc(hWnd, message, wParam, lParam); if (lResult==HTCLOSE) OutputDebugString(L"HTCLOSE\n"); //detected if Desktop composition is disabled else if (lResult==HTMINBUTTON) OutputDebugString(L"HTMINBUTTON\n"); //detected if Desktop composition is disabled else if (lResult==HTMAXBUTTON) OutputDebugStr ...Show All

  • Visual Basic how to set text box borderColor

    How to set some color to Border There is not any option provided to change the border color of the text box. If you want to do it then you have to create your own user control extending the TextBox Control. Best Of Luck. ...Show All

  • Software Development for Windows Vista Thread Handling

    Hello everybody, I just wrote a little test workflow to understand the thread handling of the workflow runtime a little bit better, I hope somebody could help me. In the main I wrote: static void Main(string[] args) { using(WorkflowRuntime workflowRuntime = new WorkflowRuntime()) { .... for (int i = 0; i < 25; i++) { //Here I set the breakpoint WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof (WorkflowConsoleApplication1.Workflow1)); instance.Start(); } Console.WriteLine("Back in Main, press Enter to exit."); Console.Read(); } } The workflow ha ...Show All

  • Visual Studio Express Editions turn off button highlight

    how can i turn off the button light when the mouse enters.I have a flat style button with an icon for picture i don't want it to highlight when the mouse enters it. Thanks If you expand the FlatAppearance entry in the button properties window you will see an entry for MouseOverBackColor. If you change this to be the same as the buttons BackColor then it won't "light up" when the mouse passes over it. ...Show All

  • SQL Server SQLexpress Certificates

    Hello: I have access to a microsoft certificate server and I have generated a server certificate for use in my SQLexpress installation. The certificate was installed into the personal folder of the local machine. The MMC certificate snap in can see it fine. When I use the SQL server configuration manager and look in the certificate tab and try to use the drop down to find the certificate so SQL express can use it, nothing shows up. Can someone please give instructions on how I can get SQl express to use the server certificate that I just installed Thanks. Larry Please check this blog and see if your certificate is valid. http://blogs.msdn.com/sql_protocols/archive/2005/12/30/508311.asp ...Show All

  • Windows Forms bindingsource position after table.AddRow(..)

    I would use the bindingnavigator's addnew method to create the new row. I would set the values in the datatable's tablenewrow event or the datagridview's defaultvaluesneeded event. ...Show All

  • SQL Server SharePoint "Set server defaults"

    Hi guys, I have a problem when configuring SharePoint and RS on two boxes. (If install everything in one box is fine) I have SQL SP2 + RS in one server and SharePoint on the other server. I've followed every step in the SQL 2005 Online Book to configure the RS and SharePoint including: How to: Install the Windows SharePoint Services Object Model on a Report Server Computer. (Done) How to: Configure Service Accounts (Reporting Services Configuration). (Done) However, I got an error when click "Set server defaults" in SharePoint Central Admin: An unexpected error occurred while connecting to the report server. Verify that the report server is available and configured for SharePoint integrated mode. In ReadMe of SQL S ...Show All

©2008 Software Development Network