Answer Questions
SillyMS Error installing on some clients
Hi All, I am getting an error when I try to install my clickonce application on some clients. Other work fine and have no problems. The error is: ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://crystalsrvr/GlobalResearchApplication.application resulted in exception. Following failure messages were detected: + Exception occurred loading manifest from file grd.Entities.dll: the manifest may not be valid or the file could not be opened. + File grd.Entities.dll is not a valid Portable Executable (PE) file. + The process cannot access the file 'C:\Documents and Settings\cfoofat\Local Settings\Temp\Deployment\7BBXA022.ZHZ\XRZ43X8Y.VKB\grd.Entities.dll' becau ...Show All
CCJJ access components of a derived form from the base form
Suppose a base form and a derived one. Controls added on base form and controls added on derived form are added in the same collection. However components are added in seperate collections. Is there a way for the base form to access the components of the derived form ...Show All
Jeanet Strong name library installer
I wants to create a installer of the my DLL which should be registered in the GAC. { net 1.1 } Currently dll is bundle with each application. Now IT could be that one of this dll version is used by 5 application and 8 by other application. I want such a installer that in add remove program my library should be name should be look like "MY DLL {1.1.1.25}" where 1.1.1.25 is the version of my dll. I am hard coding my version number in the AssemblyInfo class. I also wants that if i uninstall my application the if in the folder where it is install will only be deleted if there is no other thing Any IDea ...Show All
Kesava I need a .NET 1.1 Windows Form app, but I don't have the tools...
I am in need to create a small, simple Windows Form Application in .NET 1.1. The problem here is I do not have access to any tools except for the Visual Studio 2005 Express Editions. Can anyone redirect me to some place that I can download a tool to develop my Windows Form Application in .NET 1.1 Basically what I need it to do is this: if (System.IO.Directory.Exists("C:\\WINDOWS\\Microsoft.NET\\2.0\\") { //... } Any advice is greatly appreciated.. since I unfortunately cant edit my original reply (forums are down again unfortunately) I should also tell you that mostly you cannot convert from .NET 2.0 -> .NET 1.1 but you can the other way around :-) That was exactly what I was looking for. Thank you very ...Show All
ajpharrington costum controls with GDI+
Hi, I would like to create a control with the same functions as a trackbar and it should look like this: http://users.telenet.be/ymweb/example.jpg I've been told that I should use GDI+ to do this but the problem is that I can't find anything on how I can create controls like these. The only thing I came up with was things like text tickers and drawing figures. Is there any good tutorial that will help me solve my problem or can anyone help me solving it Best regards, Yannick Hi, These tutorials may be useful: http://www.c-sharpcorner.com/UploadFile/mahesh/gdi_plus12092005070041AM/gdi_plus.aspx http://www.publicjoe.f9.co.uk/csharp/csharp21.html Have a nice day :-) ...Show All
NetPochi how to make the form expand dynamicaly when it maximize???
I want my form to expand regularly with the window when the window maximizes .... thank you very much nahguam wrote: If you mean you want your control to resize with the window, look at the control's Dock and Anchor properties. Or do you mean MDI child form inside the main form yes to resize with the window ... i will try dock and anchor thanks another question please .. Is there any way to maximize the window automatically when start the application... If you mean you want your control to resize with the window, look at the control's Dock and Anchor ...Show All
CodeSweatAndBeers WebBrowser control and html document(simple question)
Hey, I added a .html document into my project. But How do you make it so that my web browser control "webbrowser1" will show the document, I named it "New_Tab.html" Thanks :) this.theWebBrowserControl.Navigate("New_Tab.html"); this could would be placed wherever you wish for this document to be loaded from. of course, change the path of the navigational link depending on where this html file is placed hope it helps! I dont think you can as the web browser control uses the core IE as the backbone and whatever settings are set in IE are used by default. im sure if someone knows they will post it, or if i find it, ill be sure to post ok, assuming that you h ...Show All
Steve1999 Error message when switchign between designer and code view
When I first load my form in the designer it looks okay but if I switch to code view and then back to the designer I get the following error messge: Warning 1 The service System.Windows.Forms.Design.IEventHandlerService already exists in the service container. Parameter name: serviceType To get rid of the message I have to close the designer window and then reopen it. Any ideas Chris Holland Deleting the BIN and the OBJ directory and doing a Clean and Rebuild solution seemds to have sorted the problem Chris ...Show All
SGI101 Publishing a windows application
Hi, I have developed a windows application. Once the application is finished i try to publish it using publish MyApplication. It worked on my local IIS then i tried to do it on network IIS and it failed eventually get it though. Now the problem is when I tried to install it on 2 other PCs it just gave me error regarding the Global access cache. The error was that the application can not be installed because the Microsoft office interop v 11.0 something has to be installed in GAC. My question is the publishing the same as Click once deployement and if i just publish it do i have to know all the assembilies What other options do i have Thanks in advance. Clickonce wont install over a network to IIS Or the App wont run af ...Show All
minkee.s datagrid troubles with stored procedure (vs 2003)
I have the following code: Dim daGrid1 As New SqlDataAdapter(Me.SqlCommand1) (a stored proc) Dim dsGrid1 As New DataSet dsGrid1.Clear() daGrid1.Fill(dsGrid1, "top") DataGrid1.DataSource = dsGrid1.Tables("top").DefaultView I set the command to a stored proce and fill a dataset, then set the datagrid1 to the dataset table. I can then see the data grid on the form filled out. I need to change the column headings, hide some columns, then click on a row, and get the hidden field and pass it on to another form. I thought I would need a table style for that. But when I try to add one, I get: "The data grid table styles collection already contains a table style with the same mapping name." ...Show All
Steve Russell Alternating between two images every 3 seconds using a timer
Hello! I am quite new to C sharp and want to write a small program. I use an Mdi form with several child forms. I want to have a little picture box in a corner, possibly the Mdi form, that alternates every few seconds or so between two images continuously even while I switch between the various child forms. Is this even possible in Visual Studio 2005, and if so how Many thanks, Boombastic Just to ensure we are clear ... You can add the timer to the MDI parent. This would allow the event to be generated regardless of what is going on with the child forms. However, I don't know how you would *display* it on the MDI child form. Unless you wanted to put it as a background image of the MDI pare ...Show All
Steve Huckett MDIParent/MDIChild Problem
Hi there! I have a problem with my MDIApplication. - I have a MainForm that is sat as a MdiParent. - MainForm is set as TopMost Form. - I call a MdiChild from MainForm. -MdiChild calls a Form with ShowDialog() I can't see my Form called from MdiChild. And I can't figure out what's the problem. Can somebody help me!!! Hi Set that dialog form as TopMost too. Markku Set the Child form's TopMost property also to true and show it like mdiChildForm.ShowDialog(this); telling it its PArent! I hope this will work just fine! Best regards, this is my Mdi form's coding. Whenever i click any of the toolstrip menu item it opens as many times i click. i want to open these form only once. ...Show All
Pablo Rincon Adding chkbox to GridView
Hi, I've created a gridview with an unbound checkbox at the end. I now want to add event to these checkboxes so that each time one of them is clicked it calls a sub. Is this possible If so can somebody please let me know how. I'm currently heading somewhere along the lines of Protected Sub AccountNotesTable_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles AccountNotesTable.RowDataBound If e.Row.Cells(8).HasControls Then Dim chkIsSticky As CheckBox = e.Row.FindControl("chkIsSticky") If chkIsSticky.Checked Then e.Row.CssClass = "stickynote" Else e.Row.CssClass = "note" End If AddHandler e.Row.FindControl(&qu ...Show All
Itzik Katzav System.Diagnostics Setup for WIndows Forms App Not Working
Hello, This is my configuration for the System.Diagnostics section of my windows application: < system.diagnostics > < sources > <!-- This section defines the logging configuration for My.Application.Log --> < source name = " DefaultSource " switchName = " DefaultSwitch " > < listeners > < add name = " FileLog " /> < add name = " EventLog " /> </ listeners > </ source > </ sources > < switches > < add name = " DefaultSwitch " value = " Information " /> </ switches > < sharedListeners > < add name = " FileLog " type = ...Show All
jjb3rd dataGrid tableStyles problem
Helooo... Im binding my datagrid to a dataset but tablestyle of this datagrid is not added and data is showing in the grid normally, but when im binding my datagrid to a datatable, tableStyle is binded to datagrid and data also is showing normally, but y tablestyle is not binded to the grid when im binding dataset.table(n) to the Datagrid Thank you The main reason a datagrid table style is not working is because the TableStyle's MappingName is wrong. Try setting the tablestyle.MappingName = dataset.table(n).tablename Helooo... Im binding my datagrid to a dataset but tablestyle of this datagrid is not added and data is showing in the grid normally, but when im ...Show All
