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

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

NICZ

Member List

Yogesh Kumar Dhiman
DavidY - MSFT
Aquilegia
zingsb1
paulbihs
Usai
TheBlackhorse
CMOYA
Hidenori Yamanishi
Toan
notwen
CSDeveloper
user11
JonCole
TylEray
nokushi0
Will Stott
Caleb Widmer
R1ZWAN
chjmiller
Only Title

NICZ's Q&A profile

  • Visual Basic Using MSChart COM Component in VB.net

    I have successfully used other some 'Com' components in VB.net, eg 'Flexgrid', but have failed to get 'MSChart' to  work, without bringing up an Operation  Exception, the details of which are: "Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on.".  I think I understand  what it means, but how do I fix it I had the same problem and had to use Win32 API calls to solve the problem. The following C# code worked for me: using System.Runtime.InteropServices; ... //copy the chart bitmap to the clipboard MSChart1.EditCopy(); Applica ...Show All

  • Software Development for Windows Vista Filter Development

    Hi, I want to develop a filter that seems InfTee (filters samples at SDK). Well, we know that "Infinite Pin Tee Filter" delivers the same sample frame of input pin to all of the output pins. So, my application needs that this filter delivers the frames for one especific output pin that it set. It would work like a "switch", the application set the output pin that this filter should deliver a sample(frame). I’m wondering if that modification is simple. Anyone could help me, please   This should be quite easy, I would thin ...Show All

  • Windows Forms How can I find out which TabPage is active?

    I have five tabpages in a tab control. I would like to find which one is active (front) and assign to a tabpage variable for further work. How can I find it Preferably VS 2003 c# or C++ please. Thanks, Hi, you can use the selectedTab property to do this: TabPage t = tabControl1.SelectedTab;   ...Show All

  • Visual C++ Crash on delete and MSVCR libraries confusion

    Hi All, I'm trying to debug a strange crash at pointer delete (I'm porting an application from VC  2003 to VC 2005).     ntdll.dll!7d61002d()     [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]    ntdll.dll!7d681da1()     ntdll.dll!7d659cee()     ntdll.dll!7d642da9()   > msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x06610000)  Line 1807 C   kernel32.dll!7d507df5()     msvcr80d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x0ac5a790)  Line 19 ...Show All

  • .NET Development How to display WinForms faster?

    Hello, Does anyone know of any tips to insure that a Windows Forms program loads as fast as possible    It seems that .NET WinForms just do not load as fast as Forms programmed in unmanaged code. Thanks, Mister T Yes, I recommend creating a Native Image as well. Read this: http://visualbasic.about.com/od/usingvbnet/a/FWTools2.htm Regards, Vikram ...Show All

  • Visual C++ displaying a dialog over a game window

    Hi, We have a requirement of displaying a VC++ dialog over a game running in full screen mode on Windows. We are able to achieve this for normal flash based games running in full screen mode. However we are not able to do this for NTVDM(dos based) and other games running in full screen mode. Could someone please direct us as to how this can be achieved We are currently using SetWindowPos(&CWnd::wndTopMost, 700, 20, 0, 0, SWP_NOSIZE ); Thanks and Regards, Rupa There is no way to do this, because the screen is in exclusive control of the application in this case. THis wou ...Show All

  • Visual Basic Linklabel

    could some1 plz tell me how to make a linklabel open up a url in your default browser In the LinkLabel Click event stick something like Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked Process.Start(" http://www.microsoft.com ") End Sub This will cause it to go to the appropriate URL using the default browser. ...Show All

  • Visual Studio Team System Popup from portal page - "Unable to locate control: ctl00oReportCell"

    Next problem:  The Builds report and Quality Indicators report produce MessageBoxes with the text in the subject. (xposted on your blog entry) Thanks for posting this! Just a couple of points I ran into when doing these steps: When compiling your code above on a clean Beta 2 machine, I get the following errors: Error    1    The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference )    C:\Projects\AmaxoReportViewerHostExtension\AmaxoReportViewerHostExtension\Class1.cs    5    18    ...Show All

  • SQL Server Does anyone have a script to reset SQL login passwords?

    We are doing a consolodation whereby we are pulling 2 servers into one big one. We have a problem with duplicate logins and differing passwords. I want to be able to cursor (or tran ) through a list of logins resetting their passwords to a default. This will currently run under SQL 2000, but I may want to do it on our 2K5 server at some time - I feel the second part may be more difficult though. Does anyone have a script lying around in their armoury that will do this Thanks in advance Under SQL 2000, I think I can cursor through master.dbo.sysxlogins and reset the passwords using sp_password, : ...Show All

  • Windows Forms Close button problem...URGENT!

    Anyone know how I can conrol what happens when a user presses the close button on the for ( the x int the top right corner). My problem is that the form doesnt close when the button is pressed.  Please help!!!!!  Found that the code i tought fixed the problem earlier did'nt. Had to tweak it a litle more... protected override  ...Show All

  • Windows Forms KeyPress

    Hello all, I think my need is simple, but i just can't figure it out.  I have a datagrid that has code that executes with a double click is performed on a row. All i want to do is execute some different code when the CTRL key is being held down during the double click. Any ideas Thanks in advance. Richard M.      ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Vector3.Project() doesn't work.

    I guess I posted this in the wrong forum the first time... I'm trying to project the location of a mesh in world space back to screen coords. I've been searching around with no real luck. I've seen people say that you should use Matrix.Identity instead of your world matrix, but that makes no difference for me at the moment. It's not that the code causes an error, it doesn't. It's just that after projecting pos, it remains almost identical to what it was, off by about 0.5. Considering my values are typically in the hundreds, this is a minor rounding error. I get the exact same results using Unproject(). I would have expected that proje ...Show All

  • Windows Forms How to add Controls to ListView Control??/

    Hi Im trying to develop a calendar control that is similar to outlook. Initially I was planning to use a listview and add the controls on the listview whenever an appointment is created. But the control is exactly not added to the listview but to the form. When I change the size of the form then the controls obviously are out of place. I was wondering is there a way to add a control to ListView. Or is there any other control than listview that fulfills my requirments. Your help wil be appreciated. I'm using C# windows Forms. Maybe you can find something useful here: http://www.windowsforms.com/Default.asp ...Show All

  • .NET Development active application handle

    I am trying to transport a vb6 program to vb2005.  In vb6 I could use API's to do things like get a handle for the active application (enumWindows), get the location of the active application ( GetWindowPlacement ) , and the title text of the active application ( GetWindowText).  I have spent several days looking but have not been able to find anyway to duplicate thes functions in vb2005.  The API's don't want to work in vb2005.  Am I missing something or do I need to go back to vb6 to get the same fuctionallity   Does anyone have any suggestions" Thanks Dick Thanks Pa ...Show All

  • Windows Forms SQL Server Bugaboo

    Hi Gang! Here's the skinny: I am working on a simple db app that reads and updates a db on SQL Server 7.  When I ONLY have the connection string in the code, I can connect just fine.  When I add code to manipulate data, I lose the connection to the db. How can this be The code that causes the problem is below. Thanks for you help. ...Show All

©2008 Software Development Network