Import C# Code Into A VB Project?
Sep 9, 2008
Is it possible to import a c# code that I have (which highlights lua syntax in a richtextbox control) into a vb .net project or convert it from C# to Vb9? I tried a converter but it didn't seem to work.
[code]...
View 7 Replies
ADVERTISEMENT
Jan 19, 2011
Is there a way to import MS-DOS code into vb.net project and make it .exe out of .bat.
View 2 Replies
Dec 18, 2010
Is it possible to import a vb6 project into VB2010?
View 1 Replies
Jul 29, 2009
I want the image to be stored inside the exe file and not taken from the harddrive of the user, what is the right way of doing it ?
View 5 Replies
Mar 11, 2010
Is there a way to import an xml file into a vb project and have the structure and data visible? I'm wanting to create a data structure within my project that has all the data from the xml files already compiled in. The data in the xml file is static reference data that never changes, and my project lead doesn't want to put it in the database or distribute the xml file.I'm just wondering if there's an easy way instead of manually building an array line by line - there are hundreds of data elements.
View 2 Replies
Mar 2, 2009
everytime I import some file to my program, like a picture, I write down the ImageLocation, but if after the program is ready I delete the picture or send the program to a friend who hasn't the same picture at the same location...
View 2 Replies
Sep 3, 2010
I want to import an external database to my project using OpenFileDialog, the question is that there is a method of verifying the basic structure of external data is consistent with that of my application
View 8 Replies
Feb 19, 2012
I wanna make a project that's have to import multiple file's at ones how do I do this?The language is visual basic.
View 7 Replies
Oct 28, 2011
I could not find a clear cut answer to this question when searching MSDN (too many references come up about Microsoft Document Imaging) so thought it better to ask.
Is it possible in VS2010 to create a new MDI application and import stand alone Windows forms applications into it?
The reason I ask, is we have a number of tools that have been created as single apps but there are quite a number of them and it would be nice to combine the lot into an MDI app.
However I don't really want to re-write any of the apps, so is there a way to import them instead?
View 3 Replies
Jun 20, 2012
I am trying to create a custom LabelFor helper to apply by default instead of the standard LabelFor helper include in System.Web.Mvc.Html. I want my LabelFor to take model properties that are PascalCase and make a label that appears as multiple words. For example the property FirstName would appear as "First Name".
I found this post that shows how to make a custom LabelFor helper that allows the addition of html attributes. I recreated this helper in VB.Net and modified it to do what I want, but I am not able to get it to work.
[Code]...
The sample includes this Module in Namespace System.Web.Mvc.Html but when I add the namespace declaration to this module everything in the rest of the project goes haywire. For example, each of my models has a Primary Key property that is a Guid datatype and as soon as I add the namespace above to the module, I get several errors stating that System.Guid is not defined among other similar errors.
I've tried to import my project namespace into a view in order to use the custom helper, but then I get an error that says Overload resolution failed because no 'LabelFor' is most specific for these arguments.I am trying to avoid having to specify a DisplayName for every PascalCase property I have in many models.
View 1 Replies
Mar 4, 2009
how can I import the System.ServiceProcess namespace into a WPF project in VB.net (not C#)? The ServiceController object is not in the toolbox in VS2008 and can't see to figure it out. Any ideas? If that particular namespace cannot be imported into WPF projects, could somebody suggest another way of controlling windows services from a WPF application? I know this framework is focused more on multimedia apps, but would really like to switch over some of my tools to WPF.
View 2 Replies
Aug 17, 2009
I have this VB ASP.NET Web Service Application project running VS 2005. I'm trying to add references. To do so I click on the "Properties" icon in the Solution Explorer window which presents me with a window to add/update/remove references. I click "Add", I select the reference I want and then "OK". Lo en behold, NOTHING! It simply won't add references (I tried adding several different ones). Specifically I'm trying to add the System.Configuration assembly.
[Code]....
View 1 Replies
Feb 21, 2012
I have a vb system and I wish to execute some code depending on the result of a text box. The text box could contain two strings, depending on the result I want to execute a set of rules to search for specific files e.g. if one option the code will search for certain files defined for example request.doc and if other option then it will search for other files, which are my rules for the searches. I want these rules to be external to the system and for them to be loaded in so that its easier for the user of the system to change these rules if needed so they dont have to go into the programming of the code. Is there a specific file I can use such as .xml or a just a basic .txt file and what would the syntax be for these?
View 21 Replies
Jan 24, 2010
i need to import image and use it as code in button
View 1 Replies
Mar 18, 2009
I know it is a no no to just ask for code, but I need someone to point me in the right direction...
where should i be looking for such a function:
I want to take the code that is in a text file [code]...
View 3 Replies
Aug 31, 2009
I am creating a MS Access database. The database will import a table from another Access database, query for selected data within a date range. Thus, I am having difficulty with the Macro code to import the initial table. Therefore, what's the code to import a table from another access database? The database is names InputContract.mdb.
View 2 Replies
Apr 8, 2009
I am trying to load an actixex component in a VB project which was made in Visual C++.n VBA it works fine.In VB6, when I try to load the component on the toolbox I get an "Error 35005"In VB2008 the component can be added to the toolbox, but when I try to place it on the form, the following error occurs: "Failed to import ActiveX control. Please ensure it is properly registered."
View 1 Replies
Jan 9, 2010
I am developing a vb.net application in SQL server 2005 ,now i would like to import MS access database tables from a network into sql server 2005 database, using stored procedure or vb.net code without using SQL server 2005 Wizard .
View 1 Replies
May 7, 2012
Have built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?
When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?
View 5 Replies
Jan 22, 2009
I'm curious - is there any way to see all of the code for a project? I'm wondering how much VB does automatically for you in the background.
View 3 Replies
Mar 7, 2009
I am coding an ATM interface for a VB.net project. I wish to use command buttons to enter the code, just like one would do so at an actual ATM. I am using 4 separate labels or text boxes (whichever is more convenient), to print the separate numbers to, once the command buttons are clicked by the user.
The problem I am having is that once the 1st button is clicked, it is continually being overwritten, by clicking a second button. I have tried making the labels or text boxes... enabled = False, but it is still overwritten when the second button is clicked. Is there any means of bypassing this problem and getting the first label or text box locked off, after the first click?
View 2 Replies
Aug 7, 2009
What is the easiest/simplest way of finding out the number of lines in your VB project?
View 4 Replies
Feb 5, 2010
I want to make a project in which i only use dlls for any kind of work plz tell me how to make a dll i dont know how to make dll.
View 1 Replies
Jun 2, 2010
Anyone have code to accomplish this?
View 7 Replies
Aug 23, 2011
I have been working on them and adding to them for several months. Out of nowhere, one of the subs in my project is not recognizing updated code. I had a for loop in there that was acting funny so I changed something and noticed no difference. I messed with it for a while and decided to just replace everything in that sub with a simple msgbox and it still tries to run the code that was previously there. I have built the solution, rebuilt it, cleaned it, closed and reopened it, removed the bin and obj folders and restarted my computer several times. This is not a server program or anything dealing with IIS or anything like that.
View 4 Replies
May 30, 2012
Project running old code instead of new
View 2 Replies
Jun 6, 2011
Can I get access to the code of an application without having the Project Solution file? We had someone leave the company and we need to get to the code that they created. What we have are the following files:[code]....
I only know how to access code by clicking on the project solution file for an application but I'm not sure if there is another way to do it.
View 3 Replies
Feb 1, 2008
send me source code for any billing project
View 3 Replies
Jun 9, 2012
Find the COMPLETE CODE for the DynamicDataEntry project mentioned in Evangelos Petroutsos book, Mastering Microsoft Visual Basic 2010, page 239, theme "Handling Repeated Data Items".
View 2 Replies
Oct 22, 2009
I have an application which has been deployed in a setup programme, but have lost the original project setup code.The new versions setup project has a different 'Upgrade code' GUI in the setup project and therefore when you try and upgrade the product it throws an error saying that a later version of the product is installed!
Is there any way for me to retrieve the Upgrade Code from an installed version of the program so that I can amend the new installer to match the old program.The program has to be installed to 350+ desktops via active directory, so no answers with silly shortcuts that only work for a single PC please people.
View 3 Replies