toddhd's Q&A profile
Visual Basic Array starting at One
I'm trying to make a array start at 1 and go to 600, i tryed using "to" but never worked. ReDim Preserve Array(1 to 600) Well, i did in fact do that but it never showed me that and with what i'm trying to do i thought i needed to start at 1 but i dont. Thanks for all the help ...Show All
Windows Forms How do I hook up a MouseDoubleClick event to a DataGridViewComboBoxEditingControl hosted in a Datagrid view cell?
How do I hook up a MouseDoubleClick event to ComboBoxEditingControl hosted in a DataGridView cell What i need to do is perform some task on cell double click. The DataGridView.CellMouseDouble click works only when the focus shifts from cells to the cell containing the combobox control. Once the focus is on the cell containing combobox control, the subsequent double clicks do not fire the datagridview.CellMouseDoubleClick event is not called but the control is passed to the hosted editing control. So i tried hooking up the editing control's MouseDoubleClick event. But neither the editing control's double click event or the datagridview's CellMouseDoubleClick event is ever called. However,the editing controls other events such as MouseClick ...Show All
.NET Development Performance Xml/Xslt or Word object(urgent)
Hi, We have a webform with 100 to 150 input values.Once the form is complete the entire form's data is saved as word document along with formatting(headers,footers,font formatting etc) and given as a link to the user for download. The question is , in the process of transforming the data as word ,which is the optimal solution in terms of performance and timing . 1. using Xml/xslt for formatting and saving as word (or) 2. Using Word object library(Unmanaged Com- office library) insider .Net The page may go even to 30 or 40pages, the resulting word doc.The process shouldnt take more than 5 seconds. ...Show All
Visual Studio Express Editions COM + ADO.NET
Hi people, How I use a Sqlconnection opened in VB.net, in COM compiled using /clr I need use one connection in my application VB.Net and my Component (COM). Thank's People, It’s work!!!!!! I passing a ADO.NET connection in VB.Net to Component (ATL). Example VB.NET: Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim rui2 As New testeLib.rui Dim conexao As New Npgsql.NpgsqlConnection( "Server=192.168.1.43;Port=5432;User Id=postgres;Password=postgres;Database=saogoncalo;" ) conexao.Open() rui2.connection_ = conexao End Sub Examplo C++ with /clr ...Show All
Visual Studio 2008 (Pre-release) .NET 3.0 Installation Problem
Hi There, I have a problem installing the .NET 3.0 framework. I downloaded the July CTP but half way through it fails with this: [08/25/06,19:59:04] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [08/25/06,19:59:09] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed. [08/25/06,19:59:09] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed. Any ideas Working with Microsoft Support after several attempts to find the root cause of the problem described here, we performed the following. Start->Run, type msconfig. Choose start the mac ...Show All
SQL Server Freeze Pane functionality during Export to Excel
Hi All, I have created a Report using Sql Server 2005 Reporting Services. When I export the report to excel, I want to freeze the pane of the headers in the exported excel. Any pointers on how to achieve this will greatly help me. Thanks, S Suresh There is no way to tell the Excel renderer to freeze an arbitrary pane. However, the renderer does set a freeze pane for the page headers (not the table headers), so that might be a possibility for you. ...Show All
Visual Studio Tools for Office Localization Spell Checker
Hi Guys, I am a sri Lankan. I want to plug a sinhala Dictionary and validate the spellings, written in sinhala. So when user right click on the spesific word the word i select from the data base has to be shown in the spellin list insead of english. if you have any code or resource which can help me to do this please tell me. Tharindu (Sri Lanka) OK. In Word you set the spelling language by formatting the document text, It's very similar to applying fold formatting or italics. you just have to make sure the proofing tools for the required language are installed if spellcheck should work. you can always format text with a language, even if the proofing tools aren't present, Then the spell checker ...Show All
Internet Explorer Development IE7 and changing an image in a different frame
We have a series of GIS mapping applications that run using ESRI's ArcIMS software with a javascript based html viewer. We use a series of frames on a single page to display the base map, legend, table of contents, and an overview map. The applications have been running for about 4 years without any major browser issues. However, the document object coding that we use to update and switch the overview images does not work in IE7: < SCRIPT LANGUAGE =JAVASCRIPT > < !-- ... parent.OverviewFrame.document.images['ovImage'].src = 'image.gif'; ... //--></SCRIPT> Anybody know how to get this working again Thanks! Pasayten I just copie ...Show All
Visual Studio Team System Explorer
There is a way for use the explorer like a standalone application outside Vs2005 If you're referring to Team Explorer- yes. You can install just the Team Explorer without Visual Studio- it should be in the "tfc" folder in your installation media. The standalone client looks very much like Visual Studio since it installs the VS shell if VS is not present, so you don't need to have Visual Studio installed to use Team Explorer. Hope this helps- Cheers, Adam ...Show All
Software Development for Windows Vista DVD Title on REV Disc
Hello, I wanted to know if it is possible to create a DVD title, as per the DVD Video Standard, on the REV Hard Disk Or for that matter any ATAPI Hard Disk What are issues for the same. Thanks, a You can get the IMAPI documentation as part of the MSDN library at http://msdn.microsoft.com/library/default.asp url=/library/en-us/imapi/imapi/portal.asp IMAPI does not support HD DVD and BD-R at this time. OSTA's UDF specification recommends UDF 2.50 for HD DVD and BD, with the exception of BD-R POW for which it recommends UDF 2.60. Type 5 devices refers to MMC indeed, but not particularly to the revision 5 of this standard. Type 5 is defined as part of SPC, Scsi Primary Commands - see www.t10 ...Show All
SQL Server Size specified for a binding was too small, resulting in one or more
I have changed my source data warehouse by increasing some column widths. Now when I try to deploy the cube I get: Warning 1 Errors in the back-end database access module. The size specified for a binding was too small, resulting in one or more column values being truncated. How do I fix this I have tried going into the DSV and making sure things were right. I have gone into the dimensions and can't find anything to change. Any ideas Thanks, Chris Just to add that I had this error even after I had refreshed the DSV and it had reported no changes. Manually changing the field length does solve the problem. Richard ...Show All
Game Technologies: DirectX, XNA, XACT, etc. FPS style camera movement???
Could someone please tell me where I could find a sample project (Complete code that works with no modification)that draws an object (any 3D object) and moves a camera around(Using FPS style controls with a mouse and keyboard). Any help would be appreciated. Friendly note for these forums as your a new user, if someone gives you the answer to yourquestion, use the "Mark as Answer" button on allpoststhat helped. Have fun Learning! Darkside ...Show All
Smart Device Development error code
I sync my smart phone with my pc and a error came up that said activesync encountered a problem on the desk top support code 86000108 how can I fix the problem. the best place to ask would be here: http://www.microsoft.com/windowsmobile/communities/newsgroups.mspx since these forum are for software development only ...Show All
Visual Studio Multiple tables in the same database causing problems
So I have 3 tables inside one access database that im trying to create a report off of. My problem is that when I have fields from more than one table in the report, the report will not pull any data from either table. Its almost like its confused on how to access the data. Are there any fields in the tables that link to each other I guess what I am asking is what fields are in the tables that relate to each other. Like Customers to Orders, or Customers to Addresses, etc And if none of them relate to each other, what kind of report are you trying to create Sorry for all the questions! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Determining if (part of) traingle passed depth buffer test/got rendered
My problem is simple, I want to draw an triangle (or anything for that matter) and then want to know, in the fastest possible way, if anything actually got rendered. I want to use this for a kind of portal engine. Basicly I want to draw part of a complex scene, with depth buffer enabled for read/write. Then I want to draw an transparent triangle (with depth buffer writing disabled), if part of this triangle is actually rendered (thus is within the viewing frustum and passes depth buffer test) I want to know this, so I know that which is behind it, is also visible. I need to do this several times per frame and want to keep my framerate up, so I want to do this as fast as possible. Does anybody has an idea how to do this ...Show All
