VS 2008 Create A Discussion Thread On A Windows Form?

May 13, 2010

I am currently creating an application which monitors any errors that occur in the other applications I have developed.One thing that I want to try and do is add a sort of discussion thread into the form, so this allows for each member of IT to add comments/notes about the error that occurred.Normally I would just use a DataGridView or a ListView, but I would like to have the capability for the comments/notes to be multi-lined so that the user can see what has been written without having to scroll sideways.

View 7 Replies


ADVERTISEMENT

Create A Discussion Thread On A Windows Form?

May 13, 2010

I am currently creating an application which monitors any errors that occur in the other applications I have developed.

One thing that I want to try and do is add a sort of discussion thread into the form, so this allows for each member of IT to add comments/notes about the error that occurred.

Normally I would just use a DataGridView or a ListView, but I would like to have the capability for the comments/notes to be multi-lined so that the user can see what has been written without having to scroll sideways.

View 1 Replies

Forms :: Create A Discussion Thread On A Windows Form?

May 13, 2010

I am currently creating an application which monitors any errors that occur in the other applications I have developed.

One thing that I want to try and do is add a sort of discussion thread into the form, so this allows for each member of IT to add comments/notes about the error that occurred.

Normally I would just use a DataGridView or a ListView, but I would like to have the capability for the comments/notes to be multi-lined so that the user can see what has been written without having to scroll sideways.

View 3 Replies

VS 2008 Create Windows Service Using Windows Form Common Control?

May 3, 2012

It is possible to create windows service using windows form control in vb.net. give me the url or links. The windows forms control such as, Timer control, list-box, notify-icon control etc.

View 1 Replies

Create Custom Chrome For A Windows Form In Program 2008 Express?

Aug 14, 2009

How do you create custom chrome for a windows form in vb.net using Visual Basic 2008 express? I want to basically scrap what they give and start fresh.

View 1 Replies

Create New Form On Separate Thread?

Jan 10, 2010

I would like my application to do something (in one form) and while form is doing that i would like to show another form to the user. Code is:

Private Sub blaa()
Dim a As New Working() 'working is another form
a.Show()
'Do some stuff
a.Close()
End Sub

But when i make new form i find it is on the same (main thread) and therefore new form also frozes. How to make new form on separate thread?

View 4 Replies

Create Progressbar In Second Form Using Thread?

Dec 10, 2010

I read several posts but I didn't still find solution on my problem I created 2 forms: first is main where I do operations on excel file with 20000 rows and in second form I created progressbar. the name of main form is form1.vb and the name of second one is wait.vb In main form I wrote:

[Code]...

View 12 Replies

Discussion On Testing An Application (both Windows And Web Application)

Feb 3, 2010

After doing much programming, I came to know that testing and debugging are the most difficult and time-consuming phase of program development. User experience is imperative to an application's success, so ensuring the proper functionality of each feature is important. This discussion is to provide a step-by-step process that will help us to test our applications. It shall present testing best practices and highlight the common issues to avoid.There are many tools available for testing. I know some of them which I am going to mention below. I request msdn.com team and members to reply to this post and add some more points or tools that will help us.

a. Make sure design and page layout is consistent
b. Make sure there are no spelling or grammatical mistakes
c. Make sure the messages (alert, error, etc) are having no spelling or grammatical mistakes and are consistent.

Validate Functionality

a. Make sure all the form validations are done correctly. A program that is not robust will fail if you try wrong inputs like keeping the fields blank, inputting characters in place of numerics, -ve values where +ve is expected, large number of characters, etc.

b. Make sure the functionality desired from the page is complete in all aspects. For example, a page that is supposed to insert/update employee details does so correctly.

Prepare a test case document where you document test.In this document you simply write down the steps that you will perform to execute a test case, and results of test case execution. Complete test cases for the entire application in a similar manner.

View 2 Replies

Datagridview - .net Generalized Thread Safe Windows.form?

Mar 25, 2012

''//begin cross threaded component
Private Sub dBgRIDvIEWNotInvokeRequired(ByVal dBGridViewcomponentname As DataGridView, ByVal dvalue As String)
dBGridViewcomponentname.Text = dvalue
dBGridViewcomponentname.Update()

[code]....

when used is like this CrossThreadedDbGridView(DataGridView1, "TheText") But what if I have lots of member or property to used like this code:

