Software Development Network Logo
  • Visual C++
  • VS Team System
  • Audio and Video
  • IE Development
  • .NET Development
  • Visual Basic
  • Windows Forms
  • Visual C#
  • Visual FoxPro
  • SQL Server
  • Smart Devicet
  • Microsoft ISV
  • Windows Vista
  • Visual Studio
  • Game Technologies

Software Development Network >> Windows Forms

Windows Forms

New Question

Where are my buttons?
syntax
PrintDialog & PrintDocument are Printing The Document With Out Text.
Framework and Windows Installer not present
DataGridView row automatically selected
Invoke
Grouping
Concurrency violation at update
Reference Collection TypeConverter?
Searching for a file.

Top Answerers

Krzysztof256
Adrigo Gallus
Richard Wilson
ttad
Biju S Melayil
daada
connectionLink
Marius F
ACKH
Adam Shipp
sitemap
Only Title

Answer Questions

  • Simone1 Suppress Click event in VB 2005

    Hi I have created a parent form which opens a child form to take input from user using ShowDialog() method. I am using DialogResult on two buttons in child form, OK and Cancel. When user click OK button first data is validated. The problem is that I dont want to close child form in case user data is incorrect. So is there any way to suppress button click event. Thx First, set the DialogResult property of the OK button to None. Then, in your Click event handler, validate the input and if validation succeeds, set the DialogResult property to OK. Tony I found out what is wrong. After validation I was setting Ok Button DialogResult property to OK. Thats why it r ...Show All

  • CirdanCelebrindal Problem with DataMember of DataGridView

    Hello, I am having some problem with flitering a dataset and setting the same data set as the source of a datagridView. customer_list.Tables[0].DefaultView.RowFilter = "Surname like '" + textBox1.Text + "%'" ; this .dataGridView1.DataSource = customer_list.Tables[0].DefaultView.ToTable(); this .dataGridView1.DataMember = "customer_list" ; But it is not working. In my earlier projects the same code worked fine with dataGrid, well, i did not have to specify the datamember in that case to see the data. Can anybody please tell me, how do i simply show the data of a DataSet(thats been flitered) in a dataGridview the datamember property should be set to the name of the FIELD/COLUMN th ...Show All

  • Hussain Saffar why the return type as.....

    hi all, Following is my code : Public Class PasswordConfig Public Shared Property PasswordExpiry() As Integer Get Dim _portalSettings As PortalSettings = PortalController.GetCurrentPortalSettings() ... .... End Get End Property -------------------------------------------------------------------------------------------------------------------- Another class is : portalcontroller.vb Code is Public Shared Function GetCurrentPortalSettings() As PortalSettings Return CType (HttpContext.Current.Items("PortalSettings"), PortalSettings) End Function --------------------------------------------------------------------------------------------- ...Show All

  • Handschuh Help on working with services

    Hi, I would really appreciate if someone can enlight me with this matter. I have never developed a service, suddenly I needed to have one of my processes running as a service, this process is quite complex since it download files from several servers, read the files, manipulate contents, insert the content into a database, create logs of every movement, etc. I tried to convert my project (which is an exe file with a dll dependency file) into a service with the exact code of my exe file, it looked ok now but it seems to work unpredictably and erratically, the manual process never have any problem so far. My question is if the service model has limitations against a manual process, like connections to other servers, database connection, depe ...Show All

  • Ewild Windows Forms Parking Window - what the ...

    Can anyone offer some help or advice on how to remove this annoying 'form parking window' thing that "hangs" my machine on closing I cannot access it in any way I know of, it doesn't appear under task man. etc., and the icon only shows for less than 1 second before vanishing !! My PC slows dramatically when this thing appears, and I cannot find a way to combat it ... I've tried about all I can think of, with no success at all :( Please help if u can, thx. im afraid these forums are for software development and not technical support. I have to advise you to repost your question to the appropriate communities: www.microsoft.com/communities Thanks! ...Show All

  • Donal McWeeney datagridviewcomboboxcell selectedindexchanged problem

    i have a datacomboboxcolumn in a datagridview which looks something like this: ---------------------------------------------------------------------------------------------- ELEM VALOR UNIDAD ----------------------------------------------------------------------------------------------- Cu 5.6 "GR" / MT / OZ Cu 64.2 "GR" / MT / OZ Cu 1.2 "GR" / MT / OZ Ag 0.4 "MT" / OZ Ag 50.3 "MT" / OZ Ag 7.5 "MT" / OZ Sn ...Show All

  • Darshan Mistry How to deploy a system using VB 2005 Xpress Edition?

    Hello guys,                 I just want to know how to deploy a window based system to the Internet because from what I know it can be done through VB 2005 Xpress Edition, this is due to the VB.Net language itself. Can you guys show me the steps or code that I can use to deploy my system. Thank you.  Have a look at the following post, What you want to use is ClickOnce Deployment, this is included with all of the Express Products. http://msdn2.microsoft.com/en-us/library/142dbbz4.aspx Here is a Quick How to http://msdn2.microsoft.com/en-us/library/31kztyey.aspx Also note that there is a group on this site where you can ask questions ...Show All

  • BhanuKiran.K help in windows service

    hi , here is a little problem i am facing and it is urgent please help me , i have a windows service that updates records in a database , that database is also used by a gui application now , the path of the database is relative to my installation of windows service application in an app.config file it is something like this : <add name="projectConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database\project.mdb" providerName="System.Data.OleDb" /> </connectionStrings> now when i install the service it looks for the database in system32 folder and does not get the database since a windows service runs under system32 folder it looks for the database ...Show All

  • GTrz Updating app.config

    I am trying to create a server installation (MSI) which during install populates the app.config with the user entered values and then updates and signs the manifests such that ClickOnce will be functional. I am not sure exactly of the method to update the manifests, or moreso if the way I am attempting is correct. here is some information about my setup here: I have the .deploy extension enabled; the msi configures the app.config with appropriate settings and sets the deploymentProvider codebase appropriately; once the config and application files are modified I have a batch file which executes the following mage.exe commands (actual filenames and paths obscured): mage.exe -Update <filename>.exe.manifest -FromDirectory <installed ...Show All

  • ironfede Webbrowser Control:Position of images in iframes/frames

    Hi All, I have a web browse control hosted in a windows form. I want to calculate the coordinates of all the images present in the web page displayed in the webbrowser. I am adding all the documents(main document and the iframe/frame documents) in a HTMLDocument list on the NavigateComplete2Event. I am using GetClientRects() to find the coordiantes. From these documents I am able to get the correct image position if it is the main browser document( i.e. when browserControl.Document.url = documentFromList.url), but for other documents, it gives the displaced image coordinates. The image, top-left coordinate returned for such documents is usually wrt (0,0).However, they return correct anchor coordinates. Is there any other approach ...Show All

  • robinjam How to raise by code the click event of a button in C#

    Hi all, I'm writing a C# program, and I was wondering: is there a way to raise by code the click event of a Button control, as if it was the user to have clicked on it Thank you very much Ok great, thank you Hi, you can "click" the button programmatically by executing button's PerformClick() method. button1.PerformClick(); Andrej ...Show All

  • ckob22 find full fle path of runing process/instance(VB6/.NET/Windows script)

    Hi Experts, Can anyone know how to findout the full path( ex: c:\rama\bbc.xls) from the curently running instance "bbc.xls". I dont mind accepting VB6\.NET\Windows script solution for the same as i'm desperate to find the full path from ruinng instance. Lets say I've opened saved bbc.xls file and i know the currently opened instances from Process library and i can get the title("bbc.xls") but i dont know how to get the full path("c:\rama\bbc.xls") For more details please have a look at the following link. http://forums.microsoft.com/MSDN/showpost.aspx postid=1206503&siteid=1 ...Show All

  • MNDANG array assigning problem

    i want to assign the value 500 in this position and else 8 Dim arr() As Integer = {70, 71, 72, 73, 74, 111, 113, 114, 116, 117, 119, 120, 122, 123, 125, 126, 128, 129, 131, 132, 134, 135, 137, 138, 140, 141, 143, 144, 146, 147, 149, 150, 152, 153, 155, 156, 158, 159, 161, 162, 164, 165, 167, 168, 170, 336, 424} the total array size is 554 arr2(554) how can i do this arr2(0)=8 arr2(70)=500 note 70 is the 0 element of the arr() thanks put a listbox on a form and try this Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim indexes() As Integer = {70, 71, 72, 73, 74, 111, 113, 114, 116, 117 ...Show All

  • Alaa M How to prevent ComboBox auto DropDown

    Hi, I'm writing a custom CheckedComboBox with a multiple item select future but when I select an item from the dropdown menu, the dropdown menu automatically closes. How can I keep it open to select more than one item thanks for any help. Hi Bluehunter, It looks like you are trying to make a custom combobox based on the System.Windows.Forms.ComboBox. Without access to the underlying code this might be difficult. Remember that a combobox basically presents a listbox after pressing on a button. So if you are making your own combobox, you can have your button present a listbox by your choice. Of course this can be a multiple select listbox. This way it's you that determines what happens on the listbox events. So y ...Show All

  • Nightmare_BE Populate a DropDownBox with certain info from Access

    I am trying to populate a DropDownComboBox with certain information from a MS Access table. This is my table structure: player id Frist Name Last Name Team # Tee Time ...... The information that I want to populate into the drop down box is First Name and Last Name. Then I want to add a button to remove the player from the database. I would greatly appreciate any help with this matter. Thanks, QWERTYtech Yes and No. I will search the forum for more answers but thank you for the quick response. First I want to thank you for responding so quickly to my question.   Now to get to the part im confused on. Below is ...Show All

161718192021222324252627282930313233

©2008 Software Development Network

powered by phorum