erichan's Q&A profile
.NET Development Deserialization Problem
hi I am communicating with asp.net page by my application at client side... client send data to asp.net page........ at client end i serializes the data to the stream and on server data is recieved and i stored that in a file... but when i try to deserialize data from stream directly or from filestream ..error comes to client application " Internal Server Error (500)............" i have searched a lot but did not find a single example of such type.. all examples are of simple serialization and deserialization........I have studied a lot on the web that assemblies on client and server side should be sa ...Show All
.NET Development Creating and Setting Environment Variables during Installation
Hi, I want to create and set environment variables during the installation of an application that is written in VB.NET using VS2003. (using the standard installer) I need to create 4 of these variables that appear in the system variables list of windows. Does somebody out there have some sample code that will show me how I can achieve this Any help would be greatly appreciated. Regards, Matt One option is to set them through the registry key: HKEY_LOCAL_Machine\System\CurrentControlSet\Control\Session Manager\Environment. Use the installer project's Registry editor (in VS.NET IDE) for this. HTH. ...Show All
Windows Forms Need help consuming web service
We have a vendor who created some web services for us, but I don't know how to consume them. I created a reference to the .asmx WSDL file, and it reads it ok and creates all the appropriate files. What I don't know is how to call this webservice, and pass it field values from my form, and then display the results. For example, one  ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vsync and timer problems
It seems that using a PresentInterval of one in windowed mode causes my application to miss frames periodically. About 1/10th of a second every couple of seconds. This doesn't happen in full screen mode. Now what's really weird is that if I hibernate my computer with the program running, when it comes back the windowed mode doesn't vsync at all. I get about 30 FPS with lots of tearing, and Present() taking lots of time (sometimes 40 milliseconds). Full screen mode still works. Switching back to windowed mode (tearing down the DirectX device, and creating a new one) doesn't solve the problem. It still doesn't sync. Re-running ...Show All
Visual Basic class library
Could some who is already familiar with the developement environment please tell me if it is possible to build class libraries as a compiled dll file, or is this restricted to the full versions like 2003 was Thanks for any help.. I currently have a universal subscription and use the pro version of 05, however, i have previously installed the "Standard" version 03 and did infact try to create a DLL...can't from within the environment...so i tried opening a DLL project created with 03 pro in the standard and it would not even open! Personally for any one who is serious about programming, it is just one more re ...Show All
Visual Studio Team System What is the MSDN Visual Studio 2005 Team Suite "Trial" Edition?
Hi everybody, Today I found the Visual Studio 2005 Team Suite Trial Edition in MSDN Subscriber Downloads. I am a MSDN Universal subscriber and have transitioned my subscription to get access to the Team Suite for Software Developers edition. Maybe anybody from Microsoft can clarify: - What is the "trial" meaning Usually MSDN software is not limited as towards features or usable time - Is the trial edition the one which I get due to the transition Best regards Ralf In theory... This trial is fully functional but limited to 180 days. Realize that this is Team Suite, however, so you might end up ...Show All
Windows Forms Inserting Data to Word 2002
Any one know how to insert particular words to a word document from an sql database DoEvents SendKeys ",~~" ActiveDocument.MailMerge.OpenDataSource Name:="" ActiveDocument.MailMerge.ViewMailMergeFieldCodes = False I am trying find the path of a sqldatabase but every path name i give it seems to not be recongnized by the VBA in my ms word document.....I want my ms word document to pull data from a sql server db and help ...Show All
SQL Server Unable to retrieve TransSubscription.DistributionJobID using DMO on SQL2005
Using DMO to look up the distribution publisher, the publishing db and the publication name appear to be working. This is accomplished with the TransPublication dmo object. We receive some information from the TransSubscription object, but not the DistributionJobID. We get the correct subscriber count, article count, publiser name, subscriber server and subscriber databasename. The DistributionJobID is all zeros, (00000000000000000000000000000000). SQL2005 9.00.2047 with or without the backward compatible objects installed. The objects and code has been working with SQL2000 for two years. It is failing dur ...Show All
Windows Forms Binding context
i have a problem with using binding context(ds,"tablename").addnew. it is giving me the error because of the "cannot allow nulls exception". can someone post me the correct way to use binding context.addnew when using database constraints Are you using ADO.NET Also, is the "AddNew" throwing the exception or is it during the commit Joe Stegman The Windows Forms Team Microsoft Corp. This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual Studio Team System Error 28703
Hi, I have a problem during the installation of Team Foundation Server, the error is: Error 28703. Unable to connect to the SQL server. Please check that you have the necessary permissions and the SQL server process is running on the data tier. See the setup logs for more information. In spite of this I can connect from another pc to the SQL Server. I can conect to SQL Server using the user TFSERVICES During the installation I'm using the user TFSETUP. Somebody can help me, thanks. I am facing the same problem with the same error message while installing TFS. Error 28703.Unable to connect to the SQL se ...Show All
Visual Basic Moving an imagebox
Hi I have a form and on that form is a imagebox, how can I make the image box move from the left of the form to the right of the form Add a timer to your form. In the timers event move the imagebox a little to the right. Disable the timer when the imagebox is at the other side of the form. ...Show All
SQL Server Package variables in case of an Exception
Hi there, I may be blind, but I'm sure that I have seen a post about package variables 'ExceptionMessage' and 'ExceptionCode' or somehow which are only available when an Exception occurs. I cannot find it anywhere :( If there isn't any then the question is: Can I read out the message and the code of an occurring Exception e.g. from a Script Component/ Custom Task which is controlled by an error constraint Can someone help Fridtjof Fridtjof, The best way to do this is place a TRY...CATCH block in your script component. In the catch block you can raise an OnError event containing the error message. Loo ...Show All
SQL Server sa user account info
i usually use the windows authentication mode when accessing my sql server but now that i need to use the SA account i can't seem to remember the password. is there any way that i could just reset the password for the SA account Hi, if you are able to log in using Windows Authentication as Administrator then you can change the password of SA account. Regards ...Show All
SQL Server cannot establish a connection in sql server 2005 express
hi all here is the following error, what should i do. TITLE: Connect to Server ------------------------------ Cannot connect to KANGALERT\SQLEXPRESS. ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1) For help, click: http://go.microsoft.com/fwlink ProdName=Microsof ...Show All
Visual Studio 2008 (Pre-release) Using Indigo from a Web Browser Application
Hi! I'm building my first Web Browser Application (using the February CTP), and I got everything running smoothly from my dev server. Now I need the app to contact the server - let's say to validate a username and password. I have done similar things from Java Applets and Flash applications using Web Services. Is this still the way to go Ie. the "Indigo" way And if so: How is it done I'm grateful for any information, be it direct answers or links to relevant resources. Best regards, Billy Porter In the first release WCF (Indigo) will not support partial trust applications, so it is not ...Show All
