mharjes's Q&A profile
Visual C# Adding a .cs file to vs.net solution and Inserting code into it
hi , iv created a application to have a custom menu item "MyAddin" in the tools menu in the vs.net ide.....when any new .net project is opened "MyAddin" will be available on the click of which a windows form with a simple text box and OK button gets launched...... Now my requirement is that when text is entered into the text box and when the OK button is clicked a .cs file has to get added to the solution of the project ...Show All
Windows Forms MultiThread in VB.NET
Hi I want to make an application in VB.NET and I want this application to work as follows, There will be an array of items on which I want to perform a specific operation (MyTask), with the help of multiple threads. for example say the ...Show All
Visual C# List of TreeView controls in a panel
Hello all, I wanted to get some implementation suggestions on an idea I'm trying to code. I Want to display a form with a panel containing a series of treeview controls. The panel will be scrollable and updated dynamically with additional treeview controls. I want to have the treeview controls appear completely collapsed in a list with only the parent node text being visible. However, I want to be able to expand the treeview and have the o ...Show All
Visual C# GridView columns
Hi, I have a small problem with GridView. I have a DataTable with at least 5 columns, the size is variant. I want all columns except one in the DataTable to be visible. anyone know a workaround solution for this Set the size of the column you don't want to display to 0, then it isn't visable. But why do you want to add a invisable column. Store data somewhere else, it sounds like a bad design. ...Show All
Smart Device Development setting of ppc(i cant connect to sql from ppc )
hi. i want to connect to sql server 2000 from ppc 2003 SE Emulator. i have a combobox on form and i populate a table from sql. i write codes of combobox on form_load but when i try to work application, there is an error. it is sqlexception. how i can connect to sql. i am writing what i want. my table is Employee. i want to populate combo with EmployeeName(displaymember) and valuemember isEmployeeID.pls help me. what is settings of ppc thx. ...Show All
Visual Studio Team System Keyword Expansion using Team Foundation Server?
Hello! We've just moved some projects from VSS to Team Foundation Server and have now noticed that the keywords e.g. $Log $ or $Header $ no longer get processed. Some advice would be greatly appreciated. regards, Michael As linked, keyword expansion was cut for v1. To clarify (since your words were "no longer"), Team Foundation Version Control (aka Hatteras) is NOT built on the VSS codebase. It's a question ...Show All
SQL Server columns in select list
In your client, sure -- every client library can do that. In SQL Server, probably not. What is the business or technical problem you're trying to solve Perhaps we can come up with a better way of handling it. -- Adam Machanic SQL Server MVP http://www.datamanipulation.net -- < buragohain@discussions.microsoft.com > wrote in message news:6926c563-86b6-40a5-a ...Show All
Visual Studio Express Editions How to close parent form?
I know that I can't do this in VB2005... It's not clear what you are asking. In Visual Basic 2005, closing the startup form ends the application. No matter how you show the second form, calling Me.Close is going to close the parent form and end the app. Steve Hoag Visual Basic Express ...Show All
Windows Forms Datagrid Relations Dont Update Datasource
I am having a bit of a problem that is difficult to explain. I have a 2 datagrids set up like so: 'Parent Datagrid settings FormDataGrid1DataSource = DS FormDataGrid1.DataMember = "products" FormDataGrid1.AllowNavigation = False 'Child datagrid settings DS.Relations.Add("ProductStyle", DS.Tables!products.Columns!prodid, DS.Tables!prodstyle.Columns!prodid) DS.Relations.Item("ProductStyle").ChildKeyConstraint.DeleteRule = Rule.Cascade DS.Rel ...Show All
Visual Studio Team System Unshelving error
When I try to unshelve one of my shelvesets I get: "Error - No changes unshelved." Any ideas what might cause this First, if I wanted to update my older unshelved file set with what is currently checked into the repository without having to check the files in, how do I do that from VS >> Unshelve your changes, do a get (this will cause a merge), then reshelve your changes. From the pending checkins ...Show All
Visual C# Dictionary of events?
Is there a way to create a dictionary of event objects How This is what I have: public delegate void MyDelegate(); This is the type of thing I would like: private Dictionary<Object, event MyDelegate> listeners; Is something like that possible I know I could use a List<MyDelegate> instead of an event but I would rather use the event for obvious reasons. Thanks. Got it. Thanks. I didn't know the += op ...Show All
Windows Forms Datagrid INSERT problem & table with Autonumber
Hello, I have a datagrid that displays data from the Access table with primary key set as Autonumber. Update and delete functionalities work fine, but when i'm trying to add a new record and than save changes - it fails. Here is the code: ' *** ...Show All
.NET Development RunTime problem
Hello All; I want to load some images at runtime. So how can I specify the working folder and then point to that specific image. In other words i want to point my images folder as this: Working directory/images/... I have used some of System.Environment methos but no one help me. Any suggesstion with a code snnipet would be truly appreciated. Thanks. If you want the current directory you can use: ...Show All
Visual Studio Team System Team Build and MSBuild order
Hi, I have a team build type setup that will build several solutions in my team. I have one solutions however that consistantly fails when automatically build using Team Build. It appears that running msbuild on the tfsbuild.proj file that is created somehow calls project targets in the wrong order for this one solution file. If I build the solution file separately (still using the command prompt and msbuild) it is ok, but when build from t ...Show All
Microsoft ISV Community Center Forums Assign range to array
I am trying to assign a range to an array, but I keep getting a "Subscript out of range" error. I am using the following code sample. Dim Asset As Variant Dim LinesPerAsset As Variant Asset = Worksheets("Asset_Corr").Range("B5:AY5").Value LinesPerAsset = Worksheets("Asset_Corr").Range("B57:AY57").Value This is supposed to fill a 1 by 50 array according to what literature I can find. ...Show All
