DoctorHarvey's Q&A profile
Visual Studio Debug a Web Service
Hi guys,I'm trying to debug a web service with VS Remote Debugger 2005 ,but when I try to debug VS opens the disassembly window and I can't debug my web methods. Any help will be aprecieted Can you verify that you have the PDB files (symbol files) loaded for the web service To do that, open Debug -> Windows -> Modules. Find the DLL that your web service is in and check that the symbols have been loaded. Habib Heydarian Program Manager Visual Studio Debugger ...Show All
Visual Studio In memory Image to Crystal Report
Hi, Need someone to verify if this is possible. I've done a search for images and Crystal Reports on the forum and found most question where related to reading the image from file or as a blob. Here's another angle. I have a data row in a dataset that contains the information I need to report on, generating a report for these data items should be fine. Based on the information in this data row an image is generated dynamically in-memory, so for example if datarow.item(0) = value then draw text n on image, if datarow.item(1) = another value draw text n1 on image, and so on. Eventually I end up with an image that I can draw to a fo ...Show All
Visual Studio Team System To test or not to test
Should I test my application before deploying it to a production environment The TDD principles says that you have to code tests first and then your code. Testing (any kind of testing) is fundamental in order to measure and certify the quality (not business quality) of your application. Then you should test always... Pierre ...Show All
Software Development for Windows Vista sdk install failure on Win2003 security warning dialog
Hi, When the SDK Setup Wizard attempts to launch WinSDK-x86.msi Windows 2003 presents the following window. --- - Security Warning The publisher could not be verified. Are you sure you wan to install this software Name: WinSDK-x86.msi Publisher: Unknown Publisher <Install> <Don't Install> --- I click "Install" and the SDK Installer immediately goes to the "Installation Failed" state. Is there a way to deactivate the publisher check I've looked through Administrative tool "Local Security Policy" and Control Panel "Internet Options" and it doesn't seem immediately o ...Show All
SQL Server Can the SQL Server 2005 be installed on Windows 2003 SP1?
I recently attempted to install Windows 2003 SP1 on a machine on which someone had previously installed SQL Server 2005. The build number for the SQL Server 2005 installation is 9.0.1116. (BTW, which CTP is this build number ) The installation of the service pack seemed to go okay, but I soon got calls from users reporting that they could not log in to the instance. I investigated, and discovered that the SQL Server service had not started. We were unable to start the service, and had to remove SP1. This was the message I found in Event Viewer: Event Type: Error Event Source: SQLDUMPER Event Category:&n ...Show All
Visual C# RS232, convert string to hex string
Hi all, I have my device that put out to RS232 port by hex format. I try using write code to receiver its information and when it display in string format, i can understand , such as : " Uay <00>€€€€<00><00Uay<00>€€€€<00><00> Uay <00>€€€€<00><00>Uay <00>€€€€<00><00> Uay I€€€€<00><00>UUay €€€€<00><00> Uay <00>€€€€<00><00> Uay<00>c€€€€<00><00>‥Uay E€€€€<00><00>EUay€€€€<00><00> Uay <00>€€€€<00><00> Uay <00>€€€€<00><00> Uay <00>€€€€<00>< ...Show All
Visual C# How to serialize unexpected complex type contained in class being serialized.
Hello, hope you can help me, I can't get instances of SomeNode serialized using the XmlSerializer() public class SomeNode { public object Data = new CustomDataType(); } public class CustomDataType { ... } I'm trying to have a serializable tree-arranged collection of nodes, each node can hold an object instance of custom type (similar to the TreeNode.Tag property for example). When all the custom data is null I can serialize all the tree well (by serializing the root node - passing root node object to the method below). However when SomeNode.Data ...Show All
SQL Server query builder
hi friends i've one question is it possible to use SMO to replicate "Query Designer" programmatically i want to write a query builder for end users and am wondering which objects in SMO i need to use to achieve what i want. any ideas on this one much appreciated. Thank you very much for your help. You can use SMO for part of the problem, but not all. You can use SMO to obtain a listing of tables, columns, and views and various properties (e.g. keys, datatypes, and etc). But this is no way in SMO to provide it some tables and conditional statements to generate a query. Peter ...Show All
Visual Studio Team System Client for Team Foundation version control
Is there a separate client for Team Foundation version control, and if so what platforms (Windows, Unix, etc.) are supported Not all our developers work with Microsoft technologies yet we would like a single source control solution for everyone. There sure is! Take a look at Teamprise: http://www.teamprise.com/ ...Show All
SQL Server How to allow remote connections to SQL Server 2005 Express database
I've developed an asp.net 2.0 web app with vs 2005 and am using a SQL Server 2005 Express database. The app works fine locally, but after uploading to the remote web server the following error occures: 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) How do I go about granting remote connections to SQL Server Express Does the web server have to have SQL Server Express instal ...Show All
Visual Studio Express Editions TextBox (multiple line) & Databinding
In an attempt to do a project recently, I've bumped into a problem with textbox and databinding. I have a multiple line textbox and wish to display the address of a company. However the full address of the company is stored in multiple columns inside my database. When implemented, I can only display the street address onto my textbox. I'm currently databinding the textbox to the address field in my customer table. Is there a way to display more than one database column onto a textbox Perhaps bind more than one piece of data to the textbox Thanks hi, there are many ways to do that , the best way in my ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Beginning Games Programming
I wanting to start developing my own computer games and hopefully get job in this industry. I have good knowledge of programming for the web, and also basic programming knowledge of Java, C++ and 3D Studio Max. The only thing is I don't have a clue how a game is made or where to begin making a game. Looking on the net i have noticed C++ cropping up a few times on game developing books so i'm start strengthing my knowledge up here. But has anybody got any tips on where to start or a game is made in general, i mean how does C++, DirectX, OpenGL, and 3D Studio Max all fit in together any book/web site recommendations would be much a ...Show All
Windows Forms System Update Required
Hello All, I published my application using MSBuild which builds and publish the application. However when I tried to connect to the application from a client machine it errors out on the System Update Screen. The error messag was "This application requires your system to be updated to Microsoft.Practices.Enterprise.Logging Version 1.1.0.0" The dll is in the publish directory on the server. Any idea why this is happening Looks like this assembly Microsoft.Practices.Enterprise.Logging is called out as a prerequisite in the .manifest file, in which case ClickOnce expects it to be ...Show All
SQL Server Programmatically loop over variables in the variable dispenser?
In my custom task, I would like to loop over the variables in the variable dispenser, and only modify those that are of a certain type. Is this possible Thanks! I think you can use Me.variables(x).getType to get the type of each variable. If that is not correct, you can define variables name sXXX for string, iXXX for integer, etc. Then parse the variable name, get the first character and determine the variable type. ...Show All
Visual C++ COleDateTime::Format asserts for years < 1900 in VC 2005, bug?
Does anybody know if this is a bug in the new VC 2005 libraries int _tmain(int argc, _TCHAR* argv[]) { COleDateTime datetime; // defaults to 1899 datetime.Format(L"%Y-%H"); // generates an ASSERT return 0; } Code that uses this construction works fine in VC 2003. COleDateTime should be able to handle years from 100 to 9999. Thanks, Victor This is a duplicate of another post that the libraries folks are currently looking into.They will post a reply at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=140536&SiteID=1 . Thanks, Ayman Shoukry VC++ Team ...Show All
