Answer Questions
tdanley Raise event from IE hosted windows user control and catch it in the Web Form that’s hosting the control
Hi. I have a web app that uses a IE hosted windows user control. I would like that, somehow, lounch an external event from that hosted control that I could catch in my web form’s code behind. If possible, please send me a small sample project ( bozesan_mihai82@yahoo.com ). But, of course, I would appreciate any suggestions! Thanks in advance! Oh...I'm using Visual Studio 7, and I don't have WebBrowser class here. ...Show All
jlim How to change the backcolor of subitems in a listview programmatically?
on form load i want to change the backcolor of subitems from different rows and columns in a listview, how do i do that I found the problem. I forgot to set the UseItemStyleForSubItems to false. thanks. I am meeting this problem now. The solution can work fine if the listview1.Items[0].SubItems[0].Text != string.empty. However, if the text of subitem is empty, the BackColor = Color.LightBlu ...Show All
Kumaran S DialogResult disaster drama.
I'm trying to create a message box that pops up after clicking a Toolbar button, which asks firstly whether to check online (Yes, No, Cancel). If user clicks No it would create a new message box with question "Create new.." (Ok, Cancel). The problem I'm having is trying to get the "Ok" click to then load up a new form (LyricForm). Below I've posted what I've created so far after spending hours trying to work out how to make the DialogResults do ...Show All
Krish Srinivasan SQL update command not working
When trying to execute a ExecuteNonQuery instruction in my C# web page program I receive an error message which says "Operation must use an updateable query". It is referring to an SQL UPDATE command against an Access data base file. What is strange is that the program works perfectly on my main computer but when I transferred the programs to my backup computer I get the above error message. Both computers are running XP sp2 and ...Show All
kBegemot C# Syntax
Hi, Does anyone know of the C# alternative to VB.NET 'with' syntax ie VB.NET... with obj_Widget .name = "widget1" .height = 10 .width = 20 end with instead of C#... obj_Widget.name = "widget1"; obj_Widget.height = 10; obj_Widget.width = 20; 'With' appears more compact and concise considering long object names (with full namespace declaration). Thanks Richard White ...Show All
Wayne_Peterson Find Dialog
Is there a FindDialog in the library If so how do I implement it I found the FontDialog,OpenFileDialog,SaveFileDialog. I'm real new to C# and VS. Old Dog learning newtricks= lots of barking in wind. Thanks, Mike Yes, it's still the same CFindDialog and CFindReplaceDialog classes of CCommonDialog in MFC. But those classes are not implemented in .NET framework. -chris chris. I found ...Show All
SureshGadiraju How to Add a Windows Service in VC#2005 Express Edition
Hi Refer to my subject, thanks. Template available here: http://www.planet-source-code.com/vb/scripts/ShowCode.asp txtCodeId=4511&lngWId=10 The service application templates are not included in the Visual Studio Express products, but there is a workaround to allow you to use them. What I have done in the past is to load up the trial version of the Visual Studio System and create a base application from each template ...Show All
Sayan Ghosh MySql error: should be string, but is seen as double
Hello, I've been getting errors with MySqlParameters and the execution of the query. I want to insert program-names into a database, but these names mostly contain a dot e.g. 'program.exe'. When adding the name by using the MySqlParameter, it apparently converts it to a double because of the dot in the name. I tried specifying the DbType as DbType.String, but it still sees it as a double. Here are some code-snippets: /* the query-class is a sh ...Show All
learn32dll Documentation in Web Applications
Hi, I would like to generate some xml documentation of a web application in C# with Visual Studio 2005. I have generated the xml the documentation in Windows applications, but I can’t find any way to do it with Web projects. Is there any way to do it Thanks in advance. GhostDoc is a free Visual Studio 2005 add-in that generates XML documentation. Here is a link: http://www.roland-weigelt.de/ghostd ...Show All
JAF000 custom action(must run at first) for msi installer
hy, i've made a custom action for my msi installer but is it possible that the custom action run at he beginning of my msi installer i've googled but i can't find anything useful Nobody ...Show All
Haggerty How do I create new Outlook Message Form by Code in C#
Hi all I want to create a new Outlook form inherite from New Mail Message Form by coding in C#. Any one can give me an idea Thanks a lot hi Please clear the things im not getting u want a full outlook software or only one form to send mail if u want one form then use the com component thanks ...Show All
Andrew Williams MessageBox behind console window when run in debugger (F5)?
I have a message which looks like this: MessageBox .Show( "Init failed!" , "Trace" , MessageBoxButtons .OK, MessageBoxIcon .Exclamation); When I double-click on the .exe file in the debug directory the MessageBox appears on top of the console window (it's a C# console application). But when I press F5 to run it in Visual Studio 2005 the MessageBox appears behind the console window (it peeks out at the bottom of the co ...Show All
natetrost 'Exclude Files From Project' - Beta 2
How do I 'Exclude Files From Project' in VS 2005 I have a solution that requires files to exists in the directory structure but not be compiled. Where has this functionality moved to Also, what happened to the 'Show All Files' option Regards, I am having the same problem with the same tools. please let me know if you find a work around That gave me the ' ...Show All
KJS001 Executing Exe
Ok i added a exe file to my solutions explorer and i wanted to know what code i needed to execute the exe in my form 1 You have to copy the unpackedXBOXv2.exe into the bin\Debug folder, next to Theme3.exe! When you put app.exe i put the filename of the app in the solution explorer but i get a error that says system cant find the file. look here: http://yourserversolution.com/pro.JPG ...Show All
LonelyPixel Operator + in strings
string path = "C:\\Documents and Settings\\"+ LogonName +"\\Recent"; Error 1 Operator '+' cannot be applied to operands of type 'string' and 'method group' What do i have to do Thanks, Guilherme Can you post the exact code you are using By-the-way, I wouldn't attempt to read the registry for the logon user name if that's what you trying to do, instead I would use the Environment. ...Show All
