Answer Questions
Linda Cornerstone windowsMe hangs up while rebooting
Everytime I reboot my system when it got stuck up I couldnt get the windows running. Can you help me Windows ME As in Windows Millinium Edition Its a pretty confirmed fact that no one should be using that OS. Other than that I have nothing more to add. ...Show All
Jkumar help me in Datadridview and BindingNavigator in vb.net 2.0
Hi, I have a rewquirement in my Appln. ie.. in my appln, In 1st form i have a datagridview Control,In 2nd form I have a BindingNavigator control. When i press a next button in bindingNavigator, I have to display the selected row fields of datagridiew contol of form1, in Text boxes of 2nd form. Please help me. On Form1 1) Add a DGV 2) Add a Binding Source 3) Add a button "open form2" In the form loadevent of form1, add the following code Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim dt As DataTable = New DataTable() dt.Columns.Add("Col1") dt.Columns.Add("Col2") dt.Columns.A ...Show All
Trainwreck Using a treeview to display .rtf in richtextbox.
Hello, I'm very new to VB.NET(well to programming altogether), I have a treeview and a richtextbox on the same form and what I am trying to do is when a user clicks on a node, display the appropiate file in the RTB. I have 66 nodes associated with 66 different files. The code that I have works but I was wondering if there is a more compact way of doing this or do I need to write the same 'If....Then' for all 66 files. Thanks in advance. ' If a node is clicked, open the file indicated by the TreeNode. Private Sub TreeView1_NodeMouseClick( ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles TreeView1.NodeMouseClick Try If e.Node.Text.Contains( "Exo" ...Show All
Zaracattle Invoking other msi (nested install)
I want to install other msi silently in the custom action of setup and deployment project. But i am getting the following error 1618 Another installation is already in progress. Complete that installation before proceeding with this install. Is there any way (hack/trick) to install other msi in the setup. Please help me, Thanks in advance No it's not feasible. The custom actions run when you can't fire off another MSI installation. I'm not sure exactly what nested install type you mean, but embedded nested installs are deprecated. Rule 20: http://blogs.msdn.com/windows_installer_team/archive/2006/05/12/595950.aspx I just want to know whether Nested install is feasible in setup and deployme ...Show All
Ntc Create a single instance of a Dataset to share across forms
Paul Ballard MVP answered a posting on how to share Dataset across forms. He gave a great and simple solution but I wanted to extend it. When using the GUI it tries to create a new instance of the dataset. So the first thing I want is it to load the instance into the shared variable so any calls to currentDS would use the current instance. I did this by modifing the constructor call. The next issue I ran into (this is the one I’m having problems with) is when the auto generated code tries to create a new DS. Example: I create a new form and I drag a datasource Datagridview to the new form. The code creates a new instance. Any ideas how to modify the typed dataset to check for any instances and if found use them inst ...Show All
Allen Razdow foreach(Form f in AllformsOfApplication)
Hi, searched the forum, found something that wouldn't work, so I'm asking for some help. I'd like to find all forms in my application after clicking on a menu item, so I can do something with all of them. That would be something like: foreach (Form f in AllformsOfApplication) { dosomething(f); } Note: not just the open forms like with Application.OpenForms but something like Application.AllForms (if only it would exist...) Thanks for the help! I'll try to be brief... I'm starting from an Open Source project which has a mechanism for translations built in. It's kind of complicated so I'm not going to explain that, but I know how it works. One of the things it does is write all of the contents of the Tex ...Show All
domhorton Decompile .NET
Hi all I am wondering how to protect .NET applications from being decompiled or in other word prevent it from reverse engineering I hope of any one can help Thx all Another option is a product made by RemoteSoft which we use called Protector. Here is a link to their site. It isn't cheap but it does a great job of protecting your intellectual property. http://www.remotesoft.com/salamander/protector.html Hi, you're looking for .net obfuscation ... Hope this helps, Andrej Well, there's also ngen.exe, allowing you to (pre)compile your IL into machine code, making it harder to decompile, but I'm not sure you'd want to use that... Andrej thx but I already know this technique , and I don't want to mov ...Show All
Raju Datla How To get My installtionFile Directory ?
i know that [TARGETDIR] get the directory i will install to But i want to Know how To get the Directory of The File I setup From . And any link to other global Setup Vars thanks vry much . Phil, Can't we use [ SourceDir] matt Hey i use SourceDir and it works fine but what about other global installation variables i need website or something describe them thanks Yes you can use SourceDir. OriginalDatabase is sometimes more reliable because you can use it earlier in the install. This turns out to be irrelevant with Visual Studio custom actions because they are always late in the installation. I just have a habit of preferring OriginalDatabase. ...Show All
StephenMas Custom Menu's
Hi Folks, I'm using MS Visual Studio with Managed C++ and I'm curious to know how I might go about trying to get Menu's that look similair to the fancy ones in MS Outlook 2003 Any ideas -Zero If you are using VS2005, MenuStrip with RenderMode=Professional does that. And you know how to control the close event en .Net 1.1 . I'd like a menu that no close when user clicks the MenuItems There's no "out-of-box" control in VS2003 to do this as far as I know. You can play with DrawItem/MeasureItem events in order to customize the painting, but in VS2003 this functionality is not provided by default. I'm actually using MSVS 2003 - is there any hope ;) ...Show All
davidtcf go back in graphics
how can i go back to previous state when i draw graphics shaps such as ctrl+z key If you simpley want to get the previous state..clone the object before changing the shape and store it in a temporary variable.Or else if you are you looking to implement Undo mechanism,you can implement Gof Momento Design Pattern Please see the following link. This may be useful to you http://www.marcclifton.com/Articles/DesignAndArchitecture/UndoRedoBuffer/tabid/100/Default.aspx thank you : but how can i implement Gof Momento Design Pattern ...Show All
K_L Download entire folder via webservices
Hi guys, Anyone know how to download an entire folder via webservices Thanks I'm not looking how to develop web services. I just want to know how to download entire folder via web services You already have a web services which can do the download work, but you don't know how to use it,right Hi, you'd make the question more specific, so others can help you with it. I moved to Windows Forms Data Controls and Databinding and hope you get satisfying answers, thank you. Hi, eye_v_eye This project teaches you how to download files from server: Cool C# File Downloader And, This project teaches you how to develop a webserv ...Show All
carpediembr DataGridView - Replace column with my DateTimePickerColumn
Hi I have a database with one table containing: - id (int) - name (string) - date (DateTime) Now I fill a DataSet with the data in the database using OleDbDataAdapter . Then I connect the DataTable (inside the DataSet) to my DataGridView: - datagrid.DataSource = dataset.Tables[0]; I then created a DateTimePickerColumn (inherits from DataGridViewColumn ). (The control works fine) Now to my question. How do I replace the "date" column to be a DateTimePickerColumn Do I have to: 1. Hide the "date" column. 2. Add a new column (DateTimePickerColumn) 3. Implement code for copying data between 1. and 2. I want DataSet.Update() to work with DateTimePickerColumn . Anyone :) / K ...Show All
MessiahAndrw SaveFileDialog how to use?
I have a richtextbox1 on a child form inwhich I write a small bit of text in. I then want to save the text from this richtextbox into a .txt file. I have got the saveDialog menu at the bottom of my screen But I am unsure how to correctly make this all work. I know there should be some dialog.filter and index for txt files code somewhere but I dont know where. The code i have done so far is :- private void saveToolStripMenuItem_Click( object sender, EventArgs e) { DialogResult dr = saveFileDialog1.ShowDialog(); if (dr != DialogResult .OK) return ; else { StreamWriter sw = new StreamWriter ( "filename" ); sw.Write( ); //What should I put in the Write function } } Also is ope ...Show All
gbvdh Hi!! plz tell me how load a bitmap on the form by ./.....
Hi!! plz tell me how load a bitmap on the form by ......making the formborderstyle to none............n how to paste customise buttons on the bitmap........ are you talking about setting the background image of the form simply select the background image property in form designer and select the image you wish to load as a background. programmatically: this.BackgroundImage = Image.FromFile("path\\file.bmp"); the same applies for the buttons is this what you are after well.....i have done it.......i dont want to change the backgroundcolor but i want change the conventional look of forms by my own bitmaps,...i use graphics and loaded the bitmap on forms now.....i u see the minmise, mazmixe, close buutons ar ...Show All
Norbert.Bender Datagridview lose the column order after a rebuild
Why does the datagridview lose column order after a rebuild I have a datagridview on the form designer and I add columns an arrange they in the order I wish it to appear, but after a rebuild the order is losed. I had the same problem. (Miffed that Microsoft did not respond to this obvious BUG.) I removed what appear to be unnecessary " metadata" entries from the form's .resx file, like the example entry below, and all was well again. < metadata name = " OrgName.UserAddedColumn " type = " System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=... " > < value > True </ value > </ metadata > I've ...Show All
