Answer Questions
MikeD99 Versions
I must say the ClickOnce publishing system is great. I do have a question however. I noticed that when you publish an application it'll auto-increment its publish version. The program itself also has its own build version as well. Is there a way to synchronize these two If I publish an application to a web site, can it automatically update its own build number as well without having to do ...Show All
AtlzBIGuru How to Ngen the assemblies after ClickOnce installation?
How to configure the ClickOnce that make the assemblies ngen'ed after the installation Thanks! Any work arounds for this - how about setting up a ngen service Lei, There is no support for doing this in ClickOnce. NGen'ing an assembly installs it into the native image cache on the local computer (a reserved area of the global assembly cache). This is a globally impactful operation not suppo ...Show All
aak165842 Missing ticks when in tracing mode?
I noticed that my herbivores sometimes don't get called every tick. Especially when they are attacked by a quick carnivore (e.g. Beast), they stay paralized and miss sometimes more than 5 ticks!!! I've put a WriteTrace command at the start of every ...Show All
George Kremenliev listbox
I am populating a windows ListBox with the persons names. At the same time I am loading the personId into an array so that later it can be retrieved for the selected person. Please note that in the ListBox I only would like to show the name and not the personId Dim clst As New ArrayList() foreach person in the table clst.Add(row.PersonId.ToString()) personsListBox.Items.Add(row.DisplayName) I am not sure if this is a g ...Show All
xxxxyyyy How to change mouse cursor during a drag & drop operation
Hi all.. I have a TreeView control that allows to reorder items inside it by only dragging and dropping the nodes. The fact is that not all destinations are valids. For example, target node cannot be the node that is being dragging, and nodes can be ordered only inside the same level. For instance, in the next figure, node2 can only be placed at positions of node 1 or 4, and not at position of node 5 nor 6. NodeX Node 1 Node 2 ...Show All
Dhivager Rathakrishnan Timer and memory leak
As a newbie to c# and vis studio am having trouble with the following timer function. When i watch it in task manager i can see the memory used increasing steadily per unit time: I presume its something to do with not freeing up the objBitmap but not sure. As you may guess, the timer is there to animate the taskbar icon. Suggestions Please.. Thanks Shaun private void iconTimer_Tick( object sender, System.EventArgs e) { Bitmap objBitmap; ...Show All
DarrenMcD Issue with designer not recognizing concrete overridden method returns
I am currently building an application framework. There is a base form and a strip builder form that inherits from it to build tool, menu and status strips as needed. A concrete form then inherits from the strip builder form. This architecture uses MVP and the presenters are "set" in an overridden "hook" method as follows: private AbstractPresenter _presenterDelegate; public FW_BaseForm() { & ...Show All
vikrant Custom control with data binding sample
Hi everyone I am trying to find a nice and simple example of a custom control that supports complex data binding (like a simple grid or a listbox). Surprisingly, I couldn't find anything useful in the SDK nor on the Web. All the sample either&n ...Show All
Leonat Where Do MSI maintain the Install Location
Hi, In the registry in the following path the uninstall information is available under following path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall. But InstallLocation entry for most of the installed application is not available. So can you please help me to get the Install location . Thanks & Regards, Pradeep Unfortunately Visual Studio setups do not do this - the ...Show All
Mesktomten Custom control cannot be moved in VS.NET designer
Hi all, I developed a custom control derived from ScrollableControl. After I dragged my control onto a test Form, the control can be selected, but I cannot use mouse to move it around or resize it as I can with normal controls. However, If I used the property browser to change its Location or Size property, it takes effect. What is the possible cause of this problem Thanks in advance Hi, ...Show All
Shehnaz Misc. Controls for Master / DataGrid for Detail
Hello, I'm trying to write a form that shows Master/Detail records, but instead of using two DataGrids as in the classic example, I'd like to display the data for each master record one at at time, as in the TextBox control example (usin ...Show All
K-4u Embedded Windows Media Player in Form (ActiveX)
This isn't quite programming related, but I would think people would have some knowledge of this. I'm having a fantastic problem. I can play certain .AVI videos in WMP separately (outside the form using regular WMP 10), but the same video&nbs ...Show All
longrujun Open form
Hi I've saved the name of a form I want shown in the tag property of a control. How do I open the form I think you will need the name (full path to file) of the Assembly containing the form class too. I do this in ...Show All
Mihai Balan Beginner DataGrid/DataSet Q. (Get values, store values...)
Hello... I'm pretty new to C#/Windows Forms (and .Net itself), but I've managed to get some aspects of a DataGrid and DataSet working. Here is what I do: gridBook.DataSource = bookData; //gridBook is DataGrid, bookData is a DataSet. gridBook.DataMember = "bo ...Show All
Bryan Sperry Click once - When running install only getting .application xml in IE
Hello, After I publish my application to a web site and then I try to install it using the publish.htm page all I get is the applicationname.application xml displayed in the browser. Is this a problem with my internet host or am I missing something simple I tried a 1 form project to make sure it was not anything to do with my current project and got the same results. Thanks for your help! JR th ...Show All
