Recover Deleted Form?
Sep 23, 2011While testing my "nearly" completed application I deleted one of the primary forms.The code is intact, and the designer code is there byt the form is gone.
View 4 RepliesWhile testing my "nearly" completed application I deleted one of the primary forms.The code is intact, and the designer code is there byt the form is gone.
View 4 RepliesI dont have any back up for that form. Is there any other way to recover that form in vb 2008?
View 3 RepliesIs there a way in vb.net to undelete a file (deleted from Recycle Bin) or should i turn to unmanaged code? Write your code as efficient as you can to reduce CPU load, to consume less energy and protect our planet from global warming.
View 5 RepliesI need to create text box at a run time.
I found the following VB NET code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim textbox1 As New TextBox
[Code].....
When this row GroupBox1.Controls.Add(textbox1) and GroupBox control are being deleted from Form, the TextBox isn't created on the Form after the event is fired.
i have a form with 6 tabs on 3 of which have controls, spent a lot of time putting it all together, set it up to link to a SQL DB, all working fine,Until....at the bottom of the form (in design mode) you have the icons that say BindingSource1 and CustomerDataSet1 etc.Well i accidently deleted some, now when i run the form i got an error saying that it couldnt load, i see the code is there but the form is just the blank form you get when you start(the form is still the same name and if i click view code all the code is there, but on the form are no controls, no tabs ... its all gone....(i only deleted a binding source ) i dont understand where its all gone.
when you click on the undo it didnt put the deleted items back (and i am not sure which one there were) now that the form has gone back to normal there are no Binding sources at the bottom I opened the designer code, i see the names of all the missing items, e.g. CustomersDataSet1 and TblCustomers1BindingSource1 e.t.c do i just re add those back to the bottom of the form and then the main controls will re appear?
I have looked through the code and re added the binding sources and adapters that are referenced in the code along with the Binding navigator, if i run it the form is still blank.I have tried to add the controls back and when i do it adds it as e.gTblCustomers1BindingSource2 if i try to rename them to the name they should be ie. TblCustomers1BindingSource1 it says it already existsI am using VB 2008 Pro?
I have a listbox and would like to save the items added/deleted when the form closes.
View 4 Repliesso I am a little confused. I am trying to refresh my datagrid when I have either add, deleted or edit a row via another form. I have it so my main form shows the datagridview, I have bound my controls to the database and I see all rows, no problem. I also have it setup to double click a row and it brings it up in another form to edit that record. This works. but it doesn't refresh the datagrid when saved. I am trying to follow this thread, specifically this post Refresh Datagridview - Post 2 Here is how I am loading the datagridview in main form
[Code]...
I'm making a login form in VB.NET, and I have a table in mysql called user. What I want to do is before a user can login the Administrator column of the user table must be TRUE and the DELETED column must be FALSE. I've tried everything I know but all non admin users are still able to login... Heres how the user table looks like:
[Code]...
i deleted my previous start up form to be replaced by another one but each time i launch the application,the deleted start up form is still displayed.i dont know from where this deleted start up form is being loaded.
View 3 RepliesI really am stuck. I can add records to a table ok . when i close and restart my code the new records are still there but deleteing does not work. I delete the records, they disappear. I close and restart the code agian but the deleted records return. this is my code.
[Code]...
i want to add photo to the employee and i want to save it to the another folder(any default folder of project) and retrieve it according to the employeeid from.basically i dont know the code
View 1 RepliesHow can I recover my last succesful build.When debugging the last build will run but I cannot edit anything due to errors in the current code.Does anyone know.Oh I am using VB.net 2008.
View 5 RepliesI try to write a program to recover my password. My password is max 10 character.
include: 0>9, a>z, A>Z. not include "space". ex: abc123.
I try to check with number first it mean:
I try check: 0, 1, 2, 3... 00,01,02...
But I don't know how to begin with another character.
I lost my asp.net web site project source code developed using VS 2005.language used is VB.I have the code which has been published on the IIS. Is there any way for me to recover the source code using the published pages.
View 1 Repliesi try to write a program to recover my password. my password is max 10 character. include: 0>9, a>z, A>Z. not include "space". ex: abc123.After, i try to check with number fist it mean: i try check: 0, 1, 2, 3... 00,01,02... but i dont know how to begin with another character,
View 1 RepliesIn VS05, we have autorecove set to every 7 minutes and save them for 7 daysThe help says they are saved in ...My DocumentsVisual Studio 2005Backup Files<projectname>However, the project name is there, but the folder is empty.
View 17 RepliesI am developing in Visual Basic 2008 Express Edition under Vista Business SP2. I have an application with an OpenFileDialog and a SaveFileDialog. When I call the OpenFileDialog on first running the application, it defaults to the directory from which the Application last opened/saved a file. However, this directory IS NOT
[Code]...
Alright, I've successfully deployed AppFabric, and everything was working nicely until we started getting an intermittent exception on the website[code]...
At first I suspected the server was running low on memory (throttled state), but I eventually concluded that wasn't the issue. In the event-log, I found DistributedCacheService.exe crashed every now and then, and it led me to a simple method of re-producing the error on my local development environment[code]...
I have a project with sql database and customer require to create this function .I mean when user use my program , they can delete, edit... but not still save yet. Suddenly power failure , and i want to recovery database when user turn on program again.
View 4 RepliesExceptions can have different degrees of impact on a program. For example a program should probably abort if OutOfMemoryException is raised, but it is possible to safely and appropriately handle System.Data.SqlClient.SqlException without putting the program in an unknown state.
I do understand that any exception has the potential to put the program in an unstable state if it is not properly handled. Are there exceptions that should never be handled beyond simply logging and throwing up the stack?
I execute the macro, ToggleTextEditorGrayScale (Macro Explores--> MacrosSamplesAccessibility) inadvertently.
How do I recover the effect caused by it?
my system crashed and I lost all of my VB.net projects. IT says the hard drive is shot and they cannot recover the files. However, I have all of the project's debug files on a network drive that was not impacted because the info is stored on a shared sever.What I have are the following files: (These were pulled from the DEBUG folder)
Executible
Program Debug Database
XML Document
[code].....
Can I recover the project using just these files?
i'm in middle of building an application and something got corupted and the solution has 2 errors and i don't know how to fix it when i run the app it comes up the msg that there is errors and i can run the last successful build i'm interested if there is a way to recover the program solution from the last build or a othe way that i can undo the error?
View 3 RepliesI've made heavy use of the convenient My.Settings feature but sometimes I run into problems using it.
View 2 RepliesI was debugging my application when suddenly the computer crashed(blue screen).
When I restarted the PC one *.vb founded to be corrupted!
Is there anyone that knows a way to restore it?
I've made a program. The program does what it's supposed to do, for a while. The program is meant to recover my password if I loose it, but when I test it, it fails. It works fine until it comes to the number of my password. Then this error shows: object reference not set to an instance of an object. And this section of code is highlighted:
HTML
WebBrowser1.Document.GetElementById("ctl03$Login$username$input").SetAttribute("value", TextBox1.Text)
Here is complete Code:
HTML
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dialog1.ShowDialog()
[Code] .....
actually i have problem to develop tool for recover audio/video fil
View 1 Repliesrecover a program from published files saved on a website?
View 2 RepliesI cannot find a Backup Files folder and auto recover was turned on? I spent ages working on a project when the power went
View 6 Repliesi am deleting the row from the datagridview using following codedatagridview1.rows.remove(datagridview1.currentrow)but it is not commiting.how i can commit?
View 4 Replies