This is probably a really dumb question but i'll ask anyway.
I was wondering if there was any reason as to why a form wouldn't display its code when i click "view code" from the right click context menu in vb6?
It was working awhile ago so i'm kind of stumped.
Thanks
If forms are still not visible, try Window -> Cascade - This was the way I goit my forms visible again.
Maybe it is being displayed under something else. Check under the Window menu. Do you see it there?
Does the form display if you right click and select 'View Object'? If so, try double clicking on the form - that should display the source. You might also check the permissions to the file.
This is an old question, but since it's the first link retuned by a Google search, answering here may help many people.
Like someone else said, Window/Cascade does the trick, but with time it becomes annoying.
I have the same problem on my laptop with an external display. Closing the laptop cover (thus going back to only one display) fixes the issue.
An alternate way is to display the VB6 IDE on the main display (your main display is the one with icons on the bottom right corner). You can set your main display under System Preferences/Displays. There's a checkbox called "make this one the main display", it does not need to be your monitor #1.
Problem does not seem to occur if you have 2 displays side-by-side. Also, the fact that my laptop's resolution is not the same as the external display's resolution may cause the issue.
After taking these steps, you may have to restart the VB6 IDE to fix the issue.
Related
I'm not really sure how to best word this, but let's say I'm on a web page and when I click a certain button, something undesirable happens. Like a whole bunch of content disappears. Is there a way in the Firefox debugging tools where I can insert a watch on that button so when I click it, the debugger will pause the JS execution and show me exactly where in the code it's executing the stuff I don't want?
(note: obviously this is code I did not write, otherwise I'd know where to look to fix the problem)
Yes, in the debugger there is an events pane, and you can break when a specific event is triggered. The documentation is here:
https://developer.mozilla.org/en-US/docs/Tools/Debugger#events-pane
Firefox has a good built-in profiler - you can click the start profile, and click it again to end, and see what parts of the code are running the most.
This is really helpful in finding performance problems too.
Edit: I see "Silverlight -" is in front of my question, which I realize may have something to do with the alphabetical order of my tabs... really Visual Studio 2013 should be in front, anyone know if that can be changed?
I've been using the newer Visual Studio 2013 for about a week now, and I've found some quirks with it. The one that seems to happen the most is when I'm in the XAML editor working on something, suddenly if I go over to the property window I can't enter anything. I'm not running/debugging. I can type stuff in the regular XAML code editor window.
Even stranger, one of the times, I could get the cursors to appear in the fields. I typed a bunch of junk and just one character from what I types appeared. Another time I couldn't enter values into the properties, but I could double click on an event in the events window and create a new event handler. Just a minute ago I had the opposite, where I couldn't double click in the events window.
I think VS 2013 introduced async handling of more things, could it be related to that? Or perhaps because I'm using Silverlight? Right now my only workaround is to restart VS, does anyone have any knowledge about this? Anyone else experienced this?
I'm going to submit a bug report, but it would be a while before there's a patch, so I'm wondering if maybe someone understand the problem better and has a workaround? Or maybe just confirm that this exists and that I'm not crazy/my computer's haunted.
Edit:
I should mention another weird thing that happened two nights ago. I thought it was some how my doing, but I never figured out how I could have managed it without noticing. I was working on a piece of code, went to run after changing a few lines, and suddenly I had a ton of compiler errors. I go over to a user control I haven't touched in hours and suddenly the main LayoutRoot grid is completely empty. Luckily I'd committed to source control, but still...
I found an easy way to deal with this problem. It happens a lot after debugging so what I did was I created a batch file on my desktop containing this line taskkill /f /im XDesProc.exe and I run it every time the properties start misbehaving. Its the quickest way to reload the designer's functionality. I submitted this bug to microsoft they claim it will be included in the next update.
Me and another guy are developing a silverlight app and having the same exact problem. I accidentally found where the bug lies and how to mess with it to allow you to type "very briefly". Apparently this has something to do with tooltips. If you hover over anything in the property window when this bug is happening and allow a tooltip to popup while your cursor is blinking in a field, for the duration that the tooltip is up you can resume typing normal. As soon as the tooltip times out and disappears you can't type. So the only way you can edit or search properties is while a mouse tooltip is floating active. Very unusual. Can't seem to find any kind of tooltip settings in the program and the situation is very hard to find on google because search results assume your talking about programming tooltips. As far as I know we have had this issue since before release candidate. We are currently on official update 1 with the same problem persisting.
I'm using the VB6 development environment, and when I started it up this morning, the project displayed as usual, but the immediate box also appeared (even though the program was not running).
However, the box down the left-hand edge where one selects the controls to add to a form has also disappeared. Does anyone know what that box is officially called, so I can find it in the help text, or point me to the place to get it back again?
Edit: I restarted the VB6 environment again and now the properties panel at lower right has vanished.
As Alex K said, View, Toolbox for the control window, Properties/F4 for the properties window, etc.
If they keep disappearing randomly, it could indicate a corrupt value or even worse, general memory/disk corruption.
The values themselves are stored as a large BLOB under HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0\ in the UI and possibly the DockSDI values. You could try deleting these and see if it happens again.
There should also be an icon in your toolbar for displaying the toolbox.
When in Xcode editing code for my objective C files, I often press Command-F to bring up the little Find-In-Document banner across the top. Sometimes this gets stuck in case-sensitive search, and when it does that it also won't loop through the entire document and sometimes won't even display the selected found string.
I can't find any options to turn off the case sensitivity, and I never intentionally turned it on. I've restarted xcode several times hoping that would be it but it's changed nothing.
Slightly off-topic, but this was the best place I could think of to ask this question. Thanks for any response!
EDIT: I've also tried restarting the computer. Still no dice. Also this happens on any project I open in xcode and is not specific to one project.
Anna's comment is the correct answer: When you press Cmd-F, clicking on the little magnifying glass next to the search input brings up a menu where you can check/uncheck Ignore Case.
You can set parameters for search by clicking on magnifier placed in left-side of search-bar.
There is provision to select/de-select "Match Case" i.e. case-sensitive search on pop-up shown.
Below is screenshot for the same.
Does anyone know how to prevent task panes from expanding unless you click on them? Sometimes I hover over one, and it takes a bit to load breaking my concentration.
Thanks!
EDIT: Now that I've had a few days to reflect on my question, I realize the answer is to close it. Let me provide an example. When you are in Word, and you want to look up a synonym to a word, you open the a thesaurus to find an alternate word. You press ALT+F7 and it bring it up. The thesaurus opens in a Task Pane, and when you are done, you click the X to close it. You don't unpin it and have it sit on the side and get annoyed when you hover over it and it pops into view, covering your content and getting in the way. With that being said, the same mental model applies to visual studio. Don't have windows or panes open which you don't need. Open them when you want to preform a task, "close" the task pane, don't hide it.
Cheers!
P.S. This doesn't mean I feel it isn't bad design to pop open windows when you hover over them (I'm sure someone will debate me on this). I still would like an option to choose when to open collapsed windows.
I keep it closed. I open it only when needed. I do the same for tools and servers.
Try to memorize their shortcuts, and keep'em closed.
Use the little "Pin" icon (right between the triangle and "X" icon of the pane) to fix it, then resize or close it.