VS 2008 Can't Change Target CPU?
Mar 14, 2010
when I go to the advanced compile options the dropdown box (and label with info) to change the target cpu missing.Do I need to change a setting, or is there an other way to change the target cpu?
View 2 Replies
ADVERTISEMENT
Mar 11, 2011
I just installed Visual Basic Express 2010. I am doing a project at the moment for college. The project is running fine on the computers at college. But when I try to run it on my home PC I get this error message.QuoteWarning1: Possible problem detected while building assembly 'StockSYS': Referenced assembly 'Oracle.DataAccess.dll' targets a different processor..I have Googled it but when I go to the advanced compiler settings, there is no option to change the target CPU, just an option to change the target framework. I know that this has something to do with trying to run it on a 64-Bit OS. I just don't know how to change the target CPU.
View 9 Replies
Dec 6, 2011
Problem: A 2 year old solution made in VS2010 with vb .net 2.0. We are going to convert it on 4.0. So, the question is how? On a C# solution is quite simple since there is the compile tab where you can change the target framework, but here on vb net i can't find it.
Here it is what i see on project properties[URL]..
View 2 Replies
Dec 4, 2011
Sometimes when I click on a link, it opens in a new window. Can I prevent this from happening and just load the page in my current window?
View 2 Replies
Feb 16, 2011
Each new project VS sets the Frameworks to 4 Client. How do I change it that it always chooses Full?
View 4 Replies
Aug 15, 2010
I am attempting to write a program in Visual Basic Express 2010 that uses .NET Framework version 3.5 instead of 4. (The computers that I plan to use this program on only have .NET 3.5 SP1, and are painfully slow, so I don't want to upgrade them to .NET 4.)I have seen in the documentation that the Express edition does not have the option to change the target framework in the "New Project" dialog. However, when I go to the Project Properties window, there is not a drop-down list for the target framework, either.Can I change the target framework version in Visual Basic Express 2010?
View 2 Replies
Jun 12, 2009
I am trying to change the Target CPU for my application and have read on the net to go to Project Properties -> Compile tab then click on the Advanced Compile Options. I am using VB.net 2005 Express Edition. Is this not available in Express Edition or am i looking in the wrong place?
View 4 Replies
Aug 18, 2011
I created a VB Console app and it defaulted to .NET 4 but I need it to be .NET 3.5. I've been looking but all the references I find say to change it on the 'Compile' tab in properties but I don't have a compile tab or anything else that lets me change the target framework.
Note: I'm using VS2010 Ultimate
View 2 Replies
Jul 27, 2010
I have a vb form with a browser on it, when the mouse is over a link and I right-click on it, the pop-up appears containing "open, open in new tab, save target as..., copy shortcut, and so on" and for other types, appears "zoom in, show all, quality, play, loop, rewind, forward, back and so on". So is ther a way to figure out what kind is object is that, something like:
[Code]....
View 3 Replies
Jan 26, 2011
I developed an app using the .net framework 3.5 sp1. I have now been told that the published version must not require sp1 but just the 3.5 framework.
So I uninstalled sp1 from my pc but not cannot publish the app. The app code will run without error but when I build it for publishing I get the error The "RequiresFramework35SP1Assembly" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:WINDOWSMicrosoft.NETFrameworkv3.5" directory.
View 2 Replies
Oct 25, 2011
I am developing an application that can export a DGV to excel file, so i have some references to MS Office and excel. How can I develope the program to be deployed on a machine that doesnt have Excel.. When I ran it on a new Win7 machine I have without office I couldnt even run debug because office isnt on the computer.I am not asking to be able to create an excel export on a machine without excel, just be able to run the program? Or do I need tow version of the program one for and one without excel
View 4 Replies
Mar 25, 2009
While I can do DoDragDrop() to initiate a FileDrop from a listview to Windows Explorer, how can I tell anything about the target of the drop? For instance if I wanted to find the path where my files were dropped to?
Example:
1) User clicks and drags listviewitem which turns into a FileDrop with a file's path.
2) DoDragDrop completes and the file is moved.
3) ?? How do I tell where it was moved to ??
View 1 Replies
Aug 12, 2011
I'm not a daily programmer so these nuances regarding VBnet drive me crazy. I've written my app with a P4, XP, dotnet 3.5 PC using VB express 2008.Does that mean are not NOT compatable with any machine running dotnet 3.5?
View 5 Replies
Jul 20, 2009
When I have the following code, I get an "Expression is a value and therefore cannot be the target of an assignment." error as shown:
Public Class Form1
'Test Project
Public Structure Blah
Public ID As String
[code].....
But when I change the structure to a class, this works fine:
Public Class Form1
'Test Project
Public Class Blah
Public ID As String
[code].....
What connection am I missing between the two? I don't understand why the first example doesn't work, but the second does. Everything I know says they should both work just fine.
View 11 Replies
Jan 12, 2011
Public Sub MoveMouseCursor(ByVal NewMousePoint As Point)
Cursor.Position.X = NewMousePoint
End Sub
Expression is a value and therefore cannot be the target of an assignment.
View 2 Replies
Jul 19, 2009
I've intrested how make webbrowser know the targets and know what to do when the link has got the target. I don't know how to make new window form too because there are functions with targets (sizeable, Adressbar, width,
View 2 Replies
Mar 25, 2009
I want to refactor my existing application to work with as a client/server app, and was looking at introductions to Remoting.I got a simple system up and running 2 days ago, and haven't touched it since until just now, but now I'm getting an error message when trying to instantiate a class from the remoted DLL : "No connection could be made because the target machine actively refused it".The server and client are both actually running on the same machine for simplicity at the moment. I have three "applications" involved - a class library containing the server functionality, a listener application sitting with the server, and then a client applicaition.Most of the articles I can find online referring to this error seem to apply primarily to asp.net but I'm just using traditional vb.net (2008)I initially suspected the cause may be firewall related (as when I first got it running I was prompted to allow access) but I've turned off my McAfee firewall and also my Windows firewall with no joy, and besides - the error message seems to imply that communication with the server has been established but that it doesn't want to play ball.
View 2 Replies
Dec 8, 2010
94.69.250.128:8888 ( My external IP:Port that I've configures the task ) I'm kinda stuck in it, whilst my Chat application is ready, it seems it can't connect to the Internet now. The error is happening on the line :
[Code]...
View 4 Replies
Aug 20, 2010
Error: Trying to revoke a drop target that has not been registered (Exception from HRESULT: 0x80040100 (DRAGDROP_E_NOTREGISTERED))
I am trying to dynamically zoom inout of a pdf document that i'm viewing in a WebBrowser 2.0 control in VB NET 2008. If I navigate to a web URL the following code works fine but if I try the same code while viewing a pdf file the above exception is thrown.
Try
Dim MyWeb As Object
MyWeb = Me.WebBrowserPDF.ActiveXInstance
[code]....
View 6 Replies
Aug 16, 2010
When using Sendkeys with vb.net, is it possible to tell if the target of the Sendkeys has changed between sendings?
View 1 Replies
Nov 21, 2009
I get this error every time I try to debug.But, I do not know how to fix it or why it started occurring.
View 1 Replies
Dec 10, 2009
I'm creating a shortcut with my application, and its working successfully, except that the "Target" line is being cut off. Not all the arguments are listed. When I run the target application of this shortcut using process.start and these arguments, it runs fine. Is this simply a limitation of the "Target" textbox? Is it simply not displaying all the arguments, or is it functionally limited in this way?EDIT: I have determined that it is simply not displaying the full string, but seems to work correctly. I would still like to fix this somehow, but if not, not a big deal.There are 259 characters in the textbox, including spaces. Doesn't seem like a significant number to me.Here is the code, but it doesn't really matter, it is working fine:
[code]...
View 1 Replies
May 5, 2010
I'm using the x86 target CPU setting (and .NET 2.0 as target framework if that's important) for all of my projects and components. This worked without any problems with Visual Studio 2008. My developer PC uses a x64 version of Windows 7.But now I have a new project in Visual Studio 2010 where both, the main project as well as the user control component is set to x86 target CPU, but I still get following error when I try to run my main project with the user control placed on the form:
"Could not load file or assembly 'XXX' or one of its dependencies. An attempt was made to load a program with an incorrect format."
This is the normal message e. g. if the main project has a target CPU of "Any CPU" and the component only "x86", but in Visual Studio 2008 it worked fine if I set both to "x86". Why this is not working in Visual Studio 2010 anymore or what I need to change that it works again?
View 5 Replies
Jan 27, 2012
I need a function which can determine the target website of a *.url file.
Currently I develop a web browser. When you drag a file onto the exe in Windows 7 or pass a URL as a parameter to it, it will open that file/website (at least attempt to). I will fix this code and make it only open files that has HTM, HTML, LNK or URL file types, maybe also some picture files and similar as well. Here is the code I currently use to detect the command line parameter:
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
If Command() = "" Then
[Code]....
View 8 Replies
Jul 12, 2011
My VB.NET 2010 app currently targets .NET 3. I have to update it to target .NET 4 to get around some Locale / CultureInfo issues. What's the difference between .NET 4 Client Profile and the other .NET 4s I have on my machine: Extended and Multi-Targeting Pack? Which flavour of .NET 4 should I target? I want to target the flavour that the average user running Microsoft Office (Excel/Word/Outlook) out in the wild is most likely to already have. Why (on my machine) is there only a regasm.exe for v2.0.50727 and v4.0.30319? Why not a separate version for the other versions installed on my machine? (3, 3.5)
View 2 Replies
Apr 24, 2012
I am currently trying to read the target line of a shortcut file, if you were to right click and view properties of a shortcut, you can see the target line which holds the path of the file for execution. I problem is the target lines have attributes/properties at the end of the target line. The code i have atm reads everything except the most crucial part, the data after the .exe.. For example
Say i have a shortcut file whose target line(if you view properties of the file) is as such:
\adminappsVbNetSQLScriptRunner.exe AccountNumberUsage
My current program reads in this part of the target line..
\adminappsVbNetSQLScriptRunner.exe
But i need the last part, its the whole point of the program...why it stops reading when it hits the .exe or how to make it continue till end of the target line. I eventually store each target line returned into an array which ill export to excel later on.The code used to retrieve the target line is below.
Public Function GetTarget(ByVal dt As System.Data.DataTable)
Dim path(dt.Rows.Count - 1)
Dim wshLink, strPath, wshShell
Dim rc As Integer = 0
[code]....
View 3 Replies
Feb 21, 2011
I recently wrote a quick VB.NET app that injects a DLL into a running process. To test it I was creating my own vb.net Class Library project which simply spawns a "Hello World" message box in hopes of it showing up in the target process once I injected my HelloWorld.DLL.My problem is that the message box never shows up after I inject the HelloWorld.DLL. I'm pretty sure the reason for this is because once my HelloWorld.DLL is injected (since it's a VB.NET DLL) it does not have a DllMain and hence has no idea what to execute and nothing happens.
View 1 Replies
Jun 12, 2011
i am making a program on visual basic 2010 and part of my objective is to calculate the tax, i am trying to calculate the TAX so this is part of my code and this is the only part which gives me errors:[code]
1. Constant cannot be target of an assignment
2. value of type 'string' cannot be converted to 'System.windows.forms.Lebel'.
View 2 Replies
Sep 24, 2010
How would I be ables to copy the content of a directory to multiple target simultaneously, like writing on 4 usb keys at the same time. Is that even possible?
I tried divide the task with threads. I tried to create a thread with:
dim t as thread
t = My.Computer.FileSystem.Copydirectory(source, destination)
t.start()
but the code doesn't work, "my.computer.filesystem...." won't work.
View 1 Replies
Mar 20, 2011
When i try to build and play my project there is an error:Microsoft Visual Studio cannot start debugging because the debug target "....LCCGDuelArenaVBNETCompatible.exe" is misssing
View 8 Replies