kevinj's Q&A profile
Visual Studio 2008 (Pre-release) Line break in textbox
Hi! Hope its easy question. How can i force enter key to go the next line in textbox Thanx Maybe you are looking for this: AcceptsReturn = " True " (in c#: mytextbox.AcceptsReturn = true ) Sam ...Show All
Visual Studio Tools for Office How to install Office 2007 + VSTO2 + VSTO SE
Hi, I would like to develop solutions for Office 2007. And I want develop document based and application based task panes. How can I install my developer machine that I can use both I installed Office 2007, then Visual Studio Team System 2005. Then I get already some problems during PIA Installation. When I want install Visual Studio for VSTO, it says, that I have no Office 2003 SP1. Of course. the docu says, that I should not install Office 2003 and 2007. So what is the way to install VSTO 2 for Office 2007 Develop document centric solutions for Office 2007 I had success some weeks ago but I'm not sure what I did. May be I upgraded Office 2003->2007 and then Seup works. Any Ideas or hints Marcel ...Show All
Gadgets Docking Gadgets?
Very exciting times indeed! I wonder if it is possible for two or more gadgets to be aware of each other. So say for instance I develop 5 gadgets, and one of them is a text search gadget. As soon as I drag my search gadget on top/dock or close to one of my other gadgets, I want to be able to search for text in that specific gadget. I don’t know where to start, so many questions. Can a gadget be aware of where it is on a screen Can a gadget dock to another gadget or can it somehow know it is hovering over another gadget Communication between gadgets, is a web service maybe the answer Any ideas would be much appreciated! Thanks It must be do-able, read this below (found at http://microsoftgadgets. ...Show All
SQL Server Passing object properties to variables
Hi. I was wondering if it's possible to pass object properties to variables For example, if I have a ConnectionString property for a SQL Server connection, would it be possible to pass this value to a User-scoped variable Any ideas would be appreciated. Thanks! One way you could accomplish this is by using a Script task. You can access the properties of all the connections in your Connection Manager through the Dts ScriptObjectModel . For example, the following code grabs the ConnectionString of my " currentFolder " connection object, and stores it in the " myConnectionString " variable. Public Sub Main() Dim value As String value = Dts.Connections( "currentFolder" ).Connection ...Show All
.NET Development ProcessMessage: used to prevent a method call?
Hello, In my server sink implementation, in the ProcessMessage() method, I need to (selectively) make sure that the call to "requestMsg.Properties["__MethodName"]" method is not carried out on the server. Ideally, I want the server to remain oblivious that the client has even attempted to call that method, yet for the called method to return "false" on the client side (if at all possible). So far all of my attempts resulted in exceptions thrown on the client side. Does anybody know of the proper way to implement my requirement, please Thank you, Victoria Dumitru, thank you! This solves my problem (I was setting responseMsg to null, doh...) Cou ...Show All
SQL Server Package with WinZip hangs
Dear Folks, I have a package that calls winzip to extract files(command line usage) in an Execute Process task. The package runs fine if I am logged in to the server. It hangs on the winzip task otherwise. The package is stored on the server (as opposed to the file system) & is run under a proxy account using the SQL Server Agent. I tried adding folder and WinZip32.exe permissions for the domain user who the proxy account was created under to no avail. Any Ideas Thanks for your help! I don't have a high enough version for that particular utility, but found you could use the command line for older and standard versions as shown here: http://www.memecode.com/docs/winzip.html I'll be trying this out in my package and will post b ...Show All
Software Development for Windows Vista Error Message while capturing : "No more data is on the tape"
Hi, i'm tring to make a simple program to capture video from Pinnacle AV/DV2 Capture card. After start capturing it writes fine and have no problem. But it fails after some hours (approximately 5 hours) and gives error message "No more data is on the tape" my operating system is Windows XP SP2, processor Intel Xeon 3.60 GHZ and Memory 2GB. My code piece to capture is below. I want to learn if this error is caused by Pinnacle card or my program. Will be glad for any advice. Thanks a lot. StartCapture(LONGLONG totalSeconds) { HRESULT hr; hr = mediaControlRecord->Run(); //IMediaEvent REFERENCE_TIME startTime = (REFERENCE_TIME)timeGetTime(); while ( true ) //koray : repeat until stop message { ...Show All
Visual C++ Receive() error 2006
During the execution of client server programming in vc++ i got "Receive() error 2006" in the client side.where i did mistake. Do you mean that the return value of the Receive() was 2006 or it returns SOCKET_ERROR and the 2006 was the return value of the GetLastError() you called after Receive(). If the first option, then the Receive() succeeded and the 2006 means the number of bytes received. If the second option, then I think that you didn't call GetLastError() immediately after the Receive(), so I guess that you should call the GetLastError() immediately after the Receive(). If you still have troubles then send a snippest of your code. Also I suggest sending your question to win32.programmer.networks group: http:/ ...Show All
Windows Forms different fore- or background - colors in a datagridview cell
Hello, i have a databound datagridview; in each datagridview-cell there are 1 to 5 Items (all only text) which I want to view in different fore- ore background colors, user defined. Is there any possibility to format something like a HTML-table to be displayed in a datagridview-cell Do any solutions for "cells in a datagridview-cell" exist thanks a lot, Markus Thank you for your answer. By using the CellFormatting event, is it possible for me get several font- or background colors in one datagridview-cell I got one business-object that returns strings per cell, and these strings I want to differ in their color. Is this possible with your hint I need a kind of ri ...Show All
Visual Studio 2008 (Pre-release) net.tcp over internet
Hi, all Im using net.tcp for my wcf self host service/client for intranet everything works fine. wondering if same binding works over internet too. if so, is there any diffenent setting than it is in intranet the machine i plan to run wcf service is direct connect on internet while my client runs in a machine behide NAT and connect to internet through http proxy server. anyone has any idea how to make it work thanks a lot. oaix net.tcp will work work fine over the Internet, subject to intermediary devices like NATs and firewalls. If you control the firewalls between your endpoints you can configure the packet filtering rules to meet your requirements. If not your tcp packets will be rejected. N ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tell us about your website or game!
As part of our effort to reach out to the XNA community, we would like to create a special community page on the XNA Developer Center that links to YOUR site or game. Here's what you need to do, send me (David Weller) an email (click on my name link to the left of this post for the email address) telling me: 1) Your name 2) Your contact email 3) Your website or game 4) (Optionally) If you send me a link to your game, please let us know if you give Microsoft permission to use your game as part of any press-related activities we might do (i.e., incorporate a screenshot/video of your game, etc.). Please don't reply to this post with links to your site/game, I need the information emailed to me. Thanks! For some time ...Show All
SQL Server Integration of RS with Sharepoint
Good Day , May I know if there is any sites which explains the integration of RS with SPS Regards Alu In this scenario, SharePoint does not talk to the data source directly. It talks to the Report Server (through web services), which, in turn, talks to the database to get the data. The Report Server then processes and renders the report and returns the output to SharePoint. ...Show All
Audio and Video Development An interesting survey: HD-DVD vs. Blu-Ray
A survey from http://www.dvdtown.com/announcement/hddvdsurveybyipsos/3665/ 1. In response to the question “Which statement best describes how likely you would be to buy an HD DVD player,” respondents were over seven times more likely to buy an HD DVD player vs. a Blu-Ray player when all studios support both formats. a. 57% would definitely or probably buy an HD DVD player vs. 8% for Blu-Ray. b. 25% would definitely buy HD DVD vs. 2% for Blu-Ray. 2. Purchase interest in HD DVD remains three times higher than Blu-Ray -- even without HD DVD studio support from Disney and Fox. a. 56% of respondents would definitely or probably buy an HD DVD player vs. 18% for Blu-Ray. b. 20% would definitely buy HD DVD vs. 6% for Blu-Ray. ...Show All
Windows Forms Number of nodes in a tree view
Hi, Is there a limit on the maximum number of nodes that will be displayed in a tree view Thanks! Generally, you wouldn't want your user to have to traverse through 65535 nodes. Not only would it take forever to populate the TreeView, it would probably take her forever to find the right node. This is one reason this bug hasn't been fixed for so long. Nevertheless, there's a strategy you can follow, similar to what Windows Explorer does. It presents a TreeView that allows you to browse all the files on your C: drive. Anymore, that's well over 65535 files. If you take a close look at how it behaves, you'll see that it shows "+" nodes for every folder, even if it doesn't contain any files. Wh ...Show All
Visual Studio Team System Move TFS project from one server to another.
We have a situation where we want two TFS servers at our site: one for internal developers and the other for a remote outsourcing vendor. (They will access it by means of a VPN-connected TFS proxy at their own site). This way we don't risk exposing our internal source code to an external party. If we need to move a code project from one server to the other, how do we do it A restore based move would wipe out the content of the target server (yikes!). If we do a straight file copy and then check in the files on the other server, we would lose all of the history. Is there a solution As far as I know and read, it is not possible to move TFS projects between servers in this version. I believe that is under con ...Show All
