Quantcast
Channel: Windows Forms General forum
Browsing all 12583 articles
Browse latest View live

Automatically write checkbox checked state to dabase table

I am trying to automatically update a table when a checkbox is clicked.  The code below works, but only after the second time it is run.  What am I doing wrong?  private void...

View Article


Identify a running process and then opening a file

Hi ! I want to identify a running process and then opening a file. I want to do this in windows forms. for example : the code should check for running 'adobe reader' and if it finds adobe reader...

View Article


how to avoid 'timer' opening a file everytime it refreshes ?

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If (Process.GetProcessesByName("AcroRd32").Length > 0) Then End If...

View Article

Image may be NSFW.
Clik here to view.

How to hide the right-click of FolderBrowserDialog control

Hi Guys,I meet a questions that I need hide the right click information, please see as below picture:1.I create a FolderBrowerDialog application            FolderBrowserDialog folder = new...

View Article

VB Add-in VSTO Creating and using an opening file dialog box

HiI am currently upgrading my knowledge on word add-ins from VBA to VB. So my set up is using NetOffice to create the VSTO project files, and using Visual Studio Express 2012 to code. I have a custom...

View Article


How to access WCF Service dynamic in Windows Service

Hi ,I have 5 WCF services. Based on condition I want to use one WCF service. I want to decouple WCF from Windows service.I dont want to write the following code.If(A=1)   Service1 = new serviceIf(A=2)...

View Article

text box

hello i have a textbox ( the properties  visible=false;) and a picture boxhere some of my codes :  private void pictureBox1_MouseDown(object sender, MouseEventArgs e) {    preX = e.X;   preY =...

View Article

how to display excel files,docx,pdf,jpg,png

I have developed an application that is working similar to the Google docs . all other files can be viewed by using the handler except the excel and doc files how to display the excel files ?is their...

View Article


How can i get from a string not only match cases?

publicstaticvoidColorListBox(List<string> data,DrawItemEventArgs e,string word)        {            int keywords=0;            string keyword=null;            string url=...

View Article


How to get current Dragging Field from field List to Richedit Control

Hi I'm using Richedit Control . My field list contains lot of Tables. My Need is , I wanna track current dragging field from list to richedit control . I dont know how to get current dragging value or...

View Article

Need help to impliment Splitter in windows form using VS2010

Hi,I am using splitter in form which contain two different information using group boxes. Splitter.Pane11 contains groupbox1 and second Panle2 splitter.panel2 contains another groupbox2. both group box...

View Article

Need help to impliment Splitter in windows form using VS2010

Hi all,  I am using splitter in form which contain two different information using group boxes. Splitter.Pane11 contains groupbox1 and second Panle2 splitter.panel2 contains another groupbox2. both...

View Article

Change the size of controls dynamically when the form size changed

Dear all,I want to ask one c# application question about the resize of the page. I can control the location of the controls in the page using the Anchor property but my question is how to control the...

View Article


C# form design/implementation

Using C# 2010.  I'm in the process of moving my focus from vb to C# programming so I'm still trying to figure some things out as far as C# goes.  However this is a pretty general question and I'm...

View Article

Controls disappear from a form although they are still in the Designer code

I've tried searching for this problem but how do you describe it in search terms? I hope this rings a bell as I do not have a way to present a short code sample to reproduce it.I have a windows form...

View Article


Delete a file/directory forcefully

Hi,In a form main class's specific button(Process button) event, I call a backgroundworker controls dowork method.In the 'DoWork' method : I create an instance of another "ProcessFiles" classAnd I am...

View Article

Filter Record By Number & show in datagridview

I have One numeric text box, one button & a datagrid view, i enters a number which is PartId ( long integer ) in textbox & press button to filter the records as followDim dv As DataView =...

View Article


Navigation

Hi To All,I have build Windows application.I have maintain one Master Page and also maintain for this application 3 users  like admin,user,guest.In these 3 users having some permisions to handle this...

View Article

How to get click from control?

Hello everyone. I am making my first control I ever made and I am having good luck with it but I have problem I am hoping someone maybe can help me with for my control.This is custom control I make for...

View Article

Login

Hi To All,I have build Windows forms. I need Login form logic.If username password correct it should move to welcome page form. please give solution

View Article
Browsing all 12583 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>