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

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

sxzhan

Member List

Roman_at_work
Jose76
nikitaj
Sahus
BhuttCrackSpackle
Charles Tam
kilo94
pat1975
Ruben Rivero
dzimmy
David Fletcher
Álvaro Peñarrubia
Eric Harmon
Hamish_Crerar
Kadett
collide
Aleniko29139
Tony P Brightman
Alin Constantin - MSFT
XNA Rockstar
Only Title

sxzhan's Q&A profile

  • Internet Explorer Development Image Pop Ups

    I have a large image of a land development map. I would like to create hotspots on it on each lot, and when the user mouses over, have a Tool Tip style pop-up appear with the owner's information. I have found some third-party solutions that all rely on mousing over a link, or some other page element. That's not what I need. I would like to define hotspots WITHIN a large image, and then when moused over, the info appears. I've already implemented this using traditional image hotspots to launch a seperate window when clicked, but that's clunky. I can implement this using AutoDesk's .DXF IE plugin, but it doesn't work on non-IE browsers and I don't want the end user to need to download it if they're suspicious of such things. T ...Show All

  • SQL Server Which Data Flow task to use?

    I have a table which has been loaded from various source feeds. The SourceId relates to the source name and the SourceCompanyId is the sources primary key for the company. I am basically trying to create one row with all the SourceCompanyIds in my column headers. What data flow tasks would be necessary in SSIS The structure of the final table is: CREATE TABLE [dbo] . [Company] ( [CompanyId] [int] IDENTITY ( 1 , 1 ) NOT NULL, [CompanyName] [varchar] ( 75 ), [CIK] [varchar] ( 10 ), [Ticker] [varchar] ( 10 ), [Source1CompanyId] [int] NULL, [Source2CompanyId] [int] NULL, [Source3CompanyId] [int] NULL, [Source4CompanyId] [int] NULL, [Source5CompanyId] [int] NULL, [Source6CompanyId] [int] NULL, CONSTRA ...Show All

  • Software Development for Windows Vista Workflows and returning data

    I have built a workflow which in the end gets an XML document. That document holds the information that has to be used by the presentation layer. The workflow is a part of a Workflow Library. How can I send that information to the presentation layer, I am not able to access any variable declared in the workflow Thanks in advance, Marko Vuksanovic. just after instance.Start(), add : waitHandle.WaitOne(); and set the waitHandle as a field of your form ; To make the code safer, I would have done everything in InitializeWorkflow() (including starting the instance) ; and only the dataset would have been a data member. Serge ...Show All

  • Visual Studio Express Editions Multiextend List Box and Text box Display

    Hey All, I am trying to get the following to work: Private Sub btnAnother_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAnother.Click lblSelectionText.Text = Me .lstbox1.SelectedItem.ToString() & vbCrLf & Me .lstbox2SelectedItem.ToString() _ & vbCrLf & Me .lstbox3.SelectedItem.ToString() & vbCrLf & Me .lstbox4.SelectedItem() Now everything displays upto the lstbox4. ListBox4 allows the user to select multiple items...But everytime i make it: Me.lstbox4.SelectedItems () I get the following error: Operator '&' is not defined for types 'String' and 'System.Windows.Forms.ListBox.SelectedObjectCollection'. As is obvious I am trying to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Sprite Collision Detection

    I have a 2D game which I wrote some simple collision detection for, which works like the bounding box example. It detects collisions very well, the problem I am having is moving the objects back so that they are not overlapping. They move 10 pixels a move, so when they collide, they overlap. I want to be able to detect a collision, and move the object that caused the collision back to the point just before they intercept, i.e. not the last position, but somewhere inbetween the last move and this one where the two do not intersect. I hope that makes sense. S Hughes (Clarity Consulting www.claritycon.com) Shughes wrote: 10 pixels maybe too fast, but I wanted my character to move reasonably quickly ...Show All

  • Windows Forms P PlugIn

    Pls,How can i expose my application in VB.Net so that another developer can plug into my application and use my modules or my functions. For an Example,I can plug into microsoft Excel and use its in-bult functions for my application. Please I will need an Example code using VB.NET 2005 Thanks Maybe this will article by Roy Osherove or this sample from Billy Hollis . ...Show All

  • Windows Forms binding a key to a button

    Hello again everyone, Is it possible to bind a key to a button in C# For example in my windows application whenever I press the "left" key buttonLeft will behave like it is pushed. I tried it but cannot achieve. Also I tried to add the keyDown and keyPressed event handlers to my main form but nothing happens when I press a key. pasha2k wrote: Hello again everyone, Is it possible to bind a key to a button in C# For example in my windows application whenever I press the "left" key buttonLeft will behave like it is pushed. I tried it but cannot achieve. Also I tried to add the keyDown and keyPressed event handlers to my main form but nothing happens when I press a key. I recommand that you read the ...Show All

  • Visual Studio Team System TFS Integration adapters

    There's mention in the Team Foundation Server Extensibility documentation of "integration adapters" with an example of a help desk application that synchronizes help desk requests are synchronized with work items. But, that's about as much detail on "integration adapters" that I could find in the extensibility documentation. I recall mention that one benefit of the TFS architecture is that a SQL Server instance is available for use to store extension-/application-specific data. Is there a recommended architecture and process for this type of integration Specifically, if data-centric extensions or linked applications are expected to use the TFS SQL Server instance is there a client-side property or method for ge ...Show All

  • SQL Server in which language the SQL is implemented?

    i need to know in which language the standard SQL is implemented.. and that from where can i get the code.. i need the code for the "logical operators" of SQL. Plz help.. No, not really I'm afraid. What do you mean by "original SQL implementation" Do you mean ANSI SQL If so, go and check out their website: http://webstore.ansi.org/ansidocstore/default.asp If you want to know something about SQL then you should try the appropriate forum. This isn't it. -Jamie ...Show All

  • Visual Studio Express Editions Won't let me save

    After solving my first problem with visual basic I hve ran into another. It wont let me save any project, if I try I get "An Error Occured Saving The Project File 'project4.vbproj'." Any more ideas How are you trying to save it. When a start a serious project a create the project from a template and exit. This brings up a prompt asking me is I want to save it or discard it. Since I want to save it, I select Save and it prompts me for where to save it. There's glitch here. If I haven't created a directory I can create one. But it never seems to recognize the newly created directory so I cancel the save but I still have the project and I exit again and go through the same process only no ...Show All

  • Visual Studio 2008 (Pre-release) How to change highlighting color of textbox control?

    hi, is it possible to change the selection color of a textbox control by default, when i select a text within textbox, the color of the background turns to light blue. how can i change this or is this defined by system or is it possible to create a customized textbox control where the highlight color can be changed thanks, bkohler I had to workarround this problem due to the design of a machine application I solved the problem by changing in code the Highlightext System Color. You must ensure to reset back the default color the when the application ends. I hope that their will be a Property for the selected color in Textboxes in the future. A sample can be downladed here at  www.sp-systems.ag/downlo ...Show All

  • SQL Server Running Custom Business Logic during synchronization

    I have a merge replication topology that allows some subscribers (clients) to retreive a number for certain columns (ie invoice number, order number, etc). I have implemented a custom business logic handler to check for inserts from the subscriber and before updating the server, I call a stored proc on the server to generate a new number. I update the data set and call ActionOnDataChange.AcceptCustomData. This works great for the publication db but I am trying to get this new number back into the subscription db. I am using web synchronization so I really don't have a connection back to the subscriber database. Any Ideas I was thinking about keeping track of the updates myself and build a sql string and somehow get that back to the s ...Show All

  • Visual Studio 2008 (Pre-release) Error using custom username/password authenticator

    Hi, I am encountering some strange behaviour implementing a custom username/password authenticator. My custom authenticator wraps the default WindowsUserNameSecurityTokenAuthenticator, but resolves the username the user provides into a domain account using some custom logic. So my custom authenticator looks something like: class MyUserNameTokenAuthenticator : WindowsUserNameSecurityTokenAuthenticator { protected string ResolveUserName(string userName) { // My custom logic here ... } protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateUserNamePasswordCore(string userName, string password) { string resolvedUserName = ResolveUserName(userName); return base.ValidateUserNamePasswordCo ...Show All

  • Visual Studio Team System Cannot download Team Foundation Server installation guide

    Hi all, I've been trying to download the latest version of the installation guide from http://www.microsoft.com/downloads/details.aspx FamilyID=e54bf6ff-026b-43a4-ade4-a690388f310e&DisplayLang=en but with no luck. I get an HTTP 404 error when trying to download. Is there another download location that does work Thanks, SA. Yikes - definitely a busted link. I've started the ball rolling to get the problem tracked down and corrected, but I don't (yet) know when it'll get fixed. Stay tuned... ...Show All

  • SQL Server Cannot add or replace data in SQL express

    In this project I m using SQL Server 2005 express edtion.I can run select queries but I couldnt run insert and update query.Is there any protection for adding data to the Sql Server express edition thanks. I m sure it is the right database. I m using Sql server 2005 express edition and Queris are in the TableAdapter. I want to ask a question. For example there is a data table like this: name nvarchar(50) lastname nvarchar(50) mID smallint(3) I want to update only name and lastname column. I dont want to update mID column.And I wrote a query like this : UPDATE tblBorc Set name =@name,lastname=@LastName where tblBorc.mID=@mID Is that correct thanks. ...Show All

©2008 Software Development Network