Menu Order Cache(Reset)?
Oct 23, 2009I want to ask how i can reset start menu, no items will be removed, although any custom ordering will be lost?
View 1 RepliesI want to ask how i can reset start menu, no items will be removed, although any custom ordering will be lost?
View 1 RepliesWhen I view the Tab Order in VB 2008, everthing has a tab order number and it is in decimal form. If I click on each item, it appears that I can set the Tab Index but it is hard to see a correlation between the Tab Index and the Tab Order on the form. Most of the items on the form are not going to be tabbed to by the user.
1. Is there a way to clear the tab order and only tab to the items that the user would use and in the order that they would do it?
2. What number should the tab order start with and do you start over with the numbering on each form?
I have the following code in my config.vb file in app folder and almost all of my pages use this code for permormance issues i need to have it cached for exp use cache.insert to cache each property How should i use caching?
BR>Public Class Config
Private _physicalPath As String
Public Property physicalPath() As String
[CODE]..........................
I created shortcuts for some of my exe's in the program menu. For example, I might create shortcuts for a.exe, v.exe, and g.exe. By default, it aligns as a, g, v (in alphabetical order). I want to place my shortcuts in a different order, such as (v, a, g).
In short, I want to be able to change the order for the shortcuts it creates to something other than alphabetical order.
I am using wshshellobject in vb. I created a dll; through that I created my shortcuts
I got on my form textboxes, checboxes but also a groupbox which holds texboxes.
The idea is to be able to clear and reset all of these by clicking a reset button.
At the moment i got this
Private Sub ClearFields()
Dim ctrl As Control
[Code].....
But ofc Me.controls isn't gonna get involved with the stuff in the groupbox.
Ok, so I am building my own program to control a video player I have through telnet, I have everything else working except one thing.I have a reset button to reset the player, when I press it, it sends the string "Reset" and the unit resets without a problem.But when I add a code to close the winsock connection upon reset, it doesn't send the string to the unit. I am sure what is happening is the winsock is getting closed at the exact same time it is trying to send the string and so it fails to send, how do I make it close winsock AFTER the string has been sent? [code]
View 1 RepliesI have a combo box bound to a datasource. I need to change one combo box (of many) to order the items in descending order.I'm guessing I could order the collection in the dataset, but that will mean all my combo boxes will be reordered?
View 2 RepliesI have a databound Datagridview. The DGV is bound to a datatable of a strongly typed DataSet created using the wizard. Is there any way to re order the columns before displaying them eg: the Columns are displayed in the DGV in this other Col4, Col6, Col3, Col1,Col5, Col2
But I want to it to show as Col1, Col2, col3, Col4, Col5, Col6?
I realise that the display order followed the Column order in the database table and by extension, the datatable. I have re-arranged the columns in the Database but the Datatable still retains the old order.
This might not be so 'VB' as it is 'SQL using VB' I have an application with a built in MS Access DB. I have a table that has a column full of integers, I shoot the DB a SQL "order by 'column name' " string and it returns the table ordered by my column of integers.BUT it returns them like this, and I want them like this
0 6
1 5
2 4
[code]....
How do I get the OrderBY to do a descending list starting with the highest number?
I'm working on the exercise page 73 (VB 2010 in 24 hours). It's basically a form with 2 text boxes, 2 text labels and a command button. It's really simple and uses this loop to cycle through the items, and tell me the name of them in a Messagebox
[Code]...
I have to order a table following a logical order but I cannot find the appropriate ORDER BY clause.To simplify I have 2 fields field1 and field2
1 record : field1 contains �2� and field2 contains �1�
2 record : field1 contains �1� and field2 contains �2�
3 record : field1 contains �2� and field2 contains �2�
[code].....
I have an application that allows users to bid on items that are put up in an online silent auction type of deal. Currently, When a user clicks submitBidButton, the application stores the bid in the database, and then updates the price. Sounds simple? It was.. until it got popular. If there is a bidding war on the page, my application, and SQL database start crying.. literally.
About consuming the data with jquery/JSON.. and WebMethod. It works like a champ. BUT. How can I take advantage of Caching to increase the performance of my application? SQL Caching? Asp.NET Caching?
Each member places a bid, and I want to add a ajax timer that calls back to the server every .5 seconds to see if a user has placed another bid. The app was built in vb.net.
I have 2 dll files from a third party, and they have the same name (v7 and v8). My program needs to be able to use both of these dll's (meaning wether the enduser has a lisence for v7 or v8 of the thirdparty dll, they can still use the program). But I am stopped from referencing both of them as they have the same name. How do I resolve this? Searched the web and found info about sn.exe and strong names, but can't find a good explanation of how this works. Anyone?
View 5 RepliesI'm working on a program but i'm having a small problem. I need to search the IE cache for multiple URL's that contain a specific string. [code]....
View 2 RepliesAnyone know how to read the ARP cache in VB or .net?jj
View 7 Repliese.g.
Abcdefg.vbproj.GenerateResource.Cache
I have a function GetAllProducts() which fetches all products from a database and stores it in the cache for future requests. This works fine, but if I then call the function e.g. ProductSearchResults = GetAllProducts(), and then modify ProductSearchResults variable, this also modifies the cache, which is very important this never happens, as the cache affects the whole website.
I understand this is because both ProductSearchResults and the cache now have the same reference, but how do I solve the problem? Is there something that I can put in GetAllProducts() to ensure the cache always uses its own value?
CODE:
If you build and deploy UserControls, Components etc do you give them strong names and put them in the GAC or do you simply place them in the same folder as the executable?I've made a component that will be given to other developers and they will, in turn, deploy it with their own applications. If I give my component a strong name and install it into the developer's GAC then I assume that the developer using my component will also need to place it in 'his' customer's CAG when he deploys his own application containing my component.
View 2 RepliesI am working on a web based project using .net 2.0. I dont want my pages to be stored in cache or internet history.
View 2 RepliesTwo separate but related questions about deploying a Visual Basic 2008 .net application:1. Click One installs in a cache under local data. The EXE launches from the cache even if not on-line. I don't want my users to have a runnable EXE left over in their cache after exiting the program. Is there a way to delete or disable the cache contents on close of app or equivalent?
2. My EXE uses an interop DLL. I want my EXE to be a single stand-alone file so that I don't have to copy both the EXE and the DLL to the user. Is there a compile setting to incorporate everything, includng the DLL, into the EXE.First question relates to Click Once Web deployment. Second question refers ONLY to ordinary COMPILE, not click-once.
I am currently developing a advanced web browser in Visual Studio 2008. I was reading information about a browser i currently use, it said that the browser goes faster thanks to a "advanced cache algorithm". I was wondering if it was possible to implement this into my web browser, and if so how would i do so? I am using Visual Studio 2008 writing in .Net.
View 3 RepliesHow can I clear my cache using VB.Net? I'm making a web browser, and this function would be nice. I've tried this to no avail:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Attached is the image from an Office application, how can we emulate such?
View 6 RepliesI'm trying to get my context menu appear in my tasktray, while the tray appears the menu doesnt when i right click. Here is all my code associated with my task tray:
[Code]...
How do I make a menu item on a menu strip link to another windows form (like a menu item that links to an about page already created in the project). I know that every coder knows how to do this, but i've read most of the instructions in the world for Visual Basic coding, but can't find ANYTHING I know coding fairly well, so I can modify it, but I can't create it my self.
View 4 RepliesI have combed these forums and the 'net and can't find an answer to my specific problem. My menu strip disappeared (after deleting a small secondary form within my project). I therefore created a new strip and while recreating the menu items realized that the original menu items are still present, showing in my properties list. I have checked my design file as well and the original menu strip is definitely gone but the original menu items are there. I don't have many items so I would have no problem just deleting the original ones but I can't see them to delete them! I have checked and they are all set to visible. I have also moved everything on my form to see if it is behind anything else.
View 4 RepliesThis is going to be hard to explain but oh well.I have a form with a menu. When I hit option one, it opens another form (form2) inside that same form (mdiparent). When I hit X on form2, then try to open it again from the original form with a menu thru the menu, It says it cant access a disposed object. Here is the code: Form1:
[Code]...
I have a list of all the fonts on a users system under a Font menu item. I would like to be able to use the scroll wheel to be able to scroll through these items like you can with a combo box.
[Code]...
Suppose I have ToolStripMenuItem mnuOrderOptions that contains the three drop down items. I want to copy all the items are their respective event handlers to Contextmenu on button click & then bound that context menu with the form.
Private Sub AToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AToolStripMenuItem.Click
MsgBox("A")
End Sub[code]....
how to clone the menu items and then bound it to form context menu.
I open a context menu by right clicking it.
It stays open when the cursor leaves it.
I click a main menu item.
The drop down opens at the top left of the screen.
Not under the main menu item I clicked.
I want to search the Internet but can't guess what key words to use.