Software Development Network Logo
  • Windows Live
  • SQL Server
  • Visual C#
  • Visual Studio
  • Windows Forms
  • .NET Development
  • Microsoft ISV
  • Visual C++
  • VS Express Editions
  • Windows Vista
  • Game Technologies
  • Architecture
  • VS Team System
  • Visual FoxPro
  • Smart Device

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

Miechu

Member List

urw
mmoeser
nedde
ShaulB
Ivan Martinez
punamdahiya
barteknj
Dspapi
Cesar Francisco
groves
Thennavan Ramalingam
sqldbapree
KCH
lauviss
Jimi J
Seth Maffey
Opher535
Ablecrane
kwilder
WinL
Only Title

Miechu's Q&A profile

  • Visual Studio VSS2005 Internet - Ther was a failure uploading the URL

    I've searched and read several threads on this and have checked all my permissions on both the upload directory, the virtual directory and the settings in the .ini file and all appear correct but I'm still getting the error - There was a failure uploading the URL http:// serveraddress /SourceSafe/VSSUpload_db1/ Guid1 / {Guid2 }. Do you want to retry the operation Yes No What's odd is that if I check the physical directory on the VSS server, there are several files in the GUID directory, including the file it's having trouble with. I tried removing the project from source control and adding it as a new project and watched to ...Show All

  • .NET Development Static object instantiated multiple times

    I've just recompiled an app I've been working on for about a year with the final release of .NET 2.0, and I've come across a rather shocking problem. I am attempting to use a singleton for my app's preferences. A code sample is below, followed by a detailed description. namespace Apex.ProgramData {     public class ApexPrefs     {         private PrefsClass _data = null ;         private static readonly ApexPrefs _thePrefs = new ApexPrefs();         private ApexPrefs()       ...Show All

  • Visual Studio Express Editions How to read and write a text file without screwing up the encoding

    I am writing a program that reads in a text file, makes some modifications, and then writes the modified version to a new text file. The problem is that any non-english characters in the text file get turned to gibberish. I know this has to do with the encoding of the text files, but I can't figure out what I am supposed to do to keep this from happening. What class do you use to save your updates to a textfile Or better yet, can you provide some codes so we can see what is causing the problem. -chris ...Show All

  • Visual Studio How to insert BoxObject from WindowForm into a section of CrystalReport ???

    Hello Krishna, - Can I insert a BoxObject from windowForm in C# into CrystalReport - Please take a look my code below: private void CreatCircle() { CrystalDecisions.CrystalReports.Engine. BoxObject boxObject= (CrystalDecisions.CrystalReports.Engine. BoxObject )_crystalReportDraw.Section3.ReportObjects[ "BoxObjectCircle" ]; //CrystalDecisions.CrystalReports.Engine.ObjectFormat objectFormat = (CrystalDecisions.CrystalReports.Engine.ObjectFormat)_crystalReportDraw.Section3 ; boxObject.Top += 400; boxObject.Left += 100; boxObject.Right += 100; boxObject.Bottom += 400; boxObject.LineStyle = CrystalDecisions.Shared. LineStyle .Si ...Show All

  • Visual Basic ? difference between: Me, MyBase and Parent

    I don t know what the difference is between these three items: me, Mybase, parent When do we use each of them. Also is the quivalent of this in C#: Me or MyBase Gracias Amigos:) Me is a reference to the current object. Often optional to use, but helps clarify your code when accessing methods and properties with objects with similar names. MyBase is a reference to the base object: the current object may have inherited from a base object. Used when you explicitly want to access a property or method of the base class. Parent is the 'owner' or container of a control or form (Graphical controls) and is not relevant to a ...Show All

  • Software Development for Windows Vista Delay Activity and ASP.NET

    I have a workflow that contains two HandleExternalEvent activities and a Delay activity all within a Listen activity. Obviously, when the Listen activity is hit, the workflow instance goes into an idle state. My intent is that if either event is not raised to the workflow within the specified timespan on the delay, an alternate path should be taken. The workflow never comes out of idle after the elapsed delay has passed. When I fire an event to the same workflow, the workflow instance is deserialized from the persistence store and starts up at the appropriate HandleExternalEvent activity without any problem. The workflow instance is hoste ...Show All

  • SQL Server Reading and writing same variable to a script

    It looks like its not possible to both read and write the same variable from a script using the conventional Me.Variables.<variable> syntax. I can only assign a variable as Readonly or ReadWrite and not both. If I assign it ReadOnly I can only access it in the PreExecute subroutine. If I assign it ReadWrite I can only access it in the PostExecute subroutine (in fact doesn't this just make it WriteOnly in fact ). So I can only either read in or read out a variable using this syntax, noth both. Is this right So the read and write a variable to a script, the VariableDispenser approach is the only option to use. Is this right and is ...Show All

  • Visual C# How to pass reference parameter to unmanaged dll

    Hi I have a function in unmanaged(VC++) dll which is accepting a refernce parameter void check(UInt32& c) { c=20; } I want to call this function from my managed code(C#) so i used the following code class Program { [DllImport("samp.dll")] public static extern void check(ref UInt32 c); static void Main(string[] args) { UInt32 s = 0; check(ref s); Console.WriteLine(s.ToString ()); Console.ReadLine(); } } but it shows me the error"Unable to find an entry point named 'check' in DLL 'samp.dll'." is there any way to call a unmanaged dll's function(which has reference parameter) from managed code without using DLL import if ...Show All

  • .NET Development name() function in MSXML

    When I'm using Saxxon the XSL function "name()" returns a fulling qualified name. If I use the function "local-name()" it returns just the node's name. If I do a transform in VS .Net 2K5 using the two functions in a stylesheet and get the same value. Is there a flag or something I have to set in order to get "name()" to work correctly The XPath specification for this function is as follows: Function: string name ( node-set ) The name function returns a string containing a QName representing the expanded-name of the node in the argument node-set that is first i ...Show All

  • Windows Forms UI automation testing

    Hi,  I know this might not be the right place to ask. But I just wonder how to achieve UI testing automation within .Net framework, like using VB.net.  Can someone throw a light on it   Your comments would be appreciated very much。 This one show's how to build your own. http://msdn.microsoft.com/msdnmag/issues/03/01/UITestAutomation/default.aspx and here is&nbs ...Show All

  • .NET Development TCPListener help with port assignments

    VS 2005 - VB.net Using Loopback interface (127.0.0.1) for communication between 2 seperate apps (A service, and a Service Controller) - lovingly known as IPC. Chose to use TCP to facilite communication. If there's an easier/better way, dont hesitate to suggest it (i'm new to .net and object oriented programming) Am I doing this correctly (best practice question) 1) Service establishes a TCPListener on port 1515 and listens asyncronously. 2) Service controller establishes TCPListener on port 1616 and listens asynchronously. 3) Service controller connects to Service to report its listening port. 4) Service will use the listening port to facili ...Show All

  • SQL Server Calling Stored Procedure

    I have a created a report that needs to call a sybase Stored Procedure, my connection string is fine.  I am able to call the sp from sql advantage passing in several parameters and it runs just fine.  However when I created a dataset and tried to call it through the reporting service I get the following error message. An error occurred while retrieving the parameters in the query.  Unknown SQL type - 28265.  I cannot seem to find any information about this error.  Does anyone have any suggestions on how to call a sp from sybase I can't solve the same problem. Please, share the answer! ...Show All

  • Visual C++ Can Intellisense in VC++ recognise C# style XML Comments?

    Hey there - I've been documenting a lot of my code with C# style XML comments, e.g. /// <summary>Does something</summary> /// <returns>Something</returns> /// <param nam="X">bla</param> int Foo(int X); But intellisense in VC++ doens't pick it up.  Is there a way to make it recognise XML comments   If not, this is definitly something that should be added. Thanks, Mike So it would seem I have to compile an assembly before VC++ will use the xml comments But I am just using VC++ as an editor, not for compiling.  I'm actually writing some native win32 ap ...Show All

  • Visual C++ August CTP

    I arrived late to this party starting with the July Professional CTP from MSDN 4 weeks ago. In that time I've found and reported 3 significant bugs. I've been waiting for the August CTP to kick its wheels but now I find that it's by "invitation" only. Given that I'm actively participating in this beta trial - how do I get an "invitation". Alan The August CTP of the Express editions are available to anyone: http://lab.msdn.microsoft.com/vs2005/get/default.aspx#express ...Show All

  • Visual Basic Binary Serialization of a Collection after Binding to DataGridView

    I am hoping that some one can shed some light on my current situation. The issue I am having is as follows: I have a class called Person. Person implements IEditableObject I have a second class PersonCollection. PersonCollection Inherits from CollectionBase and Implements IComponent, IBindingList and ITypedList As the names suggest PersonCollection is a collection of Persons. I have overriden the methods of the CollectionBase to provide a strongly typed collection. Everything works beatifully. I can bind the PersonCollection to a DataGridView to Add, Edit, Delete..etc I can also Bind properties of a person to Controls on a ...Show All

©2008 Software Development Network