Make Windows 7 64-bit & Visual Studio?
Oct 13, 2010
Our company developed a tool developed in Visual Basic and VBS using Visula Studio 2005. The tool was deployed on Windows XP platforms. Now the new requirements for the tool are to support both Windows XP and Windows 7 64-bit I wonderif anyone can share which version of Visual Studio should we use.
View 6 Replies
ADVERTISEMENT
Jan 22, 2010
I am trying to make a console program in Visual Basic on Visual Studio 2008. I want to ask the user of the program if he wants the premium version or the standard version. If he chooses the premium version, then I want it to say premium in his "receipt" later on and if he chooses standard, then standard in the receipt.
[code]...
View 1 Replies
Aug 8, 2011
I have embedded the WMP control in my Visual Studio 2010 app which works on windows 7 (Framework 4.0), but installing the app on winXP, I get the following error:
System.IO.FileNotFoundException: Could not load file or assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
[code]....
WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].
I guess this is a reference issue, but I have added references to WMP libraries (axinterop.wmplib.dll and interop.wmplib.dll). The WMP works on the XP machine, but not when called from my application.I have searched the web now for 5 days and changed references, and reinstalled the media player on the XP machine, but nothing works.
View 1 Replies
Aug 25, 2010
Types have their own color (cyan by default).Enter completes the auto-complete suggestion.
View 1 Replies
Apr 30, 2011
I developed a small application which accesses a MS access database on my computer using VB.net. I developed the program on windows xp 32 bit. At the moment I am using windows 7 64 bit and the program simply will not run. I get a null reference exception when I try to do anything to the database. I have narrowed this down i THINK to the db provider. I was using Provider=Microsoft.Jet.OLEDB.4.0; and tried using Provider=Microsoft.ACE.OLEDB.12.0;. Neither seems to work. The path to my database is 100% correct. This is the error I am getting:
Null reference exception was unhandled.Object reference not set to an instance of an object.
Like I say the program runs fine on the windows xp machine. If it helps the access database file extension is mdb.
View 3 Replies
Apr 19, 2012
My project is made in VS 2008.
It works fine in Windows 7 but now we are trying to migrate to windows 8 .
I have set up VS2008 on Win8 and now debugging how it works.
I get the following message when Debugging.
The specified module could not be found. (Exception from HRESULT: 0x8007007E)
View 3 Replies
Apr 20, 2011
I have a doubt about smartmenuxp, i wanna try this control on visual studio 2008 that is installed on my windows 7, but i dont know how to use.
View 1 Replies
Jun 10, 2012
In VB (Visual Studio 2010) i have written a simple coin flip routine and use the code below to display the image of the coin based on a random number 0 or 1
coin = Rnd(1) 'random head or tail head=1 tail = 0
'display relevant image of coin
If coin = 0 Then
[Code]....
but can't seem to find a way to display the appropriate image. Is My.Resources not available in the Windows Mobile SDK or is there a different method.
View 1 Replies
Aug 1, 2008
I am teaching myself how to work with Visual Studio and adding windows media player so I can play a song but when I follow the code that is the the MSDN under " How to play audio files by using Visual Basic .NET or Visual Basic 2005 I can only get as far as this statment
AxMediaPlayer1 As AxMediaPlayer.AxMediaPlayer I get this error "property access but assign or use its value" I have no clue what it means and I have looked at several treads on MSDN but am still a bit confused as to what I am doing wrong or what I need to do to make this work Private Sub loadButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles loadButton.Click
[Code]...
View 3 Replies
Nov 14, 2011
I installed Visual Studio 2008 and MS-Office_Access under Windows 7 Professional (64-bit) on my new computer. I copied my MS-Access database and my VB project to the new computer. MS-Access works fine.In Visual Studio 2008 an error message appears below my VB project's source coding."Unable to find manifest signing certificate in the certificate store."If I execute my program in debug mode and override the error message, it fails to open the MS-Access database and shows the error messageL:"The 'Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine."
Q1. Why am I getting the message about 'mainfest signing certificate'?
Q2. How can I register the 'Microsoft.Jet.OLEDB.4.0 on my machine?
View 3 Replies
Dec 3, 2011
Am very new to programing and have never done it before.I am working on very small things at the moment like showing the time and date very basic stuff. i have some books and video's so am going over but i just need abit of code for now -
How can i display what version of windows i am running? for example.i have a button if i click it the label on my form will display the version of windows.
View 7 Replies
Sep 26, 2011
I am new to VB programming, I am writing a windows program in visual basic using visual studio 2008. I need to create a report using the reporting features in visual studio. I am using the report.rdlc to design the report and for the data to go into.
The data I need to display is from several different sql querys in a data source. That have different parameters passed into them every time a button is clicked on my program. So far i have created several data sources and linked this to the report.rdlc and the data seems to be appearing. However the way i have done seems so long and not complicated that I think there must be an easier way and less messy.
So I am looking for advice on how to make a report that is less messy to the way I have done it. The steps I have is that I have either a store procedure or several sql querys that will have different parameters each time and this will then populate my report when a button is clicked to view a report.
View 2 Replies
Oct 27, 2010
I'm trying to make an app using visual studio 2010?I have this excel formula that will calculate a 6 Digit code from a 11 digit serial number.The excel is pretty old and it consts of math operations such as RIGHT, LEFT, MID and POWER I managed to "translate" that to
Microsoft.VisualBasic.Right, Microsoft.VisualBasic.Left, Microsoft.VisualBasic.Mid and Math.Pow but i'm not sure if i did it right, since is not giving me the result i'm looking for, instead of a 6 digit number is giving me something like this: 9.9E+52?
vB Code:
Microsoft.VisualBasic.Right((Math.Pow(2, 5 + (Microsoft.VisualBasic.Left((Microsoft.VisualBasic.Left(txtESN.Text, 3)), 1) + Microsoft.VisualBasic.Right(Microsoft.VisualBasic.Left(txtESN.Text, 3), 1) + Microsoft.VisualBasic.Mid(Microsoft.VisualBasic.Left(txtESN.Text, 3), 2, 1))) - 1) * ((Microsoft.VisualBasic.Right(txtESN.Text, 3)) +
[code]....
View 2 Replies
Mar 7, 2010
I don't need this declaration because it only makes my code big and unreadable.Is there a way to make Visual Studio (VS) not add it automatically. Every time I remove it, it is added back by VS.
Function DoStuff(Tom As String) NOT Function DoStuff(ByVal Tom As String)
View 4 Replies
May 21, 2010
I'm writing a .dll in Visual Basic. When writing code in Visual Studio if I do something like
Console.WriteLine(
it will pop up a tooltip with a bit of documentation for the function. Is it possible to write something in my function/sub that would provide that information to Visual Studio?
View 1 Replies
Sep 25, 2009
I produced an MSI for a small VB.net application I need to run on an Intermec 730 pocket PC but get the message "Setup is not a valid Pocket PC application" when trying to install it. What do I need to output the project in the correct format? I've tried changing the target platform but it only has x64 and x86 listed.
View 4 Replies
May 3, 2010
Is it easier to print a VB.net windows form in Visual Studio 2010?
I have been struggling with this - the PrintForm utility in the Powerpack only prints the displayed portion of the current form.
I spent a lot of time creating a process which loops through each control on my form, converts to a bitmap, and drops it on the print document, only to finally discover that the RichTextBox control (which I used extensively) does not include a functional DrawToBitmap method.
I have already researched various ways of managing this, but if VS2010 will do it without jumping through the hoops then I'll spring for it like the sucker I am.
I can do this in Access and VB6, I believe, so I don't think this is an unreasonable expectation.
View 7 Replies
Dec 25, 2011
i have installed visual studio 2010 32 bit on my new computer which have windows 7 64 bit. Everything seems ok. But now I try to learn how to draw some spheres with movement. I have tried to install openGL2 but it does not work or said that it does not fit with 64 bit, or it works only with VC.
Could any one, please, give me a short introduction to install and use open GL in vb.net 2010 installed on windows 7 64 bits ?
View 3 Replies
Mar 20, 2012
my app currently has a process thats ongoing (even when I navigate back to the main screen of my app). Is there any code I can use to terminate all the processes on that page before it navigates back to the main screen. In other words the page should reset to its original form?
View 1 Replies
Oct 12, 2011
WebMatrix is a web development and deployment tool by Microsoft so how is this compared to Visual Studio? which Use C# Razor Syntax is that more better coding.
[Code]...
View 2 Replies
Jun 8, 2011
how to make the label box as transparent....
View 5 Replies
Jun 22, 2011
I am trying to make a web application in VB.NET using Visual Studio 2008 that will accept login credentials and compare them with an Access database for authentication/validation. I found lots and lots of examples for how to do this with a Windows Form App, but none with a ASP.NET Web App. tried to modify the steps for a web app but I'm not sure how to make it work. The database connection is good and the query seems to work fine. Here's where I'm having trouble. In the tutorial, he says to use:
01 Private Sub But_Validate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles But_Validate.Click
02 Private Sub But_Validate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles But_Validate.Click
03 Dim r = Me.UsersTableAdapter1.ValidateUserNamePassword(Me.Txt_UserName.Text,Me.Txt_Password.Text)
[code]....
No matter what I put in for the username and password (as long as they are valid values) I always get a "success," never a failure. I know my query is working right because I put a gridview on the page and bound it to the result from the query; when I type in a user/pass that is not in the database the gridview is blank, when I type in a correct user/pass the gridview displays that row from the database.
View 1 Replies
Feb 26, 2012
What can you suggest on how to make a CMS quiz in visual studio (Winforms). It is possible in WinForms alone?
View 3 Replies
Apr 20, 2010
With several forms of mine, I occasionally run into the following issue: I edit the form using the designer (Visual Studio 2008, Windows Forms, .NET 2.0, VB.NET) to add components, only to find out later that some minor adjustments were made (e.g. the form's size is suddenly changed by a few pixels), and controls get deleted. This happens silently — event-handling methods automatically have their Handles suffix removed, too, so they never get called, and there's no compiler error. I only notice much later or not at all, because I'm working on a different area in the form.
As an example, I have a form with a SplitContainer containing an Infragistics UltraListView to the left, and an UltraTabControl to the right. I added a new tab, and controls within, and they worked fine. I later on found out that the list view's scrollbar was suddenly invisible, due to its size being off, and at least one control was removed from a different tab that I hadn't been working on.
Is this a known issue with the WinForms Designer, or with Infragistics? I use version control, of course, so I can compare the changes and merge the deleted code back in, but it's a tedious process that shouldn't be necessary. Are there ways to avoid this? Is there a good reason for this to occur?
One clue is that the control that was removed may have code (such as a Load event handler) that expects to be run in run time, not design time, and may be throwing an exception. Could this cause Visual Studio to remove the control?
View 6 Replies
Sep 2, 2011
If I build a Windows Forms project in Visual Studio 2008, and start it with a Sub Main instead of a form, and for the time being, don't show any forms, is it considered a Console application? Will console.writeline work?
View 3 Replies
Jun 4, 2012
I converted my project Visual studio 2003 to 2008. and when i run may project pressing F5 this error comes
View 5 Replies
Mar 19, 2010
I'm suddenly having trouble with GetPrivateProfileSection in a Windows Forms project in Visual Studio 2008. The same code works when it's run as an aspx page in a website. Anyway, I define the WINAPI call thusly:
[Code]...
View 7 Replies
Mar 15, 2012
I need to use the "<>" (not equal to) operator for a peice of coding which uses the SheduledAction class, but I keep getting this error:
Error 1 Operator '<>' is not defined for types 'Microsoft.Phone.Scheduler.ScheduledAction' and 'Microsoft.Phone.Scheduler.ScheduledAction'
Here is my coding thats bringing up the error:
Dim hw As ScheduledAction = ScheduledActionService.Find("Hello World")
If hw <> Nothing Then
...
View 1 Replies
Feb 1, 2011
I'm trying to build a setup program using the built-in Visual Studio Installer. I'm using VS 2010 and working on VB.NET.For the most basic kind of program, I have an EXE file which works on a XML file (the XML file is treated like a database). So on a Windows 7 platform with UAC enabled, the best deployment is to install the EXE file in the Program Files folder, and the XML file in the application data folder, for security purposes of Windows. (Windows, now, does not allow creating/writing files inside the Program Files folder unless your application is running with administrative privileges).
So I have added VS Installer to my current project and have opened its File System Editor. So to create the above layout, I've added Primary Output to the Application Folder. Then I've added its shortcut to the User Desktop.Now I need to place my XML file to the application data folder. VS Installer gives the option of User's Application Data Folder, which is the %appdata% folder in the environment table. I need to access the All Users' Application Data Folder.
1) How do I access the All Users' Application Data Folder over here?
2) I tried using the User's Application Data Folder. It doesn't work. It doesn't create any folder in the %appdata% (e.g. C:UsersFarazAppDataRoaming). I tried to play around with various properties, like AlwaysCreate which is supposed to create a folder obligatorily. It doesn't create anything.
View 5 Replies
Jun 3, 2011
i've been stuck on this for a while and searched many forums first with no solution so i'm posting myself. In VB for excel i've used Screenupdating= false to disable the screen updating however now i'm creating a visual studio 2010 windows forms application and its not showing up as a property. [code] And i get the error 'screenupdating is not a member of 'system.windows.forms.application'.
View 2 Replies