narva's Q&A profile
.NET Development How to catch a key in windows
Hi, I need to activate my program if PrintScreen key is pressed and focus is on some else program. Thank you. Stay away from com objects. You can set up a keyevent monitor in you program, parse the input to determine the key pressed and directly call your program via a shell. The dotnet framework has all the classes you need to do this. ...Show All
Windows Forms Saving changes and new rows in DataGridView
I feel really stupid for asking this, but how do you get the new rows or modifications to the data in a datagridview back to the table I have a datagridview connected through a bindingsource. Whenever I add a new row, type in my data, then tab to the next row, everything I just typed in goes away. It doesn't work the way I expected it to work, so I need somebody to tell me how it really is su ...Show All
.NET Development I've never used .net, need help
I will apologize in advance for being a outsider coming in and asking you professionals to help me. I'm just lost at what I need to do. I had a terrible experience with a website developer company and so I was told I should just hire a programmer to create the program and then I can have it installed and a website designed for it's use. My problem is, now that the programmer has created it, they have sent me the program to install and test ...Show All
SQL Server MAS90 ODBC database to SQL 2005
Good afternoon everyone I am trying to import data from mas90ODBC DSN into my SQL2005 DB. IN 2000 I was able to connect to an ODBC DSN but it seems that this option has been deprecated in 2005. Can someone please provide me with the best step by step instructions on how to go about importing my data. Um... you probably should check out Sage Best Talk online because they deal with Mas90. I, on the other hand have ...Show All
Windows Forms CheckForUpdateAsync not raise event
I have a an application that check the availability of an update with clickonce, I use CheckForUpdateAsync method. Sometime CheckForUpdateCompleted is raised and sometime no, this is not even. I am not able to find the motivation of this irregularity. My code work, so the problem is not any time. Giuseppe Hi Guys Like above, CheckForUpdateCompleted is not being triggered in my main project, i created a very small app to test ...Show All
Visual Studio Team System Can work items be tie to share point?
Hello, Is it possible to tie work item to share point What I would like to do is update work items from share point. Thanks i working on win98 and vb6 i made app with it but when i try to make it to exe file the windows 98 give me an error (this program has prformed an illegal operation and will be shiut down) ...Show All
Visual Studio 2008 (Pre-release) The enforcing of the ordering of schematized data elements in B2
In B1, it was alphabetical-dependent. I was told that there will be an @ order at the datamemberattribute in B2. Is this proceeding My take is also that: Do allow validation / checking of ordering of data elements to be turned-off in case performance takes a compromise. See my blog post for more: http://www.softwaremaker.net/blog/EnforcingOrderingOfDataElementsWhenReceivingMessagesInWCFIndigo.aspx This is proceeding... :-) As to the abili ...Show All
.NET Development table variables, SQL Server 2000 and VS 2005 (ASP.net 2.0)
Hi guys i am having problem using stored proc that contain table variables while developing in VS2005. I use a table variable in one of the stored procedure: Declare @TempTable Table (RowNumber int IDENTITY PRIMARY KEY, Name varchar(50)) In VS 2005 when creating a table adapter it given an error saying invalid object @TempTable I some how tricked the VS2005 and created the table adapter, but when running the application and making the c ...Show All
Windows Forms Need help with a ListBox... SelectedIndex = -1 not working properly. Maybe i'm hallucinating.
I instanciate a dialog box like this, from my main form: /// <summary> /// Loads up the Brands Dialog Box /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void lnkBrand_LinkClicked( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e) { using (dlgBrand _dlg = new dlgBrand()) { _dlg.ShowDialog(); } } Then I have in my little dialog, ...Show All
Visual Studio DSL Tools Licensing
Hello, We are currently developing our own custom modeling language base on the VS DSL Tools. We understand we (as an ISV) need full Visual Studio 2005 DSL Tools licence but what will be the license requirements if an end-user uses our custom modeling language inside Visual Studio 2005 - Visual Studio 2005: which version (or SKU) - VSIP or VSIP redistribuable. In this case shall he need ay licence) - DSL Tools or DSL Tools redistribuable Thank ...Show All
SQL Server reporting services parameter problem
I have a report that uses as available values for a parameter a query. My problem is that the query return a list of available months, however, sometimes, i would like the user to choose null when they want to see all months in the report. but the query does not have a month null so null is not allowed. Is there anything I can do I cannot add a null record in the table itself. thank you, drey You can either allow null for a parame ...Show All
Windows Forms Bitmap object creation problem
I'm having a problem that I just cannot figure out...any help is appreciated. I added Bitmap1.bmp to my project using 'Add existing item' When I click a button, I execute this code: try { Bitmap bmp = new Bitmap("Bitmap1.bmp"); } catch(Exception ex) { ... } I catch an exception of Invalid parameter used. I've tried other file names, adding the path, other file types...basically everything I can thi ...Show All
Software Development for Windows Vista Limitation for simultaneous executing workflows
I tested with the Workflow Foundation Beta and tried to run as many Workflows as possible asynchronously runtime = new WorkflowRuntime(); runtime.AddService(new DefaultWorkflowSchedulerService(200)); The performance indicator did show a maximum of 25 even when I provided a higher maxSimultaneousWorkflows (e. g. 200). The default seems to be 5, because when I use the default constructor max is 5. When I use 2 the max in performance tool is 2. Is ...Show All
SQL Server MSSQLSERVER Error 17830
Hi, Please help me with this before I get crazy.... I have VS 2005 and SQL server 2005 installed on XP ( with SP2 ) I create a new web project. Make a SQL connection to my database and configure the advanced options. Drag gridview component to my form and configure it to use the connection with edit option checked. When I run my form I can scroll and view the data with no problem at all. Even edit works fine BUT the changes to the row NEVER gets ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Want to make a high end game
Can anyone tell me whats wrong with the free express versions I downloaded the C++ Express Edition Beta and I have been having trouble right from the start. How do I fix this fatal error C1083: Cannot open include file: 'windows.h': No such file or directory I tried downloading the platform SDK from microsoft and it didn't even want to install... ...Show All
