Dock's Q&A profile
Visual Studio Tools for Office Make existing workbook into a vsto solution
Is it possible to make an existing excel workbook into a vsto solution by adding the 2 properties _assemblyname and _assemblylocation with appropriate values Do I need to do anything else Yes. Quite a bit of other stuff is going on here. A runtime storage control is added to the document and a manifest is embedded in it. More details on this can be found at: http://msdn2.microsoft.com/en-US/library/7ydweh ...Show All
SQL Server General network error. Check your network documentation
I use sqlclient to connect directly from my mobile 5 pocketpc to a sql server 2005 database on my desktop. I use a sqldatareader to traverse the results of a query that delivers 2 fields: (1) the filespec, and (2) the image field. I use a filestream with a binary writer to write the contents of the image data to the pocketpc's storage card. I have a test table with 10 images, not one more than 4 MB. I cannot complete a test run prior to re ...Show All
Visual C# Need help on drawing rectangle on htmldocument using mouse events.
hey All, I want to draw a rectangle on Html document using mouse event(mouse move,mouse down,mouse up). Infect i am developing a form which contains Webbrowser Control , when this control shows some web site in it , means after documentComplete event. i need to draw a region on this document just like drawing region for capturing some part of screen in many softwares. help me ASAP. Thank you in advance. ...Show All
Visual C# DataReader not returning any data
Hi there, I have a slight problem using DAAB 2.0. I have a sp that runs fine through sql 2005 passing in the params manually, however, when I try and do the following i get no data public void() { userToGet = new User() //User struct Database db = DatabaseFactory.CreateDatabase("DB"); using(DbCommand dbCommand = db.GetStoredProcCommand("sp_name")) { db.AddInParameter(dbCommand, 'UserLogonID", DbType.String, &quo ...Show All
Visual Studio Express Editions vb2005 exp ed will not connect to sql 2005 exp ed
I uninstalled the Beta2 version per the install instructions with the release edition. I have been taking the online learning up to lesson 08 in which we start doing something with sql2005. I cannot make a database in visual studio 2005 because it will not connect to the current instance of sql 2005. Starting sql2005 indicates that the default instance is running as a service on my computer. in lessons 1 through 7, everyt ...Show All
SQL Server Table control causes pdf Format skipping pages
Whenever I use a table control a in report in SQL Server Reporting Services. When I save that report to a PDF format, every other page is blank in a multipage report. Every other page is skipped. Has anyone else run into this problem Hi, I have also this same problem.If multirow table can fit into a single page,It skips a page and renders into the next page.This happens only when we export to PDF. any help would be greatly ...Show All
Windows Forms Localization and right to left text
I have a requirement where the text for 2 different locals, English and Arabic have to be presented on the same form side by side. The data is pulled from the database. If I use a single list control I cant display both type of ...Show All
Visual C# Datagridview delete row
i am new in C#. using datagridview control. but this control is not connected with any recordset. i am just adding some value in loop. i want to delete all rows from datagridview. how can i do this. can anyone tell me, plz. Thank you very much. I was digging more than 2 hours on it. Its works. ...Show All
Visual Studio Tools for Office Adding XML nodes in run time
Hi, I am assigned to create a word document where I need to add xml nodes in run time from actions pane using button and later extract data from those nodes. I need to be able add these nodes more than once. Can someone help please! I am using VSTO 2005 and Word 2003. Thanks in advance. - Nick Hi, VSTO does not provide a way to programmatically add XMLNode controls to a docment at runtime. For mo ...Show All
Visual Studio Express Editions read write serial port
I have found several classes online that say they make using the serial ports easy. I am never able to get any of them to compile. Is there a bare bones example of how to read/write to a serial port all bundled in a project for Visual C++ Express Edition It depends what classes you found. You need a class based purely on the Win32 API. Even than you need to install the PSDK as documented. If you used one using ...Show All
SQL Server File System Task Problem
I'm trying to realize a file system task that rename files from a foreach loop container. So that means the task have a variable in the source connection. This variable got the value (as an expression) of "c:\\.....\\" +@[User::ForeachloopVar ]. But an error message appears when i run it.The message is File System Task: An error occurred with the following error message: "The given path's format is not supported." When i don’t use th ...Show All
SQL Server Management Studio all databases . . .
I see that Management Studio lists all databases, even ones that the user doesn't have access to. I thought this was going to be fixed so I've been watching it from CTP to CTP throughout the year. But I can see view a list of all databases on a server even if I'm simply a db_owner on one database. I've tested this on the September CTP build. Microsoft posted a KB article to resolve this for Enterprise Manager (SQL 2000) just l ...Show All
SQL Server SQL Server Express will not install -- Existing Components- Cannot Resolve - Help
Hello, I installed VB2005 recently and today I attempted to install SQL Server Express. Installation failed saying that Existing Components Existed. Message was: Existing Components SQL Server DB Series 9.00.1399.06 I believe that is SQL Native Client. It could also be from SQL Books Online. I have Add/Removed the SQL Express Components repeatedly and retried with the same results. I'm not sure if ther ...Show All
Visual Studio 2008 (Pre-release) Foreign keys in business-entities. Should we really hold them?
Sqlmetall generates properties and fields for FK's. Is it possible to avoid this approach in future versions I think we don't really need this foreigh keys in business entities. I agree with you and we are discussing by default sqlmetal will not generate the foreign key. ...Show All
Software Development for Windows Vista Overprint, knockout or trapping in XPS?
Just wondering out overprint/knockout would be handled in XPS. That is, black text with a cyan background might be overprinted to deal with registration problems. In PDF files, the text object has the attribute of whether it knocks out or overprints. I am not finding a similar setting in the XPS spec. Trapping is another issue, but does not need to be specified in the document. Knockout: by default, XPS uses t ...Show All
