Gbobbage's Q&A profile
Windows Forms Can you "refresh" the property browser
Hello All, I am extending a Window's control by adding a new Public Property named AltText which will replace the Text property in certain run time situations. At Designe time, I want to update the Text property with AltText if it is changed. AltText shows up correctly in the Property browser and if I drag a control onto the form's design surface it correctly displays AltText. I also update the standard Text property to the new value. The problem is the Text property in the Property browser is not immediately updated when I do that. If the Text property is not physically showing in the browser when I change AltText it is correct when I ...Show All
Visual Studio Team System Branch with DLL's files
Hi, How can I branch folder with all the DLL's files Making branch from the IDE does not copy the DLL's file (RC version). Thanks Are the DLL files checked in to SCC TFS Source Control does not check in DLL files by default. If you want your files checked in then add them to SCC using the Source-Control explorer. If they are not checked in then they will not be branched. Thanks, Erik ...Show All
Visual Basic some question about shortcut
how to know any shortcut --> what file and how to create a shortcut to a file i tried open .lnk file with notepad ,and i find it have " DATA: C:\windows\....... " ,but i can't "opentext" it and get that string The easiest way to create a shortcut is when you are using a setup project. In the File System Editor, right click on a file or project output group and select Create Shortcut. Then move this shortcut to the folder you want it to be in. I don't know of an easy way to do this via .NET Frameworks code. You might have to work with the Win32 API to do it. &n ...Show All
Visual Basic How to set the recordset of a classic ADODC (Data control) in .NET
rst = goLists.Facilities 'function returns an open recordset Debug.Print( CStr (rst.Collect( "ID" ))) 'this ensure the recordset is really open! me.adoData.Recordset = rst 'error message occurs here Why does this give an error message saying that I need to initialize using the new keyword (or else check for Null before setting the object) I have tried different variations of syntax, including putting this line first: Me .adoData.Recordset = New ADODB.Recordset 'but there is an error here too This simple operation (of setting a recordset on an ado data control) is something that I did all the time in VB6. What is ...Show All
Smart Device Development Removing junk characters
Hi, I am reading from a text file into a textbox and then separating items which are separated by a vbCrLf, and adding them to a list box. When I do this, at the end of each item, a box character appears, which then affects my database search as the string has a box in it. Can anyone suggest a way to overcome this Thanks, James Like this: { 'Create an OpenFile dialog if neccessary If fdlgOpen Is Nothing Then _ fdlgOpen = New OpenFileDialog 'Save the file name strCurrentFile = "F:\Documents and Settings\James Tucker\My Documents\BSc Computer Studies\Year 3\Fi ...Show All
Visual Studio Express Editions Hello World
Hi Guys, What version of the compiler do you ship. It says it is version 13, but from what I've heard the latest compiler is version 7.1 or possibly 8.0. Regards in advanced Chris That's a small piece of history . The Visual Studio IDE 2005 it's version 8.0 but the C/C++ compiler (and other related tools like the linker) predates the Visual Studio IDE so they have a higher version number. So you have: Visual Studio 2002 = VS 7.0 with C/C++ compiler 13.0 Visual Studio 2003 = VS 7.1 with C/C++ compiler 13.1 Visual Studio 2005 = VS 8.0 witch C/C+ ...Show All
Visual Basic XP Firewall, Port Blocking and OneClick
My app uses sockets to communicate, and Click-Once for installation (allowed to run locally.) After every update the XP firewall asks to unblock my app. Is there any way to tell XP that I'm the same app, even though (because of where one-click installs) I'm running from a different folder Users end up with dozens of instances of my app in their firewall exceptions list. Thanx! ---Mike There is no way to inform XP that two different exes comming from two different folder are actually the same app (or update to the same app in this case) I believe (never tried it myself) that using the "netsh firewall . ...Show All
Visual Studio Team System Beta 3 Supported OS List
Per the Team Foundation Installation Guide ( http://www.microsoft.com/downloads/details.aspx FamilyId=E54BF6FF-026B-43A4-ADE4-A690388F310E&displaylang=en ), Windows XP is a supported installation platform. However, when trying to install Beta 3 on Windows XP Pro the installation reports that the prerequisite of Windows Server 2003 has not been met. Is this a misprint in the install guide or just not supported in Beta 3 Thanks for any insight you can provide. Windows XP Professional is definately supported. We recommend you upgrade to SP2 (as this is what we have been testing on) and any other critical fixes. If af ...Show All
Windows Forms Java to C# Conversion
Hey everyone i used the JLCA that comes with Microsoft VS.Net Enterprise, it only converts 85% of my program. anyone know any good tips for converting the rest manually or any sites that teach how to do the conversion properly thanks! yeah, but i want to convert to C# so that it has more flexibility but thanks ...Show All
SQL Server Service Broker neophyte question: conversation_id and conversation handle
within the context of the sys.conversation_endpoints system view, there is: 1. A conversation_handle and 2. A conversation_id What are the differences between these two items Thanks. Doug conversation_id uniquely identifies a conversation and is the same at both the initiator as well as target. On the other hand conversation_handle uniquely identifies a conversation endpoint and is different for a given conversation at the initiator and the target. You should use conversation_handles for sending or receiving messages on a conversation just like you would ...Show All
Visual C# Sending mail with Outlook Express ?
I have a program that sends email, using C#. The problem is, the client wants a copy of the mail in their outbox. I've made this work by sending the mail in Outlook 2003, but apparently, most of the users have earlier versions, or (predominantly) Outlook Express. I don't want to generate an email that they have to click 'send' on, I want to send the mail, and stuff it into their Outbox. It's bad enough that outlook 2003 makes them wait 5 seconds and click a button to make it work. Any suggestions on how to further automate this process, or to automate it for Outlook Express, will be met with much appreciation. Thanks for reading how ...Show All
Visual Studio 2008 (Pre-release) Will be UDT's support in DLINQ?
Now, in early look, it's impossible. For example we can't write something like this [ Table ] public class Line { [ Column (DbType = "UniqueIdentifier NOT NULL" , Id = true )] public Guid LineID; [ Column (DbType = "Point" )] public Point A; [ Column (DbType = "or may it must be Udt " )] public Point B; } and call db.CreateDatabase(); because of fact, that UDT's can be deployed only at already existing database. Thanks I agree ...Show All
SQL Server Index was outside the bounds of the array
Ok, all I did was to create a new report, new dataset, hook it up to a simple stored proc. I can run that dataset fine and see the date in the Data tab. I go to the layout tab, throw on a textbox...or even try dragging in a field from the dataset tab, then try to preview and get the error "Index was outside the bounds of the array" what is it talking about, what array, what index the dataset Did you get the error the first time you view the report Or it started happening after you made some modifications Can you try refreshing it ...Show All
Visual Studio Express Editions I have it install correctly but I keep get this error (in message) and can't do anything
Could not load type "microsoft.visualstudio.shell.interop.ivsrunningdocumenttable2" from assembly "microsoft.visualstudio.shell.interop.8.0, version=8.0.0.0, Culture=neutral, publickeytoken=b03f5f11d50a3a'a Lawrence, What are you trying to do when this error occurs Without more context, it's pretty difficult to determine your problem. Can you recreate this consistently What are the steps to reproduce it Steve Hoag Visual Basic Express ...Show All
SQL Server How to Store System Variables in DB?
Hi, I want to store the System::StartTime in my Integration Table Log. Please guide how can I use this in my Execute SQL Task Block. I write this SQL Statement: INSERT INTO CMN_tblIntegration VALUES ('HRM_tblParty', ) Which the is for the parameter. I go to parameter mapping tab and map the System::SatrTime to parameter0, but the package fails to run. I also changed the to @IntDate and also changed the parameter name but the error was the same. Please help how to write this System Variable value in to that table. Regards, Samy In this situation I recommend using expressions rather than parameter ...Show All
