Software Development Network Logo
  • VS Team System
  • Architecture
  • Smart Device
  • Visual J#
  • Windows Vista
  • Visual C#
  • Windows Forms
  • Visual Basic
  • Windows Live
  • .NET Development
  • Microsoft ISV
  • Game Technologies
  • SQL Server
  • Visual FoxPro
  • VS Express Editions

Software Development Network >> Gail Erickson [MS]'s Q&A profile

Gail Erickson [MS]

Member List

jo0ls
kedklok
Galher
jeanXia
huahsin68
Arie Jinich
Fran-1980
delanean
davros51
VasuK
t341
jd.conley
dpage2006
Houman b
LarryA
vinay dubey
remisp
Haseeb Ahmad
badbadboy
ahops
Only Title

Gail Erickson [MS]'s Q&A profile

  • Visual C# Bind to a private member variable of my own class.

    Dear Friends, I have a class with two Member variables inside it as follows : public class MyView {   private string name;   public string Name   {     get{return this.name;}     set{this.name = value;}   }   private DataView dv;   public MyView(string vName,DataTable dataSource)   {     this.dv = new DataView();     this.dv.Table = dataSource;     this.name = vName;   } } I dont want to set the internal DataView variable to public and I want to use Binding when using this class as follow.Suppose that the BindGridView m ...Show All

  • Windows Forms In VS2005, The Component Container does not have a reference to the Form

    I am trying to create a custom control that inherits from BindingSource. I need a reference to the containing form of this new control. From the BindingSource, I can use the .Container property to get the ComponentContainer, but there is no property or method to get a reference to the form from there. Does anyone know how to get a reference to the form using Windows API Thanks, Hi, Could you please be more clear in your problem definition Thank you, Bhanu. ...Show All

  • Visual Basic Interface

    Hi I have an applicaion made upof many classes, some of those implements custom funciton. Until runtime i would not know if the class implements that function function ---------------------------------------------- public class myclass implements mycontrol,iLog public function LogIt()as Boolean End Function End Class ---------------------------------------------- public class myclass2 implements mycontrol, iLog public function LogIt() as Boolean End Function End Class ---------------------------------------------- public class myclass3 implements mycontrol End Class Like given above I have to create a class at runtime ...Show All

  • Visual Studio Visual C++.net standard 2003, installer hang

    Not sure where to go to get help with this. The installer spends an hour copying files and updating keys (step 2 of 4), then its window goes blank and it goes totally dead. Only way out of it is to reboot the system. It does this repeatedly. I thought it might be due to reusing the product key (this is a replacement system for one that had a hard-drive crash, and Dell's replacement hard-drives would not boot), but the EULA says I can make multiple copies as long as I'm the only user (which is the case). If this is not the right place to get help, can someone point me there. Thanks, Mark. Finall ...Show All

  • Visual FoxPro UPDATE vs REPLACE record locking

    The VFP 9.0 Help file shows the following: UPDATE - SQL Command ,Remarks, Tip: "When updating multiple records in a table opened for shared access, SQL UPDATE uses record locking, unlike the REPLACE command." Locking Data, REPLACE: Current record and all records from aliased fields UPDATE - SQL: Entire table These statements seem to conflict. The first leads one to believe that the UPDATE - SQL command would lock records and implies the REPLACE does something else. The "Locking Data" page in help basically says the opposite. Can anyone shed some light on this Thanks, Dennis ...Show All

  • .NET Development XQuery in .NET

       Hello Everybody,             I have an xml document which I need to query.So I have to either keep it in a relational database & use SQL or I can use XQuery directly on the document.But I found out that .NET does not support XQuery.             So, can somebody please tell me how to convert a xml document into a relational database table automatically. Then probably I can use ADO.NET for querying.             Bye. SQL Server 2 ...Show All

  • Windows Forms C# Version??

    This looks like a great sample, but will we see a C# version any time soon Thanks, Eric J. Smith Does the new version include the C# code for the GDI+ Controls bye Luxspes ...Show All

  • Visual Basic Status der Insert-Taste abfragen / State of the Insert-Key in .NET2.0

    Hallo ich wurde gerne den Status der Insert-Taste in meiner Anwendung abfragen, allerdings sieht die Keyboard-Klasse aus dem .NET-Framwork 2.0 das standardmasig scheinbar nicht vor (nur CapsLock,ScrollLock usw.). Kennt jemand eine einfache Losung um das dennoch ohne Windows API zu realisieren. Andreas Hello   I like to get the Status for the Insert-Key in .NET 2.0 Framework and i dont know how. The Keyboard-Class dosnt support this easily. Can anyone help Andreas But you have got that in the variable bInsertPressed as boolean. Youy track that in the application, if the appli ...Show All

  • Visual Basic Database Questions

    I'm fairly new to creating programs that utilize databases. I have just purchased a book about ADO.NET, but I wondering if anyone could offer some opinions on where to start. In particular, what database program should I begin learning Most of the applications that I want to develop will really only need a local unshared database to systematically store and recall information. I would really like to avoid spending a large amount of money on purchasing a database program, so would MSAccess or MySQL be a good place to start Also, where can I find a good tutorial on the basics of building database applications If anyone else has any point ...Show All

  • .NET Development Windows App Not working over Network

    I've got a windows app that connects to a DB and copies a few files from a network share to the local PC. The app is ran on the network share because everybody in our company uses it and when modifications are made, we don't want to have to redistribute 50 or so copies of the .exe. Every time I run the program from the network, I get a standard Windows error and Microsoft wants me to send them the information, it doesn't get too involved other than that. BUT if I run the app from the desktop of the Network box then it runs fine. The network share can see the database and connect to it, so I know it's not that. It must have something to d ...Show All

  • .NET Development ado.net, connection pooling, and leaked connections

    Hi, I have been looking at some legacy code with performance issues: I ran perfmon on the problematic use case, with a counter on .NET CLR Data / Current # Pooled connections (amongst others) I noticed that while performing a set of tasks in the use case, pooled connections increased systematically peaking at 9. I think this is because of the workload governor which MSDE uses, but I think that this would simply carry on increasing on a full instance of SQL Server. I am unsure why this is happening: my question is this: given a non-threaded single-user  environment, why would the current pooled connections increase in this wa ...Show All

  • .NET Development PInvoke, SendMessage API, etc.

    Are there any reference sources for Windows API function declares (Pinvoke statements) in .NET, or VB.NET With the SendMessage API I need to specify lparam as an object, but apparantly I'm not allowed because I get an 'unbalanced stack' error. Can I turn these off Do they really matter Advice or pointing me to some help material would be appreciated.   ForgottenCoder wrote: Are there any reference sources for Windows API function declares (Pinvoke statements) in .NET, or VB.NET http://www.pinvoke.net     ForgottenCoder wrote: With the ...Show All

  • Visual Basic master/detail and combobox problem

    I have a master/detail app using VB Express 2005 and SQL Express 2005. I'm using a listbox to list names and a bunch of textboxes and comboboxes to show the detail for each name. Most everything is working fine except the comboboxes do not display the correct value when the window is initially displayed. The textboxes are fine. What is being displayed in the comboboxes is the first value in the collection which is being loaded from a datasource. If you click on another name in the listbox, the comboboxes and textboxes look fine. Then if you click on the first name (the name that was initially displayed on the form with invalid combobox value ...Show All

  • Visual Studio Express Editions Edit a listview subitem

    Hi, I have a listview with 3 columns, and some rows. I have searched the internet for a code to edit a value of a subitem. I found soms code, like: ListView1.ListItems(2).SubItems(3) = "something", but this won't work. Does someone can help me (Sorry for my limited English) Greetings, Robin Robin, Are you using VB6 and the Listview control from that   If memory serves me correctly, the listitems and subitems are 0 based collections.  So if you have 3 columns, they should be indexed 0-2. VB6: Debug.Print ListView1.ListItems(0).SubItem(0).Text Debug.Print ListView1.ListItems(0).SubItem(2).Tex ...Show All

  • Visual Studio Express Editions Best way to repeat tasks on a regular time interval.

    Using VB.NET 2005 I have a hardware device the constantly sending data to the PC serial port. I was wondering what the best way to poll the serial port for data would be. I was thinking of two different approaches. Any pros/cons or another suggested method would be appreciated. I'm kind of thinking that Option #2 is better programming practice. I'm just not sure where to start. 1) Put a timer on the form. Set the timer to trigger every 10 minutes. When triggered, the code inside the timer reads data from the serial port. This is an interupt of sorts 2) Have a seperate thread that runs in parallel with the main program look. Inside this ...Show All

©2008 Software Development Network