piaqt's Q&A profile
Architecture UML/Modeling Tools you are using?
One of the problems I have found in VSTS 2005 is the lack of modeling tools for the Software Architect. Jack Greenfield addressed and answered my concerns here . He also said MS is working on some addressing some of the issues. I responded to him here . I needed something today to allow me to continue doing my job which currently is implementing a product line engineering process. I am using UML on this project. In case you are interes ...Show All
.NET Development DataSet
i have a dataset filled with mdb, wich contains ID, Name, Date und salary. so here is my problem: 1. how can I sum all those salaries together 2. how can i sum salaries according to Date for example sum salaries only for June. is there any way to get Salary column into an array for calculation the answer will not be saved in database. can somebody help me please. thnx in advance ...Show All
Visual Basic Arrays converted from VB6 to VB.NET
Hi there I'm converting a large vb6 app to vb.NET and I have a problem with arrays!! As I understand things; in vb6 arrays were indexed from 1 by default, but in .NET they are indexed from 0 by default. Now, the big problem I have is that in the vb6 code there are a lot of enums defined that help a developer index in to an array to the correct place. This was coded on the assumtption that arrays are 1 based. When I convert the code the ...Show All
.NET Development Multi User
Hello, I have to develop an ADO.NET application where different users at the same time will work with the same application on the same database. Adding, Editing, Removing the same records on the same tables. Can someone provide me a link or some more information on how to handle this I think there are different ways to program something like this, so i would like to know how some of you have handled this situation. Thx ...Show All
.NET Development Populate DataSet from CSV
Hi there! I'm trying to populate a DataSet from a CSV-File. The CSV-File looks like: "Name";"Given name";"Department";"E-Mail";"Telephone" "Test";"Test";"Dep 1";" Test@Test.com";"+49 555 555 555" And my Code looks like this: string strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + System.IO.Path.GetDirectoryName(strFileName) +";" + "Extended Properties=\"Te ...Show All
Windows Forms DataSet designers and connection
I am considering using the dataset designer for my project however, I am concerned that this means the connection string will be hard coded. Ideally I would like to have the connection string maintained in the app.config file so that deployment will ...Show All
Visual C++ Positioning of ASCII Characters
Hello I am a student and though I know this is a section that is reserved for C++, my question is regarding C. My assignment requires me to draw ascii characters onto the screen at different positions. I can only use the standard C libraries though and I'm not sure how or which one to use to find out how to position the characters as if I was using a coordinate system. Is there a library that contains a function that outputs a chosen characte ...Show All
Visual Studio Team System How to get template id of a project in VSTS
Hi When I create a team project in VSTS then we select a methodology template for that. It means that every project is associated with some methodology template. So, my question is that how can I retrieve template id for a particular project. Do we have any API for that. Regards Hi Neelam, Here is some info from Ravi Terala, a developer who works on this area. "We thought about tagging the project w ...Show All
Visual Basic Work with multiple projects
I have a question regarding the "integration" of different projects: Firstly I would like to know if the beta2 version of visual basic express exports the forms in a way I can then use their design in other projects. I tried the wizard but doesn't seem to work. Basically what I need is import a form, previously designed in a project, in another project. I tried adding the project, that works although I don't know how to refer to the forms i ...Show All
Windows Forms calc needed size of DataGridView
Hi, I want to size the DataGridView based on the number of rows up to a maximum size. So I watch the data source and when the number of records changes, I recalculate the size of the grid. So far so good, but I do not seem to get the right size... I tried this: int height = this .gridView.Top + this .gridView.ColumnHeadersHeight + (rowHeight) * rowCount; But I seem to struggle with the right value for rowHeight, I tried ( RowTemplate.He ...Show All
Windows Forms Access Main Form Variables From Child
I looked through the archives and didn't really find an answer to my question. In my Main form, I have a "global" array that holds some data. I want to be able to access and make changes to that array from a child window. & ...Show All
Visual C# Creating a Process and passing in a string?
Hello, I am trying to use our 3rd party fax software FaxPress. It requires this line of text to be called during a command line. Our old VB 6 app is doing this but using a shell command. I was told this could be done using the Process class in C#. Here is what I have: /// <summary> /// Faxes attachments to destination /// </summary> /// <param name="output">Output directory for FaxP ...Show All
Visual Studio Tools for Office Accessing shared calendar occurrences
Hello all, When I am trying to access occurrences from a recurrence in a shared calendar, I notice the following problems : - I am getting the same appointment (the master appointment) when using the Restrict method on the items collection. - an exception is raised when I try to use the GetOccurrence method on the appointmentitem object : message : "Object reference not set to an instance of an object." These two problems disa ...Show All
Visual Studio Multi-User Capability
Is there any that multiple users can share a model, each changing or adding components without conflict Is this planned in any way David, Have a look at the following post. I think it answers your question. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=68168 Edward ...Show All
Visual Studio Express Editions Class not registered (Exception from HRESULT: 0×800400154) (REGDB-E-CLASSNOTREG)
Dear Sir, I have a Visual Studion 2005 Professional Edition from www.PCUNIVERSE.com to build a project of Chuon Nath Dictionary. This application has been made a setup deployment file, when I install into the other computer, then it displayas the error when I execute this application, the error code display as follows: Unhandled exception has occured in your application. If you click Continue, the application will ignore this e ...Show All
