wendling lionel's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Screen layout for 360 games
Dave made a blog entry yesterday pointing to another blog entry that should be a must-read for all of us considering doing 360 development. I know I had no idea about what he talks about. This article (free signup required) goes into far more detail than you probably ever wanted to know about the problems involved with displaying computer images on televisions. The situation today is nowhere near as bad as he describes, as the Xbox has a high quality video encoder that will use smart filtering to minimize the effects of fine horizontal detail on an interlaced display. Plus not so many people today are still using composite cables, and a lot have HDTV where most of these problems go away. Still good stuff to be aware of ...Show All
.NET Development Convert to TIFF image.
How to convert a PDF file content to tiff image using C# code hello bhaskar , did u find how to convert pdf to tiff, i got from this article that use this library PDF4NET , how can i use this to convert \ pdf to tiff Regards Prathap ...Show All
Visual C++ Asked for VC 7.1 libraries when compiling a project in VC 8
Hi folks: I encountered a problem when I was compiling a VC++ 8 project convered from .NET 2003 in Visual Studio 2005. When the process came down to link stage, the VS 2005 IDE asked for some version 7 VS libraries such as "mfc71.lib", "mfcs71.lib", "libc.lib", etc, which are not included in VS 2005. Could anybody provide any hints for cracking this problem. Thanks a lot in advance. Jason Check if the project explicity asked for those libraries. Projects + properties, Linker, Input, Additional Dependencies. ...Show All
Windows Forms insertion event handler
Please I would like to find out which event handler to use in updating a TableAdapter object upon inserting values in the row for new records The code below does not work... private void dataGridViewDisease_RowLeave( object sender, DataGridViewCellEventArgs e) { this .vHRNDataSet.DISEASES.Rows.Add( this .dataGridViewDisease. Rows[e.RowIndex]); this .dISEASESTableAdapter.Update( this .vHRNDataSet.DISEASES); } Try adding datagridview's EndEdit () method before you do insertion and update. And have a read at this article , it tells you how to update data between dataggridview and database. Happy coding!Regards. Ye ...Show All
SharePoint Products and Technologies change the 'current view' of a listviewwebpart
i am adding a webpart to my webpartpage like this: ListViewWebPart lvwp = new ListViewWebPart(); lvwp.ZoneID = "RightColumn"; lvwp.PartOrder = 9; // low lvwp.ListName = list.ID.ToString("B").ToUpper(); lvwp.ViewGuid = list.Views["FilesTemplateView"].ID.ToString("B").ToUpper(); lvwp.Description = "Topic Files"; lvwp.Title = "Files"; coll.Add(lvwp); this will always put my webpart on the page with the 'current view' and not with the intended custom view. anyone that can get me on the right track to do this ...Show All
Visual Studio Team System Output of base.Problems collection
I have a custom rule that loops through all the methods available and checks for a particular violation. If there is a violation, I use the below sequence to add it to the Problems collection Resolution resElement = base.GetResolution( "error string" ); Problem prbDescription = new Problem( resElement, "Class Name" ); base.Problems.Add( prbDescription ); I have the above set inside the loop and during the execution (debugging), I am able to see the base.Problems having the list of items that were detected for violation. During debugging, I am able to see the list growing as I add the violations to base.Problems At the end of the Check method that I have overridden, base.Problems is returned. But in the ou ...Show All
Visual C++ Other lanuguages (Japanese) strings in quickwatch while debugging
Hi everybody, I am seeing a peculiar thing, i.e when I debug I getting japanese strings in Quickwatch while debugging a VC++ Project in wchar_t array. I using wsprintf(pExeFile,(LPCWSTR)"%s",pModuleFile); If I use char array instead of wchar_t it is showing the following error. The error is error C2664: 'wsprintfW' : cannot convert parameter 1 from 'char [512]' to 'LPWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast Pls help me in resolving this, Thanks and regards, Bharath .k bharath-k wrote: [...] I need further clarification,&n ...Show All
Visual C++ Problems with delay-loading DLLs
Hi. I have a DLL module.dll and I want my application to use delay-loading. The idea is that the module may be missing and the app should detect that and continue with limited functionality. I'm using the example from here: http://msdn2.microsoft.com/en-US/library/8yfshtha.aspx However I'm seeing 2 problems: 1) The __HrLoadAllImportsForDll function uses memcmp instead of stricmp to compare the argument with the list of delay-loadable modules. It turns out the string in the table is "module.DLL". So how do I know in advance what is the correct case Is it guaranteed to be that, or can it sometimes be "Module.dll", "MODULE.DLL", or something else Where does the case come from 2) Contrary to the exa ...Show All
Gadgets This is not a valid gadget package!! grr!
hey, So i finished creating my gadget, i use winzip to zip it up to mygadget.gadget and then double click to install... However it just says: This is not a valid gadget package The gadget works if i move the folder to the windows gadget directory! Does anyone know how to fix this problem Regards I've had that error before. =) Check the XML. Is it named gadget.xml Check the code inside the XML. There should be a line that says <base type="HTML" apiVersion="1.0.0" src="(your HTML file).html" /> Is the (your HTML file) part the actual name of your HTML file After doing that, I discovered mine was #2. Try this and tell me the results. ...Show All
SQL Server LiveStats.XSP
We were running LiveStats.XSP 7.50 on our server and due to a server failure had to re-install. However, after entering the license key and completing the install, the software still reports as being unlicensed. What is the procedure to rectify this Thanks the server name and port in DEEPMETRIX\analyzer\settings.xml needs to be working for livestats! you need to configure iis to accept connections on that host header and port or change the settings in the file. <Licensing> <Server>localhost:80</Server> </Licensing> there will be no connection from the internet, but there is a licensing app that opens a connection to the licensing server of deepmetrix and to the local instance ...Show All
Visual Studio Tools for Office No 'Click' for CommandBarPopups, so what should I do?
I would like to have a custom menu ( CommandBarPopup ) to have it's items enabled/disabled depending on the current user selection (e.g. chart/cell). The problem I'm facing now is that there is no Click property attached to the CommandBarPopup class. I am aware of the OnAction property which can be used to call VBA code, but what is the best way to approach this This is for a COM Add-in, not for a single workbook and all the examples I've seen of using VBA are bound to a single file. The rest of my Add-in is written in C#. I was considering having a placeholding CommandBarButton that, when Click ed, would execute the required code, before making itself invisible and making the true CommandBarPopup menu visible. However, this solution is f ...Show All
Visual Studio Express Editions startIndex problem when unable to connect to the internet
I've been creating a program that will restart my modem so I can get a new IP whenever it changes to an IP out of the range I want. For getting the IP I used a ready-code that catches the content of a webpage into a textbox. Then I used a System.IO.StringReader to start getting the content of the textbox after the ": ", which is when the IP comes. Here it is: Public Function getIPstring() As String 'This creates the filestream and streamreader that is used to read the source Dim SR As New System.IO.StringReader(TextBox1.Text) 'Here is where we start looking for the ip. 'This puts the entire file into a string Dim entirefile As String = SR.ReadToEnd 'This gets the starting position o ...Show All
Windows Forms How To: User Dynamically Resizing Controls at Runtime
I was wondering what is the best way to allow a user to resize a control with the least amount of flicker. Currently, I am using MouseDown, and MouseMove events to accomodate the resizing of the control. The MouseDown event stores the initial location of the mouse. The MouseMove event calculates how much the mouse pointer has moved since its position in the MouseDown event, and then resizes the control accordingly. The problem with this method is that I get a lot of flickering and artifacts in the form until the MouseUp event occurs. I have double buffering on the control set but this doesn't seem to help. If I hold down the mouse button and move the mouse ...Show All
SQL Server Configuration File not always used
I have a simple SSIS package (stored in the file system) that gets a file path from a configuration file. The configuration type is an indirect XML configuration file that uses an environment variable to store the location of the configuration file. When I run the package using dtexecui, or just dtexec from a command line, the package successfully picks up the file path from the configuration file (for verification I am writing out the variable containing the path to the log file). However when I run the package from a SQL Agent job it appears that the configuration file is not being used (the path is set to the same dummy path that I used during development). I have tried running the job as both a CmdExec and an Integrati ...Show All
Smart Device Development Panel vs Form based application?
Hello. I am going to design application for Pocket PC using Compact Framework. I dig in the internet, read articles and I am still wondering : what is the best gui design solution for mobile devices The most important thing (as always) is performance. My application will have many different forms/panels and will be switching between them many times. In desktop version of this application (unfortunately designed in java) we are using panels and state manager which enables and disables panels. But on Pocket PC we got limited memory space so I am wondering : 1. The once created panel exists in memory until I destroy it (dispose) 2. Is there any possibility to remove panel from memory or compress it when it is unused (hidden, disabled) And lo ...Show All
