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

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

MeAndYou

Member List

yamobe
Paul Gerald
anubisascends
vijayan n
Sunny Jung
Vikash Sharma
akilah
Elishky
cracklestudios
XpyXt
vitich00
cb3431
FAp
hoabinh
redneon
Brett H.
nhaas
gcox18
Blipwort
Ashesman
Only Title

MeAndYou's Q&A profile

  • Visual Studio 2008 (Pre-release) How to set MaxItemsInObjectGraph on the CLIENT side

    I am receiving the following error on the CLIENT side The formatter threw an exception while trying to deserialize the message: Error while trying to deserialize parameter http://tempuri.org/:RetrieveAllResult. Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota. The data that I am returning is about 3.5 meg in size with an unknown number of objects ( I don't want to count them). I had to on the SERVER side add [ ServiceBehavior ( ReturnUnknownExceptionsAsFaults = true , MaxItemsInObjectGraph = 300000 )] to allow the data to be serialized. I am hosting the service in IIS. On the client side I currently have ...Show All

  • Visual C++ I met a weird thing when using fwrite() and fputc()

    I am using VS 2005. In a project when I was trying to write some unsigned char into a file, I used fwrite() and fputc(). But I found whenever I tried to write 0x0a, fwrite() function automaticly wrote 0x0d before 0x0a. So I wrote a small test to test it. Here is it: FILE* file; unsigned char p = 0x0a; long offset = ftell(file); // here the offset = 0; fwrite(*p,1,1,file); offset = ftell(file); // after this, the offset = 2. and in the file I // found 0x0d and 0x0a was written. I can't understand. I just want to write byte by byte, automatically inserted byte 0x0d will cause problems in my project. can someone tell me what is the cause and how to avoid the unwanted byte ...Show All

  • Visual Studio Express Editions Currently Playing Media

    Hi, I'm making a utility that needs to monitor when the audio changes that you are listening to in Media Player, is there anyway to do this What I want is an effect simular to the Media Information option in messenger, where Media Information updates as your song changes, etc. Any thoughts I would be gratefull, thankyou.   Media information is really hard to find.   MCI_INFO http://msdn2.microsoft.com/en-us/library/ms710911.aspx MCI_INFO_FILE Obtains the filename of the current file. This flag is supported only by devices that return TRUE when you call the MCI_GETDEVCAPS command with the MCI_GETDEVCAPS_USES_FILES flag.   But I just looked at my code and that's not what I did. I checked to ...Show All

  • Windows Forms Help! How can I make it check for updates? (MSI, non ClickOnce)

    Hello all, Is there some documentation or walk through somewhere for programming the application to automaticlly check a specified location on the internet for updates every time the app if fired up I have a very simple program I have to deploy with MSI, so I loose the extremely important auto-update feature of ClickOnce. Any help is appreciated as I am just fumbling my way thru all this and feel slightly overwhelmed. I believe you have created a visual basic project so you have to use 'SampleForm. vb ' instead of 'SampleForm. cs ' ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. mesh clone and dispose bug

    this is a strange one... Mesh mesh = Mesh.FromFile( "tiger.x", MeshFlags.SystemMemory, device, out materials ); Mesh newMesh = mesh.Clone( MeshFlags.Managed, mesh.VertexFormat, mesh.Device ); mesh.Dispose(); // Dispose the original newMesh.Disposed == true <--- what -- the new one is now also disposed mesh.UnmanagedComPointer and newMesh.UnmanagedComPointer are not equal what going on here ob. the original and the cloned are referenced somehow... Yes strange but if you follow the code in a tool like reflector you can see exactly where is happens. I don't expect this is an issue in XNA since its a different code base. There is no mesh.clone in XNA since D3DX is missing and meshes are handl ...Show All

  • SQL Server Problems with views

    Hello, In a view I read some data of two tables. The values of the columns can be NULL. When I make a select of the view ( SELECT * FROM MyView ), there's no problem with the condition that all values are NOT NULL... but if there's a null value in some column/row (also might be a column I did not ask for, eg. SELECT ConfigId FROM MyView and column Temperature is null), the query lasts very much time. What could be the problem Does the view have problems with null values Thanks for every help! Additional Information: This problem only exists for sql queries with the DESC command ...Show All

  • Visual Studio 2008 (Pre-release) Sending a FileInfo object to client

    Hi. I'm having trouble getting a FileInfo object through to the client. First of all, if I add a operations contract on the server that returns a FileInfo object, it all works like a charm - The FileInfo object is received fine on the client-side. But in my setup, the operations contract returns a custom class that COULD hold some FileInfo object inside. Here's my setup: [ DataContract ] public class TypeDef { [ DataMember (IsRequired = true )] private string description; [ DataMember (IsRequired = true )] private string name; [ DataMember (IsRequired = true )] private object data; public TypeDef( string name, string description, object data) { this .Name = name; ...Show All

  • Visual Basic Storing an Array

    I want to store an array into a field of an Access Database, so that I can access the Array at a later date. I have create the database table using an OLE Object as the datatype for the field. I use the following code to store the array into the field named "array" Dim cnn As New Connection Dim rst As New Recordset Dim myArray() As Integer = {0, 1, 2, 3, 4, 5} rst.AddNew("array", myArray) rst.Update() This causes a {Type Mismatch} error on the rst.addnew line of the code. Any suggestions A couple of issues: 1. you should use ADO.NET 2. The OLE Object type requires that you read and write the bytes of the object: http://msdn.microsoft.com/library/default.asp url=/library/en-us ...Show All

  • Visual Basic COM Object BeginInvokes at Program Close?

    We're writing a program where we have a COM object that is created and used several times through the runtime of the program. I'm finding, though, that I get this bizzare error after closing the program. I've verified that this error comes after an Application.Exit() call, and the stack trace doesn't involve any of our code, so I have no idea how to diagnose this (if I could just supress it, I'd be fine, since the program can finish closing after I hit F5 when the exception comes up in the debugger). Yeah, I had tested that and it didn't change it, but... I found when I was digging through some of my collegues code that he wasn't disposing of a dialog that had a COM object on it. We didn't think much of it at the time, probably, because w ...Show All

  • Visual Studio Team System Msscci provider 1.1 is out!

    We've just released version 1.1 of Team Foundation Msscci Provider. It's available here . The most important changes are following: Support for Enterprise Architect 6.1 and PowerBuilder 10.5 Fixed order of parameters passed into external diff tool (it's the same as in Whidbey now) Work items can be reviewed and edited from inside the Checkin Dialog Setup is working in x64 architecture Checkin locks are treated as exclusive Enhanced "Open from SCC"/"Add to SCC" process - both local and server path are specified in the single dialog. Also if the local path is already mapped, the process is done automatically. And last, but not least - "Get latest" on Checkout :) It's disabled by defaul ...Show All

  • SQL Server Reporting Services - Analysis Services - Displaying Dimension Members as Columns

    I think I've seen a similar post on a blog or on the forums - but it seems like this should be possible - I have an MDX query - that works fine in SQL Enterprise Manager, and has my dimension members on columns, and my measures on the rows. When I try the same query in Reporting Services, I get the error: "The query cannot be prepared: The query must have at least one axis. The first axis of the query should not have multiple hierarchies, nor should it reference any dimension other than the Measures dimension.. Parameter name: mdx (MDXQueryGenerator)" Although it works when you pivot the view, I really need my data presented with the members on the columns and the measures on the rows. Another forum post mentioned using the SQL 9 ...Show All

  • Visual Studio Express Editions visual basic express edition & directx

    Can Visual basic express edition use all the functions of directx If yes how can I get visual basic to work with it I am trying to help myself, and I agree that I'm not ready. However, directx is something I'd like to learn and I want to know if I'm headed in the right direction using express and visual basic. If I am, then I'll keep practicing until I'm ready, if not then I'll find another method and start working on that. Thank you for your help, but really I'm just intrested in knowing if its possible ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Pixel Manipulation of Textures

    Hi All I have created some 2d textures from bmp files and want to combine them in a new texture. I have been trying the surface getData()/setData() commands unsuccessfully. In fact if I get the data from a surface, modify only one pixel of it, and set the data back to the same surface I get a graduated pattern instead of just a pixel being modified Which is not really what I was expecting. Any help would be great, thanks. RF ayatollah wrote: I found exactly this Code in another Tutorial however the "Surface" method does not seem to exist in the Final XNA Gamestudio Express 1.0 ... Anybody know how the proper method to do this is now What I want to do is create a texture ...Show All

  • Visual Studio Express Editions 3D Checkers

    Hi Im developing a checkers game under vb.net 2D board is easy, but how to develop a 3D board. http://www.deltmar.ee/mex/laud.jpg like this one i designed in Rhino3D Is there any 3D engine for .NET or any other solution DirectX I have no glue, where to begin ;)! Best regards; Mex funny, I had the urge to play checkers recently....so now I've subscribed to this thread, I can't wait till you get this all up and running :-) No doubt I will be testing it to the extreme...and report back bugs :-P Keep up the good work! ...Show All

  • Windows Forms Stored Procedure shows resultset one pc, not on the other.

    Hello everyone. I have been breaking my head over a strange problem all day now. My colleague and I have recently started to develop in Visual Studio 2005. We have a stored procedure on SQL 2000 server called 'searchpartnumbers'. When we start a new project on his system, click on 'add datasource' and select this storedprocedure as datasource it shows it's resultcollumns. We can easily drag it onto a form and in runtime it shows a resultset as expected. see image: http://mailings.infotheek.nl/good.jpg The problem is, when I do the exact same thing on my system, it does not show any collumns. In fact, after finishing the wizard it just adds an empty dataset with one tableadapter in it (which is bound to the stored procedure). ...Show All

©2008 Software Development Network