Ted Malone's Q&A profile
Visual Studio Tools for Office Suspending the Word background repagination
Hi, How can I suspend the Word 2003 background repagination while I update a document. Suspending this is necessary because of the amount of changes on the document. I have found the Word.Application.ScreenUpdating property setting to false, it's ok but still not enough, this does not disable the background repagination. Thanks in advance: Kazi My phone is 77p-979-8811 and email is sandy.luttrell@hp.com ...Show All
Visual Studio Team System Empty results generated when code coverage is enabled
I enable code coverage on a certain signed assembly. Then, I run the test and get the following in the code coverage results: Empty results generated: none of the instrumented binary was used. Look at test run details for any instrumentation problems. I get the following in the run details: Code coverage instrumentation warning while processing file TestSDK.dll: Warning VSP2013 : Instrumenting this image requires it to run as a 32-bit process. The CLR header flags have been updated to reflect this. The re-signing key file is the same key file used to sign the original assembly. Also, I created a new class library project and ...Show All
Windows Forms FindControl.
Hi everyone, Does anyone know what would be the similar of FindControl method from Web library to from Windows.Forms library I need to get what controls do I have inside a panel, like TextBox, etc. Thanks in advancing. Doria Apparently this method was left out of windows forms. Too bad, I can see cases where it would be useful. You will just have to iterate recursively through the Controls collection of your form. ...Show All
.NET Development ComboBoxes and DataBinding
Okay, so I need to build a database program that will only allow certain strings to be posted to the database, so I decide to use comboboxes, easy, right ... NOT! I set the data source property and the databinding properties and now it won't let me fill the Items property. Is there any way around this or am I WAY off in using a combobox Thanks. Ealdormere. When you use databinding on a control you shouldn't be modifying the Items property at all. Databinding will set the Items property based on the data provided. You only need to modify Items when you are not using data binding. If you want to ...Show All
Architecture the best orm for .net?
I would like to know your favorites, i am looking for a free one and with caching capabilities. well I would say to look at the following and weight their pros/cons with your requirements nhibernate gentle.net (2.0 is looking great is is completely based around concepts put forward in DDD by eric evans) wilson O/R (its not free but it has a minimal price, $50 if I remember correctly that includes source) A nice thing about this particular implementation is the sproc support. All come up within the first 5 pages on a google search, let me know if you have trouble finding any of them. Cheers, Greg ...Show All
Windows Forms Sending parameters to an embedded form .Net control?
If I embed a control like so: <object id="mycontrol" height="472" width="488" classid="WebControl3.dll#WebControl3.UserControl1"> </object> Is there a way to send the control parameters that it can later use For instance, if this HTML is dynamically generated, perhaps I'd like the control to do different things depending on where the&n ...Show All
Visual C++ conversion of String to LPWSTR
i want to convert String to LPWSTR. how can i do that, i tried: LPWSTR test = (wchar_t*)ext.toStdWString().c_str(); where 'ext' is string. but it returns garbage value in 'test' please help What is toStdWString Is ext realy a std::string You can usethe ATL conversion fucntions: USES_CONVERSION; LPWSTR test = A2W(ext.c_str()); or if you just need the pointer fur a short time you can use CA2W! ...Show All
.NET Development AccessDataSource - assigning values from column to a variable - VWD2005 Express
Hi all, How can I assign a value from my database to a variable such as: dim mycity as string mycity = Me .AccessDataSource1.TableName(0).MyColumn This works in my Visual Basic Application, but I'm trying to port this over to a web application. I can't find any similar examples when using the AccessDataSource class in codebehind using Visual Web Developer. What is the best way to accomplish this Try reading the ADO.NET documentation: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconoverviewofadonet.asp ...Show All
Visual Studio Express Editions Registration links leading to "Page cannot be displayed"... help!!
In VB2005 Express; I go to help..product registration..register now... and get a bad page. This includes already being logged on to Passport http://go.microsoft.com/fwlink/ linkid=51341&lcid=1033&h=525242e2f8628ede&c=&pid=76541-000-0000011-00124&bn=050727.42 Is this happening to others Is there another way I can get to product registration Thanks Ian e-z-e2005@hotmail.com I've tried a few things with no luck. Had to reconfigure firewall for other programs as well, just need to find the right combination. I guess there is such a thing as too much security. I thought I finally got f ...Show All
Visual Basic Newbie - Problem spawning a thread
Hi, I'm kind a new to this VS .net stuff. I'm building my first application in VB.net. It's a crystal report scheduler using multithread functionality. The program works fine on my machine, but when I deploy it, the part that suppose to spawn the thread doesn't work. Other part of the program works fine, but when it's time to spawn the thread, nothing happen. Any body got any idea Any help is appreciated. Thank you, Rudy AngRudy, is the app in question either on a network share or drive other than the system-drive What is the trust level of your application as set in the project properties ...Show All
Visual Basic Converting Binary to Single
Is there any function to convert a 32 bit binary value, or 4 byte hex string into its Single representation For example I need a function that will take a Hex string of 0000803F or 1000000000111111 in binary and convert that to its Single value of 1.0. I tried a line like: text1.text = Csng(&H0000803F) but it returns 3.2831E+4 which is not what i wanted. I'm new to .Net, and i really need help with this. I been searching for ever but i can't seem to find what i been looking for. Private Function hexcon(ByVal val_Renamed As String) As Single ...Show All
Visual C# sqlce and sql server 2000 sp2 rda.pull() exception occurs.
hi. i am using sql server 2000 sp2+ c#.net in studio 2005. when i call the rda.pull() an unhandled exception occurs: "SQL Mobile encountered problems when opening the database." the same code runs perfect in studio 2003. is there any version conflict or some problem with code/data provider etc. thnx in advance. the code is... string rdaOleDbConnectString = "Provider=SQLOLEDB;Data Source=MEASUM;Initial Catalog=D1Temp; User Id=measum;Password=123" ; SqlCeRemoteDataAccess rda = new SqlCeRemoteDataAccess (); rda.InternetLogin = "IUSR_MEASUM" ; rda.InternetPassword = "1 ...Show All
Smart Device Development Adding a new WinCE emulator to VS.NET 2003
Hello, I've developed a new emulator platform using Platform Builder 4.2: now I would like to use this emulator in order to test and debug my applications written using the compact framework: how can I add the new emulator to the VS.NET 2003 environment I've found no way till now... Thanks in advance and Kind regards Severino Daniel Moth wrote: Follow the steps here: http://www.danielmoth.com/Blog/2005/01/pb-sdk-for-vs.html Cheers Daniel Hi again Daniel, a little contribution: inside the tutorial pointed by the provided link, you should add as a "must" the availability of the "CAB File In ...Show All
.NET Development Problem updating 2 tables with data relations
//I have 2 data tables Member and MemberMap within my typed dataset. These 2 tables are related //through the "MM_Relation" relation. Below is the code for the DataRelation and the //ForeignKeyConstraint. fkc = new System.Data.ForeignKeyConstraint( "MM_Relation" , new System.Data.DataColumn[] { this .tableMember.MemberRIDColumn}, new System.Data.DataColumn[] { this .tableMemberMAP.MemberRIDColumn}); fkc.AcceptRejectRule = System.Data.AcceptRejectRule.None; fkc.DeleteRule = System.Data.Rule.Cascade; fkc.UpdateRule = System.Data.Rule.Cascade; this .relationMM_Relation = new Sys ...Show All
Visual Basic Declaring and Disposing Variables
Hi, In one of my classes, I have a line as follows: Public CurrentAccount As New System.Xml.XmlDocument My questions are: 1. What actually happens when I declare this variable I understand that declaring a variable allocates memory space for that variable, but does this line allocate the maximum size of an XmlDocument for CurrentAccount Later on in my application, I use CurrentAccount.Load to load an XmlTextReader - does this fill the memory space If so, what if the XmlTextReader is larger or smaller than the allocated memory space Sorry if these questions seem pointless, but I'm interested as to what is actually going o ...Show All
