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


ADVERTISEMENT

Lost Textboxes From Design View Of The Form?

Jun 15, 2012

I have created a form in vb.net.Suddenly I lost three textboxes from the design view of the form.Can recover my original form?

View 1 Replies

Css - Design A Webpage In Asp.net Design View Which Support Multi Resolution?

Nov 26, 2010

I have created my webpage in asp.net in 1024*768 resolution, my problem was that when i change my monitor resolution then the controls in my webpage will be displayed in unmanaged manner .

How to arrange items in my webpage which support multiple resolution ...

Whatever the resolution of my monitor the controls in my webpage will display as it is as managed in 1024*768 reolution !

View 1 Replies

Form Design - Cannot Expand Vertically In Design View

Jun 27, 2011

I seem to have reached a limit on the size of the form. I cannot make the form longer and I need to add more fields. Is there a limit on how many fields can be included in a form?

View 1 Replies

C# - Design Reference And Object Oriented Design Of A CRM

May 25, 2011

I searched codeplex and google. I have found so many such as tustena but unfortunately they are not domain driven based and in these solutions I could not find a good modelling documents or references. i am a newbie in CRM but I am sensetive to design it with solid object-oriented fundamentals. Any reference or open source solution especifically for CRM design and implementaion in .NET? Cheers

View 1 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

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 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

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

TableAdapter Lost Parameters?

Feb 1, 2011

INSERT INTO Status
(ScheduleID, StatusID, Name, Color)
VALUES (?, ?, ?, ?)

Here, Name is a string and the other are integers. The generated signature however looks like this:

InsertQuery(int Color, string Param2, string Param3, string Param4)

Which does not match the query, either in name or order of parameter types.How can this happen? Any fixes? It also throws back errors at runtime for type mismatches, which don't occur when the parameters are in the 'correct order' in the query builder.

View 2 Replies

VS 2005 Lost In The Conversion?

Apr 13, 2009

I am lost in translating this vba code to vb.net

Dim hFile As Long
Dim bytInfo(40) As Byte
hFile = VBA.FreeFile[code]....

View 2 Replies

VS 2010 Lost Toolbar In IDE

Aug 18, 2011

I must be loosing my mind! I came back to working on a small project after not being able to work on it for some time and now the IDE layout is totally different. For instance, there used to be a toolbar that showed a run button, step into, step over and such but now its not there, and, for the life of me I can't find it! I went to reseting the layout options to default, VB and so forth but cannot find it. In addition, when I hit F5 nothing happens. I can't figure out how to run my project from the IDE. Have I lost my mind or what?

View 2 Replies

'lost' A Huge Post In The Editor?

Aug 1, 2008

Ok New thread - god I hate laptops sometimes - I just 'lost' a huge post in the editor due

View 1 Replies

.NET Asynchronous Sockets Packets Getting Lost?

Oct 15, 2011

I made a TCP server which communicates with multiple clients at once, but I can't seem to be able to make them stable. When one of the client sends 100 packets to the server, the server receives only a few of them.Here's the client code in PasteBin. It shows how the client connects to the server and then sends 100 messages in a For loop to the server.And here's how the server handles the connection. I couldn't paste the full source as it's hundreds of lines long so let me know if it's missing any mandatory parts and I'll upload them as well.

View 1 Replies

Arrow Keys In MDI Focus Is Lost

Nov 28, 2009

I had previously made a simple Pong program which use keyboard to control. The control includes "s" to start the game, "p" to pause, "r" to resume and left, right to move the paddle specifically. This program work with little problem. The first problem I encounter is if I insert even one single button on the form to display instruction, the arrow keys will no longer work. But I get around it by using Menu Strip instead.

Then, I am required to put this program, among others into a MDI program. And this is where the problem happen. If I have this Pong game loaded, and I press "s", "p", or "r" keys, it have no problem, but if I press the "left" or "right" keys, it will not move. I am speculating that maybe the focus is lost when arrow keys is pressed or something similar, but I have absolutely no idea what is happening. I have tried giving focus back to the form if focus is lost, but to no avails. And this is the code for the movement of the paddle. This reside on a form, the movement itself is passed to another class. The MDI parent is on another form. [Code]

View 2 Replies

Asp.net - Retrieve Lost Data From Log File?

Jul 14, 2009

