I was at a class recently, and the instructor started a new Visual Studio 2008 project using a "COM project" template. Now that I'm back, I tried finding that template in my installation of VS2008 with no luck. Does anybody know where I can find that template, or failing that, what it might be doing to achieve its effect?
I am very new to Visual Studio Application Development. I'm mostly a DB guy. I used Visual Studio as a Report Designer, not much of an .Net guy though I can understand it. I am now asked to create a .net application and I'm trying to create a "Hello World" starter app. I opened my Visual Studio, click File-New Project and all I see is Business Intelligence Projects and Other Project Types. My step-by-step guide says choose Visual Basic, Windows Forms Application. But I can't see it as an option.
I want to use "OpenGL" in my project. Is it possible to associate it with "Visual Basic" application developed in Visual Studio 2010? If yes then how can we do it.
Using Visual Basic in Visual Studio 2008. I have students zip the folder for a vb project and send it to me. Then I unzip and add it to a project of mine. It will not open any of their work as the path has changed. I can't even see the code. If they send me the code only then I have to recreate the forms. They also have problems saving it on a jump drive, then moving that jump drive to a different computer as the drive letter changes. I have looked for help and it states to go to icons that I can't find in studio 2008. Using the open existing project gives the same result as the path has changed. Is it impossible to give someone else an existing project? I have gone in the import/export options but have run out of guesses.
I am about to start up a new project using Visual Basic .Net Express 2008 and I was wondering if I should install and use Visual Basic .Net Express 2010 instead. I would like your opinion of 2010. My project isn't especially fancy. But an automatic adjustment for monitor size would be useful.
Does 2010 replace the existing VB Express? Do I have to convert my existing projects? I had problems with this going from 2005 to 2008.
I was a COBOL programmer agout 15 years ago and I am now just getting into Visual Basic. The owner of a local business has asked me to write a program to perform what I think is a simple task. In the past the business would process payroll checks and print them in-house. Now they are using direct deposit. Checks are no longer printed. The check stub though is printed. This stub is then carried to each of 10 locations across West Tennessee and distributed to the employees.
This is my task: capture the stubs to a file (PDF, XPS) and email it to each employee. This way the employee will recieve the stub on the same day the deposit is made. I can capture the output file (the stubs) and save it as a PDF file or a XPS file. I can send an email from within a program. What I don't know how to do is open the PDF or XPS file, read the email address and insert the page into the email body.
I'm working on my first T4 code generation tool to add some Stored Procedure helper code to my project. I've created custom types (e.g. StoredProcedure and StoredProcedureParameter to help with my code generation and have included the assembly and namespace references in my code:
This allows me to use my custom types in my T4 template code. However, because my custom types exist in the same project as the T4 template code, I can't recompile my project once I run the template code without restarting Visual Studio. This isn't very much fun.
I read a great article that addresses this exact issue by using the T4 Toolbox, but it's not working. Either I'm implementing the VolatileAssembly directive wrong or the T4 toolbox simply didn't get installed. I'm not sure that the toolbox got installed correctly (I'm using VS 2010 on Win XP).
I want other programmers to critique my applications so I know what neeeds to be improved, But that cant be done if I just show the source code. Is it possible to upload a whole Visual Basic project to a thread? Brandon Jimenez
I make a program-application in visual basic and it work OK. When I pack my application in setup project and make the installation, the database(in program) it did not save a new data or any update. Where is a mistake ?
I converted one of my projects from Visual Basic 6.0 to Visual Basic.NET and noticed stuff such as:
Quote:
'UPGRADE_WARNING: Structure PROCESS_INFORMATION may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 'UPGRADE_WARNING: Structure STARTUPINFO may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"'
Clicking on the link it talking about Imports System.Runtime.InteropServices. Which, I am guessing means the project a mixture of both .NET and .COM. How would I rewrite to be totally .Net compatible instead of relying on .COM?Also where would I put code in VB.NET if it was in the Form_Initialize() sub in VB6.0?
Just curious. I recently had an incident in which I was called to troubleshoot a VB Winforms app. I have 2 versions of a package (LeadTools) installed on my machine. These packages contain numerous dlls and it is not unusual for a dozen or more to be referenced in a single program.
I have a vb 2008 code project i need to build the exe filehow could I do this please note that our clients do not have visual basic 2008 software..so how can I build the exe file of vb 2008 project and run it in other machines where visual basc 2008 is not installed
I am hoping that somebody here is familiar with the book, "Doing Objects with Visual Basic 2005" so this question makes more sense but I will try and ask it in a way that makes knowledge of the book irrelevant.The book contains a sample project that I am trying to use as a "framework" for all my new projects. The project shows you how to read and edit objects to and from a database and that part works great. The author then leaves the new and deletes up to the reader to do, which is a good way to learn. However I am having trouble with the it. My problem is that I am having trouble implementing my own ProcessNew InterfaceI think this is how it should be:
Public Function ProcessNew() As Boolean Implements IMDIChild.ProcessNew Dim myGoal As Goal = TryCast(GoalBindingSource.AddNew, Goal) myGoal.Goal = rtxtGoals.Text
Is it possible to initialize a My.Settings value in a Visual Basic Deployment Project (VS 2008)? I can add the Radio Button Dialog to prompt the user, but I don't see how to use that to set the My.Settings value.
Project Euler's problem 16:2^(15) = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.
What is the sum of the digits of the number 2^(1000)?I have been trying to do this problem for a few days now and i just can't figure out how to get vb.net 2008 to recognize anywhere near that large a number. I have seen in other posts that some software like java has the integer type BigNumber or BigInteger but i cant find anything like that in visual basic. I'm running into this problem a lot using Visual Basic. I also can't seem to find any of the standard upper level math features in visual basic such as factorials and a few others that i can't remember but couldn't find under the math feature. any suggestions? (Sorry let me rephrase, any suggestions on how to do this stuff without switching to a different programming language.)
found that Visual studio Basis not have a 'Package and Deployment' project type, andVisual studio professional Trial Edition is a temporary solution and also I remember that the license agreement says that Trail Editions
For some reason, the Add New Item command on the Project Menu is hanging VB on my Vista based machine.but now, it hangs. By that I mean the the little circle cursor spins and spins and spins... This happens even when all I do is start VB, start and new project. and then try to add something, eg. another form, a class, anything except "existing item".
I want to change the defaults of setup project, (ex. installallusers to true, it comes with false). Any one know where is the setup project template, so I can change it
After installing Monobjc and playing around with the Monobjc Application Project under C# in MonoDevelop, I noticed that there is only an empty Monobjc project under the VB section.
Obviously this template adds all the correct references but doesn't add the basic files for the application to run. I've tried creating a class with:
Imports System Imports Monobjc Imports Monobjc.Cocoa Class Application
[Code]...
Also if I add in a xib file from IB, how do I generate the designer code for the partial AppDelegate class?
I am trying to write an add-in into the SSMS 2008 R2 IDE. I believe it is possible, though maybe not fully supported by Microsoft. I have created a new project in Visual Studio 2010 of type Extensibility - Visual Studio Add-in. This has created my project and all of the relevant code to get the add-in loaded onto the Tools menu. The only line of code I have added is in the OnConnection method to display a messagebox so I know it has at least loaded.
When I build this as is, it will load as an Add-in into VS 2010 onto the Tools menu - which is fine - at least part is working. But when I try to add this as an Add-in into SSMS 2008 it keeps giving me the error message:The Add-in 'DataFollower.Connect' failed to load or cause an exception. Would you like to remove this add-in? ... Error Message: No such interface supported.
Below is a top half of the code in question. This code was created directly from the VS Add-in template - nothing has been altered. The error occurs on the line:
_applicationObject = CType(application, DTE2)
This is running on a Windows 7 64bit machine, SQL 2008 R2 64bit and VS 2010.
Imports System Imports Microsoft.VisualStudio.CommandBars Imports Extensibility Imports EnvDTE
I need to write a paper on the comparison between (Microsoft Visual studio 2005 to develop web applications using asp.net) and (visual basic and Netbeans to develop j2ee applications using java).I need suggestions for good webpages,journals or documents which can help me out here. I have to write at least 1500 words so any suggestions are welcome.
In a while loop, I am writing a progressively increasing integer value (between 0 and 100) to the Value attribute of a ProgressBar control, when it disappears from the window in which it resides. I have verified at the time that it disappears that the Min is 0, Max is 100, and Value is a valid integer in range.