Lost Code Recovery?

Mar 12, 2011

For a while I was having trouble finding where my projects were being saved on the hard disc. Projects were being stored in at least two places, well I sorted that out and finally copied everything to the one location.Today I went to revisit an old project but it looks like I wast careful enough before I deleted all the duplicate projects, and now I find that two I want to look at are long gone.folders for these projects which include these files: -

xx.application
xx.exe.deploy
xx.exe.manifest

[code]....

View 4 Replies


ADVERTISEMENT

Lost All My Controls But Saved Code?

Jun 8, 2009

I just had an absolute nightmare scenario. Somehow while working in VS 2008, the wrong sequence of keystokes occured and I deleted all the controls on my userfom. The form is extensive. I could not undo the deletion and restore my form. So I decided to copy all the code from behind the form to a text file. I then deleted the project and then went to one of my latest back-up copies and dropped it inot my project folder for VS 2008. I opened this back-up file in VS 2008 and simply pasted the entire code from the text file (5,000 lines) into the form. The backup file has the same name as the original.

When I go to run the code, the form loads properly, but none of my control events seem to be firing.There are not any errors showing up in the Error Window. I then started getting an error prompt saying "Project XYZ cannot be modified at this time." Anyways after several attempts, I decided that instead of copying the entire piece of code from my text file, I would only copy pieces that I recall as being updated. Now everything loads properly and the routine runs. But I know have yet another control event not firing. The control exists, the event is there but no firing.Given that I was prudent enough to make back-ups AND I have the actual code from the crashed file how in ____ do I copy this code back into my form and have it work?

View 11 Replies

Lost My Source Code But Still Have Program

Jun 22, 2010

I had a hard drive crash and lost all my source code for my poker clock program, but still have the program. Are there any programs I can use to reverse engineer my program so I can get the code back?

View 1 Replies

Data Table - Datagridview - On Running The Code A Second Time The Related Data Is Lost

Aug 6, 2011

I have two data tables. the second related to the first. Using a datagridview for the first table I am able to enter and save data ok. if I run the code twice in a row the data is still there. When I edit the data in the related table in it's own datagirdview the data is there and displays correctly, but on running the code a second time the related data is lost. In both cellendedit events I am using

Me.table.Update(Me.FigsDataSet.table)

Me.Validate()

View 2 Replies

Password Recovery Using Asp.net?

Dec 21, 2009

In my application, the password is encrypted and if the user forgets the password, there is no way to recover it. Now we are cancelling that user account and creating a new one. Now I want a proper method to recover the password. The login is done using the Asp.net configuration tool. How can I recover my password using this? Is there any alternative option for this? How can I decrypt my password in the database?

View 3 Replies

Recovery File With VB?

Mar 31, 2009

How to recovery file with vb.net? source code of recovery file?

View 2 Replies

Password Recovery Control?

May 26, 2010

i need the vb password recovery control to email the user his username and password from the database (sql server)

View 1 Replies

ASP.NET 4 Password Recovery Validation Failing In IE Only?

Mar 30, 2011

I'm using the ASP.NET Membership provider and using the Password Recovery control to reset the user password if they forget it. On the whole it all works fine, but with one catch when it comes to validation.I have expanded the PasswordRecovery control out to use the template feature to customise the appearance, which is all fine. I have set the user lookup error handler using:

OnUserLookupError="PasswordRecovery1_UserLookupError"

in the opening tag and if I load up the page, type in some junk name and click submit this fires as expected, in all browsers. The snippet of VB code makes an error div visible and sets some text.However, if upon loading the page for the first time I type a duff name into the username box and hit the enter key to submit the form, in Internet Explorer (version 8), the UserLookupError event fails to trigger. It triggers just fine in Chrome or Firefox, just not in IE. I know it's not a focus issue on the form, as I can see the form is being submitted.If I click the submit button first, then following that hit the enter key it does fire, it's just that first time it doesn't, and only in IE.Also to add that if I set breakpoints in the VB code to check to see if the page is being submitted, I can see the Page_Load event fire when I hit the enter key, but not the sub PasswordRecovery1_UserLookupError.

View 1 Replies

Database - Password Recovery Without Using ASP.Net Membership?

Dec 12, 2011

I'm working on a website using VB (ASP.NET)I want to implement a password recovery code without using the controls in asp.net I didn't use ASP.Net Membership for logging in, I have MSSQL database with USER table? when the user forget his/her password, he/she enters the email then press a button to submit, then I have to find this email in the user table, retrieve the user name and password, generate new a random password, update the password with the new generated one, and finally send an email to the user with the username and the new generated password.

