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

Software Development Network >> tochaitüs's Q&A profile

tochaitüs

Member List

MisterT006
Robert F Pickering
georgeob
JoeSmith
AnaC
angrylala
Christopher IT
R.Tutus
imed-deborah
Michael Bird
Tom_Liu
Andrew Buyan
Snow Teo
Evan Hennis
Rob Relyea
nate-d-o-double-g
Binairy
coolcoder
Beefstar
gavin beard
Only Title

tochaitüs's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. .. Tridex for C# guys here is the code to Render OBJ file, but only rendering poinst ...

        I am having problems rendering the obj file with Trianglelist, mabe some one can help here!!!   The code loads the obj file with no problems, but when rendering tringle list I get mushed up mesh, can some one hep as I can only render points at the moment!!!!   namespace WindowsApplication1 {     using Microsoft.VisualBasic.CompilerServices;     using Microsoft.Xna.Framework;     using Microsoft.Xna.Framework.Graphics;     using System;     using System.Collections.Generic;     using System.IO;     using System.Runtime.InteropServices;     using WindowsApplication1.TridexConsultant ...Show All

  • Software Development for Windows Vista Can't play the avi file by using video control

    Hi all, I am newbie in the directshow and atl using, so I've created the project in the VC2005 as described in the following article: http://msdn2.microsoft.com/en-gb/library/ms787848.aspx . Then I added event handler to the CMyControl class like this void __stdcall CMyControl::DblClickMsvidctl1(){ CComPtr<IMSVidCtl> pVidControl; CComVariant var(OLESTR( "C:\\skiing.avi" )); GetDlgControl(IDC_MSVIDCTL1, __uuidof (IMSVidCtl), reinterpret_cast < void **>(&pVidControl)); HRESULT hr = pVidControl->View(&var); } hr returns S_OK, but avi doesn't play. Please point me w here I am wrong It's usually a good idea to read at least some of the doc ...Show All

  • SQL Server Timestamp by Insert

    hi there! well i have a problem inserting data from one server to another server. i have following statement: SET IDENTITY_INSERT [dbo].[table] ON INSERT INTO [database].[dbo].[table](COLUMN_NAMES) SELECT COLUMN_NAMES FROM [server1].[database].[dbo].[table] WHERE id=@id SET IDENTITY_INSERT [dbo].[table] OFF and i get the following error: a value unlike NULL cannot be inserted in a timestamp column . is there anyway to switch OFF the timestamp thanks Hi Nitin! thank you for your quick reply. well, on my server_1 i have my mydate column set to time lets say '01.01.2005, 0000000' and i only want to copy this to the other server so my server_2, both server have the exact the same Da ...Show All

  • Visual Studio Express Editions Colour Selector Control (The Buz in the Hood)

    Could someone please tell me how to setup the project property to develop an activex components If your talking about creating ActiveX controls using VB Express - VB Express does not provide a template for creating web or windows controls and VB Express does not provide the IDE Support for the Build Option to "Make application COM-Visible" The following shows what type of projects can be created using the different version http://msdn2.microsoft.com/en-us/library/b4z62wxz(VS.80).aspx Of course if your just talking about creating Class Libraries - this is possible using VB Express.  Albiet if you want to create COM Class Libraries rather than .NET ones, the IDE has certain features removed ...Show All

  • Visual Studio Team System Update frozen fields using MS Excel (part2)

    This problem is related to http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=745067&SiteID=1  so it might be the result of the same source code defect. Steps for reproduction: 1. Open a query in MS Excel that includes a field with a FROZEN property 2. Perform a bulk update for another field than the FROZEN field for all work items in the query 3. Clear the FROZEN field for all work items in the query and publish to TFS 4. Set the FROZEN field for all work items to the same value and publish to TFS Result: only the first work item in the query gets updated, all other work items have their FROZEN field back cleared. Even when using another query that finds all the work items with their FROZEN field clea ...Show All

  • SQL Server Server Broker Contract talking to Multiple Computers

    Hello, I solved the previous issue I had and now need to find out how to make it so I have Service Broker running on one machine and the services running on another machine. I mean you can set a connection string to post a message to the service broker but then it will need to respond and the connection string in the method called does not allow you to put a server in the connection string. The other issue is because the stored procedure calls the method in your code based on a namespace and then a method but does not specify a server. I am sure a way exists but am not familiar with it. This is the last piece of the architecture I need to work out before I finish designing the system. Thanks, Scott Allison... Hello Remus, I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. help please Rendertarget on xbox360

    i have look at this sample by Manders vs. Machine i use 2 rendertarget and it work in winxp but not on xbox360 when you graphicsDevice.ResolveRenderTarget(0); ( you get a copy of what you just have render) so you can say this Texture2d mytex = Myrendertarget.gettexture(); now i shood have a copy of the rendertarget copy from xbox fast mem to local mem stored in my mytex now shwicth rendertarget and do the same and render to a screenquad on both textures this dos not work xbox so thery u can onlye have one rendertarget on xbox one for shadow and the mesh but i what to postprocess the mesh example bluer it a bit so i need a rendertarget more we can do this on windows but not on xbox i have converted ab ...Show All

  • Commerce Server find discount for product

    i have to show on the product page the price , the reduced price ( with the first discount that can apply ex : 10 % off if you buy 1 item) ex : product XXX 10 $ > 9$ ( 10% off) then i have to show other discount that can apply if you buy more ex : buy 2 product XXX then get 20% off ( discount can be linked to user profile and or product expression) i have tried DiscountCriteriaFilter filter = new DiscountCriteriaFilter (); ... but it don't show discount linked to profil ( because you can not send profil information in it) also tried the solution with the pipeline RunCSOWithItemsAndProducts (..., ...) but it didn't show other related discount to my product Did someone know how to show discounted price ...Show All

  • Visual C++ Help me to write a C++ program

    Hi, I am new to C++ program, Pls help me for following probelm. I have a text file as following, DYNAMIC ANALYSIS 次元 部加振 活荷重 3 1 0 0 KACC KDIS KSTS KSTN KSSR KJOT KNOD KRAT KSEC KMSS KWPR 7 7 14 14 0 14 1 0 0 1 0 FREQ GFREQ EXMAX 0.0 2.00 1.0D-6 VISCOUS BOUNDARY INFORMATION 3 2.00 77 60 11 66 0 0 加速度時刻 出力節 番 (KACC=0.OR.>NTJ 場合,削除) 1080 1254 1484 1549 1563 1592 1608 JOINT 動出力要素番 (KJOT=0.OR.>JOINT 場合,削除) 7 8 20 22 117 118 127 128 129 130 133 134 139 140 NODES 1 -101.582 -234.742 280.000 3 2 -76.838 -234.742 280.000 3 3 -54.479 -234.742 280.000 3 4 -34.276 -234.742 280.000 3 5 -16.020 -234.742 280.000 3 6 0.476 -234.742 280.000 3 7 19.06 ...Show All

  • Visual Studio 2008 (Pre-release) Cyclic object structure - ServiceModel.CommunicationException

    I'm having a problem similar but slightly different to the problem mentioned here . I've got a class structure that has cyclictic properties within it that I use in one environment. However I am opening up these classes to be used as a data contract to a WCF Service. When the service gets called it throws a ServiceModel.Communication exception with message of: Object graph for type 'SomeType' contains cycles and cannot be serialized if reference tracking is disabled.'. Please see InnerException for more details. The inner exception is missing from the trace log, but I do know that the object SomeType contains a child property of SomeChildType that have a property that point back to SomeType. I've been able to serialize this ju ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. New to this - Keyboard Input

    Hey guys. I'm pretty new to the C# language. I've downloaded XNA and I've been messing around trying to create a pong game. So far I've managed to get the two paddles on the screen along with a red ball. I want to add keyboard input to the two paddles (they are sprites). I've been looking around on how to add keyboard input, but the more I look, the more confused I get. If someone could help me that'd be great. Some other things I am in the dark about are how to make your window application a bigger size, and if there is a coordinate plane for the window application. I normally find myself just guessing coordinates for my sprites untill they are places where I want. Thanks. The way I handle keyboard input ...Show All

  • Visual Studio Express Editions using VBE across a LAN

    Hello! What I have done so far I have just taught myself some VBA where I produced a module inside Excell on my own P.c that displays some statistics from an SQL database held separately on on a server on the LAN (Using a connection string to the SQL Database ) T he Excell file is in use also by other people in my company who have it locally and produce the statistics and reports thanks to the connection string that I refer to above to the remote SQL database. (It works quite well but managing data and displaying the results in a worksheet are quite like knitting jelly) What I want to do next I want to move on and learn VBE and I am wondering about something which is ; I know that I can probably u ...Show All

  • .NET Development how to modify and upadate the data in dataset

    Hello, in my program I am filling my dataset from 3 datatables and I need to update the value in "sum" field by increasing it by 1 (+1) and saving it back to the database...my select command for filling the dataset is: dataadapter1.SelectCommand.CommandText = "SELECT INCOMING.EPC,TAGINFO.Material_Number,TAGINFO.Description,TAGINFO.PSP,STOCK.SUM " & _ "from (INCOMING " & _ "INNER JOIN TAGINFO on INCOMING.EPC = TAGINFO.EPC)" & _ "INNER JOIN STOCK on TAGINFO.Material_Number = STOCK.Material_Number WHERE INCOMING.EPC=(" + tagdata + ") How can I update the "sum" field and save it back to the database Thanks in advance, Ca ...Show All

  • SQL Server Exception in EnumMergeDynamicSnapshotJobs

    Hi, I'm manually creating dynamic snapshots for a push merge subscription, however I often get an exception thrown when I call EnumMergeDynamicSnapshotJobs. The exception says: Unable to cast object of type 'System.Byte' to type 'System.String'. The stack trace is: at System.Data.SqlClient.SqlBuffer.get_String() at System.Data.SqlClient.SqlDataReader.GetString(Int32 i) at Microsoft.SqlServer.Replication.ReplicationObject.SafeGetString(SqlDataReader lclReader, Int32 nColumn, Int32 nLength) at Microsoft.SqlServer.Replication.MergePublication.EnumMergeDynamicSnapshotJobs() at ART.AlphaRMS.DatabaseManagementLibrary.SMOCommands.CreateDynamicSnapshot(MergePublication publication, MergeSubscription subscription, String dy ...Show All

  • Visual C++ read excel cell

    hi there, i try to read a excel cell value. and i don't know how. i can open the excel file but after that.... maybe you can help me. i try to read the value and show it in an edit field. i am using visual studio c++ 6.0 ; excel 2003 i included all excel.h classes. here is what i tried so far. greetings daniel void CAutoProjektDlg::OnGetvalue() { // Commonly used OLE variants. COleVariant covTrue((short)TRUE), covFalse((short)FALSE), covOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR); _Application app; Workbooks books; _Workbook book; Worksheets sheets; _Worksheet sheet; Range range; Font font; Range cols; COleVariant Data; int Value=0; long cell; long *pcell = &ce ...Show All

©2008 Software Development Network