I went to debug my program as usual using F5 within VS 2010 and suddenly the contents of my menubar had all gone - the text and icons!
how to get this back? Obviously this is mega frustrating for me as it has taken ages to build. Stupidly, I only backed up the code and not the actual files.
EDIT: The icon files in question are in my resources folder and they are still there - just not appearing in the menu!
I have an application that has a .sql file in it. The sql file is set to Embedded Resource. When I run the following code, I get an empty string array indicating there are no embedded resources.However this project has been working fine previously.[code]
For no reason I can discern my Visual Studio 2008 app (MyApp), which had many forms and reports, suddenly contains only one form, a simple test form I was experimenting with. I am unaware of any problem with the app. I use it to maintain an Access database which is still functional and is in the same place on the disk as it always did. This app and its data are all contained on my laptop computer. The form files all remain where they always did. I used to be able to control my earlier VB6 version of this application if it went off the rails, but I'm in the dark with VS2008.
I recently had to format my PC, So I moved my project files and build files to my External Hard Drive, and continued to work on my project..I started to receive emails saying that the application is saying "Cannot download the application. The application is missing required files. Contact application vendor for assistance." After clicked view details, I found this:+ Downloading file:///C:/Users/myuser/Downloads/Browser.application did not succeed.I was confused, the .application file is not in Downloads, its supposed to download it from my website. And if I were to open my project on a computer with it already installed, it won't check for updates - it opens really quick without the "Viewing Application Requirments" window.
I recently had to format my PC, So I moved my project files and build files to my External Hard Drive, and continued to work on my project..I started to receive emails saying that the application is saying "Cannot download the application. The application is missing required files. Contact application vendor for assistanc
i have this application, that creates various custom AppDomains, each app domain executes a assembly and its dependencies, like a plugin, a separated assembly, that manipulates database, own resources, etc.
the application runs fine for a while, but suddenly, it locks up... the process does NOT die, it just freezes, i ran a remote debugger on top of it, on the thread window i can see EVERY thread, they are with the status "running" (not "thaw") but, in the same place, not executing. i can pause and run the debug, and it remains in the same place. there are NO locks, synlocks, monitors, on the code and the code for loading the appdomains is very simple, no big deal on it. like i said, its working, but after a while, it locks up. Any ideas on this environment?
I've been cloning my objects using serialization for awhile, and typically its been quick, at least for my purposes. After a series of updates to these objects, however, now the serialization process is much slower. Trial-and-error has so far failed to pinpoint the cause. Some of the added elements to my object are:
1.binding lists
2. an inherited dictionary class
3. more internal references (the object is actually group of nested objects, and these internal objects have more references to each other than before)
I have been careful to avoid/eliminate references to external elements when cloning, as that can lead to a cascade of extra cloning. So I think the problem is with the object structure itself. This is my serialization routine:
Friend Function CloneObj(ByVal obj As Object) As Object If Not obj.GetType.IsSerializable Then Throw New Exception("Object not serializable") Dim bf As New System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
i tried updating my application on a vista home basic laptop. i get "myapp.exe has stopped working" then i restore back to the old version, it still give the same error. I am sure the old version is working because I tested it before updating it.
So, I made an app on visual basic 2008, all cool and stuff, but now I'm experiencing a major problem. When I run my program it just works fine, but after some time (when I don't use the app) it suddenly changes from 42,5 KB to around 100 - 130 KB, and when I try to run it I get this error;The application failed to initialize properly 0xc000007B Click on ok to terminate the application.
So if I extract it again (zipped it), it works again and after some time I get the error again, so the file in the ''zip'' doesn't change.I can ensure I got no virus whatsoever on my computer, nor in my application.I just reinstalled my pc to see if it fixed the problem, it didn't
After successfully running an executable file several days ago, I am suddenly encountering a number of inexplicable errors. One concerns the lack of recognition of two libraries:
ive been building a app, and have a beta tester who is on xp, im on vista x64, the app works great t my end, an dive also tested it on another pc with vista x64, and on a laptop wit win7 32, Now my beta teste has been testing fine on hes xp rig, up untill today when the WIP build i sent him started kicking up errors all over the place, try as i might i cant narrow it down to were the error is, heres how the app looks on vista and win7:[code]So i thought it might of been something i changed in between the working xp version and the wip but, all i changed was the page title, nothing else, no code etc.
I am working on a client/server application. Everything seems to go well for a while (a few hrs, a few mins its kind of random) then suddenly clients stop receiving data. maybe 1 or two, or all of them. in the end I end up having to restart the server piece to resolve it, but I am trying to understand why its doing this. I've added try catches around the send piece, but it doesnt error out. When the app fires, the listener is started on its own thread. When a new connection is made, that connection is passed to a class that handles all of my connection data(send/receive, responding to commands, etc). The class is started in its own thread, so each connection is running in its own memory space. This issue seems to happen with 1 client connected, or 20, it doesn't really seem to matter.
This causes other issues, like a customer who thinks he is disconnected, will shut down his app, which is supposed to send a command to close the connection on the server side which it does not., so now I have several "closed" connections still open on the server, which is obviously also bad. Another thing I dont get is that it worked fine when I was developing the pieces on my dev box, so I dont get why I have all of these "timeout" issues now. (I put that in quotes, because the timeout period is the default of 10 mins, and I xmit data, at LEAST every minute when the server pushes data updates to all clients)
Here is some of the relevant code vb 'Command Object, this holds all of the command information being passed back and forth to tell the server what to do, and as well as hold the response. 'The strCMD is the command, strParms is the parameters of the command, obj is ANY object I want to send along with this information <Serializable()> Public Structure CommandData Public strCMD As String [Code] .....
I've built a windows form application that steps through a wafer map and sends a command to ink specific dies if the bin number is between certain values. While debugging I have run into an issue with the program crashing with no error message anywhere. While stepping through my code, the place the program stops has occured in two different places but both in the same subroutine in the code I use for the network communications. Below is the subroutine I've seen it break on with the two places it has broke indicated.
Private Sub EventHandler(ByVal Args As EventArgs) Select Case Args.EventP Case EventPointer.Connected RaiseEvent Connected()
I have been using VS2010 without any issues, always on the same application. Suddenly within the last my solution has become unbearably slow when right clicking. When doing other projects, it is fine. The only thing I can think of that I changed was disabling the SQL Server debugging.It happens if I right click anywhere within the code editor. Everything freezes for about a minute and a half, then the right click menu shows up. Intellisense seems to work fine. It is only the right click.The project is fairly big, but it has been working fine. I am working on a 2 month old top of the line MacBook Pro (running Windows 7 64 bit in Boot Camp). I did do the patch Tuesday big batch of Microsoft patches in the last 24 hours...
I�m using the my.computer.network.downloadfile (something like that) to download the html source to a text file. It has been working for about a year now.
Today it stopped working and the downloaded files are empty. I�ve talked to the people at the website, and they say they haven�t done anything. But they always say that.
Is there a way to "block" an automated download process of this kind, and how do I get around it?
I'm having trouble getting my archive service working. The service counts files in a directory and sends a email. Pretty simple. However, it randomly stops working. I debugged the service and found nothing wrong. I also have it writing to the eventlog so that I can use it to determine where it fails It progresses through each function normally. I thought my program was failing at on point, because it was only posting "Email Notification Service is Running". However, I realized it wasn't posting to the eventlog source so I've been playing around with different ways to post the message to the eventlog. Am I missing something from my code below? I'm really scratching my head with this one.
I ran my console app succesfully 30 minutes ago. Added a single line to write a message out to the console, recompiled and now, when it runs, it eats up all the available memory before bombing out with an OutOfMemory exception! I can see the Memory Usage in Task Manager just rocketing up!
What on earth could be wrong? I can reboot the machines I am running this on as they are live servers.
I tried opening the solution and Visual Studio immediately stopped responding. The hourglass cursor would show, then it would resume to the normal cursor for a few seconds, then go back to the hour glass. Whenever I clicked anything the program claimed it had stopped responding and asked me if I wanted to close it. I have no idea what caused this. One thing possibly, is that when I started my computer today, it said several updates had been installed. Like 6 of these were for Visual Studio. Could that have caused it to freeze?
Starting a few weeks ago, compiling a project (VB.NET, .NET 2.0, VS 2010) has taken several times as long as before. In Task Manager, I noticed ResXtoResources.exe taking lots of CPU for a while. I've finally been able to get some data on this using MSBuild's 'Diagnostic' output setting, and comparing that output to what I see in a branch from a few months back. Most striking are the final lines, which give timings. Before:
Target Performance Summary: [..] 1395 ms CoreResGen 1 calls 1930 ms CompileLicxFiles 1 calls 2135 ms GenerateApplicationManifest 1 calls 2844 ms CoreCompile 1 calls[code].....
Both projects were compiled on the same system with the same settings. We've made numerous changes, to be sure, but nothing to the order of magnitude that would justify such a change in timings (and only for this one task!). I assume resource generation is getting stuck on something — a circular reference, a missing one, etc. I have been unable, however, to find anything useful on how to trace such a problem down to what I assume is just a single resource file.Short of looking through thousands of checkins or temporarily removing some forms (and thus, their resource files) from the project, is there anything else I can do to figure out the issue? I can't seem to find individual per-resource file timings.
Findings so far:I've created a new, empty project with all the same .resx files in place.The issue is not reproducible in .NET 4.0: compiling the exact same test project takes less than a second.The issue is reproducible in .NET 2.0 as soon as I also add one of the forms from the original project; apparently, it will otherwise not compile the resources "properly".Removing individual .resx files will reduce the timings 'proportionally'; that is: I have unfortunately not found a single file that is the culprit.
The user has been running the app in question for over a year with no issues like this (this is a VB2008 business/database application with an executable 4.6 MB in size). Starting last week, "all of a sudden", the user started getting INTERMITTENT error messages like the following:
Exception has been thrown by the target of an invocation. Creation of the ImageList handle did not succeed. Out of memory. Parameter is not valid.
The last two have been accompanied by the big "red cross" on the form (in the screen shots the user sent me).The fact that the one message mentions "ImageList" and poking around on the Internet for answer on "Parameter not valid" points in the direction of a graphic problem, but nothing has changed in this area for a long time, and the app only uses graphics in a very straightforward way, using images on buttons and menu items, but not doing any in-line graphics methods.
i have an array of booleans whose current boolean values I want to preserve but add additional length to the array? How can I achieve that? My code looks like this:
Dim Array() As Boolean Dim ArrayInterimShort() As Boolean ReDim Array(119)
I am trying to create a code where I placed sets of numbers in an array.I'll use a masktextbox to have the user enter the numbers to match what's in the array. If the user enters the number, ex: social, and the data is correct (matches the numbers in the array), something happens if the number entered in the masktextbox does not match any of the number sets in an array then another thing happens.The masktextbox so far only validates format and gets number only, however, I want the number entered to match whats in the array.
A routinely used application suddenly became impossible to access, with and error code indicating that the "VB Backup\Backup" file cannot be found. When I click File Open, the projects display as always. I select the application, double click the .sln file--and nothing happens. When I try to access the .vb file in Solution Explorer, it says "Cannot find VB Backup\Backup Files."
What are the Backup Files, when are they created, and why would they suddenly be "gone?" Is there any way to rebuild the Backup Files? I used the application last night and it worked fine. Today it can't be opened because the Backup Files cannot be found.
I have backups of the application folders, but get the same error message. Cannot be opened because the Backup FIles cannot be found.
I use Visual Studio 2003, VB.net, NetFramework 1.4 and Windows XP I have been using the following Code Snippet for a number of years in both Web Services and Windows Applications. However suddenly around the 29th September 2010 it has stopped sending E-Mails from both Web Services and Windows Applications. The same problem has happened not only to my own Network but on two other Networks, one using XP as its Server and the other using Server 2003. All 3 of these are using different ISPs.
I am a complete beginner vb 2008, and for once collected exemple from the other people.I wonder how the contents of a registry key (enable-disable TaskManager)I enter in the register with button to enable and disable taskmanager.[code]...
I got a form1 - as MDIForm Panel1 with a treeview inside to the left side of the form1.Now I won to show my different contents to the right-side of form1.How Do I - do that.Do I have to make another panel2,panel3,panel4.....