Started A Program With .NET Framework 4.0?
Feb 8, 2012I started a program with .NET Framework 4.0 .. how can I change .NET Framework to 2.0 ?? ..
View 1 RepliesI started a program with .NET Framework 4.0 .. how can I change .NET Framework to 2.0 ?? ..
View 1 RepliesI have a small problem with my application. When the system starts up, the program starts with it, but runs hidden (registry key with paremeter). The program also has a GUI.I want it so that when the user clicks the desktop icon, it does not start a second instance of the executable, but instead reveals the currently running background process. Is that possible?i.e. when the application is started with the "-startup" paremeter, it loads a hidden form2, and closes form1. When the desktop icon is clicked, it loads form1, while form2 remains hidden.
View 4 RepliesI'm having troubles finding a way to retrieve informations about which program started my own application. The situation is this: I have a VB .net application which launch another VB .net application (both made with the .net framework 2.0) using process.start(), the second application need to know which software or process started it, if it was started by another software and not directly by the user, and I can't access to the source code of the first application so there's no way I can send a specific command line to the second application.
View 2 RepliesI have a custom button in IE8 which starts up my program. Now what I wanted to do, was pass an arguement such as: 'myprogram.exe /ie'
From the IE8 button, and well my program will do rest from there. Now my program adds the button just fine, shows up fine, all that works. But each time i'd add an argument after my application path, IE8 would say it can't find the program. If you want to test this out, goto run, type in gpedit.msc, then 'User Configuration'->'Windows Settings'->'Internet Explorer Maintenance'->'Browser User Interface', and double click on 'Browser Toolbar Customizations'. And in the small window that pops up, is an option for adding custom buttons to IE. I was using this for testing purposes, since it was faster to edit a button here than in my program. When you add a button you choose the executable to link it to. But if you add any arguments after it, IE will simply not be able to find the program. Even if that same command works when you type it from 'run'.
So, now my question is, since apperntly you can't have any arguments in the button, is it possible to detect what executable starts your program? For instance, detect if iexplore.exe started up my program?
I have amended the application manifest of my program to launch it when a file with a certain extension is clicked. This works OK but I can't get the filename. Apparently CommandLineArgs are not available in a click once deployment and I have tried using the StartUpEvent command line as well but it seems to be empty.
View 2 RepliesI have a program that everytime it is started download a file, read to a list, and add an entry to that list.That entry will be the useres ip address. I have gotten that far so far, but the ip address is sometimes the ip address of the lan like 192.168.1.100. That will nto work properly. I want the true ip address like 69.47.192.12
View 2 Replieshow to PROPERLY make a multi-tabbed or multi-window application that can handle file start requests.
For example, on startup my "Desktop Application" runs and sits there waiting for a task, either through the main menu, or for a file to display in a window. Now the problem is simple, how can I make this already running program load the dropped file (dropped on the executable (!)), instead of starting a new instance.
I understand I will have to check if the process is running, and if so, do some stuff with it. But the problem is passing the message to the active program.
Previously I used text files with paths/arguments in them, but I don't like the idea of the OS/program checking every 500 ms if a file is created in the "load this" folder...
Then I thought of sending a message using "Send Message", for example changing the text in a textbox and handle the "Text Changed" event, but is this reliable? Can any other program interfere with it?
So, basically I need the proper way of doing all of this. For example, Microsoft Visual Studio does this nicely, and no lag whatsoever...
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Hide()
Dim value As String = """" + Application.ExecutablePath + """ -nogui"
[code]....
I want the program to exit the sub after the timer has been started. But if theres no args, it should just show itself. The problem is that it seems to not care about the exit sub thingy, cause it shows itself anyway.
I just update my software and begin to use the vs2010.I want to when my users use my program,if they haven't installed the net framework4.0 or they installed the old net framework version,my install program can auto-install the net framework.
View 8 RepliesI have a Windows 7 machine and I see that Microsoft does not recommend Visual Studio 2003 on the computer (Windows 7). How can I develop an application for the .net framework 1.0 then?
View 2 RepliesI'm creating an updater for an IP address, and I need to ensure that only one instance is running on the computer. This is to prevent (or at least make it more difficult for) having multiple tunnels running (it's an updater for an IPv6 tunnel).I've seen various ways of doing it in VB 6.0 and early .NET, but nothing that deals with .NET 3.5 or VIsual Basic 2010.
View 4 RepliesShould I consider packaging with my program the .net framework files?
View 1 RepliesI wrote a programme and sent it to my client, (it was not a deployment or install file - just the .exe). He responded that it would not run and the PC reported "this program requires Net Framework 2.0". He cannot update the PC in question with Net Framework 2.0. So my question is can i somehow change my program to use an earlier version of Net Framework?
View 11 RepliesI just need to run a simple program that requires .NET 2.0 on a computer on which I only have restricted User rights..I have permission from my supervisor to do this but he would rather not call in the IT guy to install it.So is there any way I can run this program (i dont need to run it multiple times) on this computer?
View 1 RepliesIt might be funny , but I'll ask anyway : is it allowed to create a program with VS2008 while at the same time it will use the Microsoft framework 4.0 ? I am asking because I use VS2008 while at the same time I have the impression that framework 4.0 is "lighter" than 3.5 .
View 7 RepliesI was trying to install a program and it install fine but when i went to run i clicked the icon and i got a blue screen and it rebooted, i found out from the program site that its caused by framework.net, i need to update mine, or fix it i check my add or remove programs and i had 2.0 i went to get 3.0 and it told me that cound not cause of prev version was not upto date.
View 1 RepliesMy nightmare had been back again ".NET Framework Initialization Error "I make a program in basic language but when I want to run the program out of visual studio IDE this Error appears for me : the title : " .NET Framework Initialization Error" the body : "Unable to find a version of the runtime to run this application."
View 2 RepliesI am creating a program in VS 2010 which obviously uses Framework 4.1 However now that I am trying to test the program I am realizing usually only developers like us have this version.. Is there any way to downgrade the needed version of the framework for my program Currently I run it on my test computer and it asks me to download 4.1 version.
View 4 Replieshow do I program a .net framework message dialog screen in to the catch and try command
View 15 RepliesI am work on VB.net 2003 Framework 1.1 for last 3.5 years in windows Application.We are currently migrating to VB.net 2008 framework 3.5, but i don't know about the features which related to ADO.net and which is important to performance. I know linq to SQL but our architecture is made in .net 2003 so we should follow this.Any features which is very important to enhance the performance?
View 2 RepliesI have a solution that I wish to upgrade from Vb.net framework 1.1 to framework 4.0. The solution consists of a number of projects, all but one of which compile to dll's. The master project compiles to a executable which provides a menuing system which dynamically loads the dll's and connects to entry points.
The projects contain normal classes, numbers of forms and also controls, which are either usercontrols or are inherited extensions of standard windows controls.There are a number of third party components (eg reporting and grid controls from Component One, Ribbon control from DevExpress etc).
[Code]...
I am a one man dev shop and need some outside opinions on how to approach this project.
I need to create a "post office" program that will send html emails thru the system.net.mail framework.
For each job submitted to the postoffice the app would need to read a user created html email string from the database, read a string of email addresses to send to and send out the emails based on a set processing time.
The first step would be to parse out the email addresses to find out how many emails it needs to send out and determine how many it would need to send per minute to complete the job in 20 minutes tops. I.e. if 1000 email addresses are submitted per job it would determine that it needs to send 50 emails per minute to complete the job.
The part I am stuck on is how I should queue the emails. If the app determines it needs to send 50 a minute should I only load up the first 50 on a timer event then get the next 50 queued up for the next timer tick? Or would it be better to load up all 1000 in a loop and build in some kind of wait time after it sends the first 50?
How come software created in an older framework version won't run on a newer framework version? Actually whenever i try to run some old specific software having .net 3.5 framework on my PC they show they needs .net framwork 1.1 . What a bad thing?My newer version of Photoshop ans Ms office open all lower version files.
View 6 RepliesWaaaaay back in 2003 I took a course called "Programming with the Microsoft .NET Framework (Microsoft Visual Basic .NET)" Then I attempted for the next year to get approval to take more courses, failed, and eventually gave up. Now, I'm being asked to write applications using VS 2008. I have, of course, forgotten everything I learned 6+ years ago, plus I'm sure things have changed. Plus we still don't have money for me to take any courses. my question to you is: can you recommend a free website, or a book I might find in my local library, that will give me a kick start into writing VB windows applications (database driven) and/or ASP.NET applications (also very database driven). I'm proficient in VB 3, 5, and 6, along with ASP classic using VBScript.... I just have forgotten pretty much everything I once might have known about .NET.
View 6 Repliesim new to this forum and to VB.NET, however over the next year I think I won't be getting a placement so I want to get as much programming experience as possible. I would basically like to learn VB.NET. Does anyone know a good site to explain its concepts and a compiler for it, which is compatible with a MAC.
Im sorry if you think this is a waste of space for asking but I'd rather download something recommended by people who frequently use VB.NET.
btw any tutorials out there on how to create database with vb.net with mssql just to let me get started, i was hoping for a simple db to practice on like id,name. ive made db with php and mysql but vb.net is a bit far from php and mysql though the concept is the same..
View 5 Repliesanyone know of any sites that give information about how to setup and test with an SQL application? I'm having a lot of problems working with SQL.
View 4 RepliesI want to know if there is a way to get each new process (what has been started) in a real-time manner (instantly). I tried until now something like:
1. Getting the number of opened/running processes
2. If the number is different from the previous check then the program is scanning each process (what is running) using a timer, each process has assigned its "pid" (using array) -- so if there is a new "pid" the process will be scanned -- else the process will be skipped. (scanning: getting its "object" path and creating a md5 signature etc.) This is working but is inefficient(very)...
What control(s) do I need to use and how do I use them? I am ,looking for tutorials and sample code too.
I'm working on a trivia game where the admin can remove and add questions to a database. [code]...
I have been developing with VB6 for about 7 years now, and I think it is time I move on to VB.Net to future proof my skills.Not only that. I am learning C++, but that is beside the focus of this post.Anyway, So I installed the VS 2008 Professional, I didn't install all the Windows Mobile SDK stuff, Just Visual Studio, MSDN, and the sql server...
I do a lot of work with HTTP requests from within my applications, like building GET and POST requests and returning strings that are parsed and what not...I was using the winHTTP COM object in vb6 for the longest time, and I loved it... It was structured nicely and when Dimmed "with events" opened up a nice way of implementing progressbars, calculating download speeds, etc etc...
1) What is the .NET alternative of the winHTTP COM Object...
2) How do you dim objects withevents globally across a form class?
In vb6 I would dim my winHTTP object at the top of the form with events, and then I could implement all my progress bar code in the winhttp events that are exposed....Also then in each subroutine you then have to set = new winhttp.winhttprequest to create the new object, blah blah blah...