View 1 Replies

How To Change Startup And Recovery Options

Jan 14, 2010

I want to programmatically change the Startup and Recovery options in Windows Server 2008? To be more specific...

- I'm writing my application in VB.NET 2.0 using VS2008
- I want to enable "Automatically restart"
- I want to set "Write debugging information" to none

That's it. I found a thread that speculated it might be do-able using System.Management but after looking through the documention in the library I can't find which might do that.

Note: It looks like this might be possible using BCDEdit (which I could call through a Shell command) but I can't find the syntax for that either. I only mention it because that would be a solution to my problem if it can't be done internally from the program I'm writing.

View 1 Replies

How To Design Password Recovery Program

Jun 12, 2010

I want to Design a password recovery program, but I don't know how to go about it and do the code?

View 4 Replies

Make A Recovery Files Program?

Jul 8, 2011

I want to make recovery app to recover my files?

View 3 Replies

Making A ZIP Password Recovery Program?

Jun 27, 2011

I am trying to make a program that recovers lost passwords from ZIP files. I know what to do but what i don't know is how to make sure that the file is a ZIP file, and using that file a looking for the password.

View 2 Replies

Recovery Disk - How To Get All Partitions On System

Mar 15, 2009

I would make an unattended recovery disk for my Dell laptop using Windows PE 2.0 and, so I am in need of a program which analyzes the first disk on the system in order to get all partitions.
The program should check:
- if there is an OEM partition (hidden);
- the number of logical partitions;
- the number of primary partitions.
Then, if there is only a primary partition, the program should delete it and create two primary partition...Is it possible?

View 3 Replies

Resx Graphic Image Recovery?

Nov 7, 2010

I have a graphic image in a project's resx file that I would like to use in another project. Unfortunately, I can not locate the original file, an animated gif. Is there any way to export or otherwise extract the graphic image from one .resx file for use in another?

View 11 Replies

VS 2005 Auto-Recovery Of Data?

Oct 1, 2010

I want to implement the auto recovery feature in my application. i.e auto recovery of data from power failure ,system crash,etc.Since the program is an multiuser with different access levels to each user, I want to save the data in a file which can only be recognized by the program.

View 1 Replies

IDE :: VS 2008 - Auto Save And Recovery Failed

Mar 9, 2010

I just lost 1/2 hour of work when VB IDE suddenly lock up in a loop. I thought no big deal, I have it setup to autosave every 3 mins. It would have backup up at least 10 times. Killed VS via task manager. Brought VS backup. Went into my project and I am back where I was 1/2 hour ago.Is there a way I can still recover my work so that when this happens in the future I can recover lost work?

View 4 Replies

VS 2005 - Auto Recovery Of Data (Save In File)

Dec 9, 2009

I want to implement the auto recovery feature in my application. i.e auto recovery of data from power failure, system crash,etc. Since the program is an multiuser with different access levels to each user, I want to save the data in a file which can only be recognized by the program. I don't want to save the data in the db, as there are many modules in which this feature has to implemented, which will make me create an separate table for each module, for temporary storage.

View 1 Replies

Construct A Login Form With Text Box Control To Perform UserID Validation And Self Service Password Recovery

Feb 14, 2011

Design a form, which contain a TEXTBOX control that accept a UserID input, with a CommandButton control to perform a validation based on the criteria listed below. Display a Message on whether the UserID is Valid.

Criteria:

The UserID must contains SIX digits follow by a single character, limit the entry to a maximum of seven characters only.

The postfix character of the UserID is derived from the summation of all the six digits divided by seven and using the remain as followed:

Remain
Character
0
A

[Code].....

View 2 Replies

Adding Subclassed Password Recovery Control To Page Causes "An Entry With The Same Key Already Exists." Error?

May 6, 2011

I am trying to subclass the password recovery control in asp.net (4) so that I can override the behaviour of the OnVerifyingUser event but I'm having trouble adding my subclassed password recovery control into the page. I tried creating an asp:placeholder control and adding a new instance of my subclassed control to it but I just get an error that says "An entry with the same key already exists". I've tried doing this in the page_init and page_load methods but get the same error.

Here's an example of my subclass
Partial Class MyPasswordReminder
Inherits PasswordRecovery

[code].....

View 2 Replies

Recovery File System - Return Any File Delete Or Replace

