Natalie Schelm's Q&A profile
.NET Development Closing windows form with SendMessage
Hi all...I'm trying to shell an external application, then close it using sendmessage. I was unable to make the application close, so I started searching the web. I found several examples, but have been unable to make them work. I've even tried opening/closing just notepad on my local machine, but have been unsuccessful closing that too. I'm including the test code, as you can see, it's very simple, but won't close notepad. What am I doing wrong Public Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" ( ByVal hWnd As Integer , ByVal Msg As Integer , ByVa ...Show All
Visual Studio Deleting files is unreliable
hi. (this is vss from vs2005 beta 2). when a file is deleted from a project by one user - why is source safe offering other developers that do a 'get latest version' later to restore that file why is it asking a question at all is this something that will go away in a later release it is also asking strange questions when a file was moved or renamed i think this is very unreliable - a second developer can easily undo the work of another developer, simply by answering the questions in the wrong way. is this by design why WM_QUERY thomas woelfer http://www.die.de/blog Hi Thomas, When user2 does a Get ...Show All
Visual Studio 2008 (Pre-release) Orcas release time...
Looks like it's currently slated for 2007, based on the products listed here: http://blogs.msdn.com/dcoe/archive/2005/11/11/491888.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX9 Multi Screen Apps losing focus
Hi, I'm trying to create a multi-screen ( 2, 3, 4 screens ) application with a couple strange parameters. Different screens may have to run at different resolutions, and may be placed anywhere ( above, below, left right ) in relation to the primary display. Right now my software works in windowed mode, I have no problems setting up multiple windows at different resolutions with different DX Devices. When I try to run my app in full screen mode, I switch the Present Parameters Windowed option to false, and pass in the primary hWnd to all the DX Devices I create, giving me a running full screen app at the correct ...Show All
SQL Server XACT_ABORT
What is the default value of XACT_ABORT Assume I set it ON in a stored procedure named A, and other stored procedures has no explicit setting on it, what will happen on a client program that calls A and other stored procedures Any SET option within a SP/trigger is valid only for the duration of execution of the SP/execution. They are automatically restored after control is transferred to the calling block. Some of the SET options like QUOTED_IDENTIFIER/ANSI_NULLS are persisted at the time of creation of the SP. So they do not have any effect at run-time. See ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/t ...Show All
Visual Studio How to support Code Coverage
We want to support Code Coverage for COBOL project System. Please tell us how to support Code Coverage with VSIP SDK. Please tell the topics about Code Coverage in VSIP Documents. Best Regards. ...Show All
Visual Studio Team System How to deserialize a webresponse to object using a custom extraction rule
Hi, I want to deserialize a webresponse to object using a custom extraction rule. What should i do. Web request is: POST /WebSite1/Service.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/HelloGoal" < xml version="1.0" encoding="utf-8" > <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <HelloGoal xmlns="http://tempuri.org/" /> </soap:Body> </soap:Envelope> My web rep ...Show All
Visual Basic Reading files into textbox
I need help with this little piece of code..am trying to read a file into a textbox.It is working with only some files.It is unable to show the characters of files like .exe,.bmp,... I want to create a text editor.(which should atleast open these sort of files).The code am using right now is.. ' starts here... FILENAME is actually a filename as string with the whole path Dim sr as new streamreader(FILENAME) textbox1.text=sr.readtoend sr.close 'Ends here.. Can someone help me I even want to use the encoding stuff(but later) & ...Show All
Windows Forms Related ComboBox with BindingSource filter
I have a form that shows 3 comboboxes and some more fields. These are Country/State/City. The binding source has only IDcity (not IDCountry and IDState) and somemore fields. I'm loading the main dataset and 3 more datasets for countries, states and cities. I've implemented on SelectedIndexChange on country and state combobox and did this for each one if (stateComboBox.SelectedValue != null ) { cityBindingSource.Filter = "IDState = " + ( int )stateComboBox.SelectedValue; & ...Show All
.NET Development How to insulate the client from poor network reliability?
We are developing some in-house ERP applications, that will use an WinForms UI and an IIS-hosted Web Service. The clients will be using a wireless network that is prone to alot of interference. I wish to ensure that the request and response are not corrupted due to network interference. What would be the best way to accomplish this I imagine some form of checksum on the SOAP messages would suffice. Is something like this built into web services via VS 2005 If not and I have to implement it myself, what would be the best way to go about accomplishing this FYI, I am accessing the web services via a proxy c ...Show All
Visual Studio 2008 (Pre-release) Database projects
is it possible to create a database project that uses DLINQ Or retarget a previous project to use linq I should say i was able to create a retargeted DB project that deploys successfuly to my DB. I dont have access to the libraries i need to use extention methods. Also the DLINQ mapping tool is missing. Are there plabs to integrate this into the db ps - As an alternative, Is there a way to add assemblies to the 'trusted' set of assemblies that are part of the sql server CLR integration ...Show All
Visual Studio check-out causes refresh of all (most) files in project
Hello, I'm using VS 2005 on an XP pro machine. I have a .resx file in a sub-folder on the project, used for localisation by most pages. My business partner and I are using sourcesafe over the internet. When I check out the .resx file (say by trying to edit) , sourcesafe does check-out, but I don't get access for 25 minutes while VS cycles through all the files that reference the .resx file. Any way of stopping this Hi, I don't know what VS is doing " for 25 minutes while VS cycles through all the files that reference the .resx file", but that doesn't sound like a SourceS ...Show All
Visual Studio Team System Work item assigned to multiple members of the team
How to assign more than one people to a work item Especially in the case of pair programming, where two people on a task is more a rule than an exception, would a solution for this problem be useful. I suppose, that one could change wit definition and remove the VALIDUSER constraint on the field, but that is not all. Even if you are able to enter the names of two devs that work together, that pair would be used as a opaque piece of info and the rest of the system (e.g. warehouse) wouldn’t account for two owners of the task when processing reports etc. Even more, I don’t know how such a solution would work in view of recent change ...Show All
Visual Studio sgen.exe failed due to spaces in keyfile's path. How can I work around this?
sgen.exe is getting called like this (complete outout can be seen if necessary, only putting here relevant info: [vmsbuild] C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\sgen.exe /assembly:"c:\Documents and ....dll" /proxytypes /compiler:"/keyfile:c:\Documents and Settings\dansan\My Documents\src\ProjA\060608-FixScripts\SolutionFile s\Development.snk" /compiler:/delaysign- [vmsbuild] The "SGen" task is using "sgen.exe" from "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\sgen.e xe". [vmsbuild] Microsoft (R) Xml Serialization support utility [vmsbuild] [Microsoft (R ...Show All
.NET Development web hosting
I have problem to find web hosting supporting the .net framework,and sql sever express. Does someone knows some hosting web site that support these tools. http://www.microsoft.com/serviceproviders/directory/default.aspx PromotionID=17 ...Show All
