IDE :: VB2010 - Creating Solutions After Program Has Been Debugged?
Jan 26, 2010
In VB2010 Beta 2, after program development, how do I deploy (or create a solution to), programs I have written? Also, how can I change the folder where VB 2010 looks for my help documentation Hope someone can help. I've been an on-again off-again programmer for years, but 2010 just makes my head spin a little...
As far as the solution creation, I've already tried clicking on Project-->Publish, which more or less seems like it wants to upload to a website rather than be stuck on my HD... I don't want to upload to the web;the whole reason I want to export is that I want to think I remember at one time having read something about the about box labels only displaying the new information you stick in them once the program has been turned into a .exe file, but I'm not sure; although now that I've run into this problem of creating solutions, even w/ this little bit of a program (nowhere near complete, something like a sure-to-be-crappy-take on Mass Effect 2.. it's primarily text based); heck, for that matter just about all I write programs for is because "hey.. it's enjoyable... umm... kind of" -- I originally started in college as a Computer Science major, switched to Music, transferred schools, the school I transferred to didn't think I had the skills they look for in incoming students, and from there switched to spanish major.
____, just about all I'd be good for is playing music and localization projects (both in and out of the game industry). Not so sure I'll get anywhere, but I said "what the heck, I'll upload my resume to EA".
as in VB2008 the documentation suggest creating a module or class, then selecting 'Export Template' on the File menu. Regrettably my file menu does not show the item 'Export Template' in my installation of Visual Studio 2010 Beta 2.
I'm trying to create a small game in VB2010. The gameplay is as follows:
civilians would walk/stand in a room/street and suddenly an evil character would pop from the ground/wall. This evil character would suddenly vanishes too. So, the player has to shoot it to kill the character. The evil character, civilians, etc. would be random. Also, there would be sound effects too. That is the popping up of the evil character, it's voice, the civilians voice, etc. I'm trying to make it as simple as possible but without degrading the quality of the game play. I think, I could somewhat create the graphics for the characters, scenes, etc. and can get the sound effects recorded.
So, the difficult part is,[ ] how could I make it a smoother for playing the game ? [ ] what would be the best way to do animations ? [ ] Creating a GIF and placing it in the picturebox and moving it ? [x]how to play the music in background and at the same time play sound effects on certain instance ?
I am new to the Forum and I hope this is the best location for this thread.I SEARCHed a few threads, but did not see quite what I was after.I am interested in how to make VB 2010 create a NEW COPY of my current project, with a NEW project Folder, New Name, but a copy of all of my forms and modules.
I see that VB 2010 puts my new projects in their own folder in Libraries/Documents/Visual Studio 2010 /Projects.As an example, I am working on a project, and have it a partially completed, partially working mode, and want to save this version before I go on making further additions and modifications to it.
I want the New Version to be the same as the current version, but I don't want any changes made to effect the older version.I could manually copy the current project's folder, but I am not sure what all of the sub folders and files do, or point to, or would otherwise have to be changed.
I'm NOT looking to track each change made in the project. I just want to occassionally have a backup version I can fall back on.I have several VB 2010 texts, but they don't seem to address this question.
Is there a command or couple of code lines that will pause the running program for one or two seconds?
I have a program that checks the system time every 250milliseconds and I need to skip checking it three times the first time it comes back with ":00" seconds from the system clock.
Or another option would be to reset the timer to 1000 and then back to 250...
So I am trying to get info from a scale using an RS232 cable into a VB2010 program. But before we even start talking about that, I don't know ANYTHING about serial ports. I need to learn how to get the data from the scale without programming first... I am using Win7. I do have a sample program (w/ source) I downloaded [URL]) It runs without any errors, then I have a big USER error, what do I push? How do I tinker to figure out the right settings on this interface? or any interface. These are the sittings for the scale: [URL] I am considering returning my scale and getting something with maybe USB on it, I need to be able to weight things up 100lbs, I am shipping car parts.
Is it possible to make a program with visual basic 2010 that does not use the actual form but instead only uses other components (e.g. Message Box) to form a complete program?
I finished my application whith vb2010, this application uses a Access database. I have a problem because when I install my application he put database in de same path "program files" and this path is only read And my application crahed. I know how to installer put database in other path but I don't know how to tell my application to find this database,
After upgrading code to VS2010, the error "MSB3134: The permission set requested by the application exceeded the permissions allowed by the Internet or Intranet zones. Select Full Trust or to continue using partial trust, define your custom permission set in the Security Page of the Project Designer. Bentley Software Loader". The same code ran fine in VS 2008
I have database in MS Access and this is Embedded to my program in VB2010 this is a Product Database now I try to create a reminder about my product expiration date
I have o problem on my codes sqldr = sqlcmd.ExecuteReader when i debug the program error says ExecuteReader requires an open and available Connection. The connection's current state is closed. i dont know what its means that error..
How we create a licensing system for a vb 2008 solution to protect it from unauthorized access? Is there any code to generate a unique system id to identify a machine like CPU ID etc.?
In our database we have gigantic tables (it was initially built 20 years ago). We are on the process of developing it.
Some tables contain rowversion and optimistic concurrency. We were wondering if there is a way to just correspond rowversion to the modification of some specific columns, but not all of them. In Normal Case, T-SQL which is generated then would be huge.
I have up until recently developed only in-house custom applications and I have never had a need to protect this software with any type of licensing/ protection mechanisms.I'm now working on a new project for a software app that I plan on distributing to a relatively small number of clients (1000 or so) and I need to consider some type of licensing/software protection solution that I can easily integrate into my application.I'm also looking for specific product recommendations (if possible) based on users experiences. With vast assortment of product offerings out there, I'm having a very hard time wading through them all.
I would like to stick with a software option over a hardware dongle type solutions so that I can make distribution and activation as painless as possible for my customers¦but would consider hardware options if need be.I have tried the KeyLOK hardware evaluation kit but it seems to be a little difficult to implement and it would force my customers to wait days before they could initially activate and use my application. [code] License registration and tracking via Internet..Software distribution is very controlled and it's not a techie type user audience, so hacking is not a major concern but I would like to protect the application as much as possible.
what is the correct way to archive my work? That sound pretty dumb. Let me try again. I begin a new project and design a form and then start adding code then save my work.Tomorrow I want to make changes to the project an design - how do I save and keep track of my form and code versions?
I have an issue with globalising my application settings.I have 5 Projects in one solution and I all 5 of my projects use the same connection string to connect to the DB.before I had added any additional projects, I could control this quite easily from the settings designer (Project > Project Properties > Settings) this will work well for one project.How can I share my settings across to all projects, and if the connection string is modified, save it back to the settings file.does VB support settings at the Solution Level?
I've got a StartUp project (StartupProjectA) in Visual Studio that references projects A, B and C. I've got all of those in SolutionA.My predecessor has previously added this solution to SourceSafe so that there's a SolutionA folder in SourceSafe, containing a StartupProjectA folder, and A folder, a B folder and a C folder.
It turns out, though, that StartupProjectB and StartupProjectC all live in the same directory as StartupProjectA on the local machine, so on the PC I'm using I have a [GeneralSolution] folder which contains a StartupProjectA folder, a StartupProjectB folder, a StartupProjectC folder, and A folder, a B folder and a C folder.My question is what do I do to get the Solutions for StartupProjectB and StartupProjectC into SourceSafe? I've tried adding them, but they all create their own copies of folders A, B and C. What have I missed?
I'm trying to use the Visual Studio SourceSafe integration to get these solutions into SourceSafe. Doing so creates multiple redundant copies of A, B and C. I would like to have one folder in SourceSafe, containing SPA, SPB, SPC, A, B and C folders. I'm not really sure how to do this, because I can only add entire Solutions to SourceSafe via Visual Studio. There's no option that I can see for "Add this folder to SourceSafe and recognise that these other three folders are already referenced in the repository and so don't need to be added."
All the refactoring tools for C# and VB.Net that I have seen only consider the source code in a single visual studio solution.For better or worse, our large (many related programs) system is spread over many solution files, however:All the code is below a single windows folder. Our nAnt based build system, builds all files in a windows folder to produce a single dll (bit more complex then this but not important for this question).Therefore ALL ".cs" and ".vb" files below the single root folder are part of the system.
So I am looking for refactoring and reverse engineering tools that take a single folder as input and act on all files below that folder.(The tools may need some help to decide what "public" and "internal" means, however most of the time "internal" means "in the same code tree" when a "code tree" is a folder that contains code and any child folders.)Now I am being greedy, I would like the tools to create a lot of all the refactorings that have been done and to be able to replay the refactorings. Then I could try out ideal and if they work, throw away my code, get the latest code, you do the refactorings and checkin the code before anyone else changes the files. (Likewise for when branches need merging)
i have tried googling this and cant find a way to do this, i hav 2 projects in the same solutions, i am trying to write a bit for Solution1_Project1_Form1 to open a windowsForm in Solution1_Project2_Form2.
Start main application & View 2nd application FROM within the main application.
Start the 2nd application WITHOUT using the main application.
both applications need to read and write to a database, i dont think this makes a big diferance but thought i would mention it
basicly i had to format my computer, so i needed to reinstall Office 2010 and VS2010, but now my solutions wont load, VS isn't giving much information about it apart form its a object refrence equalls null, but i dont have a clue where to start as it happening before the form load. this is all the information i can give.
An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object.System.InvalidOperationException{"An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object."}i have tried cleaning, rebuilding, build solutions and none is helping, if any1 can think of anything else to try please say, another option would be Their is a bit of software call teamviewer that i use, if anyone would be willing to download it and instal it, it would give them the ability to controll my computer to have a look and see what has went wrong.
Trying to get some VB practice after a long time rest, but I'm having some issues even getting a new solution open. Ok, I have VB '08 Express on Vista (Visual Studio also installed) and whenever I try to create a new solution I get the following error:[code]Now I've checked the forums and seen that this error has come up a fair bit, but I've tried the couple of suggestions I have seen to no avail.
I've been busily working on a solution for my JSP page problem using an AxBrowser instead of a WebBrowser .NET control. However - the problem seems to be that whichever approach I use, the "back to results" button on my work's JSP page produces nothing but an empty white page in the results frame. I've compared keystroke for keystroke in WebBrowser control, AxBrowser, and IE. The in-built solutions all fail, but the standalone IE works perfectly.Might the problem lay in the way the form is handling the processing of the web pages in the in-built solutions? Could it be a problem with Asynchronous processing?If so, would it be advisable to try the WebBrowser control in a BackgroundWorker setup? It must be something to do with my application, since IE processes the form correctly.
First of all, I wasn't sure whether this was VB.NET or General Developer content... It's not technically about VB.NET code, but it's not very general either since it is specifically about Visual Studio. Feel free to move it if required.A while back I realized that all of my database connection code was getting very biolerplate. had 'developed' my own method of connecting to an Access database and storing the results. Basically, for each table I create one 'Manager' class and one 'Entity' class. The Entity class represents a single record in the database and has properties for each field.
I am working on a C# project, which needs a VB.NET Class library.I have added the DLL reference of VB.NET Project into C# project.This works fine, but sometimes I need to debug the VB.NET project or pause the project and check the variable values of my VB.NET Project.Is it possible in Visual Studio 2010 Express Edition?
So I've been working with DotNET for a few years now; long enough to establish solid preferences for one available element over another, one available logic over another, and then to develop preferences for aspects of elements and logics.
The one that conflicts me the most is the stock Settings construct. It's a great idea - I mean everybody needs basic data persistence that isn't worthy of databasing, right? It's implemented in a way that anybody - and I mean anybody from flat beginner to highly advanced - can benefit from it. It does some heinously stupid stuff, though; for example, it angers me (and I mean full-on, where's my crowbar-OK-now where's the silly @#*! who came up with the idea anger) that the only way to save it is the way that's hardcoded in. The .SAVE method takes no parameters, there's absolutely zero exposure for the save-path to provide a more deliberate location, so the only place any settings ever get saved is in a ridiculously long (and literally arbitrarily designated) user-profile-based path.
So what happens if/when a user is ready to upgrade their OS (or just reformat and reinstall their OS, which the kinds of people who end up on my client list are prone to do just as part of quarterly maintenance), and they want to save their personal application settings to load in the next time around? They either have to hunt out that moronically obfuscatory save location or I have to write special (and I mean riding the short-short-short bus special) code which is more or less a whole new settings class identical to the settings classes implemented in the application to begin with, just to allow them to export their settings to a known location for transfer.
And what happens if a specific setting needs special treatment beyond the basic 'changing' and 'changed' events provided by the stock class? Since any change to the Settings Designer rewrites the whole code-behind property declarations, I can't do it in that code file; I either have to extend the Settings class or get back on the short-short-short bus and write that special 'mirror-class' again.
I'm not much for just general whining though, so some time back I wrote my own serializable classes (designed for specific data persistence, like generic/universal application settings and then also MySQL server connections/credentials and then also form properties and then also application-specific settings) along with shared save and load methods which give me more control over where settings get saved. These classes have evolved over the last year or so until they're actually pretty awesome (even if that's just my opinion)... I've even implemented full on-disk and in-memory encryption functions for applications that need different privilege levels, to prevent any tampering at any time.
And then a multi-user application project comes along and suddenly each individual settings class needs multi-user support based on the Windows user logged in, and suddenly the stock Settings class is the best option again even though it's still the worst possible option in settings persistence.
So what I want to know from this discussion is this:
How do YOU handle application and user-settings persistence? Is there something really key that I've been missing all this time that makes the stock Settings class more than absolutely worthless (which has been my opinion since about the first time I ever had to work with it)?It never hurts to try. In a worst case scenario, you'll learn from it.
I have to design a form that analyzes a poker hand entered by the user in the textbox and then the listbox has to display the type of hand entered. for example, four of a kind, three of a kind, a pair, a flush, a straight if ace is low, an ace-high straight that is the sequence 10 j q k a, etc.I have no idea where and how to start the coding.i am really stuck..