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

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

Andre721

Member List

ILWerne
Daikoku
Sunil_Kumar_63c25f
Henry Iverson
maqadri
DominicPukallus
Rezzie
hr0nix
znrigtoiwqo
susiekay
dmb13
Benj78
Amir Goodarzi
ahmedilyas
mitchwardrop
azaclauson
Wilk06
AlexBB
guy87
Ian1971
Only Title

Andre721's Q&A profile

  • Visual C++ VC8 complains when #using a types from a VC 7.1 managed assembly that has static const members.

    I am trying to use C++/CLI to compile some managed classes that use types from an old .NET 1.1 assembly that was compiled with VC 7.1. The old VC 7.1 assembly contains classes that have static const members that were declared as follows using the old Managed Extensions for C++ syntax. public __value class DPoint3d { public: double x,y,z; static const DPoint3d Zero = DPoint3d(0.0, 0.0 ,0.0); But when compiling my new C++/CLI classes that utilize the old DPoint3d value type the compiler complains: S:\src\Mozart1\msj\mstn\mscore\clr\Internal\Tests\ElementAccess\ElementAccess.cpp(97) : warning C4393: 'Bentley::Geometry::DPoint3d::Zero' : const has no effect on initonly data member; ignored OK. Is this saying that somet ...Show All

  • Windows Forms Give me some feedback from this "rude" Drag and Drop

    I'm trying to make a drag and drop of a button from a panel to the form: private void button1_GiveFeedback(object sender, System.Windows.Forms.GiveFeedbackEventArgs e) { label1.Text = "TOBOGAN"; button1.Location = new Point(MousePosition.X-10,MousePosition.Y-47); } private void button1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) { button1.DoDragDrop(button1,DragDropEffects.Move); a = new Point(MousePosition.X,MousePosition.Y); } It does the drag and drop no problem, to anywhere on the form but the mouse cursor when i press and hold in the button it goes to the upper left corner of the button but it makes the drag and drop. Would like some comments on this. Sorry the bad english Tiago Matos ...Show All

  • Visual Studio 2008 (Pre-release) Image button source

    Hi. May be you can help me with this. I want to make a image button rollover. I want to trigger a event on mouse over event. I've a control template using a Button. My problem is that I want to pass the image source that I'm going to use in normal and over state. In this case I send only the normal state (1.png), but I want to use a user defined image so I could change the image. May be with a attached property but I couldn't find the way. Any ideas Thanks a lot. Gonzalo. <ControlTemplate x:Key="TemplateButton" TargetType="{x:Type Button}"> <Grid x:Name="Grid" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" ClipToBounds="true"> < ...Show All

  • Visual Studio 2008 (Pre-release) Configuring Elementary Security

    I'm trying to just get a service working from outside a domain and am getting nothing but headaches trying to get it going. Here's my configuration for now: < bindings >    < wsDualHttpBinding >       < binding name = " wsDualHttpBinding " >          < security mode = " Message "/ >    </ wsDualHttpBinding > </ bindings > This works locally, but I get an error on the client saying it couldn't work out the SOAP security. As I understand it, WCF uses Windows credentials by default for wsDualHttpBinding and this would make sense because it works locally, but not on the other computer. To get around this, I tri ...Show All

  • Visual Studio Express Editions How Can I Put My Application into the System Tray

    I want to display my application in the System Tray, anybody here in the forums can show me a source code on how to do this thing Thanks a lot Two articles http://www.devarticles.com/c/a/VB.Net/Simple-VB.NET-Notify-Icon-with-Panel-Application/ http://www.codeproject.com/Purgatory/StatusBar.asp ...Show All

  • Visual Studio 2008 (Pre-release) Updating a self-hosted service

    Context I'm designing a windows service to run a self-hosted scenario of services that are loaded from GAC. I've created a "drop" folder, in which to drop the .dll of the service I want to host. My service watches this folder and when a file has been dropped in, I install it into the GAC and load the ServiceHost. Now, my trouble is that when I'm "updating" an existing hosted service, it does not reflect the updated code that I've installed to the GAC, even though I close the ServiceHost and create a new service host from the GAC. It seems to cache to original service somewhere until I actually restart my Windows service. Question Is there a way to dynamically change the hosted service without ...Show All

  • Windows Forms IDesignerLoaderHost Interface

    I am building a custom form designer. I need to serialize the code compile unit, and later deserialize and reload the designer surface. I believe that I need to implement the IDesignerLoaderHost Interface to extend a designer host to support loading from a serialized state. I am looking for samples, examples, snippets and / or guidance in order to get this to work as soon as possible. Thanks, Octai ...Show All

  • Visual Studio 2008 (Pre-release) Exception using svcUtil

    Hi there, i'm trying create a proxy with svcUtil (taken from lab), now when i'm running it i'm getting this : Attempting to download metadata from 'http://localgost:8000/Derivatives' using W S-Metadata Exchange or DISCO. Error: An unexpected error has occurred in the tool. Error: Method not found: 'System.Collections.Generic.Dictionary`2<System.String, System.ServiceModel.Channels.Binding> System.ServiceModel.Configuration.Metadata Element.LoadMetadataExchangeBindings()'. e.g The test from the Ibrowser is ok. Thanks Amit Amit_M wrote: Hi there, i'm trying create a proxy with svcUtil (taken from lab), now when i'm running it i'm getting this : Attempting to download metadata from 'h ...Show All

  • Visual Studio Team System Any limitation of the VSTS automated testing?

    We're conducting studies regarding the limitations of VSTS Automated testing. Your input is highly appreciated. Thanks.   No support for delegates with VB test projects. ...Show All

  • Visual C# String formatting

    Is there a way to get String.Format() to pad my string with a specified character ie: Perhaps i might want a string to contain 50 asterisks Snickel65 wrote: That will work for whole strings, but I have one instance where i need to pad a portion of a string during the .Format(). int x = 12; String s = String.Format("Section${0,5}$", x); I want s to be "Section$00012$" You can specify it this way: int x = 12; string s = String.Format("Section${0:00000}$}", x); A great blogpost is been made by Kathy about this topic: http://blogs.msdn.com/kathykam/archive/2006/03/29/564426.aspx ...Show All

  • .NET Development Adding a connection to a database from the code?

    Hello all, Hope this is question is not too obvious... Is there a way to add to my local server a connection to a database from within the code, while the application is running ...Show All

  • SQL Server saving DTS package to sql server

    hi, I have a "Transfer sql server object task" in SSIS that transfers few tables from one database to another. The task works fine and the project is saved on my c: drive. I was trying to save the project on the SQL server and don't know if i am doing somehting wrong I have the following selections made: Package Location: SQL server Server: ServerName Authentication Type: Windows Package path: /TransferTables Protection Level: Encrypt sensitive data with user key Now when i hit ok i get the "No description found" error with the following details: No description found (Microsoft Visual Studio) ------------------------------ Program Location: at Microsoft.SqlServer.Dts.Runtime.Appli ...Show All

  • Visual Studio Express Editions How to Add an Entry to an Access Database Using a VB Form

    I've been trying for days to find usable code to add an entry to an MS Access database using VB/Visual Studio 2005. The code I'm using generates the following error message: "The process cannot access the file 'C:\Documents and Settings\Zen Rain\My Documents\Visual Studio 2005\Projects\CCC\CCC\atokadalpha.mdb' because it is being used by another process." Here is the code for the "Create" function: Private Sub ResCreate_MouseClick( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles ResCreate.MouseClick Me .CCDProjectsTableAdapter.Fill( Me .Atokad_alphaDataSet.CCDProjects) Dim constr As String = "PROVIDER=Microsoft.Jet.Oledb.4.0; Data Source=C:\Docum ...Show All

  • Visual Studio Team System The onmouseover javascript property isn’t replayed by Visual Studio.

    During the recording process, the onmouseover property was clearly captured. This was meant to change the status of a product from ‘approved’ to ‘work in progress’. However on playback, that wasn’t displayed and more over, the ensuing screen was still the one displayed before the corresponding request. I expected a screen titled ‘work in progress’ in addition to other changes subsequent to the onmouseover action. Hence the validation for the text in the expected screen, as well as the web test fails. Even though the action is executed it is not displayed on the playback browser screen. Hence the appropriate screen does not appear. Instead of displaying a pag ...Show All

  • Visual C# Playing an mp3 Byte[] Array how?

    I have stored in memmory an byte array of an mp3 file and i want to play it how can i do this well you can store the byte array into a memorystream, then play it. The thing is in .NET 2.0 there is no direct way of playing an MP3 file. You would have to use some external software or something to do this. question is - why did you store it in a byte[] array ...Show All

©2008 Software Development Network