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

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

xanadont

Member List

priyanka.dash
Gloria123
Elvis P
Dharmbir
lucerias
mbosfo
Helen999888
Yogendran
AnnyJacky
EyyHomero
DanMeyers
Vaish
Bartosz
confused2xover
Orion77
volksisme
digioz
Gnarlito
donbox5
scompa
Only Title

xanadont's Q&A profile

  • Software Development for Windows Vista how to pass data between two activites

    Hi, I am new to WF. In my workflow scenario, there are more than one activity. I want to pass data from one activity to next activity. Is it possible in WF If so, could you please tell me the way to pass data between two activities. Thanks & Regards, Chakri. yes. In some examples, ActivityBind and WorkflowParameterBinding classes are used for binding properties. In some other cases, ActivityBind class is used to bind the properties. Can you explain when and why will use these two classes -Chakri. ...Show All

  • Visual C# How do you REMOVE or DELETE Items from Recent Projects list in VS2005 RC?

    I have been testing  VS2005 RC and as a result, I have built many applications. Most I am no longer interested in or use and would like to DELETE them from the RECENT Projects list, but I dont see how ! I have been achieving this by manualy deleting the project from IIS, but there's got to be a better way ! Any ideas cheers, yousaid "Really, you shouldn't need to" If I had a nickel for every time I've wanted to clear that list... Sometimes I'm working with temporary disconnected projects which have the same names as items in source control in other directories (but I can't see directories easily on the start page); sometimes I'm messing with test or scratch projects that I don't want to have show up ...Show All

  • Visual C++ programming message switch

    Does anyone know of a tutorial/website that explains how to program the message switch into the message loop It won't let me handle some messages inside the loop. I suggest that you rewrite your message loop to something similar to bool bRet; MSG msg; while((bRet = GetMessage(&msg, NULL, 0, 0)) != 0) { if(bRet == -1 || msg.message == WM_QUIT) { return -1; } else { TranslateMessage(&msg); DispatchMessage(&msg); } } And continue dealing with the messages in your WndProc LRESULT CALLBACK WndProc(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lParam) { switch(Msg) { case WM_SIZE: //... return 0; // proper return value differs between the messages case WM_ ...Show All

  • Visual Studio 2008 (Pre-release) UpdateSourceTrigger property in DataTrigger Binding

    I am having a DataTemplate. In the i have included the DataTrigger. When I update the Privilege property from outside it is not changing the image immediately based on the Privilege value. I have included the source with in this. if any one is having idea please let me know as soon as possible. Thanks & Regards Sundar. < DataTemplate x:Key = " SubTabTemplate " x:Name = " SubTabTemplate " > < StackPanel Orientation = " Horizontal " > < Image Source = " ../Images/SMALLSTOP.gif " Name = " img1 " > </ Image > < TextBlock Text = " {Binding Caption} " /> </ StackPanel > < DataTemplate.Triggers > ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# Brainwrong

    How do I do this in C# I have an ArrayList and the following code : levelObject objtest; objtest = ( levelObject )levelObjectList[10]; objtest.matWorld = Matrix .Identity; I want the matWorld of the 10th element of the arraylist to change to identity when I change the objtest.matWorld. I thought objects were references and not value types. I didn't even notice that ha. My biggest pet peeve is the dreaded, make me hold down shift and blow my intellisence to bits m_ and _property grrr ...Show All

  • Software Development for Windows Vista conime.exe procedure issue in console application

    Hi all, I am using a non-western language Vista, when I start my console application, the extra procedure conime.exe (as I know, it's shared to use for all console application) is launched automatically. But when my console application exits, the procedure conime.exe still has some relationship with my console application, I can't remove my console application folder (my console application is installed, I launch it, exit it, and remove all files and folder of my console application). But after terminating the conime.exe procedure, I can remove my console application folder. On Win2l/XP, I can remove the folder after exit my console application, without terminating the conime.exe procedure. Since conime.exe is used for all console ...Show All

  • Windows Forms Highlight row when hovering DataGridView

    I want to design my DataGridView so that when the mouse hovers over a row, the row changes its BackColor. I have most of the code correct, except that once a row is highlighted, the row does not go back to its original color when I hover over another row. What am I doing wrong Here's my code: private void MouseMove( object sender, MouseEventArgs e) { // Sets BackColor of the datagrid row that the mouse is hovering over. Point pt = new Point (); DataGridView . HitTestInfo hti; pt = this .PointToClient( new Point (e.X,e.Y)); hti = dataGridView1.HitTest(e.X, e.Y); if (hti.Type == DataGridViewHitTestType .Cell) { dataGridView1.DefaultCellStyle.BackColor = Color .White; dataGridView1.Ro ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Vector maths methods...

    Following a long day of writing and debugging some nasty rigid body physics code, and feeling the pain of the maths library I have to use for this C++ work, I thought I'd take another look at the XNA maths code to see if the results would be more readable (as you might hope ;). ... But my quick look at the framework docs seems to show more deficiencies than in the code I have been using all day... 1/ There is no Point3 class. This is a real pain as libraries that don't distinguish points and vectors are a right pain - transforming a point by a 4x4 matrix will result in a different result to transforming a vector. (And I don't want to resort to coding every point/vector as a homogeneous coordinate either!). There appears to be a ...Show All

  • Smart Device Development Displaying a picture with Transparent Background

    Dear ppl, I have a .bmp picture with transparent background..but when i display it on the form using a picture box, the area that should suppose to be transparent is being displayed as the background color of the picture box. Even if i set the picture box background color to transparent , it doesn't make any difference. So I created a user control and override the onpaint() method to draw the picture using the imageAttribute SetKeyColor() method, but that is not working as well....what is happening is the picture is being displayed properly with transparent area not being displayed, instead the transparent area is being painted as the backcolor of the usercontrol...even if i set the back color of the usercontrol to transparent it ...Show All

  • Community Chat Xceed DataGrid for WPF launched. Free product.

    We've built a Datagrid control for Windows Presentation Foundation, and have released it for free (it is a full professional-quality product, not a lite or trial version). If you are running IE 6 or 7 and Vista, or have XP with .NET 3.0, there's an XBAP demo you can try and requires no installation (uses ClickOnce) and no security questions asked, either. The XBAP demo: http://www.xceed.com/Grid_WPF_Demo.html The product page: http://www.xceed.com/Grid_WPF_Intro.html I hope it is OK to post this here (the "Hot technology" forum seems to be appropriate for such an announcement, right ). Its quite hot tech. :) Is it disabled to delete items in the look & feel part I managed to add a few items and could edit them, but ...Show All

  • Windows Forms 3rd party dll not in global assembly cache

    Hello, I have created an application that has 3rd party controls. I published it to a file system for local network install. When I click 'install' on the default page, I get an error "xxx.dll not found in global assembly cache". What causes this and how can I publish the app so users can install it successfully It sounds like the msado15.dll is probalby not registered. In theory, it should already be on the target machine and registered. Check that first. The best way to get that on a machine is to use Microsoft's redist, if there is one, for that system, and deploy it using the Bootstrapper. Also, are you deploying to the same OS as you are developing on There might be a mismatch in alr ...Show All

  • Visual Studio Express Editions no subject

    can anyone give me an example as to how to connect and control something from a serial port.....something really simple like a light bulb..... hey maybe this..... I have a teddy bear which runs on batteries when you squeeze his foot he snores.... I would love to connect and control him by the pc any ideas...please If you don't have a voltmeter you don't need to buy one. In that case, you just need a little more surgery on the teddy bear. You need to find out how the sensor is connected by following the conductors from the battery. It is probably just a simple switch from one side of the battery to the electronics and the head movement motor, but it can be more complicated. You are lucky that the voltage on the t ...Show All

  • SQL Server Request for SqlCeEngine.Exists(), .Delete() methods

    Given a connection string, I can create a database using a SqlCeEngine object and call engine.CreateDatabase(). However, there doesn't seem to be a way to determine whether a database exists, given a connection string. I would need to interpret the connection string myself and extract the file name to use File.Exists() etc. There should be SqlCeEngine methods to test whether a database exists, test whether it's accessible, and to delete it, given a connection string. Cheers, Oli Hmm...I can get you a work around if you are taking connection string as input. This should help you! conn = new SqlCeConnection(inputConnectionString); if (File.Exists(conn.DataSource)) File.Delete(conn.DataSourc ...Show All

  • Visual Studio 2008 (Pre-release) Using UserName Credentials without certificate

    Hello, is there a possibility to use UserName Credentials without having a certificate for the service I tested message security with Username credentials, but I always get an exception, that I have to use a certificate. Jens It looks like you're installing the cert in the CurrentUser store but looking for it in the LocalMachine store. I would recommend opening up MMC (Start - Run - type "MMC") and then add the certificate snap in for Certificates. Add the my user account and machine account. From there you can check where your localhost cert is located. Also, when you're using the FindBySubjectDistinguishedName find type, you'll need to use the CN=localhost, as you've already surmise ...Show All

  • Visual C# Firing events in child classes...

    Hopefully somebody can explain why .NET will not allow me to do this... I have a class, NonStationary, which has a member CurrentValue, and an associated event OnCurrentValueChanged. Now, I have two classes which inherit from NonStationary: Joint, and Shaft. Inside Joint and Shaft, there are times when, if the user hooked the event in the application, the event will be fired because he/she has set a min/max value above/below the currentvalue. The problem is, is that I cannot check to see if OnCurrentValueChanged has been hooked (if it's null), nor can I fire the event from within the Joint or Shaft class. The error I get is: "The event 'OnCurrentValueChange' can only appear on the left hand side of += or -= (except when used from wit ...Show All

©2008 Software Development Network