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

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

Andrew A

Member List

rockowpb
Jim Kilmer
Josh Smith
maverick_majnoo
jalden
Holistic
JHagan
PJFINTRAX
hadjici2
GoPro
iansbrainstorm
hollow
Elad_23
Le Saint
Ska Software
ggsubscribe
Fox Me Up
Mark Cooray
6stringer9
Jorge Rossetto
Only Title

Andrew A's Q&A profile

  • Visual Studio Visual Studio 2005 IDE / ASP.NET

    Desiging ASP pages in VS2005 IDE. Unable to get the pointer to select multiple controls by drawing a rectangle/square around the controls. The pointer is always in "I" mode. I have to click on the individual controls while holding down the shift key to select multiple controls. What secret property in VS2005 needs to be turned on Thanks Thank you. I am sorry to hear that but but having worked with Microsoft for twenty years, I am not surprised. If you teach a man how to fish, Please don't drain the lake. ...Show All

  • Visual Studio 2008 (Pre-release) Just Signing or Encrypting the message.

    Hi Community, Did anyone try just signing the message Or Just encrypting the message Or Did any one try using two seperate keys for signing and encrypting e.g. I can have a seperate key for signing such as "CN=SignKey" and seperate key for encryption such as "CN=EncryptKey". Is it possible in WCF with minimum coding efforts If you have tried can you share your thought Can some one help me pointing to the right direction Thanks in advance. - Pankaj. Avanade Inc. Yes you just need to speicify the protection level as Sign http://msdn2.microsoft.com/en-gb/library/aa347791.aspx ...Show All

  • Windows Forms This BackgroundWorker is currently busy and cannot run multiple tasks concurrently.

    I have such a message like above when I try to run Background worker again after doing cancel. I though if it was cancelled (CancellationPending == true) - I can run it again but not! This is a part if code. I guess it is connected with race condition but I do not know how to solve it :-( private void btnStart_Click( object sender, EventArgs e) { backgroundWorker1.RunWorkerAsync(); } private void Run( BackgroundWorker worker, DoWorkEventArgs e) { if (worker.CancellationPending) { e.Cancel = true ; } else { SomeTimeCounsumingMethod(); } } private void backgroundWorker1_DoWork( object sender, DoWorkEventArgs e) { BackgroundWorker worker = sende ...Show All

  • Visual C++ label1->Text

    Form1 got 1 label, then i create another class, there have 2 files that class.cpp and class.h. Ifi want to change the  label1->Text = S"ABC" in Form1. How do i can use label1->Text in class.cpp to change the label1->Text = S"XYZ" You have to pass a handle to your label or to the form itself to the other class, from where you want to change the label. Then, you store this handle in the class and use it when necessary. ...Show All

  • Visual Studio Problem with IVsHierarchy.SetProperty(), please help.

    Hi All, I am writing a VSPackage for providing source control operations on Solution and Projects in Visual Studio 2005. I did implement the interface IVsSccManager2 and the function GetSccGlyph() appears to work fine for files. I really want the function GetSccGlyph() to work for folders (directories) as well. I could not figure that out, so I decided to use the function IVsHierarchy.SetProperty(). Here is an example of how I am calling it - hierarchy.SetProperty(itemId, ( int ) __VSHPROPID .VSHPROPID_StateIconIndex, VsStateIcon .STATEICON_CHECKEDOUT ); itemId is the Item Id of folder. This function does not seem to do anything. I also followed the SetProperty() call by IVsSccProject2. SccGlyphChanged () . Same result. ...Show All

  • SQL Server Population size in Naive Bayesian algorithm

    Hi, I am working with Naive Bayesian Algorithm and I do not understand why if the original table has 8.000 rcds the size of the entire population shown in Hystogram viewer is only of 2000. Do you have any answer Histogram In the Attribute Profiles part of the viewer If this is the case, then the most probable cause is that teh column you marked as Key in the mining structure does not contain unique values. Another possibility is that some of the conditional probabilities detected by the algorithm fall below the limit considered by the algorithm (which is controlled by the MINIMUM_DEPENDENCY_PROBABILITY algorithm parameter). So -- you could make sure that the key is unique, or lower the value ...Show All

  • Visual Basic System date and time sync

    I am just getting into programming in vb, and working on a small app for my work. I need some way to sync back to a server for date and time. If the sync fails, the purge will not run. I wanted to use net time \\servername /set /y Is there a way to verify if the system sync'ed I have been looking into the date information and cannot find any easy solutions. I would use straight .net commands if I knew how. The only stipulation is that it must be able to correct both an incorrect date and time, unlike windows time service. Thanks Darren Thanks, I figured out a way to run this. If you call a batch that does net time and then use the error level to edit a reg key, you can do the time sync and ba ...Show All

  • SQL Server Before Insert Trigger

    Hi, I've a SMS gateway that inserts SMS message into a varchar column. However, when it receives a SMS with single quote, it fails to insert into the varchar column. E.g., It's a...How's life .... I need help to find a workaround. Is there a equivalent of Before Insert trigger Also realised that the locgical 'inserted' table cannot be updated. Advice pls. You need to modify your SMS gateway to insert the values properly using parameterized commands and not by value or forming the entire DML statement dynamically. You can't catch these type of errors in triggers because the validations happen before statement execution. Using parameterized commands will eliminate the need to escape any sort of spec ...Show All

  • Software Development for Windows Vista Why StateMachine Workflow with ASP.NET

    Without using the SQL Tracking Service, how can we know the Status / State of a workflow instance with its InstanceID I got an example from the latest Hand On Lab (Lab04), seems the method is too complex, any simple solution about that Andy Ho Hello Tom, I read your all blogs about implementing StateMachineWorkflow using ASP.net. Also I have gone through example of "ASPNETStateMachineWorkflow". I am trying to develop small application using StateMachineWorkflow in ASP.NET. Before, I start asking Question to you, I describe why I chose StateMachineWorkflow in ASP.NET. In my application, individual user can request order creation. Each created order should be validated ...Show All

  • .NET Development Benchmark my application

    me not sure is that suitable to post this question on this forum, sorry if there not suitable. is there have a way to benchmark my application which done with C#(me using VC# Express) me try to find how much the CPU, memory, banwidth usage, average usage of them after application running a period of time. have some tools to do so thank you and sorry for my poor english Here is a very good reference. What you're asking is in Chapter 15, but do try to read as much as you can :). http://www.microsoft.com/downloads/details.aspx familyid=8A2E454D-F30E-4E72-B531-75384A0F1C47&displaylang=en ...Show All

  • Silverlight (formerly WPF/E) Extending XAML for WPF/E

    Hi, Even if the X in XAML stands for Extensible I have understood that the XAML that WPF/E understands is not really Extensible, rather WPF/E works with a fixed schema. If this is true it means that it is not possible tag XAML-elements by adding metadata as custom attributes from your own namespace, something that is essential in making the graphics 'smart'. The consequense is that the metadata has to be separate (XML-island, javascript objects...) and accessed by using x:Name as the key or some other workaround. I would really hope to hear that I'm wrong so please correct me that's the case ! Tim Shawn is correct - nothing planned to enable custom namespaces or custom elements for the "r ...Show All

  • .NET Development DS HELP

    I currently have this error when I delete a record and then save it. My code is at the bottom of this post, im a newb to this though wish to learn. Though i've tryed to google this many a times and still come up blank with out knowing how to fix this problem. Can anyone help much thanks and please keep the answer with simple instructions. --------------------------------------------------------------------- ERROR: Update requires a valid DeleteCommand when passed DataRow collection with deleted rows. {"Update requires a valid DeleteCommand when passed DataRow collection with deleted rows."} System.InvalidOperationException was unhandled Message="Update requires a valid DeleteCommand when passed DataRow col ...Show All

  • .NET Development Server connection timeout

    Hi guys, I am using the code below to connect to a server. This works fine on all the machines I have ever tried to connect to but a new server has recently been added on which it seems to timeout randomly. It would normally take 8secs to connect & retrieve information from a server but this takes 2 minutes on those random occasions. I believe that it may be the server timing out & responding a bit late as it might be busy or something.How could I possibly work around this and find out what is wrong I am using a third party SSH library to connect. I would appreciate any help StringBuilder output = new StringBuilder(); //SSH connection from 3rd party library (SSH2) //SSH Reader from 3rd party Socket s = new ...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.. Yes, amen to that, the inheritdoc tag is hugely useful, I used it a lot in my product! Please put i ...Show All

  • Visual Studio Manioulate shape text decorator at runtime.

    HI all, I am looking for a way to manipulate the text dewcorator of a specific shape instance (not shape type) at runtime. For exemple, I would like to give the focus to a text decorator when the parent shape is added to the designer. Or, change the text color depending on the state of the element associated with the shape. Is it possible Freddo Hi Pedro, Thank you for your help. I would also like to know if it is possible to give the focus to a text decorator when the parent shape is added to the designer. Freddo ...Show All

©2008 Software Development Network