Zeeina's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. componete becomes a property of another component
in the video of the video of presentation of componetes “Game Components Dem " minute 9, the presenter writes “Spinner” and componete becomes a property of another component. When I do it in my component I cannot accede, to the object, of that form so that If I understand correctly, you are creating your own custom game component that can reference another type of game component and having trouble allowing the UI to specify the other component at design time You can use a TypeConverter to do this. TypeConverters are one way you can tell the design time UI how to edit custom properties. Try putting [TypeConverter(typeof(ComponentConverter))] on top of the property, like this: [TypeConverter(typeof(ComponentConverter))] publ ...Show All
Visual C# CS0122 happening where it shouldn't.
I'm writing some code to read a process's memory. I've used it as a code bit and it works; however, I can't seem to get it working in a DLL file. If I reference the DLL and compile, the compiler throws a CS0122; saying that the class I'm attempting to use, ReadWrite, is not public: "'ProcessMemory.ReadWrite' is inaccessible due to its protection level" However, my code for the DLL says quite otherwise: http://rafb.net/paste/results/H8nxZU57.html As you can see, my class, and its functions, are quite public. What is the deal here EDIT: Removed the edited code snipped I posted, and replaced it with a link to the source. You should not declare public methods that you are implem ...Show All
Visual Basic FrameWork or PowerPack?
When I'm programming I'm trying to use as much as possible the instructions of the FrameWork and NOT the instructions, by instance, of Microsoft.VisualBasic. On the setting of my project under properties/references I've remooved the importated namespace Microsoft.VisualBasic in order to know when I'm using the "old" instructions. This is a kind of setting I'm recommending to use to everyone. If any one of you is doing simple benchmark by istance comparing the execution time in order to read a .txt file using the instruction of Visual Basic and the instructions of FrameWork using System.IO.File.Open.Text will see that Framework is minimum 5 times faster. Here comes the question ... Why are you (Microsoft) working on Power ...Show All
Visual Studio Visual Studio 2005 SDK April 2006
Hello, I've tryed to installed Visual Studio 2005 SDK April 2006 version but I get the following message => "Visual Studio SDK installation failed (Error Code = 2)". Any clue about what could be the problem Regards, Richard I have extracted the files to another folder, and it worked this time :) It seemst that by default the files are extracted to "s:\temp" location, and not "C:\temp". I have a S:\ mapping to one of my local folder, it might be the problem. Thanks for your help! Richard ...Show All
Visual Studio Column Charts
How can I programmatically change the width of the bars in a chart on an RDLC page I am using VB.Net 2005 There is a way to control the width of columns and bars. The property is called " PointWidth ". However, the property is not directly accessible in report designer. What you need to do is: * open your RDL file in a text / xml-editor * search for the chart (<chart name="...">) * add a PointWidth value between 0 and 100 (by default it is 55) Example: <Chart Name="Sales"> <PointWidth>90</PointWidth> ... </Chart> Note: PointWidth is a constant value, it cannot be an expression. -- Robert ...Show All
Visual C++ place for code
maybe this is a stupid question, but I have started microsoft visual C++ today (c++ itself also for the first time) and i dont know where to put the code. i'm making the program hello world, but it doesnt work it asks if i want to 'build' the programm and i dont know what it means. i named the program hello and i put the code in the place where it says: hello.cpp is this the right place if so, what am i doing wrong this is the code: // hello.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain( int argc, _TCHAR* argv[]) { return 0; } #include <iostream.h> int main() { cout << "Hello World!\n" ; return 0; } ...Show All
SQL Server footer not shown for subreports
hi, i am showing a subreport from a main reports. i have set header and footer for the subreprt. But it is not shown. Thanks in advance, Vinu If your reports have the same footer information, then do not create a footer in the subreports. Only create a footer in the main report. Then the subreports will show the main report footer. ...Show All
SQL Server remote message being classified as local
Hi I am trying to deploy our service broker application into our live enviroment. I have been using the excellent service listings manager to configure security and routes when deploying to our test enviroments and had no problems. However, after having gone through the same steps in live, i can not get it working. The messages I try sending from the remote initiating service arrives at the target service, but the ack is not sent back from the target service. I have used profiler to find out what is going on and noticed that on the target after the ack is received, a broker:message classify event occurs with an event sub class of 1 - Local. It then starts going through lots of broker: Message undeliverable events. From what I under ...Show All
Visual Studio 2008 (Pre-release) Xaml question
<ScaleTransform CenterX="RootPanel.ActualHeight / 2" CenterY="RootPanel.ActualHeight / 2" ScaleX="2" ScaleY="2"> How can I do something like this in xaml :) I want to create e geometry from some precalculated values so that it will be as large as a grid cell let's say. you may want to have a look at this thread : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=890020&SiteID=1 ...Show All
SQL Server Installing sql express on a sql standard server installed machine
Hi, i have sql server 2005 standard installed on my machine. I want to work on express edition and learn about it but on the installation its gets stuck because a higher version is installed. If the express version is free why cant have both versions installed on my machine. Thank you. I tried to create a new instance but didnt let me even there was a new instance. The idea of trying to install express is its free. I am writting a windows form vb.net program which uses sql express because its free. I can use access files but if im right i heard that express is trying to be the new access. And i want to learn the differences for these systems. Any input . ...Show All
Smart Device Development SIP, RTP and .NET
Hi, I am developing a SIP based Voip applicatoin for Pocket PCs. I used Sip .NET it seems to work fine but I can't find any third party API for using RTP, I found some open source solutions but I will need to create wrapper classes I guess. I would appreciate any solutions As far as I know, there is no RTP library for .NET CF. I am in similar situation: in need of RTP library, but after some research I decided to give up and write my own library. There is one company (you can google it), and they are working on such a library, but they did not succeeded yet. I can think of only one help for you: There is one MS Research project that is using managed RTP library (I'm 90% sure that they d ...Show All
Software Development for Windows Vista Passing parameters from the workflow to the host example request??
WF Gurus, I am using XOML only state workflow from ASP.NET client (WF 3.0). I need to pass output parameter to the host ASP page before WorkflowCompleted event executes. Can someone please provide a code example of how this could be done Thanks in advance, John Portnov Matt, Can you please provide a code example to show how to bind the activity property to the local service (note I am using XOML only state workflow) Assuming I need to make the local service communicate with the host, I will take it from there and raise an event passing EventArgs from the local service. I was unable to locate the TrackingProfileEditor in the SDK. If you could provide a full code sample of how to retrieve the custom activity' ...Show All
Visual C# How to create DataTable
Can someone point me in the right direction on how to create a DataTable within my C# code Like this, if that is what you mean, DataTable dt = new DataTable("TableName"); Or you can create a DataSet, and number of data tables within. ...Show All
Visual Studio Team System Searches from source control
We are having problems getting the Find and Replace to do searches from files on the server. The first time we try it, Team Explorer crashed and we are not able to get into the search again (All buttons at the bottom of the window are greyed out). We can only do "Find in Files" which searches files in local workspaces only. Is there a way to do searches from files on server No, sorry, we don't have a server-side search feature yet. If you need fast indexing I'd recommend using the Windows Indexing Service v3.0. ...Show All
SQL Server Reg:Grid and SQL Pane
I created my own template,From that template I created a report ,but in dataset i Diagram,Grid and SQL Pane is not visible.Could you Please help me how to make these pane as visible. Thanks Masi ...Show All
