How To Remove Top Bar
May 2, 2010theres a bar with 'x for close' 'square for maximize' and '- for minimize'how do i get rid of that, i forgot what its called.like where it says 'form 1' for example
View 7 Repliestheres a bar with 'x for close' 'square for maximize' and '- for minimize'how do i get rid of that, i forgot what its called.like where it says 'form 1' for example
View 7 RepliesJust had to remove remove statics and use Delegates refering to class. i have got a little problem in one of my project.I need help to resolve it.My application Connect several FTP server with the same Class.I'm using TCPclient for few specifics Commands.The problem : All threads call the same TCPclient wich can't connect several server at once.I would like to create a New TCPclient for each thread.
[Code]...
I'm trying to remove individual nodes from their parent, I tried the Remove method but it doesn't seem to be working. How is this done? Is this a bug or what?
Sub Main()
Dim xml =
<?xml version="1.0" encoding="utf-8"?>
[Code].....
How can i remove an array item by selecting an item from listobx and press remove/delete button?for an example, if i want remove index 2 from listbox, so the array should remove index 2 item and move the item of index 3 to index 2 and so on.
View 7 RepliesI'm trying to get a ComboBox to remove the 6th string in the ComboBox or an index of (5) but it doesn't remove it here is the function I am using:
if ComboBox1.items.count = 6 then
ComboBox1.Items.RemoveAt(5)
End If
why the code...
Form1.Controls.Remove(myCustomControl) ...does not remove the control.
Because whenever I remove a control and add it again, it does not Load but rather just changes its visibility from false to true and all the variables are not reloaded.
I tried to use .Dispose() but VB.net tells me thatit can't access a disposed object whenever I try to add the control again.
I've got a calculation, but if the user forgets to enter in any details, or if it is equal to itself, it comes up as 'NaN'.How can I get it to show another message if the result is to be 'NaN'?[code]
View 5 Replies"Image.png"
How do I remove the .png part? My program seems to be having trouble with it..
Suppose I have a DataGridView called gridFiles.
For Each row as DataGridView in gridFiles.Rows
MsgBox(row.Cells("somekey").Value.ToString)
gridFiles.Rows.Remove(row)
Next
I will see message boxes, but only for every other row. What I think is happening is that the internal pointer for gridFiles.Rows gets off, because there is 1-fewer rows on the next iteration.
I have a DataGridView with 7 cells, in every cell I'm into if i press escape the current row is removed thou an event i made named Public Event EscapeOnFirstRowPressed with no problem, and brings me the control to each initial state. The general idea of this process is when all the cells are fulfilled then
[Code]....
In order to initialize my VouchersDGV Data Grid View I'm Using the following
DGV.AllowUserToDeleteRows = True
For i = 1 To DGV.RowCount - 1
DGV.Rows.Remove(DGV.Rows(i - 1))
DGV.Refresh()
Next
But when I'm runing it for the first time I take the error of {"Uncommitted new row cannot be deleted."} System.InvalidOperationException If I will continue and run my code and write a new row in my Data Grid and I will try to initialize again (now I have two rows, one has the data and the other is empty) I take this error {"Uncommitted new row cannot be deleted."} System.InvalidOperationException
This is my code i tried but it removes 2 lines not one
Dim b As String() = Split(TextBox1.Text, vbNewLine)
TextBox1.Text = String.Join(vbNewLine, b, 1, b.Length - 1)
I've wanted to add a tab (that works) but if the tab is already there i want to remove it.[code]...
View 3 RepliesI am trying to be able to find a delete a specific String.
If nameList1.Text.IndexOf(TextBox1.Text) Then
nameList1.Text = nameList1.Text + nameList1.Text.Remove(start, theEnd)
End If
I have start and end set to a value the user inputs
how to remove a image
View 2 Replieshow to remove a label from dgv show me how
[Code]...
In my code i create a textbox, in a event on a combobox because i don't know where it shall bee before the user have make a choise in the combobox.
I use this:
txttotal = New TextBox
txttotal.Name = "txttotal"
[code].....
friends Im using vb2005 an am BEGINNER in programming and I need to no how to remove my app from startup programs I use this code to add my app to startup programs so how to remove it?
View 4 RepliesI have a List which gets a Check Class like below:
[Code]...
I moved a vb project to a new computer. This one does not have Infragistic libraries installed. Apparently on the original computer it was installed, and the vb project must have some reference to it (see error bellow) even though I'm not using it in the project. So I am getting this error on the new computer.
[Code]....
1.Are exceptions used to indicate error rather than returning status or error codes.i need to remove the space between 1. and Are.So how could i remove the space? sugestions and samples are most appriciatable.
View 2 RepliesI ma using DevExpress controls (which doesnt matter for this example). I have a lookupEdit control and I never want the EditValue_Changed event to fire. Can I use RemoveHandler to do this? If so can someone give me a code example of doing this? Should I put RemoveHandler in the load event of the user control I am creating? Or does it go in the EditValue_Changed event of the lookupControl?
View 3 RepliesI've googled around for hours, and I can only find code to disable the 'X' from the title bar.
I want to completely remove/hide it. I want a completely blank title bar.
This is the xml I got as an output from the WriteXmlString() of Infragistics ultrawebtree. I am using this to create another Infragistics ultrawebtree with the same structure. But here I don't want the <Url>something.aspx..</Url>. I want that to be like this <Url><Url>. So how I can able to remove. This I get as a String. So I used Regex.Replace(). But it will work for certain conditions,but for some case it will destruct the xml by deleting some xml tags and xml became not valid due to missing of tags.
[Code]...
I want to remove a tag from my node
vb.net
Form1.TreeVIew.Nodes(textbox1.Text).Tag = ""
Error: Object reference not set to an instance of an object.
Why, this is a top level node...
i use csv file to populate my dgv. now i wanna eliminate duplicates from my dgv. i knew it could be done using unique datatable. but i wanna eliminate it from dgv not from the dataset or datatable.to understand it in better way- i wanna check column1 if the vales in column 1 are repeated then the entire row must be deleted i.e the duplicate row must be deleted( if column 1 has 2 duplicate values then 1 row must be deleted)
View 4 Repliesfirst off all i have this form called bookingand in this form i have a datagridview called datagridv1and i placed a contextmenustrip to the formbooking from the toolboxHOW DO remove the label what is in de datagridvthrough the contextmenustrip that i attach to this labelthis my code
Private
columnindex As Integer = Datagridv1.CurrentCell.ColumnIndex
[code]......
I'm creating a system in VB.net that utilizes Lua via the LuaInterface.
To associate an event in Lua with a function, I can simply do this:
RegisterEvent("tick", function(nt)
if not lcc then return end
if nt>=tt then
[Code]....
how I should change my RegisterEvent Function/Sub and how I should make the DisconnectEvent.
I know this is kind of annoying to try and understand what I'm trying to say. Feel free to post a comment asking for clarification. I'll be more than willing to try and explain it to the best of my abilities. If the LuaInterface has some kind of native way of handling this, I'm open to that as well :)
How can i remove a row from a dataset but not from the database?
View 2 RepliesI have a DataGridView. I only want to show certain rows. I do this by creating mask variable (0 or 1) in a hidden column and then use an If stmt to hide the rows that have a mask value of 1. I want to actually delete these rows (instead of setting their visible property to false). I need to comment out the two lines referencing the visisble property and put a line of code after the Else part of the If that removes the row in question. What is the correct syntax for this?
[Code]...