Omar Khan's Q&A profile
Visual Studio Langauge Services
IS there any documentation or examples of adding a language service into VS using managed code other then coloring I have looked at that regex example and I would like to know if there is something more full, especially dealing with intellisense... Thanks to anyone who has an answer hey ed thanks for the info and good to see your posting out here to ...Show All
Windows Forms caller Id
I made a program that shows the number of the incomning call when caller id is available. For this i dowload an active-x that detects caller id. I use the model 5633 modem of US robotics. The problem is that the number is not always shown . Even when i make call from the same number it 's not always displayed on the screen. The developer of active-x told me that this is problem of modem or drivers. I updated the driver but the problem still rema ...Show All
Windows Forms How to capture double click event on a datarow in the grid
Hi, I need to capture double click event on the rows of a datagrid in winforms application. I could not find anything for this. I would appreciate any help to achieve this. Thanks... System.Windows.Forms.DataGrid inherits from System.Windows.Forms.Control, which exposes a DoubleClick event. You can then grab the currently selected row via grid.CurrentRowIndex. You have to double click on the row head ...Show All
Windows Forms Deploy Content XML Files to TargetDir not to subfolder
Is it possible to deploy "content" files located in a folder called "ContentFiles" to the application folder(TARGETDIR). If I add the project - content files, then the files are deployed under the folder "ContentFiles" - which is not my requirement. Any suggestions how I can resolve this. Thanks ...Show All
Visual Studio 2008 (Pre-release) serviceType information
Why is the serviceType specified to the WCF infrastructure in two places a) ServiceHost creation - constructor parameter b) An attribute of the service element in the config Am i missing something very basic here -Sendhil this is another example of declarative vs imperative... the infrastructure gives you the flexibility either to host the service declaratively, through IIS, for example, or host the service p ...Show All
Visual C# Send Email...
I have been looking for a way to send email and have found many ways to do it. All of them require an SMTP server though. Is their anyway to run an SMTP server "in" my program (minimized to tray) on localhost at all times Or is their a better way, such as open smtp servers etc. Thanks. That is exactly what I said! You need a server to deliver the message. I know you don't need an email client (like eudora ...Show All
.NET Development n-tier
Hi, I need a sample about develop asp.net application with n-tier. thanks I'm afraid that the forums is not a good place for getting example code for an entire application. It is simply too much code. You should try the regular developer sites that provide articles and tutorials. Some of my favorites are: http://www.codeproject.om http://www.codeguru.com http://www.c-sharpcorner ...Show All
Windows Forms Windows Forms autotab
In Windows Forms is there an autotab capability It existed in MFC where when typing into an Edit control (textBox), once the max number of characters for the control was exceeded, the focus went to the next control and the characters were&nb ...Show All
.NET Development VS 2005 Time delay in calling subroutine (Office Interop)
Hi to the group, I wrote a program originally in VB.NET 2003 to retrieve some outlook items. The program runs just fine. I have recently converted it to VB.NET 2005 and here is the issue: Program loads and runs up to the point of calling a subroutine - 'GetSomeOutlookItems'. The program has thus far taken about 1/2 second or so. The subroutine is in its own module and imports Microsoft.Office.Interop. The program now takes about 6 to 8 seconds ...Show All
.NET Development Error 454 5.7.3 Client was not authenticated
In my VB.Net application i am sending email using MailMessage object of System.Web.Mail, using following code '**************************************************************** Message = New MailMessage Message.To = strEmailAddress Message.From = strMailFrom Message.Subject = strSubject Message.Body = MailBody Message.BodyFormat = MailFormat.Html SmtpMail.SmtpServer = strMailServer SmtpMail.Send(Message) '*** ...Show All
Windows Forms ImageList adds "hard" edge to images? (VB.Net2003)
If I add an image (png with 8-bit alpha drop shadow) directly to a button control it renders the alpha information properly against the button. If I add images to an ImageList control (with ColorDepth set to Depth32Bit) then use the images on a TabControl or ToolBar the images have a hard single-colour alpha and a hard (in my case blue) edge around the png - which sucks on the colour "Control". Is there anything I need to do to an ImageList or ...Show All
Windows Forms ErrorProvider's validation events gets lost between tabControls.
First off I have used the ErrorProvider before and understand the concepts and have placed them successfully on other dialogs. But I have run into an issue where the validation event goes missing...I can recreate the scenario here, it involves two tab controls, a button and a textbox: Working Scenario Create a Winform application. Add an errorprovider component. Add a tab control (#1) to the form. To the winform: Add a textbox which will handle ...Show All
Visual Studio Express Editions a few questions...TextBox and changing an Image
Actually one more question to that list. I just ran the application and got an error. I'm working with a node list and it says my node list variable doesn't have a value. I'll show a section of the code, and let me know if you need to see more. I realize now by looking at it that I declared the variable, but never set it. How do you set a node list variable Dim xmlCCNodes As System.Xml.XmlNodeList Dim xmlCCNode As System.Xml.XmlNo ...Show All
Windows Forms retrieving the 'main' form
is there any way for a Component to obtain a reference to the Form-object to which is was added that is, is there any static method to retrieve (any) Form-objects that have been instantiated. or is there methods in the Component-class which can give the 'parent'-Form of that Component though, I know that Components may exist without beeing added to a Form... but what I like to have is a reference to th ...Show All
SQL Server Bandwidth check?
Hi there. a Quick question, and a stupid one may I add! How can I check how much bandwidth is being used in a query to be executed, running SQL Server 2000 in bytes/KB I would like to know how to do this in both, 2000 and 2005 if possible. I just want to see if I am doing things correctly and effeciently, I believe I am, but also would like to make sure I am not over using my bandwidth from the web hosting point of view also. ...Show All
