Tejas_Kishanwala's Q&A profile
.NET Development When to use "do not" and "don't" ???
I've looked everywhere on the Best practice and patterns site and a few other places on the net but cannot find a source where I know how to appropriatly send feedback to the end-user. What I mean by that is there must be a Microsoft site that details how to write outgoing messages. Should I use "Do not" or "Don't" How to formulate an error message How to formulate a validation warning message I have only found informa ...Show All
.NET Development Framework 2.0 Serial Port problem.
I cannot for the life of me figure out why my little bit of code doesn't work. Problem I'm seeing is ReadExisting() returns 1 single character followed by (BytesRemainingInBuffer-1) 0's. OnReceive events fire properly, but each call to ReadExisting returns only that one character. data = comport.ReadExisting(); bytes = comport.BytesToRead; status.Text = "READ: " + data.Length.ToString() + " EXPECTING: " + bytes.ToString(); Fo ...Show All
SQL Server Many to Many Look alike Dimensions
Hi all, I have this design scenario that I need to validate if this is the best approach and that there are no other alternatives that I have not looked at. OLTP 3 Tables: Loans (PK-->LoanID, LoanSequence) Borrower (PK-->BorrowerID, columns LoanID, LoanSequence are also there) BorrowerAddress (PK--> BorrowerAddressID, columns BorrowerID, LoanID, LoanSequence are also there) 1. The OLTP system does not do update, every ...Show All
Windows Forms Datagrid Problem using MDI forms.
hello, I am new to vb.NET so please be patient with me:). I am creating an application using the MDI. I have a form called frmBack which is the parent form with IsMdiContainer=True. When this form opens an Menu (frmMenu) form is opened at load. ...Show All
.NET Development Type Initializer therw an exception
hey guys, I'm very new on this forum and very new in .net as well. I'm trying to make a small software for my school. I'm using basic windows froms and stuff. I've multiply forms which are connected. Everything was working fine but i believe when i tried to fill the datagrid then it started to give me following error in the main form: System.TypeInitializationException was unhandled Message="The type initializer for 'WindowsApp ...Show All
Visual Studio Tools for Office Find() and Autofit() issues
I have 2 questions related to the Find() and Autofit() methods: I have a VSTO application that opens an Excel.Workbook wb, goes through all the worksheets via "wsCurrent = wb.Sheets as Excel.Worksheet", and then uses the Find() method on a specific column ("rngFoo = wsCurrent.Columns["A",missing] as Excel.Range") to find a value. I have applied the same logic to different type of columns successfully, except with one because the Find() fun ...Show All
Visual Studio class diagram in c# Express
Is there an add-in that work like a class diagram designer that can be used within C# Express Edition ...Show All
Visual Studio Express Editions Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxio ...Show All
Visual Basic System.Net.Mail - Can I save email before/after send?
I am experimenting with this to enable my five users to send email as a particular address. Everything works fine but what happens to the email message after submission to exchange Basically, I want to be able to save the generated emails to a particular folder on a shared network drive before/after sending. Cheers There are a lot of different ways to approach this. The first would be to serialize t ...Show All
.NET Development Change password in Active Directory
I am trying to change the Active Directory password using C#. However, it seems to me it does not really works. I wonder what is wrong with my code. Hope somene can help me with this and thanks in advance. Below is my code : try { string dcDNS = "mypsptestdev"; //use this if you want to supply a server name DirectoryEntry userEntry = null; string currentUserName = (((string)Context.User.Identity.Name).Split('\\')) [1]; DirectoryEntry ...Show All
Visual Studio Express Editions vb.net build a program now.
The vb.net build a program now! Is never shown in the regesteration benifits Link. The C# version is there but not the VB version. Here is my linkfor VB: http://go.microsoft.com/fwlink/ LinkId=52054 It is the same as the C# link. These express packages are great! Thanks!! Hey Arnie, I don't know what the problem is, but if you can email " vsrghlp[nospam]@microsoft.com " (remov ...Show All
SQL Server deploying cube w/o database dependencies
Hi, I have been asked to find a way to deploy a SQL 2005 cube with no dependencies on the relational database. Does any one have any suggestions of how this might be achieved Thanks ahur Not sure what you mean by "deploy". Do you have a cube already you have built Are you planning to create a new cube in Analysis Services and start writing data directly into it instead of processing cube b ...Show All
Visual Studio Team System Reopen existing schema project
Hi! Ihave project with imported schema, but on open project I give follow MessageBox: --------------------------- Microsoft Visual Studio --------------------------- Exception of type 'Microsoft.VisualStudio.TeamSystem.Data.Schema.InvalidIdentifierCriteriaException' was thrown. --------------------------- OK --------------------------- And after this message Project marked as unavailable. Project - SQL 2000 Project Database - SQL 200 ...Show All
.NET Development asp.net 2.0 master page
Is it possible to add a master page after I have created a few pages and then link them retrospectively as opposed to creating the master page first I can't see how to do this, I have added a master page but I cannot get my other pages to see/use it. thanks ICW In the <@ Page area add the masterpage directive and set it to your master page. Delete the head section of the webpage. Change the & ...Show All
Smart Device Development How to convert Pocket PC forms VS2003 to VS2005?
I have many forms created using VS2003, pocket PC and Smartphone. In the VS2005 there is a new file together the main form file called <form name>.Designer.cs. How can I generate this file for my forms Or I need to re-design all forms (The import wizard only converted the project). One of the errors I have: Forms\PPC\frmEstTime.resx : error MSB3103: Invalid Resx file. ResX input is not valid. Cannot find valid "resheader" tags f ...Show All
