Use Of The Left And Of The Right Side Of A Toolstrip?
Feb 13, 2012how can I use both the left and the right side of a toolstrip?I mean, f.e. on the left side are some buttons, on the right side two text fields.
View 4 Replieshow can I use both the left and the right side of a toolstrip?I mean, f.e. on the left side are some buttons, on the right side two text fields.
View 4 RepliesI'm new to programming and I'm trying to create a hex editor. I got some source from internet which I want to modify to my needs. But this hex editor is opening the hex files in text box. I want to open it like a grid(Like Excel). Also I want to add the line number on the left side and I want to remove the right stuff info.
View 1 RepliesHow do I mimic (in a windows application project) the toolbar on the left side of the MS Visual Basic 2010 IDE? I've tried all the container and menu options as provided on the IDE. I assume that it may be a combination of the IDE options and component properties, but have not been able to find the correct combination(s).
View 2 RepliesI was wondering if there was a simple explanation for the fact that most of the balls in the following code seem to end up on the left side of the screen....
Code:
'***********************************************************************
' Assembly : Balls
' Author : FOlphen
' Created : 01-28-2010
[code]....
I would like to display 2 forms side by side. Frm1 will call Frm2. The problem is, if Frm1 is too near the edge of the computer screen, when Fr2 is shown, part of it will be outside the screen. How do I make it so that if Frm1 is near the right-side of the screen then Frm2 will show on the left-side of Frm1 and vise-versa?
View 2 Repliesim trying to make the form Dockable in the desktop on the righ side. I mean i can do this i can stick the form on the side but all other application are not seen in the full window coz my appz is still on the top and others appz under it.Size of the form is 200x1024, it is like administration stripe.So i would like to make other Winows in the system ended on the edge of my application. Is it even possible in VB?There is other way i guess to use some of the scroll(collapsible,expader) windows to the side of the desktop would do it as well but i dont know how to ?
View 1 RepliesWhen Window form loads, we are displaying the date (in MM/dd/yyyy format) in the MaskedTextBox control. Currently it is displaying date in MM/dd/yyyy format and displaying cursor at the end of the text. Our requirement is to display the cursor at left position of the text in MaskedTextBox.
[Code]....
i was wondering if any one could help me on how to generate the left side of truth table showing all possible combinations in VB. and if possible how to display in Excel(2003)?
View 5 RepliesWell I've finally decided to upgrade some of my vb6 applications. Anyway I have two forms that are very similar one is customers one is vehicles. One of them is working on form load and one of them isn't. The one that isn't working I've traced the point it stops down to where there is a green line left of the code on the left bar of the development environment. This green line doesn't exist on the form that works. What the green line in this photo means? [URL].
Bigger Picture [URL]. I found a page that says the green simply means the code was saved but it's only on the form that stops working right after the execution of the sql statement. For some reason while stepping through the code it returns to the show command that was called to originally open the form right before the form opens but it skips everything with the green line next to it. I went and disabled tracking and it went away.
[URL]...visit this page. You can see a left side pane which is used for Navigation.What is the logic behind this ?Actually I need to implement a similar type of navigation. so which is the best way.
divide the page using Iframes and loads the tree in one frame and loads the page in second divide the page using div and bind the data in a repeater or grid to display data.I like to know about the performance- oriented or standard method to achieve the task. Also suggest me any other method for this task.
How can i make the Column to go to the left side of the list view box. My code
Me.ListView1.Columns.Add("File name")
So i want 2 Columns 1 to be on the right side and the other on the left
i use vs 2008. how do i make the tabs stay on the top right hand side and left hand side with horizontal lettering.
View 7 Replieshow can add icon to the left side of the item populated on a datagridview (just like in a listview)?
View 1 RepliesI just started using VS 2010. This product is supposed to be so much better than VS 2008 yet I'm noticing a couple of glaring things that are failures if you ask me.
1. When designing a Gridview, after having clicked on Edit Columns, in VS 2008 I could select the first field listed on the left side of the window, set a property--say headStyle-- and set the Horizontal Align to Left. Then if I clicked on the next field, that same property would still be selected on the right side of the window. In VS 2010, I have to go through finding the property and then expanding it and selecting it for each individual field. While it seems like a small thing, it's time consuming and kind of a pain. Is there some reason they couldn't have made it behave the same as in VS 2008?
[Code]...
Is there a way to override/modify/create the left-side shortcut buttons in the SaveFileDialog or OpenFileDialog controls? Defaults are "My Recent Documents", "Desktop", "My Documents", "My Computer", "My Network"... how would I change "My Recent Documents" to "My Super Cool Folder"?
View 1 RepliesMy text file is like this
G0 G90 G54
X200.876 Y-140.576
G0 Z 5.
[Code].....
I need to add N1,N2...Nn to the left hand site of the lines in my text file.
I really want to make use of the toolstrip and databinding but these two technologies keep conflicting with each other. I think the root cause is something to with the fact that the toolstrip buttons don't recieve focus in the normal way.
I invite you to try the following:-
1. Create a form and put some text boxes a tool strip with a save button on it.
2. Write a query or sproc to get a datatable back and bind your text boxes to the field in the datatable.
3. In the code behind your Save ToolStripButton put some code that makes an arbitrary change to a field on the dataset (it doesn't matter whther this field is bound to a text box or not). eg:-
m_DataTable.Rows(0).Item("CommissionRatePerc") = "0.0000"
4. Put a breakpoint in the save and run the form.
5. Make some changes in the text boxes. Do not leave the last text box but rather click save while a text box whose contents you have edited still has focus.
6. When your code hits the breakpoint, query the value of the data table field that is bound to the text box you were editing when you clicked save - it will still contain the unedited value. Unless you do something about it that unedited value is going to get saved back to your DB.
We did get around this problem by explicetely setting the focus to another control on the form before saving. That worked most of the time because it prompts the text box to flush it's value back to the datatable (nb EndEdit does not work, although you'd have expected it to). However, and this is the reason I suggested you add a line of code that changed a value in the underlying datatable in step 3, if you change a value in code in this way before the value from the text box get's flushed back then it doesn't seem to matter what you do, the user's current edit is simply lost. They will still show in the text box, though, leading your user to believe that the change has been committed when it hasn't. Our final solution is that we never ever change a value in the adtaset in the code behind our toolstrip buttons. That's working but it's a pretty big restriction.
Can I send an object from client-side javascript to server-side code via ASP.NET ?
View 5 RepliesI know this defeats the purpose of client side vs. server side (refer to title of this thread). What I would love to do is build my own custom progress indicator on the client showing how far a server side code has progressed. I figure if I could only get a JavaScript to fire and render a value of some control at pre-defined intervals while the server is working I could make it happen - but alas I'm beginning to believe that this is impossible. Below is some code that performs three 2 sec loops. At the end of each I want to change the visible value of a control on the browser. [Code]
View 8 RepliesI have a basic asp.net web page. I have a menu bar divided into 3 columns. Each column displays an xml file. However instead of showing them side by side it displays them one on top of each other. i think it might be to do with my css?
My asp.net web code:
<div class="menubar">
<div class="menuleft">
[code]....
Using the following script:
$("#some_button").click(function() {
var changed = [];
[CODE]...
I need to send back the id, the old value from _1 and the new value from _0 back to the server. What is the best way to format this data so I can easily extract the data from the server side so I can easily email someone for example to let them know which textboxes have changed, what the old values were, and what the new values are
At the serverside level, I am using .NET-3.5 (VB). I know how to send the data bacl. and how to email the data, I just wanted to know how to best format the data at clientside before sending it back. I could have upto 50 sets of id, old, and new values to send back. Sorry for not making that clear earlier.
Example:
How can I modify the script above to generate this?
[
{
"id": "name_0",
"new": "text",
[CODE]...
I'm working on a 2d game. making a button that can move in a path random up,down, side -side, etc. in a selected space. and once hits end of the form to slide out and reappear at other side of the selected space and do same thing over.
View 1 RepliesHere are my two grids -- they are ExtJs grids however we wrap the declarations in vb.net code:
Dim VehicleOptionsGrid As New Framework.WebControls.Grids.Grid
With VehicleOptionsGrid
.ID = "VehicleOptionsGrid"
.Title = "Vehicle Options"
[code]....
Using javascript, is there anyway I can add a bottom scroll bar to these grids? Doesn't seem like we have a wrapped command to do it...
I currently have a parent Listview and its child Listview displaying in the centre column of an HTML page that consists of three columns left, centre and right. And all looks very good. However I would like to display the child list view in the right column beside the parent list view.
To do this it seems I must somehow generate from the code behind page a new row in the table every time the parent Listview displays a record of its data and then some column HTML so the first child list view will appear in the right hand column.
I'm trying to, from a client-side piece, call off to a server-side piece. I need to do this synchronously. On my server-side code, though, I'm calling off to another piece of code, which I want to have a maximum of, say, 10 seconds to return a value. If I don't have a response within 10 seconds, I want to force my own server piece to set my result equal to 0, and return to the client.
Here's what I have on my server-side code so far:
Public Function GetWebResult(ByVal inputParameter As Object) As WebReturnObject Implements IWebInterface.GetWebResult
Dim result As New WebReturnObject
Dim webItem As WebItem = Nothing
[CODE]...
I realize this code is not functional. The problem is that I'm unsure how I would go about getting back into GetWebResult to set the appropriate return values before it is sent back to the client.
I am struckup with a problem from last two days. I am creating a web application using VB.NET, Ajax & RAD Controls. When user clicks on a button I want to open a RAD Window and show the list of ledgers available to the user, so that he can select one from the list. And to open that window I have to call a java script function from client side, which is already achieved using the below code.
[Code]...
I add an option to a select with jQuery. When I save with an asp button, I don't see the changes on the server side in the click event.
And the HTML is all correct after I add the option.
Is it a coding problem or I don't understand something?
$(selectCourant)
.append($("<option></option>")
.attr("value",$(dropdown).val())
.text($(dropdown + " option:selected").text()));
I have an application which have multiple tab pages. On of these pages I have a group box with many controls that do something.Now the problem is I want to add exactly the same group box by the current one that can have different paparemeters.This is exactly the way that i want to add comparison capability between to set of parameters.I have more than 500 lines of code that responde to changes of these parameters and does something.Is there any way to replicate the the whole gropbox and use the same code for both and and being able to difrentiate between gropboxes.I think there was an array control in vb 6 but I am not sure if this the best way to do this in vb.net.What is the best way to do this for the least amount of changing the code and wasting time.
View 1 RepliesI have form 1 and form 2 form 1 is already loaded. When i load form 2 i want it to apprear right next to form 1 on the right hand side. What code should i use to accomplish this.
View 3 RepliesBasicly I have a program that retrieves data and parses it, which is fine, so it starts from:11:981.8 which equals to November 981.8 now what I have done is split the "November" and the "981.8" into 2 different arrays, with other similar data, now what I need to be able to do, is sort the array in either Ascending or Descending order, however keeping in tact, the November and 981.8 side by side in a list box.
My current code is:
Private Sub sortData(ByVal strYear As String, ByVal strSort As String)
lbDispData.Items.Clear()
Dim strData As String = My.Settings.usage2011
Dim arrRawData() As String
[Code]...
EDIT: Just to mention, there are many more values, not just November and 981.8, there would be for example December and 128.1, January and 191.1, etc.