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

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

xr280xr

Member List

Dvlnblk
Ashesh Shah
inzel
acm programmer
Hasan9552
Sébastien Nunes
milocat
Bravo2007
chenge
PerPixel
Kyco
bryanedds
Vladimir Chtepa
Arjun B
Samyag1
Reza Bemanian
WilderLand
Roxy1980
Mahesh Gaware
ChrisHelt
Only Title

xr280xr's Q&A profile

  • Visual C++ Managed array of pointers to elements in another managed array

    Hello, I have some problems using arrays (system.array) in managed code. I have a two-dimensional array available and I would like to sort the values in this array by making a second, jagged array of pointers to the elements in the first array. However, there are some problems: the first array is of course declared on the managed heap. Pointers to elements in that array can change as the CLR rearranges the heap. The solution to this is could be an interior_ptr (which makes sure the pointer is updated when the heap is rearranged) or a pin_ptr (which makes sure the 'pointed' part of the heap isn't rearranged). The problem is that both pointers are only declared on the local stack: it is not allowed to form an array of pin_ptr or inter ...Show All

  • Visual C# Compiler Error CS0570 from C++ defined property

    Compiler Error CS0570 Does anyone understand error CS0570 'class' is not supported by the language This error occurs when using imported metadata that was generated by another compiler. Your code attempted to use a class member that the compiler cannot process. The code being called was written in Managed C++ paraphrased like so: public ref class FilePath { ... [MyPropAttribute] property int Name { const int get(); } ... }; The attribute [MyPropAttribute] is defined like so: [System::AttributeUsageAttribute(System::AttributeTargets::Property)] public ref class MyPropAttribute: public System::Attribute {...}; When I try to use the property in C# code I get CS0570, but see no document on how to get around t ...Show All

  • Visual Basic Dynamic Timers

    hello all been struggling to find a way to solve a problem, i need to start a timer everytime a message is processed. each message needs its own timer. so i need to create a new timer each time and still be able to find the timer should the user want to cancel/send straight away. is there a way to create a queue of a structure of timers and ID numbers and have each timer when fired remove itself from the queue or some other array like structure that i can add and remove from easily with out limitations i suspect that i can not add a structure to a queue. Public Structure APIObject Public t As System.Timers.Timer Public ID As Integer End Structure is the object type i wish to create and ...Show All

  • Visual Studio Team System Cannnot Connect to TFS

    I have TFS setup in a Single-Server environment on a server within my companies domain. Today, I tried to connect to TFS and received the following error in an alert box: Team Foundation Server TF31001: Team Foundation cannot retrieve the list of team projects from Team Foundation Server <servername>. The Team Foundation Server returned the following error: The request failed with HTTP status 503: TF30059: Fatal error while initializing web service. I cannot connect to TFS locally either. As of last Friday, everything worked fine. I did notice when I tried to connect to the server via RDP today after I received the initial error that the server was asking for an explaination as to why it unexpectedly shut down. I do not know why the ...Show All

  • SQL Server Stored Procedure Input Parameter Drop Down

    Hello, I have a stored procedure which has input parameters that must be entered manually. When I run the procedure from SQL Server Mgmt Studio, I type the entries into the appropriate entry boxes that appear. Is it possible to create drop down lists that include the allowed values, such that when I run the procedure, I can select the values from the drop downs, instead of typing them in each time Thank you. Unfortuantely, the functionality you seek is more suited to client applications, and SSMS is not intended to be a client application -more of a management tool. You could relatively easily create an Access or Visual Studio based application that would have the functionality you desire. But yo ...Show All

  • Windows Forms Application Lockups with VS 2005

    The application is built in VB.NET in VS2005. It builds fine and the exe is installed. The application exe works fine but will lockup on occassion. For example, If I go away from the application for about 20 minutes it will lock up. If a screensaver starts it will occassionly lockup. Just this application and not any others. Any ideas Start it with a debugger and walk away for 20 minutes. Hit Ctrl+Break. If you want a better answer, you'll have to give us a *lot* more details. ...Show All

  • SQL Server How to compose the connection String of a SSIS package that execute another package?

    Dear All, I now have two SSIS package, "TESTING" and "LOADING". The "TESTING" package have an execute package task that call the "LOADING" package. When I want to execute the TESTING package, how can I setup the connection string so that I can edit the password of the database connected by the "LOADING" package Regards, Strike Hi Jamie, I would like to know how can I setup the command line in the SQL Server Job Agent for executing the two packages mentioned above I have already configured the parent variable for the child package. However, I have encountered some errors when executing the job, and I don't know how to set up the path for the chi ...Show All

  • SQL Server Configuring Multiple Precedence Constraints in DTS

    I have a simple DTS package that consists of two steps (simple SQL tasks) plus a Failure package and a Sucess package. Using the designer, I have each of the steps going to the Failure package using the workflow On Failure event and the first step going to the second On Success then the second going to the Success Package On Success. Unfortunately, having the two events point to the same failure process results in the workflow developing an AND between the two (e.g. if Step 1 fails AND step 2 fails execute the package). So my question is how do I change the logic to an OR so that if either step fails the Failure package runs In the alternative, do I need to have a copy of the failure packge for each step for which I want to handle a ...Show All

  • Smart Device Development Accessing textbox from child form

    Hi All, How can I access a textbox in Parent form from a child form in .net compact framework. I have a parent form that is already loaded and there will be a button in parent form that will activate and show the child form. The child form will then need to populate the textbox in parent form. How can I do this in c#, this scenario is very easy in vb6. Any help is appreciated. Many Thanks. There's several ways of doing this, but the easiest is to pass a reference to the parent into the child form when you instantiate it (just pass "this" into the constructor). Obviously you'll need to create your own constructor for this and also make sure you set the access modifier of whatever you need to edi ...Show All

  • .NET Development Interop Thread Leak?

    Hi, I'm hoping for a few pointers for tracking down a resource leak. I developed a VB 2.0 indexing application which is using FileNet's Capture COM objects and we're occasionally seeing a fairly serious leak. It doesn't appear to happen consistently (one user has never had one and I can't seem to reproduce it in my test environment), but it does occur regularly in production. I've been using various tools to poke around in a mini-dump (w/ full memory) and I've seen a few potential problem areas, but I can't seem narrow it down any further. Using PerfMon I found that the leak appears to be in private unmanaged memory. When I open the dump in WinDbg, I get this message: This dump file has an exception of interest stored in it ...Show All

  • Windows Forms Question about accessing properties, methods from a user control

    Hello! I have a problem which is frustrating me. Why won't the roperties and methods that are inherited from my custom user control work on my Win Form I have declared the properties and methods as Public and Intellisense "sees" the property if I call it from the Form. But, the frustrating part is that the property does not work. It is a simple property that changes the string value of the text on a label. The label's container is a ToolStrip. Here's the property: Public Property DisplayApplicationStatus() As String Get Return Me. label1.Text End Get Set ( ByVal value As String ) Me .label1.Text = value End Set End Property As I stated earlier, VB.NET "sees" ...Show All

  • Visual Studio 2008 (Pre-release) How can I make a mouseOver also cause a focus event?

    For example, say I have a button.  How do I make it so everytime I mouse over the button, it gives focus to it as well I got this to work in C# code behind but I'm wondering how to do this in XAML using a trigger Thanks. Ok, I tried a very basic Window C# application. This is all I have in the XAML. < Window x:Class = " WindowsApplication1.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " WindowsApplication1 " Height = " 300 " Width = " 300 " > < Window.Resources > < Style TargetT ...Show All

  • Visual Studio Team System Customize Build Summary

    Hello All, I have customized my build to execute several task. I also use the Message task to add some trace in the log file. Note that all my tasks are executed in the AfterComplete task but I can move them. Is it possible to add some new lines in the existing Build Summary so I can directly see some output without having to open the log file Thanks, Swaha is correct that the GUI itself cannot be customized. You can add your own custom build steps from a custom msbuild task. Aaron shows how to do that in http://blogs.msdn.com/aaronhallberg/archive/2006/08/29/730447.aspx . Buck ...Show All

  • Visual Studio Express Editions Transfer MP3 Files

    How do i create a program that can transfer music files from drive C:\ to E:\ Also if that didn't work could i still copy and paste the music files to another drive if so how Could i have Sample codes please. use the System.IO.File.Copy() class to copy from source to destination. System.IO.File.Copy( sourcePath, destination ) and thats it! you can get a list of files to copy from a root drive for example then copy each one: Dim theFiles() as String = System.IO.Directory.GetFiles( sourcePath , "*.mp3 ") for each currentFile as String in theFiles System.IO.File.Copy(currentFile, destinationPath ) next this would copy all the mp3 files it has found from the source path and copy them to the d ...Show All

  • SQL Server XML Binary Problems

    I have a stored procedure which returns some xml data using the FOR XML AUTO, TYPE, BINARY BASE64 syntax.  One of the fields is an image field, and gets sent back correctly. I have another procedure that is trying to insert that data back into a table, but when I perform the insert, it doesn't appear that the data is decoded properly.  When I look at the original data in the IMAGE field compared to the data I just inserted, it is different.  My insert looks something like this: INSERT INTO TABLE SELECT * FROM OPENXML (@DocHandle, 'Cases/Case/Illust_Illustration') WITH( IllustrationID UNIQUEIDENTIFIER '@IllustrationID', InputData IMAGE '@InputData', ResultData IMAGE '@ResultData') I saw this post ...Show All

©2008 Software Development Network