XML Move Up / Move Down
Apr 21, 2011
I've got a form with a list box that allows the user to move items up and down depending on their order of display preference.I would like to reorder the XML file accordingly so when it is read in it matches their settings.Here is a sample of the XML. I've been able to search down to the hole node and delete it, so I've got a small start at this:[code]I'm just not sure how to go about inserting it in a new position.
View 1 Replies
ADVERTISEMENT
Jan 6, 2012
how do i copy and move the entier contents of a directory to another ussing VB.net then also delete the files from there original directory?
View 1 Replies
Dec 26, 2009
I have three listboxes in an array and on form_load the listboxes initially select the fifth item in each listbox:
Private Sub frmSample_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
For i As Integer = 1 To 3
View 8 Replies
Sep 3, 2010
What does this error mean? I havent modified anything in the designer code, but its giving me an error? WithEvents variable 'Move' conflicts with event 'Move' in the base class 'Control' and should be declared 'Shadows'. The error relates to Friend WithEvents Move As System.Windows.Forms.DataGridViewCheckBoxColumn
View 1 Replies
Apr 8, 2011
Im working on my project. and i just asking if i can used this Property in vb. NET [URL] when i install adobe photoshop .. i see on the leff installer...something like a menu and the menu move step by step when the user move between Forms
Welcome
Serial Number
Adobe ID
Install
Finish
How i can create like this in VB .NET
View 1 Replies
Jun 21, 2010
I've written an app in VB2008 using a Windows Vista laptop. My problem is that when I run the app on my XP desktop, the fonts look a little blurry/ blocky. I've attached 2 screenshots (which don't really capture the issue too well unfortunately).The 'Vista' screenshot is the one I am happy with - it looks fine on screen. The 'XP' screenshot looks blocky. (If you look at the 'O' in 'OK' you can really see the difference.)
View 5 Replies
Feb 9, 2009
I am trying to move a folder[code]...
I get the message "Cannot create file when that file already exists"
View 12 Replies
Feb 10, 2012
I tried to make a simple game with a picture just moving to the goal. However, I can't move the picture at all.
Here's the code
Public Class Form1
Public Event Up As KeyEventHandler
Private Sub PictureBox1_KeyUp(ByVal sender As Object, ByVal e As
[Code]......
(Note: I first gonna make the picture box move b4 I make the rest of the code)
View 5 Replies
Mar 30, 2012
How does one go about moving a directory using VS2005? I have a treeview that is populated with the network's directory structure, but only on a much smaller scale. When the folder is selected in the treeview, the full path is displayed in a label.
This is the source folder. The destination folder will be hardcoded. The issue is that its only moving the files within the source folder and not the folder and its contents. I have tried using the Directory.Move but kept getting an odd error, "Cannot create a file when that file already exists." It doesn't exist in the destination folder...odd[code...]
View 4 Replies
Apr 24, 2012
I know that pressing ctrl- will take us to the last place. What about if we want to move forward? Also where in the vb.net documentation is this mentioned?
View 1 Replies
May 17, 2012
i am using MS-Access 2003, VB.NET 2008, I am able to select and delete recordes. But how can I move between records?
Imports System.Data.OleDb
Class Window1
Dim cn As OleDbConnection
[code]....
This is what I have done so far but how can I movenext,last,previous,first? The way we used to in vb6 with recordsource.
View 2 Replies
Sep 21, 2011
i want to move through the database searching for data.i know that with vb and access we used movenext movelast, BOF ,EOF that type of thing.now i am using sql and VS2010.
View 3 Replies
Aug 6, 2007
How do I move a row in a DGV from one position to another? ie. I need to move the contents in row 10 to row 3, and have all the other rows move down
View 10 Replies
May 14, 2010
How can I Move a frame into another using vb.net?e.g.I have these two files
Frame.vb
NewFrame.vb
within Frame.vb on the load code i want to move NewFrame in to Frame.also if i put a button in Frame.vb on that clicks button event i also want to move NewFrame.vb in to Frame.
View 6 Replies
Mar 22, 2010
I have drawn a rectangle using GDI+ but I need to move the rectangle with the arrow keys. I have the code to do it, but there is something wrong with the code: the rectangle won't move.
[code]...
View 5 Replies
Sep 24, 2010
Currently, in the first gridview, is a list of groups a member has access to. The second gridview is bound to a table that contains a list of every type of group and has an Add button which adds it to the first gridview and updates a table adding that group to a member.
This is what I am trying to do:
When the Add button (in the second gridview) for a row is clicked, it will be added to the first one (like it currently does), but I would also like it to disappear from the second gridview. So basically, a group should only be visible in either the first gridview or the second, not both. The problem I have is I don't want to modify the table because obviously the table contains all possible groups.
View 2 Replies
Feb 17, 2009
I'm making a space invaders game and have simply used pictureboxes for all the aliens and the tank etc. This is really slow during gameplay so i'm hoping gdi+ will be faster. I've been researching how to do this for hours on end with no success. All I want to do is create a gdi object in the form of a bitmap or jpeg and for it to move across the screen smoothly at reasnoble speed.
[Code]...
View 6 Replies
Jun 9, 2011
Like the title says, I have about 10-15 rows in a local dataset. I need to take any one row,and make it the "default" (on a button click), meaning to take that row and stick it right at the top so it comes up first.I've been up and down the web for a few days looking at ideas, but I can't get around this one. Do I create a new row at the top, then have it copy the info over, then delete the old row, or is there a cleaner way of doing it? Does anyone have a code snippet they'd like to share
View 4 Replies
Jun 12, 2011
I want to move CH1.bat to C:Windows. I don't want to specify the path of CH1.bat, so I used this
System.IO.File.Move(Application.StartupPath & "CH1.bat", "C:WindowsCH1")
But ALWAYS get
"Unhandled exeption... blah, blah, blah
[Code]....
View 1 Replies
Oct 26, 2009
I had originally created an "Options" form that had all my different options checkboxes and settings. I am implementing a new layout for the UI and am wanting to move all the contents of the Options form to the main form without having to redo a bunch of code.
I know cutting and pasting will "break it", so I'm not sure how to do it with minimal effort. is this doable?
View 1 Replies
May 18, 2011
I want create an app with the object that can be move by user.
For example I have 1 WebBrowser1, I want to user can move the object any where in the window.
View 2 Replies
Aug 26, 2010
I have an unbound data grid and this code is not working to move one row to a new position. What am I doing wrong?
Dim Selected_Item = AccountList.CurrentRow.Index
Dim Item As New User_Information
Dim AccountItem As New DataGridViewRow
[code]....
It fails at the last line. Something about the new row information doesn't fit properly in the columns. One is an image, another boolean, and another string. I figured by copying the row to a new variable it would be exactly the same when I re-insert it.
View 6 Replies
Apr 27, 2009
Is there a way to just move the mouse up and down a little, like a little shake, every 5 minutes or so? I've tried to find ways to do this but I'm very confused. I'm fairly new at visual basic but I think I could understand it if someone gave me an example code with an explanation.
View 3 Replies
Apr 10, 2012
I'm just a programmer with visual basic 6 also c language.
My friend told me to move into visual basic.net is more easy than vb6 also the IDE is better, another friend is told to move in visual c++.net, the IDE is better than devcpp.
I don't know about vb net or vcpp net language, because I'm leaving a world of programming since two years ago but now I need it to use in my work.[code]...
View 9 Replies
Apr 3, 2011
I have 5 textboxes and a button which once clicked I would like it to check textbox1.text and if there is the value "11" in it then change it to 1.
Once clicked again if there is the value "11" in textbox2.text also change it to 1
Once clicked again check textbox3.text if it has "11" change it to 1
Once clicked again check textbox4.text if it has "11" change it to 1
so on so forth
View 1 Replies
Mar 3, 2010
I have the following code for population a list box. Can anyone tell me how to make the procedure populate the next row the next time the procedure is called.[code]...
View 1 Replies
Nov 16, 2008
I have a form with a number of text boxes on it How do i get the program to move focus to the next text box when a user hits the enter key.I used to use control arrays in VB6.I know that you can trap the keydown event and if it is 13 or Keys.enter then move focus to the next text box, but this means that I have to have a Keydown event trap for every textbox on the form.Isn't there an easier way?
View 10 Replies
Jun 17, 2010
I'm trying to upload a batch of employee file but i want that when i will be prompted with a warning saying that the file employee file has conflict, i will select CANCEL and the uploading will move to the next item. what would be the best code to use for this?
Example:
Employee1 - has conlict
Employee2 - No Conflict
When i cancel uploading employee1 it will proceed with employee2.
View 11 Replies
Oct 7, 2008
After my program enters a string in my multiline text box, how do I move to the next line??
I've looked around the forums but cannot find the answer??
The current Method I use is the textbox1.append, but I need to move to the next line rather than keep adding to the current line?
View 5 Replies
Jun 18, 2010
Aside from one small ASP.NET webpage (using VB.NET as the language), I've been programming with Visual Basic 6.0 exclusively for the majority of my programming career (5 yrs or so).
With free versions of Visual Studio out there (Express), I've decided it's time to up my game. I also read this thread recently, which kind of killed me a little inside.
Anyway, I have two needs moving forward. I have to write a couple of small programs that load text files to a database (easy enough), so I'm going to write my next program in VB.NET. The other project is migrating a fairly substantial scheduling program that I wrote over as well. It's about 4 years old and in need of a major update so I figured a rewrite in .NET is the best way to go.
The question is, if I want to make my scheduling program web-based, am I better to use ASP.NET or the Visual Studio.NET. I noticed that it looks like you can create web apps using VS?
View 1 Replies