dimkaz's Q&A profile
.NET Development socket.Receive() on blocking socket throwing WSAEWOULDBLOCK exception?
I'm using a UDP socket for network communication with socket.Blocking == true and SocketOption(ReceiveTimeout) set. After several thousand packet exchanges, socket.Receive() starts throwing WSAEWOULDBLOCK (SocketException.ErrorCode == 10034) and seemingly continues to do so indefinitely about every second or third call to socket.Receive(). Can someone shed some light on what might cause socket.Receive() to throw a WSAEWOULDBLOCK exception ...Show All
SQL Server Directly printing Report from RS without previewing
Hi All, Is there a way to send a report from Reporting service directly to the printer without previewing in VS 2005 web application I tried out an example which exports the report into a pdf and then sends it over to the printer but apparently it did not print. It stopped working after saving the reoprt on the client machine. The article is located at http://www.codeproject.com/vb/net/RSPrintLandscape.asp Thanks for the help ...Show All
Visual Studio Team System ImplementIDisposableCorrectly woes
Me again, with some more Dispose confusions. FxCop has nudged me to implement this snippet of code but still complains about the DerivedComponent class, with the suggested resolution: "Remove IDisposable from the list of interfaces implemented by MyNS.DerivedComponent and override the base class Dispose implementation instead." DerivedComponent does not directly derive from IDisposable, and I'm assuming "overrde the base class Dispos ...Show All
Windows Forms label with transparent background
Hi, I am making a scrolling text over a picture box. However, I can't hide the label background to show out the picture box. Any idea Did you try setting the Label's BackColor property to Transparent Also, try drawing your text directly onto the PictureBox in its Paint event. ...Show All
Visual C# Using Tabs in Web Pages
I have a Web Application that I need to 'tie' all the pages together after the users login. I have been instructed to use 'Tabs'. The only Control I can find is to be used on Windows Forms not Web Forms. I need the Tabs to be dislayed at all times till the user logs out. How can I accomplish this task You are more then welcome! Please feel free to drop the url to the post on the asp.net forum here so it will att ...Show All
Visual Studio Crystal Reports for Visual Studio 2005 RTM Release?
Is the Crystal Reports for Visual Studio 2005 Beta 2 Release compatable with the RTM release of .NET 2.0 Or will there be an RTM version of the Crystal Reports Merge Module available for download Hi There is a Redistributable MSI available in the package albeit you have to find this. The main issue I have is that we wish to deploy via Intellimirror and tools like this which dont have the ability to install Non ordered solutions s ...Show All
Visual C++ Help needed with "error C2784"
. I am going to address your core question: There is already a lot of discussion in the C++ community that #include <iostream> already pulls in way too many other headers - and believe me it was not designed this way. Why should <iostream> pull in <string> The two are not related and there is really no reason why one should depend on the other. We do provide every STL function and algorith ...Show All
Windows Forms Hiding a column's right border
Is there an easy way to hide the right hand border of a column (i.e. creating the effect that 2 columns are one - my second column has an image in it) I have seen some code for handling cellpainting, which paints the right hand border with the background colour, however when i repaint the text inside the cell, it appears that i must specify a co-ordinate. If the row vertical alignment is middle for example, it makes it hard to paint the ...Show All
SQL Server query window loses connection after period of inactivity
I get this in my query window in Management Studio: Msg 10054, Level 20, State 0, Line 0 A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) I am connected to a SQL Server 2000 server and I don't get this problem using Query Analyzer. Is this some new feature in Studio Is it a config issue wiht the ...Show All
Software Development for Windows Vista SETUP.EXE throwing unhandled exception while installing Vista
Hi world, I am trying to install Windows Vista Beta 1 on a XP box and planning to make it a dual boot. XP is on C: drive (20 GB) and I want Vista on E: drive (20 GB). I uninstalled the Anti-virus on the machine for this installation. I downloaded en_longhorn_beta1_dvd.iso from MSDN and burnt it on a DVD. After inserting the DVD and starting SETUP.EXE I click the 'Install Windows' icon. After entering the license information, i click next. Now, W ...Show All
Visual Studio Express Editions Difficulty adding a parameter to a querry
I am using two MS Access tables in my data source when I create a querry with a literal string everything works fine i.e. Select MyTable * from MyTable where (MyTable.Description Like '%' + 'Anything' + '%' I get the proper results When trying to use a user input field inside the query it doesnt work i.e. Select MyTable * from MyTable where (MyTable.Description Like '%' + @Description + '%' I get an unable ...Show All
Visual Basic Sending data to serial port using vb6
Hello everyone.I am interested in knowing how to send data to serial port using vb6.I would appreciate it a lot if i could obtain a sample code.It is the first time i work with vb6.Thank you for your help These forums are more for VB.net related issues. However, there is an OCX control, Microsoft Comm Control, that you can use for this purpose. if you look in the docs there are examples. Toddap_MS ...Show All
Visual Studio Express Editions Icons from Imagelists?
I've got a question about Icons, i've loaded a few icons into an image list and when I try assign an image to the forms icon property I'm getting a type exception because the imagelist contains 'images', lol. This being the case, how do I convert an 'image' from my imagelist to an icon that the form will accept By the way, this is also true for the NotifyIcon control, that will only accept icons too. Its ironic that they were all icons to ...Show All
.NET Development Install service via Installer
Hi all, I have a Windows Service project, and an Installer project to create a .MSI for it. I'd like for the MSI to install the service after it is done installing the project. I think I need to do this with a Commit Custom Action, but cannot figure out how. Seems like this should be easy, and common, right Thanks for any input. Cheers, Chris not sure if you still need this but i eventually worked it out. add an install pack ...Show All
Visual Studio Team System Do Not Catch General Exception Types
I have a question about the fxCop rule on "Do Not Catch General Exception Types"...I started some discussion on this in another thread but I didn't get a full answer to my question and I thought this topic was worth starting a new thread. I think I'm using the recommended Microsoft approach for Exception Management: I'm using the Enterprise Library Exception Management Application Block to handle exceptions At the "top of ...Show All
