[VB 2008] Only Convert A Specified Place?
Mar 19, 2010I have this
VB.Net
Function Convert(ByVal Input As String)
Dim value As String = text_inp
[Code]....
I have this
VB.Net
Function Convert(ByVal Input As String)
Dim value As String = text_inp
[Code]....
Anyway, someone has write this code for me: >>
Function Convert(ByVal text_inp As String)
Dim value As String = text_inp
Dim separator As String() = Split("/>")
[Code].....
Like I imagine everyone, I often have problems navigating my code because the flow can jump from place to place. For example, if my code calls routine1, and I then want to go to routine1's code, I know that I can click in the dropdown menu and it will take me to that sub. But wouldn't it be easier if I could somehow right click on the call to routine way and select something like 'take me there' which would transport me from the function making the call to the code for the function being called? Then it would be easy to hop from place to place.
View 1 Replieshow do you convert a decimal ( decimal place holder = dot) to a decimal (decimal place holder =comma)?
View 6 RepliesHow copy folder with its content from place to another place. example from C: to D:
View 15 RepliesMy form cant move i set none to formborderstyle and made my form transparent using
CODE:
So now i cant move my form from place to place.
I am learning Visual Basic 2010 and I am working on a space combat program for my own education and amusement (a simulation of the Honorverse space combat system). I have a routine to add ships to the enemy ship roster and then place them randomly on the viewscreen. When I step through the sub with the debugger, it works fine, but when I run it without stopping, it wants to place all the objects in the same place on the screen. It's actually assigning 2 random numbers pertaining to the size of the viewscreen and assigning those numbers to GameObjectScreenLocation through GameObjectWorldLocation.X and GameObjectWorldLocation.Y. The objects are fully initialized to 0 in their constructor, FYI. Code is below:
[Code]....
How can i place a IMAGE , lets say a BMP, on an existing PDF file.I need to place it at an exact position on the form, and size it.
View 6 RepliesHow can i copy or cut a file from one place to another?
View 3 RepliesIf i place my mouse at the top of my screen , anywhere on top, i want my program to show. how would i do this?
View 4 RepliesFileReaded = "C1 C9 C7 84 87 98 37 27 63 76 00 82"
How to Msgbox("Example Secondary Character Of The Line?")
Result = 1, but if possible it would be C9
I have a Listbox and a Datagridview.I want to place a selected item from the listbox into the currentcell of the datagrid.One problem i have is that the Datagrid loses focus when i click on the listbox, But it also does not place the value into the datagrid.[code]
View 10 RepliesI have a program which moves a label inside the panel in a four direction(up,down,right,left) when i click the relevant button.For this i have used the following code.Its working well. But the thing i want is the label should be placed in the center(0,0) of the panel when the form loads.
vb
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code].....
I've created a schedule panel,drawing some lines,and adding some labels,as in image(blue,red and green are labels added by code).Now I've put some code to show the number for each cells,for that I've used Paint event of the panel but this slow the paint event,and after some investigation I found that the paint event was raised for some 20 time on my first form shown.Is there a place to put this code to run only once ?
[code]...
Is there a way I can check the place of the character in a line or string? For example: I want them to guess 1214 So how would I make sure each character is in the right place?
View 2 RepliesI created a context menu so that when I right click on a file name in a list box, the context menu is displayed.
Private Sub ListBox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ListBox1.MouseDown
If e.Button = MouseButtons.Right Then
[Code]....
The problem instead of appearing just over list box, the context menu is appearing even outside my form!
How do I make it appear just besides my listbox?
I'm a new to visual basic and I need to create a boat animation in vb in visual studio 2008. The animation needs to be able to move from left to right, then stop in a specific place and then move from bottom to top. However before it moves it should bring up a labels. I have managed to move the boat from right to left using the timer and left and top assets but unable to stop it on a particular place on the form.
View 5 RepliesI have a web browser control in a form and id like to take the current web page address and place it in a text box is that possible ? Also it it possible to somehow bookmark web sites, sounds a bit vague i know. Am very new to VB and teaching
View 3 RepliesI'm trying to make a Form pop up at an random place (given in a textbox). Here is my code so far:
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Form2.Location = Textbox1.text
Form2.Visible = True End Sub
Yes i know it doesn't work. What I really need to know is how to make the txt understandable for the system.drawing.point.
I have an app that gets info from the internet into a label, the progam then decides which event will hapen depending on the info obtained, either load next form and continue or Application.Exit
My problem is that the speed that the info is returned from the net, varies and because the info is late sometimes the program exits when it should not.
1. Place a PDF file in the resources and open it in my program using 'AxAcroPDF1.src'
2. Place a txt file in the resources, open and change it.
with vb 2008 express is there any EOF & BOF properties if not is there any alternative for the same any sample line of code (2) what is the place holder for MySQL parameter with command object?
View 1 Repliesi need to togglie selection form a string in a rich text box and put careet one space forward.
View 1 Repliesi am using vb.net i just wanna ask if we can place a picture in a picture box in different places... for example, we place a picture in the center of a picture box then we place another picture on the left side of the picture box. is it possible?? and also can we use one picture box that can contain more pictures or images on it??? to make it clear, it is a drag and drop senario, first you have to drag a picture from a toolbar for example, then you are to drop it on the picutre box, the problem is, we have to drop more than one picture in the picturebox, so is it really possible?
View 2 RepliesI would like to place a form inside of a form, how would I do that?It would be like photoshop, where the tools form is inside the main form, or the filter form is inside the main form.
View 9 RepliesHow to convert this vb 6 codes to vb 2008 or 2010, this program is IO 18F2550, please find attached file.
View 1 Repliesconvert this from vb6 to the new vb 2008 Here is the call to the function I am having problem with:
[Code]...
I'm currently coding a game and i've put some sounds in it. I want to convert those mp3/wav files to a DLL file then i can merge it with the game How can i do this ?
View 1 Repliesis there an app for this or an Online site that does it ? i know you can do vb to c# but vb 06 to 08 ?
View 2 Repliesi downloaded a vb 6 chat client so me and my friends can talk but i want to edit it
View 2 Replies