reichard's Q&A profile
Windows Forms How to display two columns in dropdownlist of combo box?
Hi I have a combobox to display the following in drop down list (I am using VB.net or VS 2005). Apple Peach Mango So How to make the dropdown list to display the following (Two Columns). (In access database you can add many colums to the combobox's dropdownlist) Apple | Fruit Peach | Grade Mango | Tropical After made the selction only the single column should display in the combobox Apple or Peach or Mango Advance thanks Hi,vaish,here is another demo which may suit for you a little more. I think this demo can tell you more details. =========================== " The standard combobox doesn't support multiple columns. Use solutions on codeproject like Multi column Combobox vb.Net Multi Colum ...Show All
Visual C# How can i find source for c# ?
hi friends where can i find resource for c# e-book http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=849534&SiteID=1 ...Show All
.NET Development Error:Retrieving the COM class factory for component with CLSID {} failed due to the following error: 8007000e
Hi, I am trying to take screenshots of any open Internet Explorer. I have writen the code and it works fine when I run the site in debug mode. Once the site is published I get the following error: Retrieving the COM class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following error: 8007000e. This error is shown for the following line: SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindows(); I have given permission to various files for aspnet user. I have looked up most of the forum but to no avail. Any help would be greatly appreciated. Thanks, One thing i forgot to inform u that . production server machine is 64 bit and one at our end is 3 ...Show All
SQL Server Silent install new SQL Express instance via MSI
I'm currently building an MSI to install SQL Express and want to install as a new instance, not the default instance, and not into the SQLEXPRESS instance either. I saw the package.xml for Express in my VS Studio install. How would I go about using this Or would I have to modify the MSI via Orca or something I hope not. Wouldn't have a clue where to start. In short, regardless if there is already an SQL Express instance on the machine or not, I need to silently install a fresh new instance of the server engine only, no client tools except sqlcmd.exe I have seen that MS would advise that everyone use the SQLEXPRESS instance but I don't agree with it. I don't want other application installs trampling over my server settings and I do ...Show All
SQL Server Reporting on Exchange 2003 email statistics
My business has a Contact Centre. One important source of customer contacts is emails to our support email address. I would like to be able to create reports on the Exchange 2003 database. For example, a report summaries the number of emails hitting the our support email address by hour, and the average time taken to first read and then reply to the emails would be very interesting to me. Can anyone point me in the direction of an example report that does something like this Thanks in advance. ...Show All
SQL Server Error on Export to Excel with Bookmarks and Navigation Jumps
Hello All, We're running RS 2005. I have a problem in a report using two main sections. There's a top level report, made up from 4 tables within a rectangle. The second section of the report contains the detail of the calculations making the top level figures. The second section of the report contains bookmarks and jump links to drill to different levels of the reporting structure. This works fine. The top level of the report also has jump to bookmark links to drop into the relevant section of section two, and display the detail. The problem I'm having is that although the jump links work fine within report manager, the report will not export to excel from report manager. It errors with the error at the bottom o ...Show All
Visual Studio Express Editions Replacing Text with Text from another form
For my program I need to be able to take text from one text box where the user will enter information and include that in a text box with information. (ex. for an aircraft callsign, Cessna N4734W is entered in a textbox on one form, then when they are viewing another form, the text wil need to have the callsign in the info - Cessna N4734W, requesting takeoff - or something among that sort.) I also need to know howto make it so when a button is pressed, that information will be entered into a textbox. The textbox where the "request takeoff" part is a masked textbox. This is a major part of my program and I need any help anyone can provide me with! Thanks I may have this wrong, but it sound ...Show All
Visual C++ Problems in debugging
I encountered the error message below: First-chance exception at 0x7c812a5b in mda2.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f764.. Unhandled exception at 0x7c812a5b in mda2.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f764.. Any possible answers Am I out of memory It occurred at this line m1pos [ i ] = new int [m1[0]+1]; //allocate new array where m1pos is an array of pointers. When my input file is small, there is no error. When my input file is large, I will have this error. If you were out of memory then you should get a null for return value. Right When debugging, can you determine what it is that is at memory location 0x0012 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Completely confused
I recently downloaded XNA and took the video tutorials I could find, but every one of them seemed to have a diffrent version then mine. I found the XNA tutorial microsoft provided, and started following it. Right in the middle of it when I first started coding, it began to get very confusing. His coding was much diffrent then mine, and he was pasting in new coding. I began to fool around with it trying to make it as close to his as I can, but I just got more confused. What are the best tutorials up to date for an complete new person to game designing Look for tutorials that are either for beta 2 or the final 1.0 release of XNA. There were a lot of changes between beta 1 and beta 2, and if the author didn' ...Show All
SQL Server Stop Report generation
Hi, I have the report with two textboxes,Startdate and EndDate,I write a function like 'CheckDate' in custom code which checks the whether startdate is less than enddate and displays the message box,i added a parameter named 'Valid' and call the function 'CheckDate'.When i click on ViewReport button it displaying the messagebox and doesnot stop yhe report execution.I want after displaying the message box,Focus is set to StartDate textbox and stops the report execution. How to acheive this. Thanks in advance mahima, the only way I know how would be to check the dates in your SQL stored procedure that you are using, if you raise an error with an error messgae in the stored procedure than yo ...Show All
Visual Studio Tools for Office Debugging Problem
Did anyone encounter problems in Debugging a VSTO application I am working with Excel VSTO and everytime I start a debug session it only lasts for few seconds or several steps and the VS 2005 restarts. WEIRD...... Pls help..... Well now, that does sound rather serious ... a couple of questions/ideas: 1. If this happens consistently around the same block of code, then you have a nasty bug that needs fixing. Wrap your code in Try/Catch blocks, catching the generic 'Exception' to see if anything 'falls out' (although you said the session only lasts "a few seconds", which leads me to believe that even if you didn't step through the code, you're still seeing a system crash). 2. Have you tried ...Show All
SharePoint Products and Technologies WSS 3.0 upgrade to MOSS 2007 consideration?
I can't find any documentation on this. I've been running a WSS 3.0 server in a Virtual Machine in a DMZ connected to a SQL 2000 database server on a truste segment to see how it works. Now I want to install the MOSS 2007 trial I dl'd from MS. Is it a simple matter of just running the setup program and it will update the DMZ and any database updates automatically Or should I start from a clean install and just delete the existing SQL databases to avoid issues From this post on the SharePoint team blog I would guess that you just do the install. http://blogs.msdn.com/sharepoint/archive/2006/11/14/version-to-version-supported-upgrade-paths.aspx Shane ...Show All
Silverlight (formerly WPF/E) rich User experience
I guess we are at one of those times when there really is not a clear answer to a key problem and that is the delivery of rich ui experience in a browser. By this I do not mean animations and SVG but professional looking forms(input), trees, menus and dialogs. These are the artifacts that of course WinForms have and of course one can deliver much the same experience in a Web App but the energy to deliver it is tremendous. We write a lot of Javascript and CSS and then battle with the thankless and sometimes unsolvable cross browser issues. Recently we have started using controls from Telerik and I must say they are impressive. However they are just taking away some of the pain , what we really need is to have these capabilities in WPF/E as ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Serializing CustomVertex
Microsoft.DirectX.Direct3D.CustomVertex is not marked as Serializable, so an array can not be Serialized. Is there any way to overcome this Thanks. Hey man! please stop laughing at the people who’s trying to help you. After all, It is you who is asking for help. Have your extra intelligence ever put it’s hands on the fact that the CustomVertex is just an structure and that you can define your own, marked as serializable You don’t need at all the structures defined in DX. Every method will accept your own custom Vertex Structure. here it goes: [ Serializable ] public struct MyPositionNormalTextured { public const VertexFormats Format = VertexFormats .Normal ...Show All
Visual Studio Express Editions problems with stl
When i'm trying to include the STL library another, than contained in stdlib, i have the compiler error. The simple project, like: #include "stdafx.h" #include <vector> int _tmain( int argc, _TCHAR* argv[]) { return 0; } generates the errors: c:\rsengine\others\stdlib\include\stdlib.h(395) : error C2061: syntax error : identifier '_CountofType' c:\rsengine\others\stdlib\include\stdlib.h(396) : fatal error C1903: unable to recover from previous error(s); stopping compilation This has nothing to do with the STL! Can you send em a complete ZIP of the project If have the fealing that there are defines that are incompatible with the CRT! Check th ...Show All
