sapo's Q&A profile
Visual Studio ReportMappingHandler
Hi. I'm having trouble understanding the concept of the ReportMappingHandler. What exactly is it and how does it work I noticed it was mentioned in another thread about CrystalImageHandler as part of XML code but wasn't sure on it's purpose. Can anyone clarify this for me Thanks. ...Show All
Visual Studio Error installing VS2005 after uninstall VS express
Hello, i'm spanish, sorry for my bad english. I had before Visual Basic 2005 Express and SQL Express 2005 but I uninstall all with the instruccions at microsoft page. All products microsoft I uninstall already. I have trying install Visual Studio 2005 Profesional and when start the install, an error occours at "document explorer 2005" and finish the installation. Can I do thanks ...Show All
Smart Device Development Prevent standby/keep app running in standby?
Hi All I'm currently writing my diploma thesis and as a part thereof i am writing a WM based application to constantly log some data (various sensor input via Serial, picture capturing, audio recording and GPS via Bluetooth) which will later on be used for some data mining/context awareness stuff. It is absolutely crucial that i have a constant stream of incoming data that is not interrupted by e.g. standby, be it system or user initiated... And that is exactly where i am stuck now... :-( Does anyone know how i can prevent my wm 2005 PPC device from going into standby, even if the user clicks on power off button However, if this is possible, will the keys and the touchscreen still be locked (not a must, but would be nice) (Btw.We ...Show All
Game Technologies: DirectX, XNA, XACT, etc. doc on xnb format
hello i have stored all my mesh , texture , animation data in xml and i wood like to convert direct to xnb format how can i do that a sample for texture old mdx 2.0 string StringTexture = null; StringTexture = xmlDoc.SelectSingleNode("/EvoFxMesh/TextureData/TextureMap").InnerText; using (MemoryStream mem = new MemoryStream(Convert.FromBase64String(StringTexture))) { EvoFxFormat.MyTexture = Texture.FromBitmap(device, (Bitmap)Bitmap.FromStream(mem) as Bitmap, Usage.AutoGenerateMipMap, Pool.Managed); } new xna DeffuseTextureMap = Texture .FromFile(Evo.device, @"Content/EvoFXMesh/" + ObjectTexture.Attributes[ "TextureName" ].Value); but no memory stream a sample for ...Show All
.NET Development Generic search function....?
Hi folks, I was wondering if one of you code help me out here I'm using an agnostic data storage class ( MetaDataItem ) and a collection of these agnostic data storage items ( MetaDataItemCollection ). The issue I have is with searching for one of the items within the collection. I have written a function called GetItem , which does the job, but there must be a more efficient method! Thanks in advance for any help you can offer me. I'm still very green when it comes to coding in C#, but I am very impressed with it so far, Swampy. public class MetaDataItemCollection : CollectionBase { public void Add( MetaDataItem item) { this .List.Add(item); } public void AddRange( MetaDataItemCollection ...Show All
Visual C# Output one xml file to bin/debug folder after compiling
in some folder of my project , i have one xml file ,when the program run , it must be copyed into /bin/debug folder , i alwary do it manually now i want it done automatically by IDE, (just like the way output assemble ) thanks Funny, there was a similiar question about doing just that what you can do is specify a post build command, so after it builds the solution/project, it can then automatically copy over/do other things for your solution/build once its compiled. Take a look at this thread and see if it helps: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=577817&SiteID=1 ...Show All
Commerce Server Loading And Updating The Commerce Catalog
I would like to ask for advice on loading the Commerce catalog from an outside source. Let me first explain how we are currently doing this and ask for comment on how we could do it more effieciently as it now takes an unacceptable amount of time to load it with a lot of data. First, our site is set up for multiple stores. Somewhere around 1000 stores will be loaded into the system, currently there are a little over 300 stores. All stores share the same basic product data, or master catalog, however, not all stores sell the same products and each store has its own pricing. Therefore, we have created a BaseCatalog containing all available product data. Each store is then setup with its own VirtualCatalog which contains just the products ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 360 Texture Mapping Problems...
Ok ... Just got my 360 creator club membership and tried my first 360 game routines. I have a problem with textures... I'm using DrawableGameComponent's. I'm rendering a tube with a texture and fogging (to black). Camera is inside the tube. The tube is made up of triangles with a repeating texture. Looks great until... I've now added a component that plots a sprite (a simple game logo). The textures on the tube are now drawing incorrectly. Texture seems to stop repeating (when texture co-ordinate goes over 1.0f). This only happens when I plot a sprite (via spriteBatch). Help. I'm guessing something on the graphicsdevice is being set when a sprite is drawn ... but I can't find out what. Does anyone have any ideas I.e. ...Show All
Visual C# creating id names on the fly?
I have a need to create new tabPages. I've done it. Now I have to put some meat on them. Specifically, they will have some surfaces that I do not quite know what they are. One of them seems to be a grid. I am using a prepackaged NPlot source code for this. Everything works on one tabPage flawlessly. Now I want to generate another tabPage, and perhaps more and put those two surfaces on each and draw graphics on them. When I tried to Control.Add (object) where the object is one of those surfaces I ended up with a new tabPage generated, two grids riped off of the original tabPage and set onto the new tabPage with a perfect plot on it. The original tabPage lost all surfaces as well as the original diagram. What I want to do is do some mu ...Show All
Visual Basic Help with setting environment variables
I'm currently building a vb.net common service's library for interacting with tuxedo middleware. The issue im having is setting environment variables to reference the Path of a few different ocx files I use in my project. I've tried the following.... 1. SetEnvironmentVariable API 2. System.Environment.SetEnvironmentVariable("Var", "Val", EnvironmentVariableTarget.Process/User... 3. Add registry values ex. Registry.CurrentUser.OpenSubKey("Environment", True) Setting the key then calling SendMessageTimeOut(HWND_BROADCAST, WM_WININICHANGE, 0, "Environment", SMTO_ABORTIFHUNG, 5000, resApi) When my codes attempts to create the ocx object it gives a FileNotFoundException "8007007e ...Show All
Visual Studio Team System Unit Testing Change
In CTP3 I can create a unit test for a stored procedure by right click on the sproc in the list of Schema Objects. In CTP4 this functionallity is missing (at least on my install). Should I be able to see the 'Create Unit Tests...' menu option on the context menu for a sproc One other thing I've noticed (that may be related) is that in CTP3 the sprocs show as dbo.SprocName while in CTP4 they show as SprocName.sproc.sql (i.e. the file name is shown rather than the name of the stored procedure) This should work, did you do this from the Solution Explorer or the Schema View In CTP4 you can only do this from the Schema View not from the Solution Explorer. -GertD "DataDude" Developement Manager ...Show All
Architecture Still unclear on how to use Typed Datasets in BLL...
OK, I have decided to use typed datasets in my data access layer (DAL). So, my question is, do I really need to create a business logic layer (BLL) From what I have read, you can extend the dataset classes in the DAL using partial classes and place business logic there. Doesn't this combine the DAL and BLL into one component Or is there something I'm missing Do you create the BLL and start by referencing the DAL project and inheriting the classes from the DAL and extend the classes there I don't get where one ends and the other starts. OR, if it really makes a difference. ...or do I even know what I'm talking about... Background: VB 2005, Winform app, expertise level: intermediate+, small application audience, single develo ...Show All
SQL Server How can only certain objects (dimensions, cubes) be deployed?
How can only certain objects (dimensions, cubes) be deployed From Visual Studio I would like to deploy individual items like a dimension or cube without all of the changes in the other objects being deployed. I don’t see any way to do that. Every time one thing gets deployed, all changes get deployed. Visual Studio sends a Message Box Stating that the whole SSAS Database will be overwritten on the server and asks if you want to deploy or not. We have multiple developers working and it has become a problem. We can’t deploy just those changes that are ready without overwriting the whole database. I feel your pain...I have the same issues here (even though I'm the only develo ...Show All
Visual Studio Express Editions Appending to TXT file
Can anyone point me to a tutorial that describes how to open, write to, and save an existing txt file I simply just want to create a log for the program I am building. I have been unsuccessfull in finding a tut on how to do this with Visual C++ Express 2005 - Thank you so much! I haven't use Visual C++ Express 2005 up to now, by according to my experience, there must be some API function such as fopen(), fread(), fwrite(), fclose() provide by IO library. ...Show All
Visual Studio ReportingServices.Designer
I cannot create a Reporting Services project using Visual Studio 2005 Professional. When I choose the Project name, I get the error message: "Could not load file or assembly 'Microsoft.ReportingServices.Designer, Version=9.0.242.0, ..." or one of its dependencies. The system cannot find the file specified." I ran the VS 2005 Repair utility and I re-installed the product. I also ran "devenv /resetskippkgs" to reset the packages. Nothing fixes the problem. I don't know what else to try. Can anyone offer any suggestions Reporting Services projects are a feature of SQL Server 2005. Did you try reinstalling SQL Server BI Tools -Albert ...Show All
