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

Software Development Network >> Davids Learning's Q&A profile

Davids Learning

Member List

phil_har
Srikanth Ramakrishnan
John Portnov
corblet
jaomello
Jamie Thomson
DWPorter
chucho
Bluehunter
cgai
CharlieDigital
Tovdb
Rashar
MaggieChan
musafir-a Voyager
Reza Bemanian
Kirill Osenkov - MSFT
Daniel_E
Mike408
Jonathan Abbott
Only Title

Davids Learning's Q&A profile

  • SharePoint Products and Technologies Sharepoint Blog

    I want to setup a secure Blog. This means that each user would have an online journal. only that reader and certain administrators could read this journal. 1.Is this somthing that should be done in sharepoint or should I just build a webapp to do this 2.If this is for sharepoint where can I go for some information on how to get started. 3.Note I am very very new to sharepoint so go easy on me if this is stupid..... Thanks OK, so how would you do this A secure site facing the WWW and a webpart that would allow people to blog with administrators individually without others reading what they wrote Like an online diary. ...Show All

  • .NET Development C# , Sending email through exchange server?

    I've searched on this and tried several methods using System.Net.Mail but I can't get it to work. I want to send email using the Exchange server they have at work. Anyone could show me how to do this (server requires authentication) Thanks in advance what doesnt work when doing it via the System.Net.Mail classes/namespace Having no experience in using Exchange, I would have thought that the same rules apply in terms of SMTP server/port and user credentials ...Show All

  • Visual C# Why File Opens in Broswer Window

    i'm using .net 1.1. Can somebody try to answer this question http://forums.asp.net/thread/1357943.aspx View=Flat The way ASP.NET works is that when a post-back event occures (such as a button click), the page sends the appropriate data to the server, the server updates the form and re-generates the HTML and sends it as a response, and the browser reloads the page with the new HTML. In order for you to be able to change the button's state from the server, you have to do this. However, instead of sending back the page, you are hijacking the response to send your receipt file. There really is no simple way to "fix" this. I think you need to think about your whole approach here. For starters, why ...Show All

  • SQL Server about subscribers

    i have millions of subscribers, any good idea to manage those subscribers efficently thanks Same old, same old... Query optimization (the most important thing!!!...). And remember that you can add custom indexes to NS tables. Also, if possible, break your application into several separate applications based on the module's functionality, and run them separately, maybe even on separate machines. Also, for performance, use SQL Server server machine for the SQL stuff only, and move the NS service and all other resources-hungry stuff (custom event providers, content formatters, etc.) to other server(s). Use subscription expiration to remove all "old" subscriptions, and once in a wh ...Show All

  • SQL Server x-Axis labeling

    Hi, In my report, I have StartDate and EndDate parameters.In my Line chart on x-axis i need to show the dates like this:Suppose startdate=1/1/2005 and enddate=12/31/2005 then x-axis labels like this:1/1/2005,4/1/2005,7/1/2005,10/1/2005,1/1/2006.In x-axis i put the Minimum value:Parameters.StartDate.Value and the Interval is 90( days),it is not working properly. How to show quarter of the year on x-axis. Please help me Thanks in advance Hi, In the chart Properties, for the x-axis tab there is no option to set the label to our Fields value.Am i missing some thing Can you explain me how can i set the label for x-axis. Thanks ...Show All

  • .NET Development What is the right way to instantiate/dispose a Control?

    Hi, In Windows Forms application I am trying to dynamically create and dispose Controls. However, while testing it I ran into the fact that the way I do it leads to a stable GC Handle leak (one per instance). Here is the code that seems to produce a leak: for ( int idx = 0; idx < 5000; idx++) { Control tmpCtrl = new Control (); tmpCtrl.Dispose(); tmpCtrl = null ; } This results in exactly 5000 extra GC Handles (according to performance counter). What am I doing wrong Thank you, Leo. Nobugz, thanks for answering. However, GC.Collect() does not seem to help the situation even if I put it in the loop: for ( int idx = 0; idx < 5000; idx++) { ...Show All

  • Visual Studio How to programatically add a new resx file

    Hi there, Can someone shed any light on how to add a new "resx" file to a project or any other file for that matter. I think "ProjectItems.AddFromTemplate()" may be the right method ( ) but if so, how do you determine the name of the project template to pass. Thanks very much. I have just finished the development of a free tool that I call ResEx , composite, translation friendly resource editor for .NET. It is a free tool and I intend to keep it free, containing all current features. A small charge may be applied for some features I may introduce later, just to help me keep supporting and enhancing the project. I encourage you to download ResEx and post any suggestions to the discussions page you can find under He ...Show All

  • SQL Server Replacing Oracle sequencers

    I have migrated a lot of tables from Oracle to Sql server with Inspires SqlWays. In this process I created identity columns on my tables, instead of the sequencers used in Oracle. Now I need to go through all the code and remove alle the places where sequencers is used in inserts statements, but is there a simpler way All queries are like this: Insert into Tablename(myidentitycolumn, column2) Value(MySequencer.nextval, "Column2 data") - I can't just search and replace, because I don't have anything to replace with. There is no Sql server function that just tells it to use the next identity (like a getNextIdentityValue() ). And if I replace with blank, it still has the identity column in the insert statement which cause ...Show All

  • Windows Forms PropertyGrid and ListBox

    Hi All Can someone show me an example of how to place a "ListBox" property within a PropertyGrid I am working on visual studio 2005.   srinivasa rao   To display any control other than a TextBox or the standard editor for a type, you should implement a UITypeEditor inherited class that performs the editing for you and then, you apply the Editor attribute to the object class that the PropertyGrid is to edit. To demonstrate this, suppose you have a class called Item. You want to edit certain objects of this class using a property grid control. The class Item contains two properties, ValueInt of type int and ValueString of type string. For the string value, you want the property grid to display a File selector so t ...Show All

  • Visual Studio 2008 (Pre-release) Including request in response message

    Hi, does anyone now how can I configure Indigo to insert request in response message headers. you can use MessageInspector class to modify incoming and outgoing messages http://blogs.msdn.com/madhuponduru/archive/2006/07/19/671922.aspx we might have more samples on wcf.netfx3.com http://wcf.netfx3.com/files/folders/transport_channels/entry3782.aspx ...Show All

  • Smart Device Development Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '%csidl_program_files%\minisirio\sy

    help me. I have this problem with the emulator pocket pc 2003 in compact framework 2.0 somebody knows the rigth way to resolve Ok. This problem i have resolved by put all files in one only project. But now, when I want to access to DataSet with adapter, (in DataSet.Designer.vb) starts a general network error. "SqlException" with this StackTrace at System.Data.SqlClient.SqlConnection.OnError() at System.Data.SqlClient.SqlInternalConnection.OnError() at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.ReadNetlib() at System.Data.SqlClient.TdsParser.ReadBuffer() at System.Data.SqlClient.TdsParser.ReadByte() at System.Data.SqlClient.TdsParser.Run() ...Show All

  • Windows Forms how to disable the pass of button shortcuts keypress to the underlying forms

    Hi, I have a mdi windows application with a menuitem . on clicking first menu item am showing a child form1 . on clicking second menu item am showing a child form2. in child form1 i have button &Apply and &Exit. in child form2 i have only button &Apply . i have clicked both the menuitems (i need both child forms to be open) when Alt+A is pressed the focus passes to the previous child form form2 (ie. active child form). when Alt + E is pressed the focus passes to the previous child form form1. how to disable the pass of button shortcuts keypress to the underlying forms ie) from form 2 to form1 Thanks, Shanthi. Hi Shanthi, I simulated the same application here ...Show All

  • Visual C# Audio and video capture for conferencing

    How can I capture audio and video to send to computers in a conference ...Show All

  • Visual C++ Is it possible to intercept or monitor IEEE1394 (or USB) commands from another program...

    Hi all-- I had a bit of a question. We have this microscope and a camera that communicates with a windows PC via firewire. In essence, I was wondering, is there a way to write a monitoring program to figure out what commands were being sent by the software to the camera/microscope via firewire so that I can control the camera and microscope I was wondering if anyone knows if such a thing is possible If so, where might I find some sample code to study (even if it's for USB...maybe I can apply it) I can think of two possible solutions, but I'm not sure of the ability of either. The first is run the program on top of my program that would study the events generated (is this possible any place to look ) and the second is monitor the IEEE1394 ...Show All

  • .NET Development Dictionary container serialization problems.

    I have a dictionary datamember that I am trying to serialize and get the following error {"Cannot serialize member InstrumentUI.Tallie.UserSpecificData of type System.Collections.Generic.Dictionary`2[[System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[InstrumentUI.Tallie+UserTally, InstrumentUI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], because it implements IDictionary."} Does this mean that you cannot serialize the dictionary data member. And if so is there antoher container that I could use. I need a data member that can store a byte[] as the key and hold another datamember that stores a string as the key and an in for the value. any ideas. I was using the dictiona ...Show All

©2008 Software Development Network