Apr 13, 2009

I have Project i need to recovery file System . And some information who Create that file , deleting , replace , Modifying . I need also return any file delete or replace .

View 2 Replies

Case Of Lost Db

Aug 9, 2011

Only problem is that it is using a access database that is coming from "my documents" and when I debug it pulls up the database that is finished. When I run my published program, it uses the database that isn't finished. Why is it doing this?

View 2 Replies

Lost All My Design And Can't See ?

Oct 3, 2009

A little but pissed off at the moment as I have just lost a few hours of work. While I was trying to get a form to resize better (so you can make the form bigger and have all the panels and therefore things inside the panels take up the same percentage of the form), I thought about looking in the designer code to see if anything in there would be easy to change to make it work the way I wanted.

Upon finding what I thought was going to be a good bit of code to edit (code that placed the panel in position), I changed it so that panel2 would find where panel1 was (in the y axis), add panel1's height onto panel1's Y location and use that value as panel 2's Y location:

Me.Panel5.Location = New System.Drawing.Point(0, Panel1.location.Y + Panel1.height)

When I switched back to the visual designer view it came up with a warning page (blue bar across the top of the page saying "To prevent possible data loss before loading the designer, the following errors must be resolved:".Therefore I went back into the designer code and deleted what I had previously done and was a little bit annoyed that I couldn't use that code which I hoped I could.Upon going back to the visual design page everything was gone so I went back to the design code but everything was still there.I sighed in relief and ran the program and everything loaded properly so I decided to quit and reload the project to revert to before the incident occurred to be able to see the design in design view.When I reloaded the project everything was still gone and I then found out that the code from the design had gone too meaning I had lost it all. The code that I created would work in the vb coding, I have tried it.

View 2 Replies

App Has Suddenly Lost All Its Forms But One

Dec 18, 2009

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.

View 7 Replies

IDE :: Lost Some Menu Buttons?

Jan 12, 2010

I don't know what I did but I've recently lost my "File" menu and possibly a few more. I don't even remember what was on the menubar but it starts at "Project" now and ends at "Help". Anything that was before "Project" is missing. How can I get this back?

View 2 Replies

Lost Focus In Program

Nov 25, 2011

I have a form with 7 textboxes, all describing different attributes of a used car. In the shared leave event of my tb's, I need to code a case statement which determines the particular textbox that lost focus. I then need to perform different tasks which I understand how to do, and I don't think they matter to my question.

I understand how to give focus (txtTextBox.focus()), but how do you tell if something has lost focus?

And furthermore, how would you use that to structure the case statement?

View 2 Replies

Lost Form Designer

Jul 21, 2010

During my project I have suddenly lost my form design, all the designer code is still there but when I try and view the design layout it gives me an error saying 'navigation to webpage has been cancelled', does anyone know how to get around this extremely annoying bug ??

View 2 Replies

Lost Menu And Statusstrip

May 21, 2012

when I starded to "finish" my appliaction. The whole MenuStrip and StatusStrip have disappeared!

This wasn't the first time when I lost menu but this time I have made so big work for it so I really dont want to start again as I did last time...

I read another thread but I didn't get my problem solved. I think I lost my menu after I deleted "loading.png" image from resources. I'm not sure does this cause the problem but I think so.

I have all the codes in form1.vb and in form1.designer.vb in looks that:
[CODE...]

Is there any hope to get menu and statusstrip back? :( Or is there any fast way to rebuild them if I have all the codes ready? This was almost finished... now it doesnt look finished at all.

View 3 Replies

Parameter Gets Lost In Query

Jan 18, 2010

I'm stumped here - the folowing code errors with Procedure or function 'importsp_CreateDiallerBatch' expects parameter '@BatchName', which was not supplied[code]...

When debugging the code, BatchName definitely has a value, and checking the parameters collection of cmd right before executing the urey shows 2 params, both named and with values set exactly as expected. I must have written code like this a thousand times

View 1 Replies

Print Jobs Get Lost

Jan 13, 2010

My WinForm contains a "System.Windows.Forms.WebBrowser"-Control to display a generated html-file (consisting of 5 pages). The Form also contains a "Print"-Button to print the html-file which is displayed by the WebBrowser-Control. For printing the content of the WebBrowser-Control I am using WebBrowser.Print().

If I try to print all 5 pages separately, only the last page will be printed. But if I print all 5 pages separately within a delay of 2 seconds after each page, all pages will be printed?!

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved