Answer Questions
UtterMan Can Deployment Project Automatically increment build #?
Is there a way to increment the setup version (Product Code is recommended also) automatically with each deplyment project build I've found that this is the only way RemovePreviousVersion will work. Of course, there's probably a way to edit the .vdproj file using a script during the nightly build. I'm looking for something more built into VS. Any comments are welcome. Thanks, Dave One solution.. Call the script to update the .vdproj file from a Post-Build Event on the EXE project that is packaged into the Deployment Project. I'm about to write that script. Hello, May you have already written this script Or perhaps may you direct me where I could learn to write it myself B ...Show All
Dee_dotnet_79 How to do ? synchro folder local machine and ftp site?
I want to write an application that watches an folder on my local machine for new files , deleted files ,new folder , delete folder, or change a file content... and then copy them to the FTP site for processing. (do the same job on ftp server delete,new,move...) Is it possible to use the FileSystemWatcher any example was gratefully. thanks No, FSW will only work on Windows local and mapped drives. You'll need to poll, periodically retrieve a list of the files (WebRequest.Ftp.ListDirectoryDetails) and compare them to the local directory. there are many softwares in web which can reliazie the Synchronize ftp with your local mashine,sunch as FTP Synchronizer Professional and so on. Gavin Jin - MSFT wrote: ...Show All
Elder Morales Power Point Show in WebBrowser Control ? Can it be done ?
how to view power point show inside a web browser control in an application form i have a powerpoint link ( local file ) , i need to make something like this : webBrowser1.Url = new Uri(@file://c:\whatever\yourpresentation.ppt) it doesn't work with me !!! And here is the link: http://support.microsoft.com/kb/328912/en-us Hope it helps. up thank you figo ok is there any way to put it is as a link inside the webbrowser control so the user click on the link to show I'm afraid, you cant use web browser control in that way. It is just for displaying Web pages in the form. And if you want to show ppt in the form, try to ...Show All
vedat sivri ListBox
I want to creat columns in my listbox. Someone can help me You should use ListView if you want to use columns in a list. http://www.codeproject.com/cs/combobox/multicolumnlistbox.asp Regards. ...Show All
dougknows add 2 DataTables into 1 DataGrid
hi, I have 2 dataadapters that fills 2 datatables i want to show them both in 1 datagrid How do i do it How do I do it I think detail steps to combine two tables depend on the logic how you want to combine them. If you just want to create a new table with all columns in those original two tables, use following code for example DataTable dt = new DataTable(); foreach (DataColumn column in northwindDataSet.Customers.Columns) dt.Columns.Add( new DataColumn(column.ColumnName,column.DataType,column.Expression)); foreach (DataColumn column in northwindDataSet.Employees.Columns) { if (dt.Columns.Contains(column.ColumnNam ...Show All
bill_csharper Thank You
Thank you... I figured that would work, but I was hoping that there was a way to trigger the appropriate DataGridView event to force the update instead. Your way will work, though. Again, Thank you. Gordon E. ...Show All
Dvlnblk How to check weather .net framework installed in a system or not
How tocheck weather .net framework and MSDE engine is installed in a system or not through c# Do you want to do it manually, programmatically from your own app or from an installer Offcourse through my c# program. there isnt a way from a .NET developed application...since it needs the framework to run the application anyway. you would have to use another language perhaps to do this check, or you can create a setup and deployment project in visual studio which will allow you to configure what prerequisites/conditions it should have on the system in order to install your app. the .NET Framework is installed automatically if it does not have it on the sy ...Show All
Avi_harush "Foreign" msi files in a Setup project
Hi there: Quick question: my application uses SMO, and I need to install that on the user's machine. I got the download from Microsoft in the form of a .msi file (the Microsoft SQL Server 2005 Management Objects Collection download from http://www.microsoft.com/downloads/details.aspx familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en ) . Is there any way for me to incorporate that msi file into my setup project I tried going through the prerequisites (I already have .Net 2.0 and Sql Server Express in there), but it is not dynamic enough to allow that. I could try and package the SMO assemblies one by one (the dlls were already added as dependencies), I'm just not sure how to force them to be installed in the correc ...Show All
Fuzzy6280 Outlook 2003 Style Navigation Pane Buttons
Hi All, Can any one please provide some resource or thought to how to build Outlook 2003 Style Navigation Pane Buttons Does vs2005 has any controls which we can customise to look like Outlook 2003 Style Navigation Pane Buttons thanks Tom Microsoft actually has a demo that does precisely that. Sorry I can't give you a link because it was a while ago when I saw it. But check out the demos on msdn.microsoft.com. That would be where I would look. Regards Jero ... ok I found it. Check this out http://www.windowsforms.net/default.aspx tabindex=4&tabid=49#User%20Interface Hi Jero, thanks, i was looking for the same. thanks again for your time an ...Show All
juergen.b Closing original Form
If I have a startup form that allows the user to open other forms is there a way to close that original form or hide it until the user needs it again Thanks Thomas Changing the Shutdown Mode is what allows you to close the startup form without exiting the Application. To get a reference back to the main form, you can simply use the Forms collection in the My namespace: e.g. My.Forms.Form1.Show i wouldn't try to hide the main form. i do something similar to what you are looking for here from Program.cs/Main. instead of opening up forms from the main form, i open all forms from Program.cs. the initial form which decides which other form will run closes normally, but can be queried f ...Show All
Jonathan Hart Making a scrollable panel scroll with mousewheel just by hovering mouse
Hi, I have a particular problem with a possible solution and I am interested in hearing peoples opinions if it is the right way to go about it (or not ) Some applications I have come across, such as Firefox, will allow the user to scroll the document window just by hovering the mouse over the display area and using the mouse wheel. You don't have to focus / select the display area first. With Firefox, the address bar can have the focus and the keyboard input but you can still scroll the document. Contrasting with IE and Visual Studio, you have to click into the document area before it responds to mouse wheel messages. In my winforms app, I have a tab control with several scrollable tabpages as well as scrollable panels in ...Show All
spattewar Focus Problem
I have two text boxes and ten buttons, I want to be able to click a button and have it add text (numbers 0-9) to which ever text box has focus. Is that possible Ive tried: if ( this .uiItemNumberTextBox.Focused) { this .uiItemNumberTextBox.Text += "1"; } else if ( this .uiSecondItemNumberTextBox.Focus()) { this .uiSecondItemNumberTextBox.Text += "1"; } using both if focused and if focus () but neither seems to work. Any ideas Tom How do you create a global text box How does that differ from a regular one Is it just a property I need to change Thanks Thomas the problem is, when you click a button, ...Show All
Leo Liu panel layout
Hi, I have a panel in my windows form application that has six buttons in a single row. I want to layout the buttons so that when the window is resized they fill out (shrink and grow) at the same rate. Is there a way I can do this Thanks, Wallace theblueeyz wrote: Add a TableLayoutPanel to your form. Good answer...I like that thinking. <g> Thanks for the answers. I will try this out and let you know. Wallace Sure. Add a TableLayoutPanel to your form. Make it have one row and 6 columns. Edit the columns so that they are all is set to the same % width and click ok - it will then recalculate the correct percentages for you. Then add your but ...Show All
Rob Ainscough have any framework support windows-based applicaton ?
Hi,all: I'm a new user for prgamming use windows applicaton. In web applicaton programming, I had use some framework like UIPAB,Spring ...etc. Using framework can let me follow some rule to design my business logic. So I think this is the same as windows-based application. But I haven't found any framework use in windows-based application. Is there any more popular framework support windows-based applicaton thks. Rock thanks Daniel, that's I want to try..^^ All you have to do is Google ' .NET Application Framework ' and you will get your answer. You probably want ...Show All
Dennis Lackmeyer How do I display a PDF file in a VC++ .NET Windows Form application?
The subject says it all! I have used the Choose Toolbox Items to add the Adobe Acrobat Control for Active X to the ToolBox and then dragged it onto the form. It works, but even though I have the very latest Adobe Acrobat 7.07 Reader Installed, the pdf.ocx control is only version 5.05. I checked in the ActiveX directory of my Adobe\Acrobat 7.0 installation and there was no pdf.ocx there. Also on Adobe's Web site, all their info. on pdf.ocx only mentions the 5.05 version. Is there a better way to display PDF files other than the pdf.ocx ActiveX control I had considered using the native .NET WebBrowser control and relying on the Adobe PDF browser plugin, but that seems a lot of overhead when I don't need a browser, only a PDF reade ...Show All
