XMLUser's Q&A profile
SQL Server Problems with LOOKUP component (repost)
Hello, Can anyone address these: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=142849&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=142837&SiteID=1 -Jamie Jamie, It does make sense that you can't override the sql statement for a lookup component since you would typically connect to a relatively static table to import in a related column. My example would be to pull in a State's full name when the source ...Show All
Windows Forms Windows Service
Hi, I have created a Windows Service using VB.NET and it works fine on my Windows XP machine. I then installed it on my Windows 2000 Server which install fine. However, it does not run my code. I have set the Account=LocalSystem but it&nb ...Show All
Visual C# XmlReader question -- reading nested elements
I have an XmlReader that's passed to a method while it's at the very beginning of an element elem1. ...Rest of document... <elem1 attr1="val1" attr2="val2"> <elem2 attr3="val3" /> <elem2 attr4="val4" attr5="val5" /> <elem2 attr6="val6" attr7="val7" /> </elem1> ...Rest of document... Here's what I want to do but can't figure out how to: 1. Stop ...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, ...Show All
Visual Basic That is Possible? (Collections)
Hi All, please It is possible attach a datareader in a Collection and later having access itens in the Collection Dim mCol As Collection mCol = New Collection 'Sub for populate a datareader... mCol.Add(myDataReader) Dim uItem As OleDb.OleDbDataReader For Each uItem In mCol MsgBox(uItem( "myCol" )) Next Thanks! any help! I thought about using Collections exactly to have an object w ...Show All
Visual C# Threads problem
I have moved the call to Renderloop to the form's Shown event and now everything goes as intended - except that it doesn't. As long as I have breakpoints, my time display gets updated, but as soon as I remove the breakpoints it doesn't anymore .... OK, I got my time display running by wrapping all the threading in an outer loop. What happens is that I now let the threads run for one second, at which po ...Show All
.NET Development validating XML
I am looking to validate an xml document prior to populating my dataset and binding it to a datagrid on my webform. Being this is my first foray into using webforms, xml, schemas, etc. I am not sure how to go about doing the validation. Any help is thus appreciated. -Thanks http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconvalidationofxmlwithschemas.asp ...Show All
Windows Forms locked property of visual basic v6.0 in visual basic.net
Does anyone know how can I instruct a Combobox to NOT display the selection list I need to do this when my program is in some certain state... In visual basic v6.0 you were able to do this by setting the locked property of the contr ...Show All
Visual Basic Visual Basic and graphics - for the novice/beginner
Hi there I have no training in programming, but would like to start writing my own little programmes. In my work (civil engineer), I am increasingly frustrated by the lack of simple, time saving programmes to make my life easier, and hence the urge to write my own programmes. Of course, the start will be no more than programmes for one-off formulas, but having said that, I would like to (in many year's time) be able to write more complicated ...Show All
Visual Studio Tools for Office Create Pivot Table in VSTO2
I'm trying to create a new Pivot table in a workbook with VSTO2. The second line crash: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Me ...Show All
Visual Studio 2008 (Pre-release) Why the reverse German-like syntax?
Why do the LINQ queries have to look like a SQL query in German If you are trying to make it easier and are adding SQL-like keywords to the language, at least keep the ordering the same as SQL. The way this is, I have to know C#, SQL for triggers and stored procedures, and LINQ for the in-code queries. I don't see how this is going to make my life any easier. As I recall from the spec, the ...Show All
Windows Forms adding button to PrintPreviewDialog?
Any way i could add my own button to the PrintPreviewDialog class and handel it as soon as clicked. WHOOPS - the above code does work. My sincerest apologies. In addition: thanks. This will solve my problem rather simply. :-) ...Show All
Visual C++ SxS Issue? R6034.
Hello, I've been having a problem for nearly 3 hours where I've spent my time looking through manifest examples, reading forums, running through configuration and still to no avail, my program blows up. It's giving me the, as I have seen, common error: R6034, "The application has attempted to load the runtime library incorrectly. Contact support for more information". This happens when it attempts to load my ...Show All
Windows Forms What is "application framework"?
I tried creating a new Windows Forms app and had a hell of time just getting it to run. The trick was turning off something called "application framework". Can anyone explain what this is Or point me to some articles about&nb ...Show All
Visual C# string to int
Hello everyone, Im trying to setup a progress bar, right now this is basically how it is set up, first I have the app count lines in a text file, this works ok: textBox2.Text = rowCount.ToString(); rowCount++; inputstring1 = StreamReader1.ReadLine(); then later, I have this where the listbox is being populated, the progress bar should show the progress of the population. textBox2 displays the number of rows, and the maximum should ...Show All
