Updating An Project File From VS2008 To VS2010?
Oct 22, 2010
If I create a new project on VS2010, and add the WMP.dll reference place the WMP control on a blank VB form, build and debug the application it will run just fine.But if I upgrade a project that already had the WMP.dll reference in it, I cannot debug the application because I gives me this error
View 4 Replies
ADVERTISEMENT
Jul 24, 2009
I've made a few really simple VS2010 projects. I used .NET 3.5 for the last one. Should I be able to open them in VS2008?
View 3 Replies
Feb 15, 2011
Tomorrow, we have to submit our project for the first review.But I had created it in VS2010 ! But in our labs, we have VS2008, where this project will be copied and reviewed by our tutor.
I know, my project won't open in that system having VS2008 installed. Is there a solution to fix this issue that I'm going to face on tomorrow ?
View 10 Replies
Sep 16, 2010
I am migrating a project from VS2008 to VS2010 (Framework 4)and I keep getting the following error when trying to use databinding with a child property in VB2010.
View 7 Replies
Dec 26, 2010
I've upgraded to VS2010 version 10.0.30319.1 RTMRel; when upgrading my VS2008 project, all is well and appears correct until I run the code. Then I get the following error when I run a report that uses an XSD file for the schema"Inconvertible type mismatch between SourceColumn 'TemplateName' of Byte[] and the DataColumn 'TemplateName' of String.".When I look in the original XSD file and in the new XSD file, one of my fields has been converted from a string to a byte and I have no idea why.
View 2 Replies
Oct 30, 2009
I have a big application which is really working succesfully written in VB.Net version 2005 I am wanting to upgrade this to VS2008/2010 early next year. All versions used would be the fully paid for versions
I am totally clueless about what this upgrade would entail. I cannot afford to re-write the entire application as it is critical to our business.Can I take my code across without too much hassle? And then slowly "re-write" the code to take full use of the new features. Would i need to attend some sort of "new features" course? Or is the accompanying documentation good enough to get by.
View 5 Replies
Sep 10, 2010
when upgrading from VS2008 to VS2010 or what problems & issues you ran into? Just trying to make the switch as painless as possible.
View 6 Replies
Aug 22, 2011
I am currently working on a school project in VS2010. I have added a .exe file in the project folder and added it to the Project as a 'Existing Item'. In Project Properties -> Publish -> Application Files the .exe file is shown.
The .exe file runs quite nicely when I use the Process.Start("C:\NameOfMyApplicationFolder\MyProgram.exe") hard code path to the .exe file. However, I am faced with two(2) challenges that I need to overcome. These are they:
1. If published on another machine the .exe file will not run as the hard code path to the .exe file will be different from that on my machine. Therefore I need a way to create a generic path to the .exe file. I have tried these [Process.Start("C:\|DataDirectory|\MyProgram.exe")] AND [Process.Start("Localhost\|DataDirectory|\MyProgram.exe")]; I got an error message that "The system cannot find the file specified".
2. I am putting the Process.Start("xxxxx.\MyProgram.exe") on a button click event. I also want to put the running of the .exe file between two(2) lines of code. The first line of code is basically asking "Do you wish to run the executable file" - YesNo. If 'Yes' is selected the .exe file is run. Here is the problem: When the .exe program is closed the second line of code is to be executed. I have gotten the .exe to run (using the hard code file path) when 'Yes' is selected, and the second line of code to execute if 'No' is selected, but I have not been successful in getting the second line of code to execute after closing the .exe program. I have tried this: [If Process.Start("C:\NameOfMyApplicationFolder\MyProgram.exe").CloseMainWindow = True Then Do line 2 End if]. nothing happens when I close the .exe program.
View 14 Replies
Dec 23, 2011
Public Class Form1
[Code]...
View 11 Replies
Feb 12, 2010
im trying to debug javascript using vs2010 but i can't set breakpoints? every time i try to call a function, no matter what function, in javascript, somehow jquery and ms ajax framework javascript captures it and checks if the document is ready (document.onready or other) and never returns the control back to the function im calling!all i have is references to these libraries, script/link references as you do on the top of your master page.
View 3 Replies
Dec 14, 2010
After upgrading my solution with both c# and vb.net projects I have encountered some problems:
1. When for example writing Public Property MaxDate As Date and pressing enter it does not create the Get/Set values
2. Refactoring is not available
3. The properties window is blank when viewing classes (normally I would see Serializable and COM properties to the right)Intellisense works and the above problems work in new projects.
View 3 Replies
Apr 29, 2011
I am working on an ASP.NET project where I use VB.NET within Visual Studio 2010. Some of the other developers on the project are using Visual Studio 2008. We all check our code into single SVN repository. I would like to start using Auto-Implemented Properties within VB.NET ...
Property FirstName as String
instead of ...
Private FirstName as String
[code].....
My concern is that this could mess up things for those using VS2008. What would happen if someone using VS2008 needed to modify my class that made use of Auto-Implemented Properties? I am assuming that since everything compiles down to IL code then there would be no issue in binary compatibility. Though a problem would arise when editing source.
View 1 Replies
Sep 30, 2011
on vista trying to create a reference to a registered DLL which succeeds with VS2008 but not with VS2010 (get system cannot find the reference specified).on vista and win7 using dependency walker the DLL cannot find IESHIMS.DLL which is in the IE folder.
View 5 Replies
Oct 7, 2011
how to update fields in an Access database through VB. What I'm supposed to do subtract the quantity of the daily orders from the inventory quantity. My textbook is a little bit vague at this point, because the only way it describes updating the DB is manually through the BindingSourceNavigator. I don't want to enter it manually, I want it to subtract the quantity from the orders table.
Public Class frmMicroland
Private Sub frmMicroland_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code].....
View 1 Replies
Nov 2, 2010
I have a VB6 Project which I need to build in VS2008.
i tried to open vbp file in VS2008, it opened a VB Upgrade Wizard and created a new folder with in my VB6 Project Folder.
At this point I am completely stuck.
Is there anyway to build VB6 in VS2008 or Do we have any free tools to convert VB6 to VB.Net.
View 5 Replies
Feb 16, 2011
i wanted to know the primary output and other types of files listed when u add project output what exactly they are how they r used.Another thing what comes under detected dependencies.?
View 4 Replies
Oct 6, 2010
I've been getting this periodically since moving to Windows 7.Without any exceptions, messages, or even output a project that built fine seconds ago suddenly says "Build FAILED".
View 16 Replies
May 9, 2011
can a vb6 project be imported into vs2010? I have a vb6 project that I have been working on and would prefer not to start all over again.
View 6 Replies
Apr 28, 2010
web page has a few fields to allow the user to enter payments. After the system processes the payments, the fields weren't cleared out.so my task is to simply clear them out.[code]The procedure is writing an HTML receipt into the strBody and displaying it to the user.They see the 'File download, do you want to open or save this file' and can open the receipt in ms-word. Without those three lines, the resetting works. So clearly they are messing up something, I just don't understand what.I've got a workaround, but I'd like to know what is going on.Even to the tune of is this a correct way of creating/downloading a document.This in an inherited system, the original designer is long gone.
View 1 Replies
Mar 20, 2012
im currently designing a student application form in my VS2008 Project.Theres a lot of information that the end user needs to insert for eg, Applicants Info, Parenta Info, Medical history etc What i want is some advice on how i can design this? At the moment i have too many textboxes and comboboxes for the information that needs to be provided and im losing space on the application form. Do i split the form into different parts using tabs, ie tab for student, tab for parent etc or is there a better way?
View 1 Replies
Jul 7, 2010
This project has been upgraded from VS2003.Was fine at first but now is taking so long to build after make small code changes my development has come to a screeching halt.Its a fairly big project but hasn't grown since before the upgrade.VS2003 only took seconds to build.Also during the 30 minutes the CPU is pegged at 100%
View 4 Replies
Sep 29, 2010
This may be a strange question and have no answer but I thought I would post it to see how you would go about doing it. I have a line of code:
Grade = Math.Round((Math.Abs(CorrectAnswers) / TotalQuestions) * 100)
Basically that line just figures out the grade no major code work there, what I want to do is execute that specific line with different variables without running the whole application and navigating to the point in the application which for this segment would be completing a 150 question exam, or coding some #temp page and running it from there.
View 3 Replies
May 20, 2010
I am using VS2010. I have a project that has been deployed for several years. Project builds fine but now suddenly I get the message "Cannot publish because a project failed to build. This program is been updated and published hundreds of times.
View 11 Replies
Jun 18, 2009
hook up the edmx generated classes such that we can include them on the uml models? This would be great if we could because when we do support we could reverse engineer the database, generate the objects and then directly use them in our sequence diagrams and in our workflow services. Also if we could generate code, and or link code back to the model from the UML model classes that would be great as this would let us graphically show our applications at any point.
View 1 Replies
Jun 6, 2010
How do I go about importing existing Crystal Reports to a new VS2008 project?
View 1 Replies
Aug 24, 2011
currently i am doing a billing system project using vs2010 and sqlserver 2008. i got 2 form, one for invoice & one for delivery order, and a button to submit the invoice details to DO form.
would like to ask a few question,
1) once i add new transaction, the invoice number will be auto increment and save all details into database table.
2) the invoice number cannot use again even after the transaction being canceled.
3) how to make the DO number and invoice number the same as per transaction done / undone.
View 7 Replies
Feb 21, 2012
Okay, so I wrote a few custom ItemTemplates for VS2010 that implement IWizard in VB.NET (4.0). Straight forward enough. They work during my testing, but when someone else deploys and attempts to use any of them, Visual Studio throws an incredibly generic Exception has been thrown by a target of invocation error.
Stranger still, after they open up the project properties and try again... they work. Without changing anything. Anyone have any clue what is going on? Or perhaps even just a way of getting VS to give me a more specific error? I already tried devenv.exe /log but nothing out of the ordinary was there.
View 1 Replies
Jul 29, 2010
I have recently seperated some code from my original Project and I have created a class library which is where my function resides.
originally my function was stored in my win form project and I could call this when needed and increment the progress bar for example
do
processing code
progressbar.value = x
loop until x > y
how do i do the same if my code resides in a seperate project (class library) ?
View 8 Replies
Nov 23, 2011
Here's a dialog box which runs for approximately 16 projects and takes over 5 minutes to complete (in total).
View 1 Replies
May 22, 2012
Ok I know this question has been asked to death but I still have not seen a good answer. I have created an application in VS2010 using VB.NET. In my application I have an error log that is an XML file located in the Public gstLocalErrorLogLocation As String = Application.StartupPath & "ErrorLog"that gets written to in the event of an error so I can trouble shoot application easier. My application also downloads files from our FTP site and puts the files in Public gstLocalDownloadLocation As String = Application.StartupPath & "download"So I have files that get read and written to as well and created and deleted all in the Application.StartupPath which is either "c:Program Files(Application Directory)(Some Directory)(Some File)" or "c:Program Files (x86)(Application Directory)(Some Directory)(Some File)" depending on 32bit or 64bit Windows 7.
After creating the setup I install it on my test machine that have both Windows 7 32bit and 64bit.Everything in the application works great till I have to write to, delete or creat a file in those directories above. I know it is an access issue and the UAC. This will get installed on numerous systems so the options I have seen to change file or folder permission on the computers manually is not an option.What has to happen is after I install the application it just works like when you install it on XP. Some post have suggested that you us a user with administrator privilages or group which is all fine and dandy but the user I have used to test the application has all of that.
So what I am asking is how do you create an application with VS2010 in VB.NET that after creating a setup package and installing on Windows 7 will just work with out "Access to the path c:Program Files(Application Directory)(Some Directory)(Some File) is denied." If I have to install this on 100 Windows 7 computers it has to be a concreate no manually doing anything just install and work like when we installed on XP.
View 5 Replies