Immediate Window Removed From Menu?
Mar 24, 2009
I was having trouble debugging an app because I couldn't invoke the Immediate window. I finally ran across a keyboard shortcut to invoke it (Ctl+Alt+I) so my 'immediate' problem is solved, but now I'm trying to figure out why the Immediate window option doesn't appear on my Debug menu like it does on my co-workers? (The menu-designated shortcut, Ctl+G also doesn't work for me.)If necessary I suppose I can customize my menu to add it back in.
View 3 Replies
ADVERTISEMENT
Jul 11, 2012
I dragged and dropped a label from the toolbox onto a form (Label6) and stupidly went to the properties window and set "Text" to blank. Label6 shows when the program is run using F5 but does not show on the design surface if I want to move or remove it. How do I get it back onto the design surface or remove it completely?
View 2 Replies
Sep 15, 2011
We are developing an application that looks like this: Mainwindow - PaneGroup - Pane
What we want to do is add a handler (AddHandler Pane, AddressOf MethodName) on the mainwindow and throw the event in the Pane. When we want something to change on a collection in the mainwindow, we throw that event in the Pane.
My question is if the pane is removed from the panegroup (doesn't exist anymore), does that handler still live on the mainwindow?
View 1 Replies
May 15, 2010
VB express 2008 .net 3.5 or .net 4.0 VB express 2010?I have written application to convert RTF to HTML. The main Purpose of the application is to copy VS code to the clipboard and covert it then put it back into the clipboard as a HTML Document so that it can be pasted into a HTML document such as Windows Live Mail. I found that code copied and pasted is spaced out in in the wrong positions.
The applications works perfect with no bugs so far. I then asked Myself how to go about doing the copy with the least amount of operator interaction. So I added an Icon to the Icon Tray with a right click menu to use to convert once the Rich Text Format was copied to the clipboard. This works fine except you have Five steps, Select the text, Copy to clipboard, Right Click the icon, Select the Converter and Paste. The normal is three steps.
To this the best solution is to add a context menu item to the active form such as the RTF editor or window. So that when you select the Rich Text to copy and right click on the form to bring up that menu then to Just Select the menu Item such as "Copy RT and Convert" I searched and found about 544000 Items and tried to restrict down to no avail. I read until I finally gave up. I did not find any code examples of this. Almost every thing I found related to the web or some other explicit document like Excel and not to the Various windows that could be active with RT in it.
how do you add a context menu item to the context menu of an active rich text format window such as WordPad or VB?I have test in my application that tests to see if it is a RTF in the clipboard so if it is not the converter does nothing.
Imports System.Threading
Imports System.IO
Imports System
[code]....
View 8 Replies
Aug 24, 2009
I'm trying to figure out a way to prevent F10 from activating the window menu (same function as pressing 'alt') and fire keydown/previewkeydown instead. I know there are ways to do it using window.forms, but I'm using WPF on VB.net and I can't seem to find a method that would apply.
View 1 Replies
Apr 27, 2011
I'm trying to figure out a way to prevent F10 from activating the window menu (same function as pressing 'alt') and fire keydown/previewkeydown instead. I know there are ways to do it using window.forms, but I'm using WPF on VB.net and I can't seem to find a metho
View 13 Replies
Dec 1, 2010
I have an MDI child window that the title text can be changed, depending on some user interaction. How can I update the 'Window' menu in the MDI parent to reflect the updated window title?
View 3 Replies
Aug 19, 2009
I want to know how to change the form to well another screen. Example:In the popular mcdonalds flash game you can scroll through varius screens such as the restaurant, the farm, etc. You can still play the game though and it's not just a picture. Another example would be a pause/menu screen where you could interact with it. Could I use more than one form but when they play the game they can only see the first one? Then when a certain event happens it changes to the other form or something?
View 1 Replies
Dec 24, 2009
Menu Bar startup text window code?
View 8 Replies
Dec 26, 2009
I am making a webbrowser and I want to make it that when I click on 'NewWindowToolStripMenuItem_Click' it opens a new window.
View 3 Replies
Apr 15, 2010
I an trying to create a GUI and I have added a menu strip, under the tools section of the menu strip, I have added a settings option. I want to click settings and have it open another windows form linked to the main windows form with the menustrip in order to set certain parameters. How do I link these two boxes using the settings menu strip?
View 1 Replies
Oct 16, 2009
I am using a dataset class, associated binding source, and a table adapter. There is no binding navigator. Inserts and updates work well. However, though deletions look like they are working as they should, when the form is closed the user is prompted with a message do you wish to save data. Upon doing so the error "this row has been removed from a table and does not have any data. beginedit" is displayed.To delete the record I am simply running the following
code:UserRolesBindingSource.EndEdit()UserRolesBindingSource.RemoveCurrent()The form save routine is simply:Try UserRoleBindingSource.EndEdit taUserRoles1.Update(me.dsARMData.UserRoles)Catch ex as Exception MessageBox.Show(ex.message.tostring)End CatchWhen I did have a bindingNavigator on the form, there were no issues with deleting records and doing subsequent saves.. I understand the binding navigator also calls the RemoveCurrent of the binding source, but what else is it doing to not have the error message display that I don't have?
View 9 Replies
Feb 22, 2012
Here is the code I have amended after getting the answer from previous thread (Spinning Numbers)
I'm not sure if I am removing the random number from the list or not as the number shown in the Label(currentnumber) does not match the one showing in Label1, which is the one I'm using to check which number has been removed.
Private Sub Tmr_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Tmr.Tick
'Show spinning numbers for decoration
[Code].....
View 10 Replies
Nov 1, 2011
I have a javascript function that moves items between 2 select multiple box, when I move item from the source select box to the destination select box, I add the value to my HiddenField so that I can access in code behind, works fine but when I move item(s) from the destination select box back to the source select box, I try to use : hidMemType.value = ""; to clear the hiddenfield. I thought this works but apparently in the event of a postback, the item still gets stuck in the destination box.
// Move items to and fro select box
function move(sourceFrom, sourceTo) {
var hidOutlet = document.getElementById('<%=hdnOutlet.ClientID%>');
[Code]....
View 3 Replies
Mar 11, 2012
I have a lot of buttons on a form (144) that need to be removed. All their names begin with "R". So I used this piece of code.
Sub RemoveBookingButtons()
Dim cntrl As Control
[CODE]........................
However whenever I run this sub function, it deletes every other button starting with "R". better code or point out if the flaw is in that piece of code or it is hidden somewhere else in my program?
View 3 Replies
Apr 23, 2010
I have been writing a security class in my application, I am able to encrypt the string correctly and without error. However every time when I try to decrypt this string again, i get an error with this as it returns the following Padding is invalid and cannot be removed.
Here is the code:
Public Function DecryptKey(ByVal plainText As SecureString, ByVal key() As Byte, ByVal iv() As Byte) As SecureString
Try
[CODE]...
And it provides a stack trace with:
at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
[CODE]...
I have found simular issues on web, and most of them say that the IV is not the same the encrypted version, but I can confirm that the IV is the same as they both access the exact same variable.
View 1 Replies
Jul 13, 2011
decryption error : Padding is invalid and cannot be removed.
View 1 Replies
Mar 13, 2010
I made an app in vb.net express edition after publishing there are many files in published folder, my question is if a user removes any of files in the published folder or replaces it with other files and runs the app the app must show an error is it possible?
View 16 Replies
Jun 19, 2012
I'm using a TabStrip control in my VB6 app (mscomctl.ocx).(Annotation: to use the TabStrip control add the component: Microsoft Windows Common Controls 6.0(SP6) )When hightlighting e.g. the 2nd tab ...
TabStrip1.Tabs(2).HighLighted = True
and removing the tab's caption
TabStrip1.Tabs(2).Caption= ""
.. tab2 loses its hightlight !!
To prevent tab losing focus I fixed it with the following code:
For Each e In TabStrip1.Tabs
If e.HighLighted = True Then
e.HighLighted = True
End If
Next
Is it a known bug? Here is my vb6 sample project showing how the tab loses the highlight if the tab's caption is removed.
View 6 Replies
Feb 2, 2010
I am writing a program using databases and half way though I decided a column I had was irrelevent and removed it from my database. I have gone into my code on my forms and removed all references and removed it from the data table but I am still getting an ArgumentException in an undefined location. Am I missing somehwere that I need to remove this that was automaticaly generated or something?
View 13 Replies
Mar 19, 2012
I am using RijndaelManaged to encrypt just 4 bytes of data which produces a 16 byte result (i am using a 128 block size). When I try to decrypt these 16 bytes I get the message "Padding is invalid and cannot be removed.". (The base stream of the CryptoStream is a MemoryStream based on just these 16 bytes).
View 1 Replies
Aug 22, 2011
I'm developing some code to detect new files in a directory and signal it in a new thread through the Created event of FileSystemWatcher. While testing this I noticed that after I removed the eventhandler from the event the thread that was being used was not closed. Why is that? Am I doing something wrong when I'm removing the eventhandler? [code]So first I start off clicking Button 2 to start the event handler. I copy a xml file to the Temp folder and the event will trigger and set the name of the thread. After that I will click Button 1 to remove the event handler. If I then pause the execution the Thread "UpdateSomething" will still be there.
View 1 Replies
Mar 5, 2010
I have an application that's using NotifyIcon control. Everything is fine except when I exit the application by the Task Manager, the icon is still in the "system tray" area. I want it to disappear once I exit the application by the Task Manager. [code]...
View 4 Replies
Jun 16, 2012
I created a textbox control on a form and I gave some integer value to it from runtime but after sometime i removed it from design and code also.. But when I run program its still showing with that integer value. So what should I do. How should I remove that control?
View 2 Replies
Mar 22, 2009
I have a list view with 2 columns (Prodduct and Price). I want the user to be able to add there own values to the listview and have them save so that they will always stay there.I would also like users to be able to delete specific items from the saved list.
The values added to the colums are paired, and must stay together, as one value would be a product and the other a price, So they must, stay together. as a pair
View 6 Replies
Sep 17, 2010
I've removed a few controls from my form, but they're still in the properties. I've looked in the Document Outline, but nothing. How can I remove them (save)?
View 6 Replies
Apr 26, 2008
For the past 3 weeks now, we are encountering a sudden loss of table in our database, but with that. our .mdf file is still on its same size before this disaster comes along and again..anyone had encountered or know how to solve this problem.
View 3 Replies
Sep 29, 2009
I'm creating a small game which when the user clicking a menustrip item "New game" adds event handlers to each label in a panel control.
For Each scoreLabel As Label In Me.panelScore.Controls
If Not (scoreLabel.Name = "lblLeftBonus" Or scoreLabel.Name = "lblLeftTotal" _
Or scoreLabel.Name = "lblRightBonus" Or scoreLabel.Name = "lblRightTotal") Then
[code].....
View 3 Replies
Mar 25, 2011
I need to be able to strip the following prefixes from product codes as you see I have included a simple query while yes the below shows me the cm im not wanting i cant use replace as it code replace any instance of cm the prefixes are held in the supplire table cross refer with the products table
prefixes are not always two chrachters for example can be TOW
SELECT * , left(prod.productcode, LEN(sup.prefix)) AS MyTrimmedColumn
FROM MSLStore1_Products prod ,supplier sup
WHERE prod.suppid = 9039 AND prod.SgpID = 171
[Code].....
View 3 Replies
May 20, 2011
in what situation will an item in System.Collections.Generic.List not be removed successfully?url...The way they phrase it makes me think that it is possible that a Remove operation on an item found in the List(Of T) could actually fail.
View 4 Replies