Martin Schmidt's Q&A profile
Visual C# VS 2005 hangs
Hi All, I am trying to create Desktop application that consumes a web service. But when I select "Add Web Reference" VS 2005 hangs. Why thanks, achu. I am using Visual C# 2005. I installed Asp.Net Ajax Beta 2. I reinstalled Visual Studio 2005 . Still it hangs when i click "add web reference". Firewall is under group policy. I am using XP with sp 2 Thanks Achu ...Show All
Visual Basic Working with Hex Value
Hi 2 all, I have a String that contains Hex Value Dim hexvalues As String = "AABBCC" I need to make this addition: AA + BB + CC = 231 (dec: 561) In a bit word i need a function that it calc Hex Values. How can i do ! "I have a String that contains Hex Value" Strings do not contain hex values. Strings contain characters. The Characters may represent binary numbers described in a hex radix (base 16). I think these distinctions are important to remember. Convert the strings to binary and do with them as you may and then convert them to the radix in which you want them displayed. ...Show All
Smart Device Development UPDATE MICROSOFT VISUAL STUDIO 8
WHERE AND HOW DO YOU GET A MICROSOFT VISUAL STUDIO 8 UPDATE i select "visual c++", i choose,"smart device", i choose any template. i wait 30 seconds and i get small window that says "microsoft visual studio" "ok". thats it. this happens on all the templates i had a beta test installed. i used the beta test uninstall to remove it. i removed all the files on the remove list. i tried to used the beta uninstall now, and it does not see any removable files i like to believe the idea that the VS 2005 beta still has a file on the disk. i just reloaded vs 2005 twice and i have to same problem. ive reloaded before 15 times and i have the same problem i sometimes get the message"zl18xx plat ...Show All
Visual FoxPro Form behavour different if launched from menu or click event?
I am having a strange problem where the behaviour of a form differs if a form is launched from a menu or from say the click event of a button. The form is top-level with a default data session. I have a few variables that are assigned as control sources to some textbox controls. I am using the destroy event to perform some updates using theses variables. This allows the update to happen regardless if the user clicks the exit button on the form or the title bar. The problem is that the form behaviour seems to vary depending on how the form is initially launched. From a menu the above works fine but from a the click event of a button the variables are not available in the destroy event Does anyone know why the behaviour is not consi ...Show All
.NET Development do we need to call myObject=null when we finish using it or no need
Hi, is it better to call helperD= null ; whenevr i finish using an instatiated object or no need Thanks Hi R.Tutus I have a blog entry that describes when to set variables to null: http://blogs.msdn.com/clyon/archive/2004/12/01/273144.aspx Mattias is correct; in general the JIT and GC are smart enough to know when the last time an object is referenced and make it eligible for collection without the need for setting the reference to null. -Chris ...Show All
SQL Server Error 403 and Unable to Connect Error.
First Error: I am currently trying to get my reporting services to run on a site other than the default website... on my test server are three sites listed in my IIS: Default Web Site, Microsoft Share Point Administration, and Data Test Site. My ReportingServer and Reports directories run fine in my Local Web Site but when i add the Directories to my Data Test Site only the Reports Directory runs... the ReportServer does not run and gives me : You are not authorized to view this page You might not have permission to view this directory or page using the credentials you supplied. I found a solution that fixed both of my problems.... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=552017&Si ...Show All
.NET Development Side By Side : component version required conflicts with another component version already active
I am trying to run our client application in and I started receiving the following side by side errors. I cannot pin down what dll is causing this problem and it is driving me nuts! Anyone help Generate Activation Context failed for C:\Development\Debug\bin\App.exe. Reference error message: A component version required by the application conflicts with another component version already active. Talk about a frustrating error message, at least give me the component so I can begin to pin down this problem! That was the error message form the event viewer. I rebuilt and everything started to work. I think 64 bit assembly's and 32 bit assembly's were somehow getting confused. ...Show All
Visual C++ calculate elapsed time
Hello everyone, I want to record the elapsed time for a specific function invocation. What is the most accurate way I should use on Windows platform Which function call should I use regards, George This is a topic that's been discussed over and over again here at the forums. If you do a couple of site wide searches you will find them all. One relatively recent thread would be http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=990282&SiteID=1 . ...Show All
Internet Explorer Development IE 7 opening to Run Once page with error on it.
I downloaded updates last week. I have been using IE7 for a while with no problem. I dwnloaded the updates. Now when I open my browser the page tries to go to http://runonce.msn.com/runonce2.aspx . There is an error reported for this page and it will not open up I get a blue screen. How do I eliminate this I have my home page set in the tools section but when opening it won't go to my home page until I hit the home button on the tool bar. This problem took me about 22 hours to finally fix. :) Though the user(administrator) I installed IE7 with worked fine first time and every other time after that it was all the other xp users that suffered with this script problem. 1) Uninstall IE7 an ...Show All
SQL Server SQLEVN70.rll error
When I boot my system , I get the message that my sqlserver installation is either tampered or corrupt. As a result when I try to restore my system to previous checkpoint I am not able to do so. Please let me know solution for this. I tried installing and uninstalling but that did not work....this is very very imp...please respond ASAP I had the same problem and found that the 1033 folder was empty and that is where the sqlevn70.rll and other .rll files are at. Fortunately I have another system that had it on and I copied the 1033 folder and replaced the empty one and after doing so I got my system restore back along with my password manager. ...Show All
SQL Server Select * & table name issue (Reserve world)
Hi All, We are trying to read a table name Order through command line SQLcmd. But it is giving us an error. Order is an SQl2005 reserver word and app programmer created that table who left. No we have problem to read that table through sqlcmd. any ide a how we can do that. C:\>sqlcmd 1> use ACCMedford 2> select * from 'Order' 3> go Msg 102, Level 15, State 1, Server ACCMedford, Line 2 Incorrect syntax near 'Order'. 1> select * from "order" 2> go Msg 102, Level 15, State 1, Server ACCMedford,, Line 2 Incorrect syntax near 'order'. 1> select * from order 2> go Msg 156, Level 15, State 1, Server ACCMedford,, Line 1 Incorrect syntax near the keyword 'order'. Hi, SQLCMD --- I try select * ...Show All
Windows Live Developer Forums Switch from Live ID to .NET Passport
Is it possible to switch it from Live ID back to .NET passport I was in the Windows Live Account Service page, I try to change my email to another one, but I only given one choice, which is to create a new Hotmail account. I remember last time, when I login to .NET Passport credential page, it do let me change the email to whatever email I want (not limited to Hotmail). Is this possible Peter Chan They are killing themselves with this in classic Microsoft style. Forcing their existing client base to adopt hotmail.com or live.com email addresses will only send us away to google and yahoo. At the very least they should have an account migration tool to bring your contacts and settings over from an exi ...Show All
Windows Forms how do I restrict extension?
Hi, I've developed application with log files. I want to restrict extension to load the log files such as like, .aspx, .xml, .html, .htm. In my Parser class, I do something like this; public class Parser { public LogEntry[] Load(string p) { ArrayList entries = new ArrayList(); using (StreamReader sr = new StreamReader(p)) { do { string lineread = sr.ReadLine(); if (!lineread.StartsWith("#")) { string[] information = lineread.Split(' '); string[] allowedExtension = new string[] { ".aspx", ".xml", ".html", ".htm" }; if ( ) { LogEntry newEntry = new LogEntry(); newEntry.IPAddress = inf ...Show All
Visual Studio Is the Example.InstallToolboxControls sample missing from SDK 4.0 December 2006 CTP?
I'm afraid I can't find it. Is it missing or have I not looked in the right place The SDK 4.0 December 2006 CTP is the first Microsoft Visual Studio 2005 SDK I've installed on the machine I work on. Thank you! I hope you got it working by now! If not, here's a tutorial on using toolbox controls installer: http://msdn2.microsoft.com/en-us/library/bb286995(VS.80).aspx ...Show All
Windows Forms searchable combobox problem with datagrid
i have a datagridview and a combobox. Now i made my combobox so that it's linked to my datagridview. You can type word(s) in the combobox and then it will search in the listitems. But when i click on the result in the combobox it will change the selected field in the datagrid with the result he has found. He has only to look up and not to change someting in my dagatrid. i have made my dagatridview columns readonly and also disabled editing , adding and deleting but it keep changing the value. Hi, Try to set a different bindingContext for the ComboBox,as this .comboBox1.BindingContext = new BindingContext (); This desynchronize the ComboBox and the DataGridView. Hope this helps.Regards. ...Show All
