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

Software Development Network >> akdpr's Q&A profile

akdpr

Member List

Martin Booth
johnny_no1_boy
karthik asok
B. Ritter
raja760
danadanny
rebeccat
Santhosh Pallikara
jeffli
kevincad
renotiko01
Damien White
Alexei Pavlov aka BlackTiger
rattatosk
Alex Ivanoff
Joe Albahari
raatey
mthierauf
mliesmons
Sekar1979
Only Title

akdpr's Q&A profile

  • Visual Studio Tools for Office Opening Visio on specific page

    Hi, I need to open Visio file on specific page. (E.g. my Visio file has 3 pages.) Is it possible Thank you very much . ...Show All

  • .NET Development ASP web Page Not Working (Need Help!)

    Hi All, I've created a "contact us" form using HTML in front page 2003 for our website. I have it so that when you fill out the info and hit submit, an ASP page sends an e-mail to my e-mail address containing all of the info the person filled out in the form. This is the first time I'm ever doing this on my own server. I think the ASP.Net windows component is already installed (it is checked on the add/remove windows components screen) and I am pretty sure that my web coding is ok. I keep getting a "page not found" error when I submit the form. Would anyone have any suggestions or would anyone be able to help me. e-mail is zartitech@zartigroup.com . I am running the site on Windows Small Business Serve ...Show All

  • SQL Server Cannot open database "aspnetdb.mdf" requested by the login. The login failed.

    Hello Guys This is my connection string <add name ="ASPNETDBConnectionString1" connectionString ="Data Source= .\SQLEXPRESS; Integrated Security = True; DataBase = ASPNETDB.MDF; User ID = MyWindowsUserName; Password = MyWindowsPassword; User Instance = False; Connect Timeout = 30" providerName ="System.Data.SqlClient"/> I tried to research on the internet and i got a solution on changing the permissions for this database to enable user SystemName/ASPNET, but iam not able to access this ASPNETDB.MDF from SqlServer and if i go to server explorer in vs2005, i dint know where to chage the permissions. Can anyone help me on this. Thanks a lot hi, Thanks for your info abt the addin ...Show All

  • Windows Forms Readonly databinding with a business object

    I tried to bind a property of a business object to a TextBox control. I used a BindingSource component to accomplish this task. So far so good :-) The property of the business object is a read only property. I thought that data binding recognize this and set the TextBox control to read only. I was wrong. But it's even worse. If I change the text in the TextBox control I can't leave the focus from the TextBox anymore. The focus is trapped in the TextBox control and the user doesn't get any error message. Is it possible that data binding recognize the read only property and set the bound control to read only Can I prevent the TextBox to trap the focus I think the usability for trapping the focus in a control if the validation ...Show All

  • SharePoint Products and Technologies ObjectDataSource in a web part?

    Hello All, My code below works perfectly when I put it in an ASP.NET application (default.aspx code behind for example), but as soon as I put it in a web part (compile it into an assembly and place it into GAC) I get this error: "The type specified in the TypeName property of ObjectDataSource" ObjectDataSource objDataSrc = new ObjectDataSource ( "Fully qualified name of my type" , "select method name" ); objDataSrc.SelectParameters.Add( "Perosnid" , "123" ); GridView grdViewPersons = new GridView (); grdViewPersons.AutoGenerateColumns = false ; grdViewPersons .DataSource = objDataSrc; grdViewPersons.DataBind(); this .form1.Controls.Add(grdViewPersons ...Show All

  • Software Development for Windows Vista How to create an Instance of IUpdateServiceManager

    please delete this thread ...Show All

  • Visual Studio Team System Web Test Transactions

    Hi, I'd like to know which is the meaning of Web Test Transactions.  Is it just a logical grouping of requests Has it some other implications Which is the impact of using them Thanks LucasC I got one question related to transactions. Suppose i group four requests into a transaction, and if the frist request fails, will the client send requests 2 to 4 or will it fail the test without sending the request Thanks ...Show All

  • Visual Basic Inserting a record into a Gridview

    I am using Visual Web Developer 2005 Express Edition, with VB and SQL Server 2005 (express). I want to have a gridview that will edit/update, delete, and insert records. It should be easy - editing and deleting are simply a matter of checking a box on the smart tag. But how do I insert a record I was expecting another check box option that would handle it all (perhaps with an empty row at the bottom, in the manner of Access and SQL), but I've not been able to find such an option. Do I have to create an event handler - if yes, what event, what do I write I haven't been able to find anything in the help, or in the forum. This is such a basic question - have I missed something obvious Regards, Robert ...Show All

  • .NET Development Problem in Master/Detail Update

    Hi Guys i am new to vb.net and i am using visual studio 2003. I have created a master detail relationship between two tables. My problem is i am not able to update the changes. I am pasting the code please help me. Imports System.Data Imports System.Data.SqlClient Imports System.Configuration Public Class AsnEdit Inherits System.Windows.Forms.Form Dim cn As New SqlConnection(ConfigurationSettings.AppSettings("constring")) 'OleDbConnection i Dim cmd As New SqlCommand("Select * from asnhdr_sql", cn) Dim da As New SqlDataAdapter(cmd) Dim ds As New DataSet Private Sub AsnEdit_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) ...Show All

  • .NET Development XML Validation Bug .NET 2.0

    Hello, In my recent experience with .NET 2.0 i faced a bug in of xml validation in .NET 2.0. I created a xsd that contains an simple element (of type xsd:int ) in one of its complex type, I passed few invalid alphabets and try to validate it, and it gets validate w/o any problem, Although the same xml file I passed to XmlSpy 2004, it threw validation exception. I know there in no problem in my code because the same thing worked for xsd:datetime type, when i passed invalid characters it threw exception (event ValidationEventHandler raised). here is my code string schemaloc = ConfigurationManager.AppSettings["SchemaAgentRegistration"]; string targetNS = ConfigurationManager.AppSettings["AgentTargetNS"]; agent.getDO ...Show All

  • Visual Studio 2008 (Pre-release) Not able to get "A Visual" from VisualCollection object, although it exists

    I am drawing lots of custom visuals; some using custom geometry objects using streamgeometry and some are drawn using plain vanila draweclipse using drawingContext. Once all of the above objects are created and displayed on the form,On hit testing I am not able to reference back any of the objects created by the streamgeometry. None of this working ... _currentVisualCollection.IndexOf((Visual)_hitResultsList ) _currentVisualCollection.Contains(((Visual)_hitResultsList ) Using VisualTreeHelper .GetDrawing(visual), i do get the visual back but I cannot do anything if I cannot locate the same visual in the visualCollection and remove it as I need to update the layout. Any leads.. Hopefully this post will catch any M ...Show All

  • Visual Studio New project type with wizard

    Hello, I created my own project type with the wizard support (IWizard implementation). The wizard implementation involves my wizard dialog box. How can I abort the project creation when the user press my "Cancel" button Thanks Hi Pierreg, You should throw a WizardCancelledException to abort or cancel the wizard. Throw a WizardBackoutException, if you just want to move back to the previous step (the Add Project dialog for example). These exception classes are implemented in the same assembly that defines the IWizard interface. Microsoft.VisualStudio.TemplateWizardInterface. Sincerely, ...Show All

  • Visual Studio 2008 (Pre-release) BUG? : XContainer.ReplaceContent throws an exception if attributes of the element are passed...

    and they already exist on the element. I am not saying it's a bug for sure, but if an element has an attribute, and you call ReplaceContent() on the element and specify the same attribute, you will get an exception. I tend to think it is a bug for the following reasons. 1. It has the same feel as the class constructors that allow multiple args to be passed. And, since when constructing an XElement you can specify attributes, it feels a little inconsistent that you cannot specify them when you call ReplaceContent. You could argue that attributes of an element are not considered content, but I think you could also say they are. 2. If you do not already have an attribute with the passed name, it will be added and handled properly. It ...Show All

  • Visual Studio 2008 (Pre-release) custom control problems

    i am writing a custom control to draw a series of polylines. i've managed to create a nice little program that does just that (and also draws the equivalent bar chart :-) ) but i am having problems converting this to a custom control. my first problem is that i do not know how to create DP's for an unknown number of user defined variables. for example i want the user to be able to say something like: <LineChart .........................> <Line> <"series of points"/> </Line> <Line> <"series of points"/> </Line> .................. </LineChart> (the reason for having any number of lines is that i want to be able to add and delete lines at runtime) my initia ...Show All

  • Visual Studio Team System Cannot write to a closed TextWriter

    In Unit-Tests I want have all output of all trace-sources available in each unit-test output, so I can debug more easily. for this purpose I add a ConsoleTraceListener to all Sources. This works fine, when running one unit-test, but executing a batch causes the following error: Test method WZ.Hermes.Border.Daemon.UnitTests.MonitorHandlerTest.ExecuteMonitor_EmptyMonitor threw exception: System.ObjectDisposedException: Cannot write to a closed TextWriter.. at System.IO.__Error.WriterClosed() at System.IO.StringWriter.Write(String value) at System.IO.TextWriter.SyncTextWriter.Write(String value) at System.Diagnostics.TextWriterTraceListener.Write(String message) at System.Diagnostics.TraceListener.WriteHeader(String source, Trac ...Show All

©2008 Software Development Network