I've Googled the problem "disappearing menustrip" and have found no help.Not only is my menustrip1 disappearing when I debug, but any new buttons or changes are completely ignored by the debugger.Is there some kind of memory I have to clear?
I have a weird problem that seems to of started happening yesterday afternoon. Basically, VS seems to of decided to act as if I had set like a "On Error Resume Next" style rule where instead of telling me about exceptions it just ignores them completely.For example, I just created a fresh new project and stuck this in the form_load event:
I am trying to determine how my application is running. There are four (I thinkpossibilities:F5 in the IDECTRL F5 in the IDEPublish and Installed in Debug ConfigurationPublish and Installed in Release Configuration
My debugger doesnt work correctly anymore and I want to let it work correctly cause i've done some changes in my project but when I click on debug then it just shows my old layout.
I'm developing a windows form app in visual studio 2008 express. I'm usin a sql compact 3.5 database on it through the program, several changes are made to database data, and so, i have on form1_closing event, a code to save the dataset back to database, something like:
Private Sub Form1_Closing(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.Validate()
[CODE]................
But when i run my program on the debugger, the changes i mkae, don't get saved, are lost...is this a charecteristic of debugger, or is my "saving code" wrong?
I already built the program, and the data is not being saved. how to saving the data ? by the way, all changes to dataset are made something like this:
I'm currently using VS2008 and VB.NET.When I attempt to populate a Queue that has not been instantiated with objects, the program simply hangs without throwing an error.I have run into this issue multiple times in different parts of the program in the past few days.What could be the cause of this?
Here's the code: Structure ConsoleBufferLine Public EntryDate As Date
When I run code the below, the If statement never resolves to 'True'. It always shows 'Assm' as the SelectedItem, even if I check all the checkboxes. So how do I allow 'Assm' to be checked by default AND have the code-behind see that the other checkboxes are checked?
I've got a problem with a program that references a third party ActiveX component that I've been refused permission to distribute. The AX component is used on some user defined controls which the user can add programatically, which makes isolating them fairly easy. However, the problem is that if the program is installed on a machine without the third party component then it just crashes, where I would much prefer it to just alert the user to the missing component and then disable the functionality that requires the component.
In the past I've tried adding the reference programatically but have found that this solution doesn't work with this particular control.
I'm writing a solution in VB.NET that consists of a number of different components (UI manager, Outlook add-in, etc.). In the main UI program I'm serializing out an arraylist to a data file that contains the data the other components will need to do their jobs. That part works fine, and I can serialize and deserialize with no problem. Now I want to read (deserialize ) in the data in my Outlook add-in, and I ran into the dreaded 'Unable to find assembly' issue where it's looking for the original assembly that serialized the data. I found a hint for workaround
Because there is so little information about VB.Net and (Fluent) NHibernate to be found, I decided to write this question to all other developers finding themselves looking for more information.On of the things i had to struggle with was how to Ignore properties in NHibernate.The reason i had to ignore properties was because we used a Webserivce which cannot serialize Interface classes (ILists). Which are used a lot with NHibernate.
I'd like to know if anyone has a code for or can direct me on how to select keywords given in a speech command and to ignore the other words. Example: Speech "The beach looks great today"
I want to use the word "beach" to trigger a function and ignore the rest of the speech.
I have a Powershell script and no matter what I try it completly ignores any quotation marks in the script. The error occurs when I run the script from my VB.NET code yet, I have been running scripts sucessfully through VB.NET for a while now. For example, my script starts with finding out the server name...
I have only started programming in VB recently and I am not very good on the coding side. I have two values a and b. When I divide them, I want only the integer part to show up ignoring all the decimals and storing it into the variable c.
Is there a way to compare two dates (which include time) ignoring the time? I have a 1/1/2009 8:00am and 1/1/2009 9:00am and I just want to know if it is the same day, without any care to what time it is. I know I can convert the date and compare the strings, but is there another way?
Basically I want to have a lines that contain certain numbers ignored. Where lines that do not contain those certain numbers show up in textbox1.text.For Instance.In the code I want it to ignore all lines that contain "1234" and "1645" when it reads Accessed.txt, and output every line that does not contain those numbers. So if a line contains "78910" it would output that line into textbox1.text.Here is what I have so far, and it works as long as I only have 1 if not contains statement. When I have more than one, it doesn't work at all and just outputs everything in the text file.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles Button1.Click Dim r As New System.IO.StreamReader("S:accessed.txt")
i'm currently working on making a program that does all my normal pc clean up work for me. delete temp files, tif, cookies prefetch etc and i'm using code like this
vb.net Dim rKey As Microsoft.Win32.RegistryKey Dim path As String rKey =
[Code]....
I'm stuck in the cookiew folder since "index.dat" doesn't delete and it causes the form to crash.
I have a csv file which I am populating to a datagridview. I am delimiting it using "," and "space". My csv file has "," at first instance and "space" in next two instances. I want to delimit the first instance using "," and the second instance using "space" and the third instance though has "space" I wanna ignore that space.
My CSV file :
HTML jarnvagstag,Mantel,Mantel1,Mantel2 100tag,01/01/1750 11:45:32 PM 200tag,01/02/1750 12:57:57 AM
I have some textboxes bound to a bindingsource and bindingnavigator.
I want to detect when the values have changed and prompt the users to confrim if they want to update.
When the form is first initalised and when then binding navigator moves to the next record the text_changed event fires on textbox where I have a boolean to determine if things have changed.
Is there a way to set my boolean only when valid data changes have occured or a better way to detect if things have changed
I'm searching for specific string method that ignoring the word if it was written in capital or small letters when I want to type this word in a field for searching purposes or when a user wants to enter its usrename in capital or small letters.
When a custom class overrides the ToString() method, the C# IDE uses this function to display the class in the debug mode(tooltips, watcher etc) Does the VB.NET the same? I have impression that overriding ToString() method does change nothing. I mean, in the watcher I see Name myBusinessObjectInsnace Value {MyNamespace.myBusinessObjectInsnaceType}
where the VS debugger refuses to show certain field types including dates.My call stack contains FunctionA which calls FunctionB. FunctionB has about 45 parameters and many of them are dates.When I step into functionA,
1. the debugger refuses to show a date variable when you hold the mouse over it. It just shows {Date} instead of a value
2. If you do quick watch on that same variable, it also just shows {Date} instead of a value
3. If I do ?variablename in the immediate window, I get "System Error &H80131c23&"
When I comment out the call to functionB, the date variables all show correctly in all the above methods. I will stress that the code has not yet reached functionB, just its very existence in code screws up the debugger.I'm thinking this is a memory issue and maybe vs debugger can't cope with a huge function stack frame dataspace.devenv is only using 268Meg of ram on a 2Meg box, with not much else running. Thats reasonable for this size of project.
I've been given an old VB.net 1.1, Visual Studio 2003, project.When debugging DateTime shows as #09:34:00 AM#, the date-part is hidden. I would like to see which date the DateTime is.I've tried to modify mcee_cs.dat, but that doesn't seem to do anything.
I'm not sure if this is the correct forum but I'm trying to debug a Web Page using the IE9 Debugger. When I click on the "Start Debugging" button, I get the error msg?