Switch Project From Program To C#?
Jun 29, 2010Is there a way to change the language of an ASP.NET project from Visual Basic to C# easily? I would even be willing to re-write the code as it's still fairly simple at this point.
View 2 RepliesIs there a way to change the language of an ASP.NET project from Visual Basic to C# easily? I would even be willing to re-write the code as it's still fairly simple at this point.
View 2 RepliesI have a web browser on my form and it is definitely big enough to warrant a tab control, with the web browser being on the second tab. I have a button on the first tab that should have the browser navigate, but how do I make the program automatically switch to tab 2? i.e., this is what happens:
1 - user is on tab 1,
2 - user clicks a button on tab 1,
3 - the program does what it needs to do and automatically switches to tab 2
For instance, here is the button that will be clicked:
Private Sub swap_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles swap.Click
If video = False Then
[Code].....
So the button will make the web browser go somewhere, I just want to have the form switch to the other tab automatically so that the user doesn't have to do it. I tried using webbrowser1.focus() to no avail. Is there a tab switch?
I am not new to programming but have little experience and am trying to learn VB 2010.
We have HP Procurve network switches and I know that with a telnet application I can login to the switch and it will tell me which MAC address is connected to which switch port. Im trying to write a computer inventory program to track my computers and it would be really cool if I could figure out how to determine which computer is plugged into which port on the switch. Problem is that I have no idea how to go about doing that.
Is this anything anyone has tried before or does anyone know how to go about doing it?
Ive been hunting on line but havent found anything useful so far and thought Id ask here in the off chance someone knows what Im talking about.
I'm Jojo and i'm developing a program to help ppl in WoW.There's just 1 function which I can't manage to figure out, the program has to switch to the WoW window when I click a button.
View 19 RepliesHow to switch off the annoying (to me anyway) horizontal line that seperates procedures in Vb?
I've setup a new Dev machine for myself and for the life of me I can't figure out how to switch it off in VS2008.My mind is obviously failing with age, I know I did it on the old machine!
Basically what I want to do is create a program that every now and then (maybe 10 minutes) switches between either, all the windows currently open, or a selection of all the windows currently open, then checks the colour of a location on the screen. At the moment I have the program checking the colour at a specific coordinate, so that's all good. The problem I have now is how to switch between windows.
I've thought up a few ways to do this. The windows that I care about checking all have the same name, the same process class, but different process IDs. I already managed to stick all the process IDs into an array of integers hoping that I could use them but I don't have a clue how to bring a window to front using just the process ID. So the first method would work if I could figure out a way to do that.
My second idea, which is a pretty rubbish way of doing it, would be to simply simulate pressing Alt+Tab however many times to change between windows.
Has anyone else had issues with Visual Basic 2010?My visual basic program has been running fine for months but recently every time I try and load a project (any project) the program freezes, then I have to close it down and reload, every time I load Visual basic for the second time I get the following error:
HTML
An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error.Plus when trying to run a project in debug it takes ages to load (around 5 minutes) this has only started happening recently, projects were loading in seconds.
I have a standard "class library" project with a set of classes that I use to import in almost all my new projects.
The way I work is creating a new Solution with an empty project, which is my main project, and then I add to the solution the mentioned class library project, this way I can see both projects in the Soluction Explorer and even see the library code or update it if needed. Then I write the code in my main project and I compile.
This lead me to have 2 files when I compile: file *.exe and stdlib.dll
Some cases I use the lib for very small tools that I want to redistribute in a easy and clean why, so I would like to embed the stdlib.dll generated from my class library project into my *.exe file.
I have installed visual studio 2005 Professional Edition, and at the install time i selected only vb.net language and uncheck the others.
now i want to develope a project in ASP.Net, so can i directly work in vb.net or simply assist me what should i do?
I'm new to visual basic.
1) Why when I load vb6 files in vb2010 it shows many errors?
2)Hold on tight please here it goes: Removed by Moderator since the question violates our AUP
how i can convert my project into exe program.For your info i am using visual studio 2005 . I have 1 project which i develop using vs 2005 and i want to convert it into exe so that i can run my program at other computer.
View 4 RepliesI would like to use the below VB.Net class in my C# Project. [code]...
View 4 RepliesPublic Class ExtendedDateTimePicker Inherits DateTimePicker
View 5 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 RepliesDoes anybody know how to add reference of ADO in VS.net 2008?
View 4 Replieshow to create a own project file in my program?
Like my filetype is "*.test" and if i open it with my program my listview and other things will load info.
I am working on a Credit Card Project Program. Where you can create an account by typing in an account number which then starts you out with a $1,000 credit limit and balance.I have most of all the programming done for the project. Except for the updating of the current balance when charges are made and I'm having a problem with the interest which works but only shows you the interest fee when you calculate and not the interest fee + balance due. But I wont worry about that now.
What is the method of doing this. Can I write a new function that will update the balance available based on the charges or payments made? Or can I somehow program that into the current functions?
I found very few project templates in my vs 2008 express edition, so where i can find more project templates on net to download?
View 1 RepliesMy application placed in D:SampleWindowsApplication1 . i want get this project path ..
I traid but always it comes Debug path i need to get upto WindowsApplication1
I have finished developing a small, completely useless but working project. It was my first in VB.
What i wouold like to know is how is the best way to get this project online for download?
I dont have a web site or web page, and this project is just a bit of fun (fitness test).
Could anyone tell me the steps I have to take? All i want from it, is to be able to place a series of screen shots explaining the project and then if someone should wish to download it they can.
I dont need prime time internet coverage, just a place to put it online, pref free. Plus, there have been many kind people from this forum who have given me thier free time and effort to help me with code issues, so if I am allowed and any one is curious i will post the site link to here and you can see where your effort has gone to, and should you wish provide positive and negative comments at your leasure.
I would like to rename my project in VB2008 so I can resume and improve it.
View 3 RepliesI have a project that I have created, it something like a contact database.It is complete with its own sql server database, and controls and forms.I kinda of understand that I can include this project into another project.This is the tricky part,Can I include my contact project into another project and add more items to the database and forms in a new project?What I'm after is like using classes.My contact database would be like the base class, and the new project would be adding more features to that project.
View 10 RepliesI've got an existing asp.net project written in vb.net. Another person has written a user control in c#.
let me know the steps for adding that C# user control to the vb.net app?
I've tried copying them to the folder and using "Add existing item", however it doesn't compile the code behind at all.
Setup and deployment project template is missing in my installation
View 2 RepliesFor our VB.NET websites we use SVN for Source Control and CruiseControl.NET for continuous integration.
To use the SVN build number in the compilation by CruiseControl.NET we need to use Web Deployment Projects. We then replace in the configuration file the Version field with this variable from SVN Labeller[code]...
Is there any way to force a setup project to install the program with administrative rights? (or asking the user por permission each time it runs)I coded an application on XP, and now I have problems on Vista/Win 7.
View 14 RepliesI have 6 members in my team in my office. Now I am working in a VB.NET project. Anybody can tell me how can I share this project within my team?
I want to have only one project folder in my server. I want all my other members will work from this server's project folder. This is possible in VB.NET?
I have created a 7 day timer in a VB form that is to be part of a larger project. It has 14 date time pickers set to hours and minutes only in 24 hour format (1 on and 1 off per day), 7 checkboxes, 7 radio buttons, 2 textboxes to display day of the week and current time and a few buttons. As a standalone project, this works well
View 6 RepliesI am trying to bootup other executeable file from my project's resources folder, and I can't figure out how
View 2 RepliesI wanna use the C# code file in VB.Net project Which is windows based application. But that C# class is not using in VB.NET application. How Can I perform this task.
View 4 Replies