siyou's Q&A profile
Visual Studio Tools for Office Problem Installing VS 2005 Tools for the MS Office System
I can't seem to install Visual Studio 2005 Tools for the MS Office System over a PC running Windows XP. I bought and installed MS Office Student and Teacher Edition 2003. During VS installation, it asks for MS Office 2003 SP1. So I downloaded the 75MB executable patch and install that. I re-run the installation CD and it still keeps asking me for MS Office 2003 SP1. Help. Hi Richi VSTO requires the Office 2003 PRO version. Other versions don't contain the necessary functionality (extended XML), so VSTO won't install. The requirements are listed here The following topic in the VSTO 2005 documentation lists the versions of Office that are supported on the development computer ("design time") ...Show All
Visual C++ CListBox And GetText
In my project(Visual studio 2005, MFC, Uincode character), I add some string to a CListBox, In the case no owner draw set, it work well; but if I use owner draw set variable, and in my MyListBox DrawItem function, I use GetText to get item string, it always get the Error data no I add to. Why How I can get the right string; I think besides the LBS_OWNERDRAWVARIABLE style, you have to specify the LBS_HASSTRINGS style too. In this case "the list box maintains the memory and addresses for the strings so that the application can use the LB_GETTEXT message to retrieve the text for a particular item" [MSDN]. For more information see MSDN. I hope it helps. ...Show All
Visual Basic Need help exporting VB.Net variables/data to VBA macro
Hi I'm using VBA AutoCAD for drawing, but instead of defining parameters in VBA, I would like to take those parameters from VB.Net codes. Here is an example Sub CreateCylinder() Dim CylinderObj As Acad3DSolid Dim center(0 To 2) As Double Dim radius As Double Dim height As Double ' Define the cylinder parameters center(0) = 5#: center(1) = 5#: center(2) = 0 radius = 10#: height = 20# ' Create the cylinder in model space Set CylinderObj = ThisDrawing.ModelSpace.AddCylinder(center, radius, height) End Sub This VBA code will create a cylinder at co-ordinates (5,5,0) with radius = 10 and height = 20. I would like to know how to link or export these parameters from VB.Net to VBA AutoCAD for plotting. Many t ...Show All
Visual Studio Express Editions Printing my project
Hi there; I have done quite some programming recently in VBA for Excel, and now I am toying with VBA Express 2005. And I have a question. A silly one..... In VBA for Ecel, when I want to print all my code and forms, I just go to the print dialog, and then I am presented with the option to print both code and forms. Or just code, or just forms. Howver, in VBA espress 2005, with a form selected, the print/page setup option in the File has been grayed out. I seem to be able to only print selected modules (=text), not forms. Am I missing something Thymen The IDE doesn't support it. You are not the first to request this feature. Check out this Product Feedback entry and add your vote. ...Show All
Visual Basic Creating an Excel Object using VB.NET.
Hi everyone, This is my problem: I am trying to create an excel object so I can run an excel macro. This is the code I a using: Dim oExcel As Excel.ApplicationClass Dim oBook As Excel.WorkbookClass Dim oBooks As Excel.Workbooks Dim missing As Object = System.Reflection.Missing.Value Me .TextBox1.Text = Me .TextBox1.Text + " Report Creation in progress Please Wait..." + vbCrLf 'Start Excel and open the workbook. oExcel = DirectCast (CreateObject("Excel.Application"), Excel.Application) oExcel.Visible = False oBooks = oExcel.Workbooks oBook = oBooks.Open("C:\Developpement\Project_RCP\RCP_App\Job Bruts\Job RCP.xls", missing, missing, missing, missin ...Show All
Software Development for Windows Vista CBaseFilter::Notify
How can I use Notify member from Filter I've implemented IMediaEventSink interface on my filter class (I dont forget changed my NondelegatingQueryInterface method). I may think wrong about this interface. I'll talk about what have I done. My purpose is send and custom notify from my input pin to my filter. I suppose my notify passing Graph after my filter. I don't think I shouldn't use as: HRESULT CMyIn::CompleteConnect(IPin* pPin) { .... m_pFiltX->Notify(MY_CRE_TASK_NOTIFY, 0, 0); //My purpose is send notify to my filter through graph. :) It might be wrong. } How should I use CBaseFilter::Notify(long EventCode , LONG_PTR EventParam1, LONG_PTR EventParam2 ) funtion When will call this member Should I call it O ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can I make a Resident Evil=type game with XNA?
Hi all, Longtime gamer and complete noob when it comes to actually designing a game. Basically, I work in entertainment and have long wanted the chance to tell a strong narrative story in a game. When I heard about XNA I thought this might be a great way for me to learn and experiment with just how one designs a game. Now, I'm not expecting RE4 but I'm basically wanting to know if I could make something along the lines of the first RE or even simpler the first MYST. I don't care if all the backgrounds are pictures, etc. But I DO want to try my hands at level design, voice-acting for dialogue and simple generic baddies to kill, oh and an inventory of weapons! Anyways, looking forward to downloading the beta version tomorrow! ...Show All
Windows Forms winform +fillrectangle transparency +onpaint +invalidate
http://www.sitepoint.com/forums/attachment.php attachmentid=47227&d=1170274266 shows a screenshot of my problem: 1) in intial load has transparency - like its supposed to, 2) control looks smeared ; doesn't repaint the full control. 3) working properly because I painted white on top of everything, but need it to be transparent. couple of things I've tried: protected override void OnPaint ( System . Windows . Forms . PaintEventArgs e ){ Graphics gfx = e . Graphics ; Rectangle rect = e . ClipRectangle ; gfx . Clear ( Color . Transparent ); gfx . FillRectangle (new SolidBrush ( Color . Transparent ), rect ); also protected override void OnPaint ( System . Windows . Forms . PaintEventArgs e ){ Graphics gfx = ...Show All
SQL Server accessing MS Access data from SQL 2005
I have tried using stored procedures to create linked servers, which is fine, but when I launch the query I get the message that the Access database file is not found. Using OpenDataSource has the same behaviour. I need to make an SQL join from t-SQL between a table in Access and a table in SQL 2005. Who can help Double check when you create the linked server that you properly configure the security options. Typically you should set "Be made using the login's current security context" option if you are using integrated security. The problem is the security context needs to have read and write access to the folder where the Access database resides. ...Show All
Visual Studio Express Editions Visual Studio Express Editions Setup file
Hi, I would like to know is there any setup file available for Visual Studio Express Editions (C#) to be installed in Laptop without internet connection Is it possible to downlaod the whole set up file in desktop computer and then I can transfer the file to Laptop and install. I'm using windows 2005 media centre edition.whether it will support Visual Studio Express Editions or not. Kindly clarify my doubts Thanks & Regards, Manikandan Try this link. http://msdn.microsoft.com/vstudio/express/support/install/ If you have a look down the page, there are the image files that can be downloaded for all programs. ...Show All
Internet Explorer Development Tabbed Browsing
I have all my setting right for tabbed browsing, but it still will not open links in seperate tabs.. It opens links in the same tab in the same window (unless I right-click and say open in new tab... The settings are what I want them to be, but it is not following the instructions... Ive already tried disabling all the add-ons.. no effect... even with open new tab in same window is checked... it opens the link in the same window, not a new tab.. any suggestions thx ron... that could be a possibility... I just remember it working with tabs before, and now, that i didnt even change anything, all still the same setting, it does not open in tabs unless I click "open in new tab" ...Show All
Visual FoxPro Help creating a folder!!
I am trying to create a folder with Visual Fox Pro, using the MD commnad, and i the name of the folder to be the currnet date, anyone has an ideea md date() doens't work Just write the correct syntax: copy file recepti.dbf to ( addbs(m.lcFolderName)+"recepti.dbf" ) However for tables I prefer "copy to" over "copy file" (actually I never use copy file). ...Show All
SQL Server Copy Database Wizard Timeout Error
Hi, I am copying a database from one server to the other. Both have SQL 2005. When using the CDW, I get the following error after 10 minutes: Event Name: OnError Message: An exception occurred while executing a Transact-SQL statement or batch. StackTrace: at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteWithResults(String sqlCommand) at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteWithResults(StringCollection sqlCommands) at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferDatabasesUsingSMOTransfer() InnerException-->Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. CREATE DATABASE fa ...Show All
Internet Explorer Development IE 7 RC1 Breaks Scripts
I just installed IE 7 RC1 and my application scripts stopped working. An example: Dim IE, doc, pics Set IE = CreateObject("InternetExplorer.Application") IE.navigate "about:blank" Do until IE.ReadyState = 4: WScript.Sleep 50: Loop Set doc = IE.document doc.write("test test <img src='abc.jpg'> test") set pics = doc.all.tags("IMG") pics.length now returns 0 Help! Help! What should I modify Thanks in advance kk PS: It was still ok in the beta before RC1 I uninstalled Windows Internet Explorer 7 RC1 and it is now back to IE 6 and my scripts now work fine. I hope to return to IE 7 sometime in the near future. Hope this problem gets resol ...Show All
SQL Server Derived Column Transformations - DT_STR operand cannot be used with the conditional operation
Hi all I am trying to convert the string "(null)" in the [PASSWORD] column of my table to an actual NULL value. I have tried to use two different forms of a conditional operator to achieve this end. However I am getting the below errors both can be summed up with the following statement. DT_STR operand cannot be used with the conditional operation. The expression directly below however is using a type DT_I4 in the conditional clause as this is what FINDSTRING returns. Hence the equivalencey test to the literal integer 0. So I must say I am somewhat confused by this. Does anyone know why neither of the below statements are working Also is there an easy way to accomplish what I am trying to do - convert the string "(n ...Show All
