daschneller's Q&A profile
Visual C# Syntax highlighting/bracket mathcing missing when using break statement.
Hi, In previous versions of VS 2005, entering a break statement in C# within a loop or block of code resulted in highlighting of the block in question, e.g: .... 1. foreach(int i in indexes) 2. { 3. if (i < SomeValue) 4. { 5. doSomething(i); 6. break; 7. } 8. else 9. { 10. doSomethingElse(i); 11. } 12. } ..... When I typed the break in line 6 above in the VS2005 C# IDE, the block affected by this break, the foreach-loop ...Show All
Visual Studio 2008 (Pre-release) Basic Content in Button question
For the Button controls, the Content is always centered, how do we make it (e.g. the text) left aligned thanks <Button HorizontalContentAlignment="Left" Width="200">Click Me!</Button> As an off topic, it seems that no one is willing to answer simple question:-) Sheva ...Show All
Visual Studio VSS 2005 step by step set up and tutorial
Helo all....i am looking for a simple step by step tutorial which i can download and reference offline, if you know of any please point me to the right direction. Thanks The pre-release documentation is also available at: http://msdn2.microsoft.com/en-us/library/3h0544kx Regards, ...Show All
SQL Server Extending Management Studio
In SQL Server 2005 Enterprise Manager was rewritten and renamed to Management Studio. If ISVs (independent software vendors) could plug their SQL Server tool(s) into Management Studio – creating a single environment for you to work in – which tools do you use that you’d like to see surfaced in Management Studio. Dan I think it would be cool to have PromptSQL integrated into Management Studio to give SQL Intellisense inside Management Studio :-) But then I would say that. ...Show All
Visual Basic Compilation error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message : CS0246: The type or namespace name 'DataRow' could not be found (are you missing a using directive or an assembly reference ) here is the coding : <% int no = rs.Tables["reply"].Rows.Count ; if(no>0) { for(int j=0 ;j<no ; j++) { DataRow rd = rs.Tables["reply"].Rows[j] ; %> <tr class="fodark"> <td align="center"><%=" ...Show All
.NET Development How to know why the winform has stucked
Hi all, Sometimes I one of my application forms is stucked, and I don't to discover the problem. Also it is stucked in the debugging mode, and cann't know why. Is there a tool to do that. Please help me. Best regards... ...Show All
Windows Forms UITypeEditor Problems
Sorry if this is the wrong group. I couldn't find anything that was closer.... I'm trying to create a UITypeEditor. I really want to be able to create a drop down editor, the problem is that when I set GetEditStyle = UITypeEditorEditStyle.DropDown I don't get any drop down displayed so it never drops down my control. When I set it to modal and handle the EditValue function that my value doesn't cause the Form Designer to recognize a change has occured with a * beside it to save the changes, and clicking on the edit button again, doesn't have my changes. I've copied the sample from the help almost exactly and still no go. Here's how ...Show All
Visual Studio Express Editions Setup of application in express edition
Hello Every one, I want to create a setup in VC# express edition! Can any one help I was wondering if publish option is the key but unable to find solution. Also no option for creating native images Pls Help, Rahul VC# Express edition (or any Express edition) does contain tools for deploying applications. To see a comparision between the Express editions and Visual Studio see: http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx . To generate native images use the ngen.exe which is located in the .NET 2.0 Framework folder, typically: C:\Windows\Microsoft.NET\Framework\v2.0.507 ...Show All
Visual Studio 2008 (Pre-release) XMLDataProvider in Cider
I've been working on some treeview projects and when using the XMLDataProvider with the source property pointing to an XML file I get an error "All objects added to IDictionary must have a key". I've kinda tracked it down to the XmlNamespaceManager. Is it not possible to use the XMLDataProvider and point to an external file using only XAML And you'll have to excuse me, when I saw that XMLDataProvider and Cider rhymed I was taken over by the spirit of Dr. Seuss and blogged about it in rhyme. http://www.dotnetjunkies.com/WebLog/metablog/archive/2006/01/09/134650.aspx ...Show All
Visual Studio Customize fields with no value...How?
Hi I use CR for VS 20003 and I show data form data table in run time ... So ...my question is : How can I customize the filed with no data ... For examples ... I have rows in my data table that have value DBNull, and I need to show something else in that case so I need expresion examples if ({V_DOCUMENT.Seria To}=DBNUll - this dont work !!!!) then {V_DOCUMENT.Seria From} else {V_DOCUMENT.Seria To} plese Help how can I found that some filed has no value Thnks Write Like follow in the Formula if isnull({V_Document.Seria To}) then {V_DOCUMENT.Seria From} else {V_DOCUMENT.Seria To} ...Show All
Visual Studio Team System gosh! why the heck???
hello once again, on install of VSTFS 2005 Beta 2 i recieve always login failed in the event log (first entry in the event log after install) on my user tfssetup who is domain admin and in the local admin group too... but the user has ALL rights on SQL 05 (on the same machine (domaincontroller) installed) hmm any ideas regards from austria Mikky We have had issues on European Os's. Please try to install Beta3 which has been tested with German OS. ----------------- Visual Studio Team System Beta3 is now available at MSDN Subscriber Downloads ----------------- This post is provided as is and does not always ...Show All
Visual FoxPro how to copy more than 16383 recs to excel?
I'm using VFP 7.0 & Excel 2003. I have a table with 58,000 records. Why does it only copy 16383 recs to excel when I use COPY TO "test.xls" TYPE XL5 I thought this limit is only on earlier version of excel TIA. The limit is 16,383 rows in VFP7 and earlier and 65,535 rows in VFP8+ which is also Excel's limit. See: UT: How to copy more than 16,383 records to Excel FAQ #8026 http://www.universalthread.com/wconnect/wc.dll LevelExtreme~2,84,14,8026 or you could copy to an intermediate format: copy to MyFile.csv type csv copy to MyFile.dbf type fox2x then read into E ...Show All
Software Development for Windows Vista Workflow becomes idle after CallExternalMethodActivity.
I have a workflow executed from an .aspx page. The workflow looks like this: handleExternalEventActivity1 callExternalMethodActivity1 codeActivity1 (never invoked) handleExternalEventActivity2 I would expect the first three activities to be executed, before the workflow instance become idle on the fourth activity (eventSink). However, the callMethod activity is triggered and it invokes the service method as expected, but then it halts, and does note execute the code activity. My Inderface have one event and one method, and looks like this: [ ExternalDataExchangeAttribute ()] interface IPageFlow { even ...Show All
Visual Studio Express Editions "Microsoft SQL Server" choice missing in Data Source Configuration Wizard
I'm a newbie trying to learn VB using VB Express Edition, so I bought the ADO.NET 2.0 Step-by-Step book from Microsoft Press and installed the sample databases, etc. The very first lesson involves using the Data Source Configuration Wizard. In the "Choose Data Source" form, the book shows five possible selections. My system only shows "Microsoft Access Database File" and "Microsoft SQL Database File". I need "Microsoft SQL Server", which is not in the list on my system. I've verified that I have .NET Framework 1.1 and 2.0 installed. I also downloaded and installed the Microsoft SQL Server Native ...Show All
Software Development for Windows Vista Nothing changed in Feb CTP?
I download the "Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2(EN).exe". However, it looks like the same as Jan CTP. Do I download the wrong link Or actually there is no change Thanks! Hey Lei, There were some changes... Here is my posting about the latest CTP . Once you click on the link to d/l the CTP, make sure you grab the extensions at the bottom of the d/l page. ...Show All
