Steven P.'s Q&A profile
Windows Forms memory leak in datagrid binding and unexpected behaviours
I am using visual studio .net 2003 to create my vb.net win application. I noticed that when I add a table style to a datagrid’s table styles collection as below: DataGrid1.TableStyles.Clear() DataGrid1.TableStyles.Add(tableStyle) The datagrid1.controls collection keeps growing because there are datagridtextbox controls contained in DataGridTextBoxColumns object. This will cause memory leak. Do I need to handle this situation explicitly Also, I might need to add datagridtextbox control in datagridtextboxcolumn to form’s controls collection t o make events happended to those datagridtextbox controls also can be catched by parent ...Show All
Microsoft ISV Community Center Forums I need to install ACTIVEX so I can be able to Download.
Every time I try to download the CursorMania it says you do not have ACTIVEX. Please help me. Per our support engineer: You need to allow the browser to download the ActiveX control. I can't post a sample screenshot but you should see a pale yellow bar just below the browser address bar and just above the actual web page. Click the yellow bar to install the necessary activex control. -brenda (ISV Buddy Team) ...Show All
Smart Device Development Printing from mobile device and compatibility
Hi, First I would like to tell u wat I am doing actually I am creating a windows form for device application which is link it to sql mobile edition 2005. So is definitely running on .net cf 2.0. So my question will this application of mind which is running on VS2005 will work on a device which is running window mobile 2003 Secondly the form which I am creating have some of the form component like text input and combo box etc etc. So once the form is filled actually I will have a button at the bottom of the form labeled as "print" which need to print my current form on a mobile printer. What is the best mobile printer that ...Show All
Visual Studio Team System unique scenarios how to test load testing?
My web application having program name as unique field. Same program name should not be used by multiple numbers. While doing load testing I will record with program name as Program1 and generated the web test. When I am calling this web test in my load test with 10 users all 10 users will try to create the program name as program 1. at this time validation message will come that program name entered is already exit in database. Pls choose another name. Like this unique scenarios how to test load testing Pls let me know how to perform load testing in this case. Thanks, Shankar Your best way to do this is pr ...Show All
SQL Server ASP.Net Session has expired
I created an app that uses the viewer supplied by Microsoft for 2005 SSRS. All works fine on staging machines and in production IF you open link to the app in a new window, but not when in frame container within existing site. Although if you do open in new window, then try to open in frame, it will work fine. What makes the production server different is that my viewer app is on a different machine, if run from local instance of reporting services, again all works fine. I have tried creating a forwarding page, which simple sets a bogus session value, then transfers to actual page with viewer control, that didn't help. The base ap ...Show All
.NET Development WebBrowser: How to navigate and send values with method post
WebBrowser How to navigate (with WebBrowser.navigate(...) ) and send values of textbox with method post Can i have two methods ( not with mouse) * change the value of textbox and click in bottom (Send events to the browser (ex. Web1.Document.Forms(0).RaiseEvent(.. .)) * the values to the headers( ) and navigate to the page can you tell me how to do with this two ways.. thanks ...Show All
Visual C# break point not hitting in a particular form
I'm developing a project in VC#.Net(windows forms). Except a form in all other forms i'm able to run the debugger(break point not hit) In the particular form where i'm unable to debug i'm using a third party component(twain OCX). A point here is that dubugging is failing only in the form load event, in other events it works fine. In a different machine(with the same os and processer architecture) there is no problem in debugging. Can any one give me valuable suggestion/help. Regards, Seenivasan Palaniappan (geekwithgutz@hotmail.com) Is the form constructor completing correctly If this is ...Show All
Software Development for Windows Vista Accessing DHCP Lease Table Remotely
What we are actually looking to do is to have our program reach out onto the network and communicate with an electronic device we have manufactured. What we are looking for is to take a known Mac Address and find out the device's Dynamically Assigned IP Address. We would like to do this with minimal End User input. We know that every DHCP network has a DHCP server, and every DHCP server has a lease table. Every DHCP Lease table has a correlation of Mac to IP. We want to be able to access the information in the DHCP Lease Table without shutting down services. The Microsoft DHCP management console can do this, and the W2K3 admin pack (in ...Show All
.NET Development xpath won't give back xml-node when attribute is added
Hello I have the following xml-document < xml version = " 1.0 " encoding = " utf-8 " > < DIDL xmlns = " urn:mpeg:mpeg21:2002:02-DIDL-NS " xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " > < Item > < Descriptor > < Statement mimeType = " text/xml " > <SomeXML/> </ Statement > </ Descriptor > </ Item > </ DIDL > in the XmlNode node. When I ns = new XmlNamespaceManager ( new NameTable ()); ns.AddNamespace( "mpeg7" , "urn:mpeg:mpeg7:schema:2001" ); // used in SomeXml ns.AddNamespace( "didl" , "urn:mpeg:mpeg21:2002:02-DIDL-NS" ...Show All
Visual Basic E-Z Question N vb.net
Three textbox controls, texbox1.Text = 'number1 textBox2.Text = 'number2 texbox3.Text = 'result when i click my button i want to add the values of the two text boxes and then show the result in the Result textbox3 Textbox3.Text = TextBox1.Text + TextBox2.Text but all i get in the result is the two number i entered, like if i enter 6+6 it will show 66 any help I'm guessing that this is homework so I'm not providing code, but I can tell you what's happening. The Text property of a TextBox is of type String, which means it is just a series of characters. It is NOT a number, even if the characters themselves represent ...Show All
Visual FoxPro passing parameters to vfp com servers using createobject
Is it possible to pass a parameter to a vfp com server using CreateObject("COMServer.Class", eParameter) It seems to me that whatever I pass in eParameter it is always .F. within the INIT method and PCOUNT() always gives 0. Regards Darren Woodford Woodford Computer Systems Ltd http://www.woodfordcomputers.co.uk Hi Darren >> Is it possible to pass a parameter to a vfp com server using CreateObject("COMServer.Class", eParameter) I don't think so. I have always used: oComObj = CreateObject("COMServer.Class" ) oComObj.RunAMethod( eParameter ) That certainly works. I ...Show All
Visual Studio Express Editions cannot register visual web developer 2005 express
I got my activation key, then copy and past it in the activation field, but I get an errormessage : " Activation key you entered is not a valid ..." How can I solve this problem Every time I start Visual Web Developer 2005 Express I get a windows pop-up which tells me to register the product now. When I click on the message it will route me to thist website: https://profile.microsoft.com/ProductActivation/ProductActivation.aspx lcid=1033&WizId=9a8bdc4e-05ae-45c7-a17e-66b864c33382&pid=76872-000-0000011-00123 Here I sign in with my hotmail account after which I will receive an e-mail ...Show All
SQL Server Scheduled Database Backup for MS SQL Server 2000
I've been trying to make our server to schedully create a backup for our database. The problem is when I'm done with the scheduling and click 'OK', I again open "database">>all task>> back up, all the properties which I entered are all gone. ...Show All
Smart Device Development Standard Design for a C# Wrapper to Native functions
Hi all I have a wrapper to a driver and it is being used by multiple applications. Can somebody advise me what would be a standard design for a C# wrapper a .cs file or a shared dll. Thanks in advance Both ways have advantages and disadvantages. If you’re planning to share library, you can ship if with, say, new version of a driver so your applications can be updated without any changes. You might save some space as well. However, you would need to strong name sign that library and GAC it. Also it would expose your driver as its all public. Sharing source file makes it harder to upd ...Show All
SQL Server Groupings on a free form list
Greetings fellow geeks, I'm using Report Services report designer for the first time, and am trying to do a freeform list report. Here is my select statement: SELECT cp.*, crev.RevisedDate, crev.RevisedUser, crev.RevisedHistory FROM CPTProtocol cp LEFT OUTER JOIN CPTRevisionHistory crev ON cp.CPTCode = crev.CPTCode ORDER BY cp.RelatedCPTCode, cp.CPTCode I am trying to show a list of all related CPTCodes on a page with the RelatedCPTCode on the heading, however when the page breaks it only has the first CPTCode in the series. Can anyone offer some insight into how I would get the complete list of CPTCodes by RelatedCPTCode Warmest Regards, L ...Show All
