AndyL's Q&A profile
Visual Studio 2008 (Pre-release) New exception in Beta 2 makes no sense?
I do not have a clue on what this exception means. From the stack trace I see none of my code in the call stack. It appears to be a problem with applying a property value that changes the template of an element. Any help would be welcome. "Dispatcher processing has been suspended, but messages are still being processed." at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at Syste ...Show All
Visual Studio Document Explorer crashes
Thought I'd start a new thread, since I'm using Visual C# Express, rather than full VS2005. Windows XP Pro SP2, Visual Studio 2003 Pro, SQL Server 2000 Developer Edition, Visual C# Express, Visual Web Developer Express, SQL Express 2005, MSDE. I also have Virtual Server 2005 SP1 beta installed. Problem just started this weekend. Whenever I click on any topic in the Index, Document Explorer crashes. I've tried Repair on Visual C# Express, Visual Web Developer Express and MSDN 2005 Express. Same problem. It was working fine last week, I'm not sure what's changed. I have previously had VS2005 beta2 installed, but I removed that by following the ...Show All
Visual Studio Help Filters for Visual Studio 2005?
Where are the "Help Filters for Visual Studio 2005" In the Contents and Index the only Filters I see are related to SQL-Server, where are the filters for Visual Studio, Internet Development, .NET Framework, etc. Well one problem solved > And why do I still have help topics on the VS start page, that reference SQL development topics This is set when you first install Visual Studio. A dialog asks you what your primary dev environment will be. Because I installed SQL Server straight after VS, I believe it set this to be 'Business Intelligence' automatically. To change this, ...Show All
Smart Device Development Run scripts on a SQL Mobile Database
I receive an error "Provider not supported" when attempting to run a sql script on a SQL Mobile Database from the Solution Explorer. Should it be possible to run scripts on a SQL Mobile Database from the Solution Explorer ...Show All
Visual Studio Team System What's new in June CTP of VS 2005?
Where can I find out what's new in the June CTP of Whidbey so that I know whether it is worth downloading and installing compared with Beta 2 There's nothing on the VS2005 front page and the reference on MSDN downloads just says that it isn't as stable as a Beta. Gee, thanks. Now why couldn't that have been in the release notes last month That "etc" feature sounds really cool and I'd like to test it out. :-) I read your post and Ajay's post and still don't understand why you're posting them monthly. If you don't tell us explicitly what's new, what's fixed, and what's broken, what's the point How would we kn ...Show All
Visual Basic how to create a new txt file at midnight each day and write to it
Hello I was wondering if somebody could help me with creating a new txt file each day at midnight with the name in the format of ddmmyy_hhmmss.txt also how to add text to it, well maybe i can do this i think, but maybe it would help confirm this bit. ikind of have the following so far, not much i know, thank you all in advance Private Sub OpenFile() ' filename = "C:\CRAPS\txt_files\" & Format(Now, "_MMMddyy_HHmmss") & ".txt" end Sub Here's how to append to a file. Dim inputString As String = "This is a test string." My.Computer.F ...Show All
Smart Device Development first chance exception of type 'System.IO.IOException'
Surely this shouldn't be happening! The following code creates a connection, DataAdapter & DataSet, then fills the DataSet. the myDataAdapter.Fill creates a 'first chance exception', whatever that is Imports System.Data.SqlServerCe Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim myConn As New SqlCeConnection("Data Source = \my documents\MASDB.sdf") myConn.Open() Dim myDataAdapter As SqlCeDataAdapter = ...Show All
Architecture Pimp My Ride? Pimp My Software first...
Would love to hear your comments http://msmvps.com/blogs/rohanthomas/archive/2006/02/02/82301.aspx Rohan Apologies - my email was/is eddie.hulme@(nospam)eds.com take out the nospam. Have replied via your blog, but just for rest of the community here who might be following this thread. You are correct, we spend to much time and effort when an analysis might show that the costs of re-engineering are cheaper than the patching. Taking this step a tad further we may also find that there is another option in freezing the code - thats to say - rather than rip and replace which we are advocating in re-engineering - we can wrapp ...Show All
.NET Development COM+ objects
I am working on an application that has a COM+ DataAccess layer. So obviously all the transactions are done though the DTC so the business object that all other business objects inherit from is a child of the ServicedComponent class. What I am finding is that class attribute values are lost when they are set in one method and then accessed in another. And sometimes even when they are set in one function they take a totally different value. Ex Private requestId As Integer Public Overloads Function Insert( ByVal params As ParamContainer) As Integer 'create the special request object ...Show All
Visual Studio How can I NOT show a subreport if there is no data for it?
The table headings still print even though there is no actual data. That looks sort of odd. There doesn't appear to be anything in the SubreportProcessingEventArgs that will cancel that instance of the subreport. In the main report, click on the subreport and set the NoRows property to a text message. This message will be shown if the subreport queries do not return any data then. -- Robert ...Show All
Visual C++ COM Differences to VC6
Are there any differences in COM (especially OPC) between 2005 BETA 2 and VC6 I have problems with shutdown an OPC Server and with the BrowserInterface Hi, You will need to debug both programs to see what exactly is returned differently from which API calls. If you provide that info, we have something concrete to help with. Ronald Laeremans Visual C++ team ...Show All
Visual Studio Tools for Office how to store and read .doc file in a table of sql server using C#.
I would like to store and read .doc file in a table of sql server using C#. Can some body help me on this my id is padam76@gmail.com . Thanks & Regard, Padam Kumar Tripathi Since VSTO requires Office (Word) 2003, you'd theoretically have access to the Word 2003 XML file format. The users would have to save the files as XML; this can be set as the default file format in a networked environment. You can then use any common tools to "stream" the XML into your database. It's round-trip, so no big deal to "stream" it back as a file, again, or directly into a document opened in Word. -- Cindy Meister ...Show All
.NET Development Only one connection for a port
Hi, I have created a TcpListener (e.g. port 4440) object and called Start method. This sample code is running. I have verified Listener status using netstat -a command (MS DOS Command). Port (e.g. 4440) is listening. I am using telnet as client. I have connected to same port (e.g. 4440) using telent. Telent is also connected. Now i can see two entries in netstat command output for that particular port. One is listening and another is established. Here i want to have a single connection for a port. Kindly suggest me how to do that. Thanks & Regards, kalai public void TcpListener.Star ...Show All
SQL Server performance and tunning
hi. i have a new question.. how can i make my cube browsing faster since i processed like a million of records into my fact table.. browsing the cube has become really really slow... is there anything i can do to avoid this delay First- try building aggregations for you cube. Million records is not a lot of records.Try to monitor processor utilization at the time of the query. See how busy is your harddrive. See how much memory your machine is using when you browse you cube. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual Basic converting decimal to binary
Hi all, I am trying to design a gui for a project and i need to take values entered by the user into a textbox, then convert them from decimal to binary, and send them to the serial port...how would i go about this Any help or code or anything would be great thanx a million If by decimal you just mean a normal decimal number, as opposed to a decimal type, and it is an integer, then to convert to binary is extremely easy. All you have to do is repeatedly divide by 2 until the answer is 0 and look at the remainders. e.g. to convert 50 in decimal to binary Divide by 2 Answer = 25, Remainder = 0, ...Show All
