oriongblimited's Q&A profile
Windows Forms Need a Combo Box in Windows DataGrid
For my C# Win Forms App, (v1.1) I need a Combo Box in a Column How to add a combo box to a column to a data grid, and arraylist being the datasource, There are some examples in the windows forms faq . ...Show All
Visual Studio 2008 (Pre-release) Implementation of IWsdlExportExtension.ExportContract
The DataMember attribute by default makes the member nillable. Since the EmitDefault is not available in beta2, I am trying to figure out how I can do this by intercepting the ExportContract method of IWsdlExportExtension in IContractBehavior implementation. But it is not clear where and how I can modify the generated WSDL. I was able to get my implementation invoked when navigating to WSDL for the contract. However I am not sure about how to modify the supplied arguments to ExportContract. I would appreciate if some can post an example code on how the wsdl is modified in this method. Thanks. Here is a post in which is explained a possible solution to make Xsd annotations with WCF http://www.agilior.pt/blogs/bruno.camara/archive/2 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Asset processor in Visual Studio 2005
Hi, can i do my asset builder or asset processor content, with Visual Studio 2005 (in c#, of curse) instead Visual Express C# What you'll probably want to do is manually create an msbuild .proj file to handle the content builds. That way you can work with any version of VS for the code, and still get the content build functionality. Shawn Hargreaves explains how to do so here: http://blogs.msdn.com/shawnhar/archive/2006/11/07/build-it-ahead-of-time.aspx Proper support for using another version of VS doesn't exist yet ... will probably be available sometime next year when they release XNA Game Studio. ...Show All
Visual Studio Express Editions Null Reference Exception
For some reason i keep getting this "Null reference exception was unhandled - object reference not set to an instance of an object" Does anyone what this or what is could be causing it. I'm using arrays to store stuff which then makes an instance of a panel. I have 4 of these, they are all identical and use the same panel, but one of them refuses to work and I get this message, I've checked it over and can't seem to see anything different between that 1 and the other 3. ReneeC, everyone is both political and social, however that is not why we are here. There are many forums for discussing those subjects. This is a programming forum and I respect it as such and will not be baited into other discus ...Show All
.NET Development Object must implement IConvertible
I am using remoting to pass data from a server to a client (or clients). It has worked really well until we had some DNS problems yesterday. Now I am getting an InvalidCastException with the message "Object must implement IConvertible". The strange thing is that I'm only getting this message on one machine -- I haven't tested it on every machine but out of 5 machines, it's only happening on one. The error occurs when the server tries to call a client method, one of the parameters is a class which has the [Serializable] attribute set. The really strange thing is that it says it can't convert [ClassName] to [ClassName] where ClassName is the name of my class. Both machines (the machine hosting the client and the machine hosti ...Show All
Visual Studio Team System 180 day Trial Download
I have downloaded the 180-day trial of Visual Studio Team System. The file is: En_vs_2005_vsts_180_Trial.img If I double-click on this file Windows does not know what to do with it. According to the MSN site, it is a DVD image which is meant to be copied to a DVD-R. I don't have a DVD burner. Is there any other way I can install the trial from this image Bob Thanks, The same text file is in both the Vista and VS2005 I ran a PC with the original WinXP SP1 disk that later updated to SP2 with all the other service packs via automatic updates. I have a laptop in the same config. I downloaded Vista and could not read the files on either systems. My other laptop has WinXP SP2 that i received as a default ...Show All
Windows Search Technologies Problem crawling with a hierarchical custom protocol handler
I have developed a hierarchical custom protocol handler that I'm integrating with Windows Search on Vista. The handler has a IUrlAccessor and IFilter implementation that enumerates the contents of a directory by returning the search URL of each "file" in the directory as a text chunk with the STAT_CHUNK structure specifying the GathererPropset and PID_GTHR_DIRLINK propid. My understanding is that the indexer should take these URLs and queue them for indexing, in which case I should see subsequent calls to CreateAccessor with those URLs. However, instead I'm seeing the indexer call CreateAccessor once to get the directory accessor, then it reads the dirlink text chunks, but it never make the expected additional calls to Create ...Show All
Microsoft ISV Community Center Forums Creating data with a loop based on current info in worksheet
I have an excel file (.xls) that already has data in it. I have already got my VB app to open the source XML file and change it to a XLS file and delete the top row (blank and not needed) and add a new column in for my new data. The new column needs to have data that will loop down until the other rows have no info. The naming will be generated based on a number. vp0001.jpg vp0002.jpg vp0003.jpg vp0004.jpg and so on until it comes to the last row. This data will be put into column A and it will check column B for the last row. Thanks! I have this almost done but I just need to know how to find the last row number so I can use it for the loop. I have it working now but you have to manually tell the program how many row to loop. Thanks ...Show All
Visual Studio Express Editions View many database tables in one form
Hi. My program has a menu where you can choose between 90 database tables to view. My plan is to open another form with a parameter that says which table to show. So I have a form named Table. But the Table form needs to be able to choose between the 90 different tables. I drag and drop a table from the DatabaseDataSet, and thats one. But then I need to drag over another, and I got the problem. I need to be able to hide/'not create' all the other tables' datagridviews that I don't want to show. And without wasting resources on getting data from the other tables. Another problem is that the BindingNavigator (which I have modified) needs to operate with the chosen table. It has got a button which is going to export the table to Excel, and I' ...Show All
Windows Live Developer Forums What is wrong with my webcam and or messenger, all i get is static, but webcam is working
whenever i use my webcam, (a creative webcam live pro) i know it works, cause i use it in my webcam center software that came with it, but when i use windows live messenger, and try to use my webcam, it gets static, thats all i see, and im not even sure if it even can tell i have a webcam connected, what is wrong, can you guys help me ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Attempting to load a 2D Texture from the core framework
This is the first time I've ever used XNA. I saw a demo of it and it seemed really easy and writing the code, I was quite impressed. However, running the code is another story. Here's where I am. I created a new Spacewars project to see if it would run and see what the game looked like. It runs great. So, I created a new "Windows Game" project (via Beta 2) and looked at the core framework. I opened the help files and went to: "XNA Game Studio Express / Getting Started / Your First Game. I had previously looked over Step 1-3 and today I looked at Step 4, adding a sprite. That should be easy enough. I follow it, step by step. I took the B1_stars.tga image from Spacewars and copied it into my own content/te ...Show All
Visual Studio Team System Build Machine Exception in App. Tier Event log?
Hi, I had the problem that one of our Team Builds did reference Unit Test Assemblies for code coverage in it’s tesrunconfig file. As stated here this leads to an exception and TS is not able to calculate the actual code coverage. What surprises me is that we got an exception entry in our TFS application tier event log for this error, since the team build is actually running on a separate build server. The build server is a virtual windows 2003 server and works fine otherwise. The build machine did not show any Exception relating to this issue. What is the reason for this Why should our TFS event log be flooded with exceptions if a team build on an external build machine is having an issue Is this a correct (planned) be ...Show All
Visual J# jbimp failed to create IL for method
the message is saying could not find class 'yadayada' . unresolved class 'yadayada' is not also in the CLASS PATH..... please help- rk Please refer to - http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vjsharp/html/vjgrfJavaBinaryConverter.asp This is the section you might want to look at - /usestubrefs Uses stub types, fields, and methods for unresolved references. If a class is referenced and not present in the input, the CLASSPATH environment variable is automatically searched for the missing class and the first found location is displayed with the error information. If this option is not specified, conversion stops if any of the referenced classes are not present in the i ...Show All
Smart Device Development Avoiding/Eliminating the "OK to Reinstall dialog box"
I've built an enterprise solution that includes both a WinForms app and a Pocket PC app. To facilitate the installation of the mobile app, the WinForms app copies the Mobile CAB file over to the device and then executes it. It works fine except that whenever and update is being installed, it presents the following dialog box: Blah-blah-blah is already installed. Re-install OK Cancel I'd very much like to find a way to eliminate this dialog box. Does anybody know how Robert Werner Vancouver, BC The fact is that wceload /silent is not silent when executed via CeCreateProcess. But... it will run silently if you call it from ShellExecuteEx in a device resident app. -Mi ...Show All
.NET Development cryptography I can use in ASP and C#
What cryptography provider should I use so I can decrypt a string also in old ASP (vbscript) I have C# application that will encrypt and decrypt but I need an ASP application to be able to decrypt the same thing (a connection string) Any suggestions Thanks for your answer! Can you tell if System.Security.ProtectedData requires local disk access We use citrix to run my C# programs, users can't write localy. and about Win32 CryptUnprotectData function, know any examples I can learn from ...Show All