DbGridPapers.ColumnCount = 5
DbGridPapers.RowCount = rc
DbGridPapers.Update()

[code]....

View 1 Replies

How To Make Thread-safe Calls To Windows Form Controls

Sep 20, 2011

[URL]

In my program, I created a list of a class that contains 5 picture boxes, a button, a label, an identifier, and some other stuff. I've got roughly 65 of these in this list. I'd be stupid to hard code all that in. The identifier is a 2nd way of identifying which specific location I'm working on.

Anways, all this is created at compile time. Works perfectly fine.

I then manually start a background worker that pings a collection of components. Based off the success of those pings, the picture boxes are enabled or disabled. Basically a proactive way to see if a collection of devices over multiple locations are actually working.

It's the background worker that fails because of thread-safe calls.

Private Sub bgwStatus_DoWork(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles bgwStatus.DoWork
Dim status As Integer

[Code].....

View 1 Replies

Form Callback - Create A Module That Will Start A Thread

Mar 2, 2012

i am trying to create a module that will start a thread to go do something. once the "something" is done i want to notify the calling form that the event is complete. i left out the thread stuff since its not relevant to the question. the following code would work fine in VB6, but .net sees it as an error because FRM does not have a FRM.done, "DoSomething" would could called by multiple forms [Code]

View 2 Replies

Create Windows Service Using Windows Form Controls In Program?

May 3, 2012

It is possible to create windows service using windows form control in vb.net.If yes then please give me the url or links.

View 1 Replies

Create A Windows Form Application Program That Can Create Games Something Like Gamemaker Or Klik?

Aug 4, 2010

Hello I want to create a windows form application program that can create games something like Gamemaker or Klik & Play (butt less advanced) with D&D "Drag and Drop" events and actions.

View 7 Replies

Create Windows Service Using Windows Form Controls?

May 3, 2012

It is possible to create windows service using windows form control in vb.net. The windows forms control such as, Timer control, list-box, notify-icon control etc.

View 2 Replies

C# - Thread Start In Form1() Crashing Program On Windows Server 2008

May 12, 2011

I'm getting a really strange error. I have a program that needs to run a thread on startup, and for some reason when I do myThread.Start() in Form1() it will crash with "program is not working" (But only on Windows Server, not on my local machine!). However, if I put the same code under button1_Start() it works no problem. What gives?

EDIT A little extra information: In my thread I have a line of code that uses invoke

Invoke(new Action(() => richTextBox1.AppendText(string.Format("Updating {0}..
", DateTime.Now))));

And for some reason the crashing goes away after I make the thread sleep for 2 seconds before it starts executing. Am I using the right method to execute code on the app startup?

View 2 Replies

VS 2008 CrossThread Operation - Create A Thread That Load A Function?

Mar 27, 2010

i create a thread that load a function, in this function i need to read from txtbox into the same form and during the function write into another textbox the call to function is done in this way Dim t As Thread t = New Thread(AddressOf Me.myFunction) t.Start() from myFunction i read info in this way myInfo = textbox1.text and i write into textbox during the execution of myFunction in this way textInfo.text = myInfo but in debug time i have an error of crossthread.. how can i solve this problem??

View 4 Replies

Forms :: Create An Attendance Form In Windows Form?

Oct 1, 2009

How to create a Attendance form in windows form.The form should lookk like this:


1 2 3 4 5 6 7 ..........till 31 or 30 based on month selected
1. emp1

2. emp2

I shud be able to enter attendance for employees.....

View 7 Replies

.net - VB 2008 - New Form On A Different Thread?

Feb 7, 2011

My "form1" is just a simple page with buttons that launch different forms which do all the work, the "form1" code for the first four buttons is below. What I want is for each form to run in a separate thread.

Public Class Main
Private Sub btnDownLoadStockPrices_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDownLoadStockPrices.Click
LoadStocksFromDownloadSite.Visible = True
End Sub

[Code]...

I've found plenty of code examples to have different buttons on a single form run a subroutine in a separate thread, but for some reason I can't seem to apply it to an entire form.I think it's something simple, like I need to tie each new thread as a handle to each forms "load" routine, but I just can't get it to work. I don't care about "synchronizing" threads at all, as each form is really a completely different functional program.

View 2 Replies

VS 2008 Starting A Form On A New Thread?

Oct 10, 2010

Ok so my main form takes around 5 seconds to load i can't make it so that my load subs are on a seperate thread because too many cross thread calls being made besides i want a splash screen anyway i want a splash screen on a seperate thread that can update status while main thread is loading this way main thread carries the load subs and invokes status label changes in the splash form which is on another thread

this is my code

Dim SPForm As SplashForm
Public Sub LoaderSub(ByVal Splashed As Boolean)
If Splashed = False Then

[Code]...

what happens is the splash form shows and so does the main form but they both lag for 5 seconds (as if they are both on main thread) how do i make it so that the splash form loads from the new thread? I thought the way i did it that's what should happen...

EDIT: also why did code wraps failed to show proper vb code?

View 10 Replies

Create "a Windows Form Game Called Yahtzis Which Uses Five Dice And Three Throws To Create A Score"?

Oct 18, 2010

i am suppose to create "a windows form game called Yahtzis which uses five dice and three throws to create a score" .

The problem is that i don't even know how to start it can anyone shed some light.

View 2 Replies

VS 2008 : Closing Form Inside The Thread?

Sep 4, 2009

1. I am closing the form which started the thread inside the thread. There are no errors , but Is it safe ?

2. The thread starts at click of a button . If same button is clicked again , the thread is aborted. Should the thread be made Background or foreground ? it is working either way.

my code :

Private Sub BtnOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnOk.Click
m_Thread = New System.Threading.Thread(AddressOf MyFunction)
m_Thread.IsBackground = True

[code]....

View 3 Replies

VS 2008 Load A Control On A Form In A Different Thread?

Aug 30, 2009

just wondering if it is possible to have a form and then load up a control on that form but so it runs in a different thread to its parent... i tried:

[Code]...

But it still seemed to be running on the form's thread And just so you know ctlMTTest is just a control that has a button on it, that, when you click the button, a loop runs.

View 1 Replies

[2008] Updating Form Variables During Thread?

Sep 1, 2009

I'm not sure exactly how to describe this. In VB6, there was a Timer command. I could create a variable of type Timer and loop until the current value for Timer exceeded the initial plus a given amount of time. This allowed me to update form variables while the timing loop was executing. How can I do something similar in .NET?

Here is a sample of the VB6 code:

Code:
Dim StartTimer As Double
StartTimer = Timer
Do

[code]....

View 2 Replies

Create A New Windows Form Application?

Jun 14, 2011

I install a visual studio 2008. I create a new windows form application but very strange that on the right side there is no control bar in which all the control like button label textbox etc contains how i show it?

View 2 Replies

Create A Windows Form Application In VB?

Sep 8, 2011

I have just begun using Visual Studio to create a windows form application in visual basic. I have a chart on the form, and I would like to be able to right-click, copy the chart and then paste in,say, Microsoft word. At the moment I have created a contextmenustrip which appears when the user clicks on the chart, but I am unsure of the code necessary to actually copy the chart and hold it until pasted into a different application.

View 2 Replies

Create Windows Form In .NET 2010?

Apr 28, 2011

I trying to create windows form in VB.NET 2010 but this trouble.The error saying :Error 1 'InitializeComponent' is not declared. It may be inaccessible due to its protection level.

And this is the code

Imports System.Data
Imports System.Drawing
Imports System.Text

[code].....

View 3 Replies

Create Windows Form Via Code?

May 18, 2009

Is it possible to create a form, and controls like buttons, and also assign those buttons to their own scripts by code? The reason I'm asking is I've added scripting functionality to my application for users, I want them to be able to add forms for their scripts

View 17 Replies

VS 2008 - Ftp Download - Thread Reports It's Progressto Another Form (to Progress Bar)

Jul 12, 2010

I hve threaded ftp download, and that thread reports it's progressto another form (to progress bar). Now, when thread downloads, progress of thread is much slower than actual download is, so for instance: all files get downloaded, but the progressbar is at 50% or even less. Is there a way to track the progress of actual FTP download.

View 7 Replies

Opening Form Into New Thread Then Closing It Again From The Old Thread?

Dec 15, 2010

I am currently working on a project that has a splashscreen This splash screen is designed to be shown when the main form begins to load its requirements, and then closes once it has loaded... Currently it works like so:

Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
frmSplash.Show()
dolotsofloading()
frmSplash.Close()
End Sub

[Code]...

View 5 Replies

Create A Windows Form User Control?

Jul 1, 2011

how to create an use control?this link http:[url]....

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved