IDE :: Shoutbox / Chat Thing And Forms Inside Of A Form
May 27, 2010
Just a couple of things i wanna have a form that has like a little chat thing like shoutbox that post a message up on the message box and you can choice a display etc etc
[Code]...
View 2 Replies
ADVERTISEMENT
Apr 4, 2010
[MyCode]
Rigger.Show()
Me.Close()
Instead of showing Rigger.vb and then closing form1.vb, it closes the whole thing. I need it to leave Rigger open, and close form1
View 1 Replies
Aug 26, 2010
I would like to know if its possible to start up a second windows forms inside the parent form. Ex: A button is pressed and a new form is showed. I would like to keep that new form inside the parent form, and have it not be able to go outside the parent form.
View 2 Replies
Jun 29, 2009
actually i'm trying to write a small program for my project's presentation. i created a form with buttons, each time i click on a button, i want a text loaded from MS word document to be displayed inside the form.
i thought about dislaying the text inside a label or textbox, but the problem is that the text doesn't preserve its state, i mean colors and fonts which are defined in the MS word document, it just displays everything in black color, small size..etc, even if i change the properties of the label in color or font, thoses changes will be applied to the whole text.
is there any control who can display the text loaded from a MS word coument with its colors and fonts which are already defined in the word document, or there any solution to do this ?
View 3 Replies
Feb 13, 2009
I have a form with text boxes ,masked text boxes e.t.c there is a binding (data) source MytablebindingSource). when i open the form the on form_load event i use the following code
[Code]...
View 1 Replies
Sep 9, 2010
I have multiple forms within a form, typically up to 16, and I want these "inside" forms to snap all edges between eachother or the parent form edges, when a form is resized or moved, and edge comes within x pixels of any other edge.How should I approach this? What I can think of is to raise an event on the form that is moved/resized which calls a parent form handler method that loops through all the forms, check the edges and then keeps fixing (repositioning) the active form if any of its edges is close to any other form edge
View 3 Replies
Oct 16, 2011
I want a stopwatch thing, to start on the forst form, and stop on the last form, and to show the time.
View 2 Replies
Jul 12, 2011
I had a master form which has a MDI container.When I was load the master form, I will also display another form inside the MDI container.But I was fail to maximize the child form to fix the MDI container. The image below is my problem Untitled2.jpg. I need to expand the form above to touch the MDI container border. (Full size in the MDi container)But I was fail even I was set the child form window state to Maximized
View 3 Replies
Jun 27, 2010
I have 2 labels in my form. I have different content on them.I want to do the following:[code]*loop all the code above nonstop, in order to make this "sequence" running nonstop until i close this program*..Can anyone tell me what code do i need for each underlined part above?
View 2 Replies
Apr 7, 2012
why the title has "(con't)" is because of this Form Resize With Control Sizing... almost named it with another thread on here. And I wanted to post, but it was already a 'Zombie Thread'.Thanks to _HAWK_'s post #11, instead of declaring every control I use. Would declaring it an array (fast guess - Label<Array(how many - 1; aka - X)>) work? ... that was probably Java... My point has probably been made, or can I just do Label.Scale(variable)?I had already set my declaration of the form I need to do this on "Resize". I am not quite at this stage yet, but I see this saving a lot of time asking early.
The +1 extra question is:How can I be able to split of a form in 3 unequal sections? The initial form is 800*600-left side has 2 sections, each 400*300 right side is 400*600.I am already using 3 'GroupBox' and it looks ugly because I have each one colored differently.I looked into Splitter and SplitContainter and TableLayoutContainer.
View 2 Replies
Jan 1, 2011
What i want to do is not allow the entering of the same thing in the same field that has already be used. eg. field(entry) 1 is already in the database. So when trying to enter 1 and field(entry) anymore it will give error msg and make change before saving.
View 10 Replies
May 23, 2010
Well I am trying to autoscroll my ListBox or display everything the opposite way just like a shoutbox. how to do it. I have tried many ways but they either gave me errors or didn't work.
View 3 Replies
Sep 6, 2011
For example this textbox here: url...without clicking and selecting it. Just use a key ex: F5 to paste the text i copied to this any textbox or shoutbox?
View 2 Replies
Jun 21, 2010
I'm developing chat program. I have database on my webhosting where I store rooms and memebrship tables... I created the client, but I still cant do the server side of the program. It must be in win forms app.(I use .Net 3.5)Every tutorialSample of server side is for Console app. Client code is very close to this(if somebody need it): LINK
View 1 Replies
Aug 20, 2011
So, in another related post, i got the chat to send to a java server, cool.Now, it's a matter of sending it back to VB.on the server side of things, (in java), I am using the following
JAVA
public static void sendback(String what2send) throws IOException {
ObjectOutputStream oos = new ObjectOutputStream(mySocket.getOutputStream());
[code]....
View 7 Replies
Sep 4, 2009
Is there any possible to give chat buzz effect in vb.net form
View 1 Replies
Dec 23, 2008
The following code does create a form within a form and does place NotePad inside the child form. You have to manually start NotePad prior to execution (I work on that later) but the code does workŠ My problem is now I want to manipulate the properties of notepad i.e. focus, size, location, etc. but I cannot figure out how to reference notepad and its properties.
[Code]...
View 8 Replies
Mar 25, 2011
i have made a client and server chat system in VB 2008 with winsock,it's a one to one chat and works perfect fine, but do anyone know how to turn it into a multi-client chat system? Code in below: Here is the code for the server:
[Code]...
View 3 Replies
Sep 10, 2011
i'm working on a Java app wich uses the CMD.i want to control the app completely though a forms application and so i created a invisible CMD console that starts and runs,the only problem i keep getting. is that after startup and further commands send to the CMD window doesnt work. not commands are received.heres my code
the basic functions
vb.net
Private WithEvents MyProcess As Process
Private Delegate Sub AppendOutputTextDelegate(ByVal text As String)
Private Sub MyProcess_ErrorDataReceived(ByVal sender As Object, ByVal e As System.Diagnostics.DataReceivedEventArgs) Handles MyProcess.ErrorDataReceived
AppendOutputText(vbCrLf & "Error: " & e.Data)
End Sub
Private Sub MyProcess_OutputDataReceived(ByVal sender As Object, ByVal e As System.Diagnostics.DataReceivedEventArgs) Handles MyProcess.OutputDataReceived
AppendOutputText(vbCrLf & e.Data)
End Sub
Private Sub AppendOutputText(ByVal text As String)
If outputtextbox.InvokeRequired Then
Dim myDelegate As New AppendOutputTextDelegate(AddressOf AppendOutputText)
Me.Invoke(myDelegate, text)
Else
outputtextbox.AppendText(text)
End If
End Sub
the startup that works.
VB.net
MyProcess = New Process
With MyProcess.StartInfo[code].......
i sometimes replace the textboxx2.text with a custom command like "exit".so when i press the button after entering exit for example nothing happens.but when the app starts it does gets the first 2 commands. so why is it failing at the buttons.
View 16 Replies
Sep 20, 2009
I have a question about how to validate a text box with only word inside. Below is my code i use, it's only can detect if number 1 to 9 in single number, but not 11 or 999 or Joanne11 Joa223nne etc. I want it can detect the text box have and number or symbol then will show an error messageBox, else continue.
[Code]...
View 3 Replies
Jun 14, 2009
I want to make a ProgressBar with text inside it and I want to make the ProgressBar not using bars. Sample in the picture :
I can make the text inside the ProgressBar with CreateGraphics and DrawString, but I still can't make the progressbar not using bars.
View 6 Replies
Jul 26, 2010
Process.Start("<pathname>") works fine. But I need to open the file inside my application alone. Is that possible? If so How??
View 1 Replies
May 2, 2010
I have a directory listbox, I try to set the path to a directory inside the project. how do I do that?
View 7 Replies
Aug 5, 2009
To start things up, I have a DLL called clsEmployeeModule, containing forms frmEmpInfo and frmAddEmpName. frmEmpInfo contains a textbox that when clicked displays the frmAddEmpName. Now the latter contains three textboxes (firstname, middlename and lastname) and a Save button. Once the user clicks Save, the values from the three textboxes will be concatenated and displayed as a full name back in the frmEmpInfo form.Below is the code snippet calling the frmAddEmpName:
vb
Private Sub empname_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles empname.Click If genInfo_edit = True Then call_addempname.Text = "Edit Employee Name" End If call_addempname.Show() End Sub
And here's the code snippet from the frmAddEmpName:
vb
Imports clsEmployeeModule Public Class frmAddEmpName Dim callempinfo As New clsEmployeeModule.frmEmpInfo Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click mnFname = firstname.Text
[code]....
When I debugged the program, it showed that employee_fullname was successfully populated with the concatenated values -- however, that wasn't the case for the empname textbox.
View 5 Replies
Sep 16, 2009
i am asking about using the progress bar into the status bar to move when i load any child form inside the MDIParent form.
View 1 Replies
Apr 14, 2009
There's a richtext box in Form 2 and a WebBrowser in Form 1. The richtext box contains several hyperlink. How can I navigate the WebBrowser in Form 1 by clicking the links inside the richtext box in Form 2.
View 4 Replies
Sep 27, 2010
Inside a form, I would like to display a pdf file which is already available in my resources (template file "untitled"). In this pdf file, I have some fields which get their values from some texboxes in another form. My aim is, when the user triggers the button to call this form, it should insert the values inside the pdf file and display the output pdf inside the form.I have written the code to an extend but could not finish it myself after my many trials... Now here are the two things I cannot manage:I can use a directory to read the template pdf "untitled1.pdf". But my aim is to use the file inside my resources. can save the output file in a directory but this is not I want to do. I want to display the output pdf.
View 1 Replies
Mar 18, 2010
not quite sure why this is happening but I am just debugging right now and the buttons I am using are opening the wrong forms, I have made sure of the form names, button names etc and it looks all good but specifically the btnPrintReport is opening up the form enterAuditForm while btnProcessAudit is opening printAuditForm instead of their correct ones.
Here's my code, it is rather simple. The reason why I am using a separate sub as my btnPrintReport is because I am using that also on the baseForm's OnLoad Event, which again is also opening the wrong form.
[Code]...
View 4 Replies
Nov 3, 2011
I am trying to create a new instance of a form if its not allready been created the only problem is is that the instance creation is inside a worker thread.[code]...
View 2 Replies
Dec 13, 2010
I created a function that retrieves information on which checkboxes are checked. It returns an array which the information coupled to the checking of those checkboxes. Those checkboxes and the matching textboxes are dynamically created at runtime in that same function. I'm pausing the application to wait for a button to be pressed. I'm trying to find a way to use btnDone.Click event directly because the code always reloops my function once more recreating the controls.
Public Function GetArray(ByVal strDLFolder As String) As Array
If blnDone = False Then
Me.Show()
[CODE]..........
Right now I'm setting a create a boolean switch when btnSubDone is clicked. What I would like is for something along the lines of:
[CODE]...........
Is it possible to use events like this? If not is there a cleaner way for pausing the application to wait for a button click (one that doesn't run the entire function again)?
View 2 Replies