Answer Questions
PowerPoster Drag-and-drop from Server Explorer
Hi folks, I'm trying to drag and drop a table from Server Explorer onto a another toolwindow (managed). The DataObject I get from the drag contains a format called CF_DSREF, which returns a MemoryStream. Anybody know how to read the data in this stream Is it a serialized object (COM or .NET) Is the structure published John Hi John, you probably already found the answer to this but it is documented via a sample ...Show All
dolot accessing relations (and its value properties) from a domain class
How can I access relations (and their value properties) from a domain class in code For example, suppose I have domain classes A and B, as well as a relation AHasB which contains the value property V. If I have an instance of A, how can I set the V property for the AHasB relation where the A instance takes part Thanks, -- AFurtado Hi Andre The following post has a lot of info on this topic - the final part ...Show All
nikos_22 Select a Range by a Cell
Hi, Imagine I have a Excel.Range (A1:C5) named "Test1" and now, my activecell is located at B2, I'd like to know how I can select and retrieve the whole range "Test1" by a cell This is not work: Range["B2", missing].CurrentRegion... What's the correct property Thanks. Depending on how you named the range, you should be able to get the named ranges via the Worksheet.Names or Work ...Show All
Julio Allegue Additional lambda expressions support
1- An easier syntax to combine functions: Given: int [] numbers = {0, 1, 2, 3, 4}; Func< int , bool > isOdd = i => i % 2 != 0; Func< int , bool > isZero = i => i == 0; Instead of having: Func< int , bool > isZeroOrOdd = i => isZero(i) || isOdd(i); We could have: Func< int , bool > isZeroOrOdd = isZero || isOdd; 2- Same thing but with expressions: Given: Expressio ...Show All
prabakaranm Saving OLE Objects with Webservices Toolkit
I have a small Access application that is distributed. Since I need the users to update the same table and I didn't want to go through the overhead of setting up a table in Oracle, I decided to use an Access database on a server and have the Access application update the table on the server via a webservice by using the Office Webservices Toolkit. The user enters the data on an Access form in the app mdb. When they click "Submit", ...Show All
zacarias2006 Printing
Hi all, I face the problem on printing using report viewer. When i press print button in report viewer, it will pop up the print dialog to let user select the printer and after select the print then press print for printing. My expected is when i press print on report viewer, it will directly print without pop up the print dialog, is it can do it. Thanks You can implement this functionality on your ...Show All
etropic Wrap VSTO Projects in other Projects?
I am looking for suggestions or direction on a project. I have come across a couple of samples that relate to Office Projects that I want to wrap inside of a large VS.Net project. My problem is this, from what I can see, Office Projects connect to one document each, but in my case I have one dataset that feeds and builds 8-12 different document templates. I am using the WordReadWriteadoVB Sample as my framework, but need to be able to use sev ...Show All
EgorKDie C# Express 2005 and Report
Dear All, I am using C# Express 2005 and SQL Server Express 2005 as well. I am planning to use no-touch deployment as well. At the moment, I am stuck as I cannot find any report designer to make my report work in the enviroment of C# Express. Is there any way or extension that I can include into the C# Express so that I can use to build the report Highly appreciate your advice. Regards, LG ...Show All
Snowday Error enabling LAN service
I am trying to enable the LAN service for my test database and I always get this error: There was an error installing or starting the LAN service on this machine. The error returned by Windows is: The specified service has been marked for deletion. Hi Neo, Can you try a manual registration of the service - open a command prompt window from the context of a user with Administrator rights. - go to VSS install folder and locate the SS ...Show All
squimmy Trust Warning
I had already posted this in my Trust Load Customization post. I've tried so many things my head is spinning. I need more help and wasn't sure exactly where to post this follow up in my original post. I'm getting a warning that says "The assembly must be granted full trust before the solution will run. For more information see Help." It seems that the trust issue relates to the spreadsheet and not to my vb.net code (I think). ...Show All
Pirox STOP: c0000218 {registry file failure}
sorry, unable to as system just reboots and reboots will reformat drive today and reinstall xp sp2 were you able to get VS installed after a reformat ...Show All
Tim Bain Example usage of BitmapSource.Create
Would it be possible to see an example of using BitmapSource.Create to draw a code generated image in RGBA format My images are always coming out blank. Also, does BitmapSource.Create make a copy of the pixel data when it's called or can I modify the data after the call to change the image How can I create a bitmap from 12bit gray image source I know that 12bit is not directly supported but for now&nb ...Show All
Mu0n about richtext
Hi I'm new to avalon and i've a small doubt on richtext box. Here i'm entering some message in rich text box and i dont know how to save that message also how to load external file(.rtf) into current richtext box. thanx Nagu Hi I dont know any thing about blog i'm using this from just few days would you give me a simple example based on that thans Nagu Hi vili ...Show All
Simn ShowDialog question
Hey all: I need some help in figuring out how the ShowDialog method works in WinFX. In the code below, I have a loop that shows a Window called Login as a Modal dialog using the ShowDialog method. If the model returns a DialogResult of false, then the code loops and shows the login form again. The problem is that when the code loops, even though ShowDialog is called again, the code is not blocked and continues to execute. Any ideas why Do I ...Show All
Rekha Endpoint not found exception when more than 20 clients connected simultaneously
Hi, I am developing a WCF application in which more than 100 clients will connect to the server simultaneously and in each request server may send large data (say 25MB per request). While testing the app, I realized that only 10 request can be handled at a time and client will not get any exception till 20th request but after 20 request it start throwing Endpoint not found exception for the rest of the connection. Below a ...Show All