I have an asp.net/vb file that receives data and processes it via a stored procedure. The code had the width set to 2 for the year's varchar, so it was chopped, leaving only the first two digits to get inserted into the db.Is this info possibly retrievable from a system/IIS log file or is it lost forever?

View 3 Replies

BindingSource.EndEdit Causes Data To Be Lost

Apr 19, 2010

I have data bound text boxes that loose the entered data in "BindingSource.EndEdit() code. This would seem to violate all forms of logic. I have provide my code below as well as a copy of the debug.print data.

Private Sub SaveToolStripButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles SaveToolStripButton.Click
Me.Validate()
ErrorTrap = 0
[Code] .....

View 3 Replies

C# - Redirect Page When Session Lost?

Dec 4, 2009

If my sessions time out I want to re-direct the page to another URL: Say the home page. On my page I make use of a GridView that uses Session variables. If the session variable time expire(currently at 60min) and the user click on a row in the GridView I want to re-direct him/her to the home page of my site.

View 3 Replies

Crypting XML Document - Encoding ISO Lost?

Apr 1, 2010

My application use an encrypted users xml document to logon.My no encrypting document is "iso-8859-15" and all is good,but when i encrypt/uncrypt it all is running except the encoding changed, then i lost all wich is special like accents.

View 5 Replies

Data Lost In Batch Importing?

May 10, 2011

I try to import the whole csv file into access table. But I got some data lost.

View 3 Replies

Data Lost When Re-open The Application?

Apr 5, 2011

had i problem when re-open the program.

all the data that i saved into the database gone when i close and re-open my program.

is this error come from my code or my database...?

this is my work.

Imports System.Data.OleDb
Imports System.Data.Common.DbConnection
Public Class Borang_Pendaftaran

[Code].....

View 2 Replies

Formatting Lost In Rich Text Box?

Jun 7, 2011

I have some WORD files, which are formatted using bold, italic and colors etc. I want to copy entire content of word file into SQL Server table using Visual Basic.NET.I have a RichTextBox on my form and used datatype nvarchar(max) to store Unicode Hindi data. Everything is working fine... data insert and retrieve is OK, but formatting is GONE.

Below is the code to insert.

cmd.CommandText = "Update tbl_Camps SET CampName = '" & StrConv(Trim(txtCampName.Text), VbStrConv.ProperCase) & "', CampVenue = '" & StrConv(Trim(txtCampVenue.Text), VbStrConv.ProperCase) & "', CityID = '" & cboCity.SelectedValue & "', FromDate = '" & Format(dtpFromDate.Value.Date, "dd-MMM-yyyy") & "', ToDate = '" & Format(dtpToDate.Value.Date, "dd-MMM-yyyy") & "', LiveDVpkt = '" & txtDVpkt.Text & "', <strong>CampNotes = N'" & rtbCampNotes.Text & "'</strong> Where CampID = '" & frmMain.lblCampID.Text & "'"

View 1 Replies

IDE :: Lost Edit And Continue Capability

May 12, 2012

In the last day or two I've lost the ability to edit code while the program is running (and halted at a breakpoint).I also can't instantiate otherwise unused test variables for purposes of examination - I'm told they don't exist in the current context.Also System. Diagnostics.Debug doesn't work anymore.the error message generated when attempting to edit is :Changes are not allowed in the following cases:

- When the debugger has been attached to an already running process.

- The code being debugged was optimized at build or run time.

- The assembly being debugged is loaded as domain-neutral.

- The assembly being debugged was loaded through reflection.

I suspect that optimizations are being performed that are causing all this but I can't find where they are being set nor why they have changed.tools/options/debug shows that Edit and Continue is enabled although it is grayed out while the progarm is running. Windows 7, X86.

View 2 Replies

Know My Application Lost Focus In Program?

May 10, 2012

I am using VB.NET to build my application. And in my application has a lot of Forms. It doesn't use MDI Parent Form, but I use another simple Window Form (I named it frmMain) that I suppose it is my MDI Parent Form. When frmMain load, windowState = Maximized. And when I open a Form (example: I named it frmCustomer) that I suppose it is my child Form, and I set its properties (frmCustomer.TopMost=True) when it load, so it always on the top. But When I change to open another application such as Ms. Word or Mozilla Firefox... the frmCustomer is still on the top. how can I know my frmMain lost focus?

View 1 Replies

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







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