VS 2008 - How To Get Design Back When Editing Project
Oct 3, 2009I reopened my project to edit it but it is only showing the code not the design I cant get it back how do I do it?
View 3 RepliesI reopened my project to edit it but it is only showing the code not the design I cant get it back how do I do it?
View 3 RepliesNot sure if I'm posting this in the right area, but here goes anyway. I've been working with sql databases for practice, but can't seem to get around one thing; after I add it as a data source, I can't go back and add tables.
I start off by going through the project, then add item, choose the service-based database, and go from there. I add the tables, then go in and add it as a data source.
After I've added it as a data source, I can go back into the .mdf form and add lines and edit properties, but it wont update in the data sources. So, I can't add it to the form.
visual studio 2008 express is it possible to create the backup of my entire project automatically is there any tool for that
View 5 Replies2. Display Form1.vb in design view.
3. List the controls by the Name property and the control names, if any, that are not descriptive.
4. Change the Text property of the form to "Hangman."
5. Change the FormBorderStyle property to Fixed3D.
6. Explain why the form should not be resizable.
7. Change the Font of lblWord to Size 12 Bold.
8. Reposition lblWord so that its left edge is aligned with the left edge of the PictureBox picBody (the box in the center of the form).
9. Add code to the btnExit_Click event procedure to close the form, and exit the application by calling the form's Close method.
10. Add code to the btnNew_Click event procedure to:
[Code]...
I am making a program using Windows Form Application, and I had it set up in the design view. I double clicked a button to begin coding and up popped a ton of stuff in the code view that I had never seen before. I closed that, and somehow closed the design view by accident too. Now I can't get my design view back, even by re-opening the program (I didn't save), and double clicking the form to open it. It opens up as "Form1.vb" rather than "Form1.vb [Design]".What happened, how can I fix this and get my design view back?
View 2 RepliesAbout 3 years ago i came across a vb project for a photo album, it was on online tutorial and I followed it and after some custom tweaking I found it was quite usefull. Unfortuatly the original sourcecode has long since vanished.The project was fairly easy to follow and I remember the author had a photo image of his sailing boat and a yellow labrador (just trying to jog some memories here) :).
Anyway; I have searched high and low for it but can not find it. I'm pretty sure it was on a msdn or some other microsoft forum and was to do with VB 2005 or VB 2008 edition of Visual studio.
I was hoping that I could get some guidance from some of you guys on Object Design with Database back ends. I am trying to build what could be considered to be my first full scale application, which is a student tracker (simplification). While I have a reasonable idea of how I would go about designing the classes for the system, the bit that I don't know how to do is, how I would go about getting the data to and from the database.
For example with my other applications, I have done a couple of things;
1) Gathered all the data when the application started up, creating the objects then. Then when the application closed sending the data back to the database.
2) Have the code which deals with getting the data in the specific class, so the student class for example would take only one constructor argument which would be the studentID, then the class code would connect to the database and populate the object fields as appropriate.
3) Variations of the above. I have also looked into LINQ, which seems like it would be very useful if you don't expect your classes to deal with any business logic and just data, but I suppose it would be possible to create a wrapper class that would include the business logic.
[Code]....
I was hoping that I could get some guidance from some of you guys on Object Design with Database back ends.I am trying to build what could be considered to be my first full scale application, which is a student tracker (simplification). While I have a reasonable idea of how I would go about designing the classes for the system, the bit that I don't know how to do is, how I would go about getting the data to and from the database
View 3 RepliesI want to be able to use the core frotz library (dll) in a different project (no WPF front end). The dll needs to accept an entire string command as the input, and produce the entire output as a string. Produce this dll and the source of the class showing me how you did it.
View 1 RepliesI'm working under vb 2008 french version i'll try to translate my problem, hope that u get it right well yesterday i started creating a simple calculator (application windows forms) i did the half work then i save all (Ctrl+Maj+S) . Today i opened the saved file ,i get the Form1.vb page and the Form1.designer, but i cant find the Form1.vb[design] .
View 2 RepliesI'm trying to make more use of namespaces and giving my project a more rigorous design, as it has been getting pretty messy.I was wondering,before I get started, is there a standard convention for the names and organization of namespaces?For instance,for a 3-tier program, should there always be a "UI", "Business",and "DataAccess" namespace (and is this what they're typically called)?Or should I just organize the project as I see fit?
View 2 Repliesi have heard that there must be a button on your project for taking back up of your whole project. I want to know something that what sort of backup it will take? and other thing is that how to make that button i mean that how to take backup simply?
View 39 RepliesI'm creating a custom button . when user select a image file for button image i want to add it to the project resource (in design time) .
View 8 RepliesI'm having some problem with VB project in visual studio 2008, when I open or create a new project in VB only code is displayed in the design tab but no GUI and toolbox is greyed out.
View 3 RepliesBack Up Files And Folder Project?
View 2 RepliesIts been a very long time since I don't show up here.Now I am back with a small project for internal use, but I need a little help.I want to make a program that allows me to change file attributes, like 'hidden', 'read-only' and 'system'.It seems pretty simple, but I want that multiple files can be modified at once. For this I would need a list that shows the files into the interface. There is what I can't get.
I first thought on a listbox, but there is also a listview which seems much more complete, but I just don't know how to use it. I was wondering if I could make something like: I open a folder, all the items inside that folder would be listed inside the listview.I learned a bit, but not enough. I've set the listview to 'details' mode, so I can actually list items. Also, I've added three collums: one for file name, other for file size and another for file attributes. I just need to learn now how they works.
I have a project I built in VB 2010 Express Edition. I copied the project's folder to a flash drive, pasted it into the visual studio 2010 projects folder on a different computer, and opened it with VB 2010 Express Edition on that computer. I can view the code, but when I try to open the design view, I get the following error:
[Code]...
Is there a shortcut to get to the designview form in a winforms project in visual studio 2010.F7 will take you to code behind class form and shift + F7 will take you to design mode. Is there a shortcut to filename.designer.cs formWhere you have the control definitions, delegates (for click event etc). defined. I go to the form often if I change the name of click event etc.I have to go through solution explorer and click on the file. Is there a shortcut like F7 that opens the designer.cs file?
View 1 RepliesHow to Roll Back project in Visual Studio
View 1 RepliesFor reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.
View 2 Repliesi was developing Voice Chat Application in visual Basic .NET 2008 i try a lot methods to make installer for it :
1- i add Project Setup Project for my Project for Visual Studio 2008 Deploy & setup Type Projects and make it with output option and detect dependices
2- i try make it with Setup Factory 8.2.1
3- i try with MSI Factory 2.0
4 i try with Setup Factory 6.0
and after making installer copying it to my test virtual Machine or my friend lap and install it i get this error when try to run my application :
[Code]...
im trying to edit an existing excel file. some cells were merged but after saving the file, all merged cells were unmerged again. Here's my code
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Dim xlApp As Excel.Application
Dim xlWorkBook As Excel.Workbook
Dim xlWorkSheet As Excel.Worksheet
[code]....
I have created a program in vb2008 that when first run will make all the required regisry changes it requires by creating a path in the registry.
View 10 RepliesUsing vs2008 9.0.30729.1 SP. Inserting a new record works but editing a record doesn't. Tried databindingsource but no joy as well.
Private Sub Gr1A_CheckedChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Gr1D.CheckedChanged, Gr1C.CheckedChanged, Gr1B.CheckedChanged, Gr1A.CheckedChanged
sAns1 = ""
If Gr1A.Checked = True Then
sAns1 = "A"
ElseIf Gr1B.Checked = True Then
[Code] ......
I have a datagridview, 3 textboxes, 1 NumericUpDown and a button.What I want is that when the user clicks the button, the current row that is selected in the datagridview will change to the values in the textboxes and NumericUpDown.
View 4 RepliesIs it possible to disable editing a combobox. With a textbox you have the option readonly. Is there something like that for the combobox?
View 7 RepliesIt gets some links in a listbox, And i had to create a new ListBox for because i only want to keep some items, So i got this.[code]But i had to do a new listbox for it, I dont mind that, But the problem is, It creates duplicates, I've tried making it delete the item from the first listbox after it was added to the new listbox, But it is not edible during the process structure so i thought i could get some help here because im getting so many Duplicates of 1 item.
View 8 RepliesI can add new data to the database and have it saved and everything (though my method not be great, but it works) but I'm having a hard time figuring out how to edit existing data and save it. assume it would be better to have it check whether or not the row exists, and if it does, just update it rather than trying to insert new rows? This is the code I have right now to
Dim newRefractiveRow As EyeBaseDataSet.Spectacle_RxRow
newRefractiveRow = EyeBaseDataSet.Spectacle_Rx.NewSpectacle_RxRow
With newRefractiveRow
[code].....
I have one CheckedListBox called cListBox, and I have one ListBox called ListBox.In my cListBox I have, for example:IDS_PROPITEM_TXT_011131Space Cadet Set for male characters comes complete with hair piece, Space Fleet Uniform, hands, and boots.IDS_PROPITEM_TXT_011141Space Cadet Set for female characters comes complete with hair piece, Space Fleet Uniform, hands, and boots.It is ALWAYS the case that you have IDS_PROPITEM_TXT_somekindof6longvalue (TAB seperator) some kind of text.
View 2 RepliesI have this code here:
Public Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Integer, ByVal lpValueName As String, ByVal Reserved As Integer, ByVal dwType As Integer, ByVal lpData As String, ByVal cbData As Integer) As Integer
Public Declare Function RegCreateKeyEx Lib "advapi32.dll" Alias "RegCreateKeyExA" (ByVal hKey As Integer, ByVal lpSubKey As String, ByVal Reserved As Integer, ByVal lpClass As String, ByVal dwOptions As Integer, ByVal samDesired As Integer, ByVal
[code]....
But when I execute it it doesn't correctly change the value of the DWORD from 0 to 1, it creates an invalid value.