Software Development Network Logo
  • Microsoft ISV
  • Windows Forms
  • Audio and Video
  • IE Development
  • .NET Development
  • Visual C#
  • Visual FoxPro
  • Smart Devicet
  • Visual C++
  • Visual Studio
  • Visual Basic
  • VS Team System
  • SQL Server
  • SharePoint Products
  • Windows Vista

Software Development Network >> J A Y's Q&A profile

J A Y

Member List

Uwe Keim
Troy Lundin
KeeperMustDie
CJ Clark
Rene Alexander
041661K
Krutika
chakravarthy_b
Shrini
MartinHN
PSDCHD
William Bartholomew
kmmii
Malazar
Ndte
Shameer A U
Emadkb
Pierre Leclerc
mahima
nzmike
Only Title

J A Y's Q&A profile

  • Windows Forms Microsoft Outlook contact modifying issue

    Hi All, I am using visual studio .net 2005 tool and frame work 2.0. language C#. Here i am trying to modify the properties of a contact item in Microsoft Outlook application through my local desktop application. I am able to modify most of the properties like namefirst, fileas, phone number etc. But i am not able to modify the private property of the contact item. Can you please tell me how can i achieve this. In Outlook.ContactItem class, i don't see the property for private. Regards, Anand Hi Anand, you can accomplish this using the Sensitivity property of the ContactItem class. If you have a contact object which is a ContactItem you can use: contact.Sensitivity = OlSensitivity.olPrivate; The OlSen ...Show All

  • Visual Studio Tools for Office Could Not Load Assembly 'Office, Version=11.0.0.0,............

    Hi, I am performing Word 2003 automation using C#, VSTO 2005. When the application is deployed, it works fine on most of the machines, but in a few scenarios i get some errors like "System.IO.FileNotFoundException: Could Not Load Assembly 'Office, Version=11.0.0.0, Culture = neutral, ........." The machines where the automation fails too have Office 2003 installed, but whenever some excel is opened, it proceeds to perform some installation. It could be because of Office not being fully installed. Is there any way to check the same using C# to whether the minimum Word requisites are met on the machine prior to performing the automation using C# That sounds like the Office PIAs (primary interop assemblies) are missing ...Show All

  • Visual C# Raising events from one thread to other

    Hello, I am new in C# and would appreciate any information on standard ways to raise events from worker thread (System.Threading.Thread) to the main UI thread, where the main form is created and lives. Here I interested in the events only (as they usually used within the thread scope), not Control.Invoke()/BeginInvoke(), not BackgroundWorker class, as they are more or less learnt and OK. By default, raised events go to the same thread, is it the only behavior If not, how I should redirect them into UI thread's message loop Thank you in advance. Hi, I have developed different multi-threaded applications and whenever I had the same situation then I used Invoke(). It always worked fine for me. I don ...Show All

  • Visual Studio Express Editions Adding to listveiw on another form?

    I am making an application which has a parent and several children. I have benn using VB6 for years but the higher object coding is getting the best of me. I have a listbox on "form1" form and would like to add to it from another form "form2". I want to add to it when some serial data comes in. I have made a public property on the "form1" to add the value tothe listbox but it does not work. Any help would be awsome.. Here is the property that i call from "form2" to add to the listbox. Public Property Listbx1Add() Get End Get Set ( ByVal value) ListBox1.Items.Add(value ) End Set End Property You are right it will not w ...Show All

  • Visual Studio XML documentation tags support in Sandcastle

    Currently Sandcastle supports C# recommended tags as defined by http://msdn2.microsoft.com/en-us/library/5ast78ax.aspx . As per the forums posts at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=629715&SiteID=1 we plan to supports the custom nDoc style tags in our ERTW release. As per http://ndoc.sourceforge.net/usersguide.html the tags we need to support are the following: <event> <exclude> <overloads> <preliminary> <threadsafety> <note> Please let me know if this list is complete Also we will provide documentation on adding user defined tags. Anand.. Paul and Michael, We are investigating both your suggestions. We plan to drop a version of Sand ...Show All

  • .NET Development Why do GZipStream compression ratio so bad?

    I tested on multiple files and GZipStream can only reduce the file size to ~70% of the original files. I tried the same files with GZip.exe utility from http://www.gzip.org/ and it can compress the files down to 50% of the original files. Am I missing something here I don't see any options in the GZipStream that I can set to make the result better. Thanks, hdp. Afaik. The reason for the compression level not being as good as with some other applications is that the most efficient compression algorithms on the market are all patent-protected. .net on the other hand uses a non-patented one. So the answer to your question would be, no, you haven't missed anything. Unless I've missed something... ...Show All

  • SQL Server select date range

    Hi i am facing a big problem in sql server 2005, i have a table call CD_OUTPATIENT_SCHEDULES and i got a field call START_DTTM and the datatype is datetime bellow is my sql,but it gives me the "2005" year data as wel,Y is that but i need to get data between '01/01/2006' and '30/01/2006' Please help me to solve this input date time format should be dd/mm/yyyy select CONVERT ( varchar ( 10 ), apt . TART_DTTM , 103 ), apt . SCHDL_REFNO from CD_OUTPATIENT_SCHEDULES apt where ( CONVERT ( varchar ( 10 ), apt . START_DTTM , 103 ) between '01/01/2006' and '30/01/2006' ) order by apt . START_DTTM regards sujithf Sujithf: In this case since you are conv ...Show All

  • SQL Server Export to Excel

    Hi! When i export my reports with tables to Excel cells border style get changed for unpredictable reason. Some cells keep style i set in designer, some don't. Is there a reason for that\ way to fix this Hi! I've found the rdl file! Please, note, that report is using Russian symbols - so you might need to delete\convert them before you will be able to run this report. < xml version="1.0" encoding="utf-8" > <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"> <DataSources> <DataSource Name="DataSource"> & ...Show All

  • Windows Forms TypeConverter problems

    Please i need help. Look to this code: namespace WindowsApplication2 { public partial class MyControl : Control { public MyControl() { InitializeComponent(); } protected override void OnPaint( PaintEventArgs pe) { // TODO: Add custom paint code here // Calling the base class OnPaint base .OnPaint(pe); } private MyInteger myInt = new MyInteger (100); [ DesignerSerializationVisibility ( DesignerSerializationVisibility .Content)] [ DefaultValue ( typeof ( MyInteger ), "100" )] public MyInteger Integer { get { return myInt; } set { myInt = value ; } } } [ TypeConverter ( typeof ( MyIntegerConverter ))] public class MyInteger { ...Show All

  • Windows Forms Problem with "attachevent" method --- Webbrowser.

    All, I want to attach some events to the document of a webpage using mshtml. My code fragment somewhat looks like below: public delegate void alert (mshtml. IHTMLEventObj obj); public void print(mshtml. IHTMLEventObj obj) { //Print something; } alert p; p = new alert (print); IHTMLDocument3 doc = ( IHTMLDocument3 )exp.Document; bool result = doc.attachEvent( "onclick" , p); <--- Invalid Cast Exception. I want to execute the function Print() upon "onclick" event on the document. So, Im passing the delegate as second argument. But, the attach window accepts some "object" type variable. I try casting it to Object, then also it wont work. Where I am doing ...Show All

  • Visual Studio Express Editions how some help fix my code?

    'Create a new MailMessage object and specify the"From" and "To" addresses Dim Email As New System.Net.Mail.MailMessage(" From@abc.com ", " To@abc.com ") Email.Subject = "test subject" Email.Body = "this is a test" Dim mailClient As New System.Net.Mail.SmtpClient() 'This object stores the authentication values Dim basicAuthenticationInfo As _ New System.Net.NetworkCredential("username", "password") 'Put your own, or your ISPs, mail server name onthis next line mailClient.Host = "Mail.RemoteMailServer.com" mailClient.UseDefaultCredentials = False mailClient.Credentials = basicAuthenticationInfo ...Show All

  • Visual Studio Express Editions Change date format in DatePicker control

    I want to cahange the date format in the datepicker control to Eg:-1-Jan-06 I know the string is "dd-MMM-yy" i just dont know where to use this what's the exact code you used I cannot see this error during compile or runtime, with option explicit set to on   also make sure you added, just before setting the customformat value:   Me.theDateTimePicker.Format = DateTimePickerFormat.Custom Me.theDataTimePicker.CustomFormat = "dd-MMM-yy" ...Show All

  • Visual Studio 2008 (Pre-release) How to configure a service which implements two contracts

    Appreciated if anyone could tell me how to configure a service which implements two or more contracts(interfaces) within WCF configuration editor. The service is expected to be hosted in IIS as well. You need two endpoints for two different contracts. After adding the first endpoint (with the "Create a New Service" option), you can click on the "Services" folder and select "Create a New Service Endpoint" for the first service, or you can expand the tree of the service up to the endpoints folder, then right-click it to add a new endpoint. ...Show All

  • Visual Studio Free May 06 library and VS6

    I was greatly impressed with the free version of the MSDN library. One thing I noted in the download page was: By default, it does not integrate with Visual Studio 6 Which means it can. Ages ago I lost my MSDN Library for Visual Studio 6 Pro cd and now I have lost all access to help which is important because I quite frankly prefer COM to NET, I find it more lighter and faster. How do you integrate it Glenn is largely correct, though there is still a lot of archival content in MSDN. Irrespective of the content in the versions of MSDN that shipped with VS 6 and later products, the underlying help system and interfaces entirely changed between VS 6 (circa 1998) and VS 7.0/.NET (circa 2002). Unfo ...Show All

  • Visual Basic How to debug windows paint messages within and across applications

    Hello, I am using Windows XP and VS 2005 with VB.net and I am writing a solution consisting of a set of applications, all running at the same time, with other applications. I have 4 monitors, which means a lot of real estate for applications. I have observed that my applications cause other applications to redraw their screen. This is most frequently when I use the DataGridView control. Scrolling the DataGridView at one point causes a burst of redraws in those applications, and I have to wait until the storm is over. Question: how can I catch and eliminate the messages that are obviously sent from my application to Windows (and thus to the other applictaions). The other problem with paint messages: Within one application, I ...Show All

©2008 Software Development Network