shmulik_segal's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Hope Xbox360 can support Flash File(*.swf) !
xbox360 is a good TV Console, can use XNA tools make game by myself, but now,flash game is much more other on internet, I hope make flash game on Xbox360. It's fun. We are currently building a swf >xna tool, mostly for animation but maybe a bytecode>C# converter later. I think the two biggest reasons to have this (for us anyway) is for adding existing animation to a game, and to port existing games that are known to be popular already. Flash is also a very fast (and cheap!) way to create 2D animation, so that can be useful in itself. I worked on a xaml>swf engine before (at Xamlon), it is actually a much bigger undertaking going with xaml than swf. The basic shape and animation stuff i ...Show All
Visual Basic Need advise on what class to use
Hi, I need to write an application to perform imaging of memory cards (up to 1 GB). The requirement is for the application to capture the entire image of the memory device into a file, all partitions included. i.e. if I have an 256 MB SD Card, I must write in all 256MB of the card into a standalone file The original and the image must match byte for byte. I've tried using stream reader to do a simple test (see extracted code below): Dim strmRdr as StreamReader strmRdr = New StreamReader("\\.\F:", System.Text.Encoding.Default, True) However, I was given the following error: FileStream will not open Win32 devices such as disk partitions and tape drives. Don't use \\.\ " in your path. Hence, can anyone advis ...Show All
Windows Forms How to determine which control is at the front
I have a panel which holds a number of fully docked child controls, so only one can be visible at any time (which I set by calling BringToFront). Is there a way to determine which control is at the front without keeping track of it myself i.e which control is currently at the top of the z-order Hi, If all the controls are contained within the same panel, you can check that panel's Controls collection. The first control in that collection (panel1.Controls[0]) is always the top one, and the last in the collection is the bottom one... When you change your controls' z-order (SendToBack, BringToFront), their position in their container's Controls collection is also changed. Andrej ...Show All
Visual C++ CLI Service with MFC ?
Hi all, is it possible to make a .Net service with C++/CLI with the support of MFC library I have made a C++/CLI service, that works perfectly. Then I add MFC support, without using it (only add afxxxx.h and "use mfc in a shared library"), the service doesn't start anymore ... Should i make something different Is it possible Thanks for your help, Best regards, Nico yes, i can change the code to use the .Net framework, but that makes a lot of code update. I thought that IJW can help me to avoid to rewrite a lot of own classes thanks for your help ...Show All
Windows Live Developer Forums Javascript question (how to pass strings with white space?)
Although this is a javascript question, it's related to VE because I'm writing a webservice function which writes javascript on the server-side. I have a simple question. I want to pass a string value (in my case a tag), to a javascript function: So I have someting like the following: <pre> tagCloud.Append("<a href=# onclick=SetTag("" + tag + "") >" + tag + "</a> "); </pre> eventually this is rendered to screen where I have the typical tagcloud that allows a user to click tags and filter stuff. The problem is that when the value "tag" contains whitespace the javascript breaks. I thought by putting " I would solve this... but it's obviously not workin ...Show All
.NET Development Append at the end of an existing xml file?
I got an XML file, and I want add new data to its end, how I'm able to do that I use appendChild and save to do all my nodes creation and saving.Using .NET 2003 This is my sample XML data < xml version="1.0" encoding="UTF-8" standalone="yes" > - < Sains > - < Question > < ASK > 1+1 is </ ASK > < A > 1 </ A > < B > 2 </ B > < C > 3 </ C > < D > 4 </ D > < ANSWER > B </ ANSWER > </ Question > </ Sains ...Show All
Smart Device Development WM5: Icon IDs for shell standard icons
Can you just give me an exact link where I can find the information (I search in the NG but found no post) A list like this will be useful: OS DLL Icon ID PPC2002 coredll Folder WM2003 coredll Folder WM2005 Folder etc. Why is this not documented in MSDN and why was http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=933098&SiteID=1 closed but not answered! Of course I can search via Google all over the world but an MSDN forum should be the right place to aks such a question... Best regards, hfrmobile ( developing software since Windows ...Show All
.NET Development How to change method at runtime.
Hi, Supose we have a method named method1. If we run our app in debug mode, we can stop at a brake point and than chagne some code and continue to run the app. Is there a way to do it using code When I searched I only found useful Reflection.Emit namespace yet it can only build dynamic things, it can not change class structure, or method body. The scenerio can look like this. App is running. App is unloading dll. App is changing dll (it can only know something from Reflection). App is changing dll. App is loding dll. Of course it would be great if unloading/loding steps could be thrown out form this "flow". If someone knows how to deal with this problem please help me:) The MDbg sample has a demo on how EnC works under t ...Show All
Visual Basic Unexpected behaviour with INSTR function
G'day, please forgive me as its my first foray into VB.NET (Normally a VB6 bloke). I'm getting some strange behaiour from the INSTR function. I wish to read in a CSV file but split the data into columns which I'll then plot. The data is structured such that the first record contains the channel names, then comes the units and finaly the data stream. A record can contain 200+ strings delimited by a "," the record is terminated by a CRLF so I use INSTR and VBCRLF. The first vbCrLf is picked up correctly - the expected number of channels is loaded into sHeaders (see below). BUT the next one sUnits is NOT loaded correctly - it actually misses a vbCrLf and continues to loads till the next vbCrLf appears after that one. ...Show All
SharePoint Products and Technologies Enhancing Excel web access Webpart
Hi Is it possible to enhance the functionality of Existing Excel web access webpart Basically i want the cells to be editable so that the data change can be reflected in the pivot chart Is this possible Regards Abhijit You can't edit the cells in the grid, but you can define parameters in the workbook, and have users update them using the web part parameters pane. See: http://office.microsoft.com/en-us/sharepointserver/HA101054751033.aspx http://office.microsoft.com/en-us/excel/HA101000061033.aspx ...Show All
Visual Studio 2008 (Pre-release) Change backcolor of disabled control
How to change the backcolor of a disabled control in WPF application I have tried this but this didn,t work....................this works only for the foreground.............. and not for background. ...Show All
Visual Studio uninstalling VS2005
Hi, I have a high spec (dual core, lots of ram etc.) laptop with Vista home premium. On trying to uninstall VS2005 the app took 4 hours to make a 'setup script'. Does anyone else have experience of this thank you Do you have a virus scanner active (such as norton or kaspersky) Try disabling that and the uninstalling (ofcourse, unplug your network cable first) :) ...Show All
Visual Studio 2008 (Pre-release) Can the xsd and xsi attributes be turned off when using the XmlSerializer?
I am using the XMLSerializer under .NET 3.0 in a WCF client. The request message created has a body tag that looks like this on the wire: <s:Body xmlns:xsi=" http: / / www. w3. org/ 2001/ XMLSchema- instance " xmlns:xsd=" http: / / www. w3. org/ 2001/ XMLSchema "> I want to turn of the two standard attributes for the xsi and xsd namespaces, as I do not need them. I cannot manually serialize the message, I am looking for an attribute that will turn this off when I define the Service or Message Contract for this message. My current Message Contract looks like: [MessageContract(IsWrapped = true,WrapperName = "GetPrinterElementsRequest",WrapperNames pace = " http: / / schemas. microsoft. com/ win ...Show All
Visual Studio Modifying Virtual Directory
Hi, As part of my deployment process I need to modify a IIS virtual directory that already exists. I've had a look at the Microsoft.SDC.Tasks project but that seems only to allow the creation of a virtual directory not its modification. Thanks Sanjay There is a WebDirectorySetting Task in the MSBuild Community Tasks in the current trunk, but it I don't think it is in a release version yet. ...Show All
Visual C# Modify form attributes of the main app from extern class
Hi to all, I've this little problem that I can't resolve from my own, in a windows application created using VS2005. As you know I've a principal class, called program.cs, where the main create and launch the principal form application, which class is called form, as this code: static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form()); } Now, I've another class called Thread, that I create and run from the Form class. In this Thread class, I want to execute a method that add object to one listbox in my Form. I've created a public method in Form class but I can't call it from the Thread class because I don't know the name of the instance ...Show All
