Quantcast
Browsing all 12583 articles
Browse latest View live

Does publish "Project" install necessary .net and c# runtime libraries?

I am using a treeview control and modal dialog boxes in my project. Will the publish command include all of that without me having to add anything manually?Thanks,Paul

View Article


Select querry where value = textbox1?

how do i write a Select query where value = textbox1.text? in vb.net

View Article


How to disable usb port in C#

i want to disable USB port  using C#. thanks.Larrix

View Article

got error when i try to run query on access using C# Winform program

hii have this code for run any query on access using (Conn = new OleDbConnection(Work_Connect)) {        Conn.Open(); SQL = "select top 1 Code from MyTbl where ida = " + ida.Trim() + ""; dsView = new...

View Article

how do i validate a textbox

how do i validate a textbox in vb.net? same like in oracle using when -validate-item?

View Article


Checking TextBox content on KeyPress under certain condition

Hi all,Can't find a solution to my problem.The user get ask a math question and is expected to enter the answer in a textbox, it always numbersThe user should not need to validate the answer with...

View Article

How do I display filenames in a statusstrip panel in vb.NET?

Hi,I'm in the process of porting a MDI app I wrote in VB6 some time ago to VB.NET 2010 and I was just wondering how to display the Text property of a child form in a StatusStrip panel?  For example,...

View Article

What is the code for this question?

A vineyard measures the amount of wine in its storage tanks in gallons, but it must ship  the wine in barrels. There are 42 gallons in a barrel. Write the event procedure that will  accept as input,...

View Article


Allow user to stop/drag at Trackbar tick only not inbetween

Hi All,I have one trackbar with below details,Minimum =20, SmallChange=20, LargeChange=20, Maximum=80, TickFrequency=20With above parameters set My trackbar has only 4 ticks. I don't want user to drag...

View Article


Animated control freezes when sizing parent form

Hello, I am making a circular progress control. I use BufferedGraphics for backbuffering and I have the ControlStyles.AllPaintingInWmPaint and ControlStyles.UserPaint flags set. I have the control...

View Article

Image may be NSFW.
Clik here to view.

Display installed Modules in About Box

hi,  I have windows application which have multiple modules. Each modules i have separate windows application with output as library and call this forms in main application.Now in my main application i...

View Article

Project database problem

Hi,I am using Visual Basic 2010 Express Edition and I have a database attached to my project "aDatabase.mdf". When I am inserting data into it from a form that I created, no data can be found being...

View Article

Dialogs Themes

I have made my own Form Theme by drawing.My form works well with the theme but the OpenDialog,etc do not open up with the theme.How do I set the theme??XForm::CustomForms::FormBlack - This is my form,...

View Article


ImageList sometime fail to open in VS2010 designer

Create a winform project, add an imagelist, add some image items into that list.Close VS2010, reopen that project, open that winform in designer, try this several times, it will sometime fail.Close...

View Article

How to terminate a form and be able to open it again?

I have a link label with the following code:Form2.Show()I have multiple forms in this one project by the way.Form2 has a button with the command:Form2.Close()The button works, but whenever I 'close'...

View Article


counting words,characters with spaces and with no spaces, lines and pages in...

Ho w to count words, characters(with spaces and with no spaces), lines, and pages of richtextbox? Please help....

View Article

XML in Win Forms:Avalon Docking:Don't know head and tail

https://avalondock.codeplex.com/wikipage?title=AvalonDock%202.0%20Getting%20Start%20Guide&referringTitle=DocumentationIn that tutorial there are a few lines"To start create a new .NET 4/.NET 4.5...

View Article


RAISE FORM_TRIGGER_FAILURE

how do i write the syntax                 'RAISE FORM_TRIGGER_FAILUREit is used in oracle forms..but how to write in win forms VB.net?

View Article

Dynamically Create "Remove" WinForm Buttons

I created a topic (http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/40b20051-0b27-4fe0-b0b7-a56b919d03bc) needing assistance adding buttons dynamically.  That part works great but...

View Article

I want to create new tab facility in my new Web Browser

I am developing a web browser in C# Visual Studio 2010.I have used a menu bar(for file, edit etc), toolstrip bar(forward,backward,reload buttons etc) and a web browser object till now.I want to...

View Article
Browsing all 12583 articles
Browse latest View live