Quantcast
Browsing all 12583 articles
Browse latest View live

How to write code inside a programmatically created control and its event ?

int locy = 41; for (int i = 0; i < hdcount; i++) { RadioButton rdbtn = new RadioButton(); rdbtn.Name = "rdbtn" + i.ToString(); rdbtn.Location = new System.Drawing.Point(12, locy); rdbtn.Enabled =...

View Article


C# - Closing and Disposing Form Does not Result in Released Memory

Hi there.I'm about ready to tear my hair out trying to figure out what's going on with my forms.I have a form called View that is my main form. The View class has a member called Form1 View2, where...

View Article


Ethernet over USB fail to connect internet?

1.USB Device,install the driver, it will generate a modem port , and  a Ethernet adapter.which use Sim card for internet.On Windows XP,first disable the local connect,I can connect to the internet by...

View Article

Problem with ToolTip.SetToolTip

Hello,Version OS : Windows 7 SP1Visual Studio 2013 Express for Windows Desktop.I have tried to set a tip on a ToolStripStatusLabel according the link...

View Article

Initialize values at program start, before the form is displayed

I have a simple Windows Forms program in Visual Basic. I would like to initialize some values both on the displayed form and in a Folder Browser dialog, before the main form is displayed. How do I do...

View Article


Removing MDI maximize/mininize/restore buttons when MDI child is Maximized

If you create a basic application with an MDI parent and a couple of MDI children, then maximize one of the children, you get a little panel at the top with buttons to minimize/maxmize/restore/close...

View Article

Global Variables in VB.NET

Hello,Is there any way in VB.NET to declare a global variable in one form and be able to access it through other forms??Thank you.

View Article

Control focus on a complex GUI. (Windows Forms - NetFrameWork 4.0)

Hi,I have worked few days to fix my problems... and I'm going nowhere.So, I Need help:I have o complex Windows Form Application which build dynamic the GUI, from an xml file.The structure of GUI is...

View Article


Referenced Assembly System.Net.Http in VS2010

I am trying to reference the System.Net.Http.dll into VS 2010I made a setup and while running the application I am getting "Unable to Load referenced assembly for Executing"I did some google it can be...

View Article


Add product

Imports System.Data.SqlClient Public Class frmProduct    Dim intDB_SKU_Selected As String    Dim intDB_Supplier_Selected As Integer    Dim intEdit_ID As String    Dim operation_save As String    Public...

View Article

Need help for moving button

I want to help to move a button in horizontally and verticallyi tried every thing but i didn't get right out put so guys pls help me....

View Article

Base Form Controls Not Showing Properly in Derived Forms in VCS2010 Express...

I have a base Form Form1 with one Button control on it, anchored to the top and right of the Form, and with FormBorderStyle = None.  I also have 3 derived Forms based on Form1.  In the VCS2010 Express...

View Article

VS 2013: The .pfx import error on each developer's machine.

Hello everyone,In our VS 2013 solution, we have signed some of our projects using self-signed .pfx file. Whenever we perform any of the following actions and check-in the project file in TFS, all...

View Article


MS Access 365 (Status: Product is unlicensed)

I installed the Access 365 in my PC, but the license status is "unlicensed".I tried to type my License key and follow it's process, entered my register email address, and whole process is finished...

View Article

Selecting Form controls takes 3-5 seconds....what is the problem?

Selecting Form controls takes 3-5 seconds....what is the problem?Mikemleclair_SLC

View Article


Launch PDF without including it in final .exe?

I am working on a Windows Form project for my work. Essentially it'll be an interactive catalog for my customers, where they can click on different vendors that our company represents, to see...

View Article

Drag Events...identify control and location...

Drag Events...identify control and location...How do I know the name and location of the control that I am dragging over.   I am using a TableLayoutPanel and I want to drag a button control from cell 1...

View Article


How do I uninstal windows 8.1?

Just downloaded Windows 8.1 on to my Asus X502CA-HPD1104I-P1 and it already came with windows 8 on it. and I found that I have to go back and redo some of my apps and I use the same passwords and...

View Article

CausesValidation False Not Working with Access Key

In VB 2010, create a Windows Forms Application.  Add a TextBox and Button to the form.  Set CausesValidation to False on the button.  Add an ampersand to the button's Text to create an access key.  The...

View Article

TableLayoutPanel not resizing

HI Folks,I'm trying to understand form/control resizing behaviour but have run into an anomaly. I have an MDI test app that contains one MDI Child. This MDI Child (call it Child1) contains a...

View Article
Browsing all 12583 articles
Browse latest View live