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

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

Amaeze

Member List

progames25
Scott_P
gdrivas232096
MasterG
Sam Jost
Horea Soanca
Christopher IT
bucketofsquid
Alan Wolfe
alibeau
Wai Hon
RAJIB14
jmcilhinney
Paval
Lee Brimelow
Konstantin_T
Ccercone
Jassim Rahma
David Brenchley
Acco1953
Only Title

Amaeze's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. texture problem

    Clearly, HLSL has decided to kill me. I hope it doesnt accomplish that....lol anyway, heres the problem. I make one triangle, positioned at: X Y Z -0.5f 0.5f -2f 0.5f 0.5f -2f -0.5f -0.5f -2f and set a texture to it, with coordinates: X Y 0f 0f 1f 0f 0f 1f respectively to the vertices now, heres the shader im using: http://ccc.domaindlx.com/DSRPG/uploads/Pictures/SimpleMapEffect.fx and i get this WTF thing...it first looks like this when i run it(btw, its not a full screen app, i just copy pasted only the window's inside part from the screenshot). http://ccc.domaindlx.com/DSRPG/uploads/Pictures/wtf_0.png but then after about 2 second it just flashes (the triangle) and starts looking like this: http://ccc.domaindlx.com/DSRPG/upl ...Show All

  • Audio and Video Development Can't set Focus

    Hello Guys, I am new to iHD and just started to write some iHD code. Now I arrived at the first problem: <div id="main"> <div id="some_other_div_already_with_buttons" style:display="auto"> <!-- here are already some buttons --> </div> <div id="surrounding_div" style:display="none"> <button id="button" /> </div> </div> Now I want to set the button to visible and set the focus on it: document.getElementById("surrounding_div").style.display="auto"; document.getElementById("button").state.focused="true"; document.getElementById("button").state.unsetProperty(" ...Show All

  • Visual Basic Collection in UserControl

    Hi All, I have created a user control and now trying to add a collection which should work on Design Time. For example: We add the DataGridView, we can add Columns through Columns Collection on Design Time. I have exposed my collection through Public ReadOnly Property it is visible in Property Window too, also when I click the edit button the Collection Editor Dialog also appears even it adds the objects but when I press OK and then reopen it, I found NO items in list. So whats the solution Thanks ReadOnly is necessary here, anyways nothing happens if I remove it too. Any how I think I have posted my question in the wrong section of this forum. I have explored the other forum i.e. Windows ...Show All

  • Internet Explorer Development OLECMDEXECOPT_DONTPROMPTUSER no longer working with IE7 final?!?

    I updated all of our systems last night and this morning I was suprised when I went to our FAX server and discovered 50 some odd print dialog boxes. After some investigating, it seems like OLECMDEXECOPT_DONTPROMPTUSER is no longer working(one of my applications sends nightly status reports to customers, it renders them in HTML and uses IE to print out to Server 2003's FAX printer). Upon clicking "Ok" 50 some-odd times, each one FAXed correctly. Here's the chunk of code that prints: ' Print File In IE Without Promting @ http://www.cygwin.com/ml/cygwin/2003-02/msg00911.html Set ie = CreateObject("InternetExplorer.Application") ie.Navigate(MyDocumentPath) READYSTATE_COMPLETE = 4 Do ' wait until page is loaded WScript ...Show All

  • Visual Studio Team System SharePoint Services Upgrade KB924881

    Microsoft has an update for Windows Sharepoint services ( KB924881 ). This fix addresses issues regarding 2007 Daylight Savings Time . Can someone tell me if I can apply this fix to my Team Foundation Server without it affecting TFS in any way. Thanks in advance, Dave I updated my system with KB924881 and now I have an HTTP 500 error. I used the command line for the stsadm as described in KB841216. No luck. It will work using the private IP but produces the HTTP 500 error trying to access it from outside the office. I tried republishing the site in the ISA and even reverted back to the pre-update export of the firewall rules rules. System: SBS 2003 Premium, ISA 2004 (fully patched), SPS 2.0, CRM 3.0, EX 2003 Cheers ...Show All

  • Visual Studio Team System TFS Sharepoint, checkin by user2 when checked out by user 1

    Hi, We have deployed TFS with sharepoint server 2003 (web interface) and using the single server setup for document and source code version control. We have discovered an issue that is causing some trouble in team which allows any user to checkin a document that is checked out by another user. Details are as follows: 1. "Checkout" a document using system 1 (user 1) 2. Open the document1 for "Edit in MS Word" 3. Change/update the document and don't save 4. From 2nd system login as user 2 and navigate till document1 folder 5. Right click on document, notice that user2 is having an option to "CheckIn" 6. Click on "CheckIn" (notice that user2 is allowed to "Checkin") 7. Try Saving ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Pulling Data from ContentManager

    I've got a question on why to use the content manager. Say I have loaded a texture into the content manager - paddle = content.Load< Texture2D >( @"Graphics\paddle" ) as Texture2D ; If I want to access the data from the content manager, would I have to put something like this - sprites.Draw(content.Load< Texture2D >( "Graphics\\paddle" ), new Vector2 ( this .paddle1.Point.X, this .paddle1.Point.Y), Color .White); Or is there an easier way then that Cause if I have made a texture variable, then loaded it into the content manager, why couldnt I just call the variable directly like this - sprites.Draw( this .paddle, new Vector2 ( this .paddle1.Point.X, this .paddle1.Point. ...Show All

  • SQL Server Database Mail (can't connect to SMTP server)

    I'm new to Database Mail and SQL 2005. I have an existing SMTP server (not local) which I'm able to connect to and send mail using Outlook. When I try to connect to the same SMTP server in Database Mail, I get the following error in the Log: Message The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 3 (2006-09-20T17:04:21). Exception Message: Could not connect to mail server. (An established connection was aborted by the software in your host machine). ) No matter what variation I try, I can't connect to the server. I also tried setting up a local SMTP server (the one that comes with IIS). I was able to send mail out successfully from Outlook using this local SMTP server too. ...Show All

  • SQL Server Matrix SubTotals

    I have subtotal at the bottom of the matrix. I am using Distinct Count in the expression field of matrix. But when I run the report, The Subtotal is giving the sum of all not the Distict counts. I can see the properties of Subtotal row. But I can not find the expression Property for that. Please help me anyone know it or had this issue. I appreciate your help. Thanks in advance Rams Hi ramsk The subtotal expression in matrix report cannot be directley accesed. You need to use custom code if you wish to manipulate the data in a different way. This is because the expression used in the Matrix subtotal is the same as that of the detail rows by default. Custom code can be written using vb.NET o ...Show All

  • .NET Development Ultra-fast deserialization/serialization

    Hi, I'm wondering if there is a way to speed this up: I have objects that implement the following methods: public void Serialize(System.IO.BinaryWriter writer) { writer.Write(this.price); writer.Write(this.size); writer.Write(this.dateTime.Ticks); } public MyObject Deserialize(System.IO.BinaryReader reader) { return new MyObject(reader.ReadDouble(), reader.ReadInt32(), new DateTime(reader.ReadInt64())); } That's what I use for serialization & deserialization. Currently I manage to write 10,000,000 objects in 5.5 seconds, however my Raid 0 drives can write up to 140MB/s, so I think there should be some upside left (10mio objects result in 195MB file). I guess the problem is that the .Write ...Show All

  • Smart Device Development Process.Start() causing TypeLoadException

    I have a console application that uses Process.Start(full_path_to_myapplication.exe, "command_line_arg_1 command_line_arg_2") to start a Windows Forms application that has command-line arguments. (By the way, neither command line argument contains a space.) Trying to do this gives me the following error: Error An unexpected error has occurred in myapplication.exe. Select Quit and then restart this program, or select Details for more information. File or assembly name "YourLibrary, Version=1.0.0.0, culture=neutral, PublicKeyToken=null', or one of its dependencies, was not found. Clicking on details lets me know that this was a TypeLoadException. YourLibrary.dll is clearly there in the same folder as myapplication.exe. If, ins ...Show All

  • .NET Development Adding column to a dbf file

    IDE: Visual Studio 2005 Language: Visual Basic Question1: "How would I alter a table (specifically add a column) that already contains data Question2: "If I am unable to add a column to a dbf file that contains data, then how should I approach this problem " Question3: "Should I use an alternitive way to read and write information to a dbf file (I am looking the quickest way to process data.)" Situation: I am trying to find away to quickly process information that is contained in a dbf file. Processing consists of removing records, adding records, and adding fields to a dbf file. Most important processing must be exceptionally fast. For example: I am currenly working on a way to programmically remo ...Show All

  • .NET Development How can I run an User Control using a Web Application...

    Framework Version1.1. I have a User Control inside a Windows Control Library named WCL1. I embed that User Control inside the web Application(named WA1) using <Object> tag.. Along that I have Add the reference for the WCL1 Now if I access through. http://localhost/WA1/WebForm1.aspx means it works... But if I access through IP Address for eg.. http://IP/WA1/WebForm1.aspx means it will not works... Please anyone give me an Idea.. you maybe better asking this question on the ASP.NET forums for a better answer as those forums are dedicated for ASP.NET: http://forums.asp.net ...Show All

  • Visual Studio Tools for Office Publish Solution

    In the same menu with Build and Rebuild Solution there is a publish solution command in VSTO SE. What is this best used for Hi Janet This is used to "publish" the parts of a VSTO solution that should be available via the network (as opposed to being installed on the local machine). Very shortly, a new book is going to be on the market: VSTO for mere mortals, by Kathleen McGrath and Paul Stubbs. I think you'll find it very useful... ...Show All

  • Visual C++ compilation error

    I keep getting error C2470 ('looks like a function definition, but there is no parameter list; skipping apparent body') in Visual Studio 2005 and I don't know what I have done wrong. This is the C++ statement that keeps giving me the error: // function to retrieve the salary int Employee::getMonthlySalary { return monthlySalary; } Change to this: int Employee::getMonthlySalary(){ return mouthlySalary; } Should work. I highly recommend you to find a book of c/c++ programming for beginner and learn everything basic there. regards, rico ...Show All

©2008 Software Development Network