PixelSlave's Q&A profile
Visual Basic Are Interop assemblies Redistributable?
Hi... Just want to be sure before we deploy our project. Are Interop assemblies Redistributable Thank you.... ...Show All
Visual Studio Team System How can I run a perfomance test capturing the time taken to an open a document from the application
Our web application enables the opening of a PDF file in an inline frame. Is it possible to measure the performance of when the document open request is made and when it is completed. Running a number of tests always returns the same results which I assume is just the start of the request as the time does not vary in anyway even though it can take a long time for the PDF to open. Response time will be the amount of time it took to download the PDF file. If you're talking about measuring the length of time Acrobat process the PDF, that isn't possible since web tests work at the HTTP level and don't actually open any files in applications ...Show All
Visual Basic A Very Noob Question I apologize
can i use the start.process() or any command to open a notebook file and and then search through that file using different types of find dialogs basically i want to write a script that can open and close programs but also use those programs... ex... open notepad search for "text" then copy "text and line below" and set that to a variable then close notepad and open up word and paste that variable the find and variable commands im good with just looking for help opening up and using applications like notepad Thanks Brian Hi Jersey, Notepad edits standard textfiles. Rather than use y ...Show All
Visual Studio 2008 (Pre-release) An existing PeerNode exists for this Uri with a conflicting configuration
I get this error whenever I try to have more than one PeerChannel node in the same App Domain. I am able to have multiple PeerChannel nodes running on the same machine if they are in separate EXEs, each with own PeerChannel node (each specifies the same mesh but a different binding port). That works fine. But as soon as I try to have 2 PeerChannel nodes running in the same EXE, or in the same ASP.NET-hosted container, I get this error (stack trace below). Despite the message, I don't see any conflicting Uris, since I'm using a differnet port number for each node. And, the exact code for each runs fine if separated into individual EXE ...Show All
.NET Development connections over internet
i have been trying to implement a server and a client little program that will be connecting with each other over the internet. i written the server application to open a port on my computer and listen for tcp connections with tcplistener. the client i used tcp client and gave it to a friend over the net to try and connect to the server on my computer. i gave him my IP address, he putted that in, and the port as well, and tried to connect, but it the tcpclient crashed. it said something along the line the server host refused, something along that line. and that it is not finding the server. im on a switch, and as so as my friend. is the ...Show All
.NET Development Problems with Marshal.PtrToStructure for x86 code running on x64
THIS SHOULD BE A VERY EASILY REPRODUCIBLE PROBLEM AS I HAVE INCLUDED SOURCE CODE. We have a facility which resolves file paths to contexts on remote or local machines, and as such must work with the list of defined network shares. The heart of it is the following routine. This runs great under x86. I would have expected this to still work under x64, but in the second iteration of the loop, the second call to Marshal.PtrToStructure causes the program to simply exit. This can not be caught with an exception handler, can not be caught as an exception in the debugger, and throws up no indicator to the user. Since this happens before ...Show All
SQL Server Clarifications on Queue Service and Queue Readers
Hello, This is info that I am still not certain about and I just need to make sure, my gut feeling is correct: A. When a procedure is triggered upon reception of a message in a queue, what happens when the procedure fails and rolls back 1. Message is left on the Queue. 2. is the worker procedure triggered again for the same message by the queue 3. I am hoping the Queue keeps on triggering workers until it is empty. My scenario is that my queue reader procedure only reads one message at a time, thus I do not loop to receive many messages. B. For my scenario messages are independent and ordering does not matter. Thus I want to ensure my Queue ...Show All
Visual Studio Team System How to: Customize the build reports
Hey there, I already know how to add lines in the build log file. But now I need to add information to the report that ends up on the project portal. I have read the SDK part about extending the Team Foundation Reporting Warehouse but I'm not sure this is what I'm looking for... Any pointers Thanks!!! If you want to add information that's already in the warehouse to the report, then you can just edit the report to include that. For example, if you want to add the number of bugs found in a build (and your Bug work item type uses the Found In Build field), then add the Cumulative Count measure, sliced by Found In.Build. I beli ...Show All
SQL Server PageBreak only before odd pages
Hi all, I have a report with a few subreports and after each subreport I've added a page-break. But I want to skip a page and to leave it blank if the previous subreport ends at an odd page, so the next subreport will start at the next odd page instead of the even page. I use a transparent rectangle to add page breaks after each subreport, but because I don't have access to the Global.PageNumber variable in the body section of the report, I don't know when the page is even, so a second rectangle with a custom expression for the Visibility property is unuseful. Does anyone know how to fix this issue Thank you and I ...Show All
Visual Studio Team System Resolving a work item with a check in doesn't work if the work item is open as a document
See http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=FDBK43209 posted here because the product feedback site is quite out of date, so I wasn't convinced that anyone is monitoring it. ...Show All
Visual C# store image
Hi can anyone write an snippet code to store image in database with binary shape(code) not an image Well its not exactlty hard is it Just a few lines of code. You basically taking all the bytes from one and placing it into the other stream, doing it in chunks is easier on memory usage etc. ...Show All
Visual C# Types and namespaces can't be found
Ok, This is an elaboration of a previous post I've made about VS2005 not being able to locate namespaces and classes. I have one file containing a page, in the namespace Timesheet.Pages , and a control in another file in the namespace Timesheet.Controls . When I add a " using " reference to the Timesheet.Pages in the file containing my control, I get the error " The type or namespace name 'Pages' does not exist in the namespace 'Timesheet' (are you missing an assembly reference ) ". All the files are in the same solution and the same assembly, although the control .ascx files are in a sub-folder. I initially thought that ...Show All
Visual Studio 2008 (Pre-release) Is it use runtime reflection or do this at compile time?
Does DLinq use reflection when it bind data from database to object Or this occurs at compile time Thanks! Too late ;) http://www.codeproject.com/csharp/GenericOperators.asp ...Show All
SQL Server Unable to connect with SQL Server
During the design phase, i use the sqlDataSource tools to connect with the database, but it showed this error mesage to me: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) what is the problem have you been met the same error messgae before how to solve it Thank you ! regards Named Pipes is just another network proto ...Show All
Windows Forms User Control
Hello, everbody! I have a question. I have two user control, I am using winform usercontrol1 and usercontrol2 On usercontro1 l have textbox. when I click on the button on usercontrol2 and I want the information to change on usercontrol1. I can't seem to do this. UserControl1 I have textbox1 UserControl2 UserControl1 lg = new UserControl1; lg.textbox.text = "Hello"; WHAT IM DOING WRONG, THE TEXTBOX IS PUBLIC THANKS Well, if your code is exact, I would say the problem is that the textbox is named "textbox1" and you are trying to reference ...Show All
