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

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

fieldhouse

Member List

laiseng
mcrisf
Skippy_sc
grnr_r
Codeblack
zd84
Ted.
EsteemDE
ELIJAH E.
Toe
indersunny
Ronaldlee Ejalu
Gregor Suttie
Jose J. Amador
Right Pilot
SweptSquash
modtran
Helen Cool Granny
enric vives
Dario Galvani
Only Title

fieldhouse's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. D3DXSPRITE and effects file(.fx)

    Hy everybody, i`m trying for some time to apply to a D3DXSprite an effect loaded from an effect file (.fx), and y`ve herd that it`s imposible to do.If you guys can help me out i`d be gratefoul to you. thnk Yes i was trying to do the same thin about some time ago. But as far as i know effects can only be applied to Vertexes. So i think you should make 4 vertexes. And draw out 2 triangels. And use DrawPrimitives between the Effect.BeginPass() , Effect.EndPass(); device.BeginScene(); DrawingSprite.Begin( SpriteFlags .AlphaBlend); DrawingSprite.Draw2D(BackGround, Rectangle .Empty, Rectangle .Empty, new Point (0, 0), Color .White); DrawingSprite.End(); device.VertexFormat = CustomVerte ...Show All

  • SQL Server row to column

    hello Table T1 has T1: MyID, MyDate1, MyNote1, MyCharge1, MyDate2,MyNote2, MyCharge2 How can I write my view to report these in MyID, MyDate1, MyNote1, MyCharge1 MyID, MyDate2,MyNote2, MyCharge2 format You should actually normalize your table so that it is easier to work with. You can do one of the following with your existing table structure:   select t.MyID , case r.n when 1 then MyDate1 when 2 then MyDate2 end as MyDate , case r.n when 1 then MyNote1 when 2 then MyNote2 end as MyNote , case r.n when 1 then MyCharge1 when 2 then MyCharge2 end as MyCharge from T1 as t cross join (select 1 union all select 2) as r(n)   -- or select t.MyID, t.MyDa ...Show All

  • SQL Server Updating Data in Oracle

    Hi, I'm very new to SSIS so excuse any ignorance... Im trying to update a set of records in an oracle table based on the results of a query against a SQL Server 2005 table. I would prefer not to run the update query for each result in the source query (but will do it if only way possible), so I have built a script task which builds a comma separated string of Ids that I can use in an in clause... Hence the query I want to execute is of the form: update MyTable set STATUSID = 2 where ID in ( 3,4,5,6 ) When I try and execute this query using an 'Execute SQL Task' in debug mode the package gets 'Stuck' on this task. The task turn yellow as though it is executing but never continues - no errors either. Is it possible to execute an Update s ...Show All

  • Windows Forms Login in password error

    I haven't changed any settings on my pc but for some reason windows is asking me to put in my password in the login screen half the times I switch users. I would then have to restart the computer. It doesn't ask me to put in a password when i first login from boot up but if i switch users it will ask for a password. How do I disable this on windows XP ...Show All

  • Visual Studio Team System Custom Check-In Policy: Time That Task

    I just created an interesting check-in policy and wanted to share it with you all. I'm interested in your feedback. Custom VSTS check-in policy that gathers hours worked on a task during each check-in. This policy requires check-in to be associated with only one task that is in an "Active" status. It also gathers the number of hours worked on the associated task incrementing the completed hours and decrementing the remaining hours. If the number of hours worked on code in check-in is greater than remaining work hours on the associated task, user will be asked to re-estimate the number or hours remaining for the task. http://www.gotdotnet.com/Workspaces/Workspace.aspx id=9375fae2-5104-4d46-8b3a-c0b170b08320 Reasons why I created th ...Show All

  • Windows Forms Interaction between user controls

    Hello, I'm building an application that uses user control. I have several user controls that interact, for instance: User control A that shows a list of items from the database and user control B that shows the details of the item when a user clicks on an item in the list contained in A. The user controls have no knowlegde of each other. The form in which the controls are contained, manages the interaction. Can any one tell me a model how to implement this Henk Feijt Let UserControl A generate an event when the user selects a new item. Add a property so that the form can read back the required detail(s) of the new item if necessary. Add an event handler in the form and have it call a publ ...Show All

  • Visual Studio Express Editions Can't get XSD to regenerate!

    Visual Basic 2005 Express: After using Database Explorer to make a change to an SQL database table, there is no way to get the changes into the XSD generated code without deleting the entire project and starting all over again from scratch! I see no way that SSMSEE can help!   Hi, I guess you can rightclick your Dataset in your Data Sources window. Select Configure Dataset with Wizard. From there you can update your changes in the xsd file... cheers, Paul June A. Domag ...Show All

  • Visual Basic Create Message-Box with VBA and Visio

    Hi everyone, I have tried to find a Keyword to create a Message-window or something like that in Visio, but I did’t find anything. I just need to create a small window with a Message on it. Please tell me how to do :) Thanks VBA code for messagebox: Dim Msg, Style, Title, Help, Ctxt, Response, MyString Msg = "Do you want to continue " ' Define message. Style = vbYesNo + vbCritical + vbDefaultButton2 ' Define buttons. Title = "MsgBox Demonstration" ' Define title. Help = "DEMO.HLP" ' Define Help file. Ctxt = 1000 ' Define topic ' context. ' Display message. Response = MsgBox( Msg , Style , Title , Help , Ctxt ) If Response = vbYes Then ' User chose Yes. MyString = "Yes" ' Pe ...Show All

  • SQL Server SQL's america date format conflict with australian date format

    Hi I am trying get my VB6 application to insert a record into a table (SQL Express) which has a datetime column but it would not process if the data format is differ to *American Date format*. The date() function in VB returns 15/11/2006 which is in Australian Date format (DD/MM/YYYY) according to my setting in "Reginal and Lanuage Option-> Locale 0> English (Australia)" setting. I get the following error: Msg 242, Level 16, State 3, Server KIT\SQLEXPRESS, Line 1 The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. The statement has been terminated. My computer's locale is set to English (Australia) and I expect the datetime format would follow what is set ...Show All

  • Visual Studio Team System Paramter file for web tests?

    I am not sure if this is the right place to post this.  I apoligize if it is not. We want to run our web UI tests in TFS once we have a web site published to Dev, Test or Production.  We want to only record one set of tests though and have a paramter file that allows us to set the base URL for the web tests to go against.  That way we do not have to record the same test for each environment.  Is there a way to create a paramter file for a series of web tests to get values from Also, we want to be able to run tests in TFS without doing a build for the above reason.  Is this possible   I suppose we could make a dummy build file and strip out the build info and just run the tests Thank you in advance fo ...Show All

  • Visual Basic Overriding ContextMenu for WebBrowser control?

    I am creating a web browser in VB .NET. I decided to make a custom ContextMenu when the user right-clicked within the web browser control. The default one is boring and doesn't provide the NET gui. I created the control in the Form designer. I then selected the web browser control and found the ContextMenuStrip setting under the properties window. I selected the name of my ContextMenu and then re-compiled. Everything appeared to be fine until I ran the app. It refuses to open my custom ContextMenu but rather continues to display the old one! I am sure what I want is possible- I have seen other NET apps doing this. However, I don't know how to go about it. Any help to the solution would be great! irrdev, ...Show All

  • SQL Server Conditional Send Mail Task

    Hi, I want send email if certain conditions are met (by send mail task)... if compnay records does not exists in some table (returns null)... not task failure.... how do I achieve this without using Script task   does any one have an idea about it,   regards that's what i was thinking... but i m searching for other way (may be the easiest way) BTW... thanx for your support if ne one come across to ne better idea than that please let me know ...Show All

  • Smart Device Development Send mail from Pocket PC

    Hi, I am developing smart device applications by using CF 1.0. I need your help. How to send mail Is there any code to send mail from pocket pc Please send your suggestions or links. Thanx, M. GANESAN you can't just send mail without a mail server to receive it, though you CAN send mail without an SMTP service on your device. if you do have an SMTP server, you can use socket programming to implement a simple SMTP client to send mail. unfortunately I don't believe System.Net.Mail.SmtpClient is implemented for NETCF, neither 1.0 nor 2.0. SMTP client examples using sockets: http://www.codeproject.com/cs/internet/smtpconsole.asp http://www.codeproject.com/cs/internet/sendmailcsharp.asp http://www.eggheadcafe.com/a ...Show All

  • Visual Basic Can't Get VB6 Serv Pak 6 to install in Vista RC1

    Has anyone gotten VB6 Service pack 6 to install in VISTA RC1 I tried and it errors out with some cryptic error about a missing file and quits. VB shows no sp installed and programs that were created with SP6 installd on XP will not run in the API on Vista RC1 with an error message "Component missing". Has Microsoft a fix for this We have lots and lots of custom written programs that we will have to maintain and support on VISTA (if installed) and there seems no way to do it because the service Pack 6 can't install. Courtney, I'm the Program Manager with Microsoft that is responsible for Visual Basic 6 running on Vista. The Visual Basic 6.0 runtime is supported on Windows Vista. The IDE is still supported, ...Show All

  • Visual Studio Tools for Office Features or Bugs in VSTO.

    Are these features or bugs I've found two things that there may be a reason for but I can think of none. 1. If you have a form field in a word document project that has a default value in it. You cannot populate that bookmark in code with a bookmarkname.Text = "AAA" line of code. It gives you an error along the lines of "Out of Range" or something like that. 2. If I am trying to populate a data island from code on a web server. I open the the document file with a file stream and then assign it to a "ServerDocument" class as shown below If File.Exists(BlankDocumentPath) = False Then Return ("File " & BlankDocumentPath & " Does not exist") Exit Function ...Show All

©2008 Software Development Network