VB 2010 Application Works On Windows 7 Machine But Will Not Work On Other Windows 7 Machines?
Jan 22, 2011
I have developed a VB 2010 express application that works on my windows 7 machine, but when I deploy it to other windows 7 machines the application will not run at all. I created an msi script to install the software on other machines and it includes the .NET 4.0 framework an all of my application dll's and such. Any idea what might be he problem?
View 2 Replies
ADVERTISEMENT
Jun 23, 2010
I have a Visual Basic 2008 Express Edition application that operates as a front end for iSeries V6r1. The application was developed on a windows 7 machine. Users load the application from a shared folder on a server. Currently, there are 2 Vista, 3 windows 7 and 4 XP users. All had no problem in loading application, all users except 3 of 4 XP users can run the application with no problems. However, 3 of the XP users receive the following error message when they perform any action that tries to connect to the iSeries:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
All 4 XP users are on same service pack
View 8 Replies
Nov 4, 2010
I have an app that moves the mouse, and does a click on the screen however, it seems to work great on windows XP machines, and when i try it on my windows 7 box, the window dosent close, or do anything..
I typically will hit my "execute" button, that will minize the window, then i place my cursor where i want it to go, and hit space bar, and it should move my mouse up a few spaces, click, and move to the next.. But again, winXP it works fine, win7 dosent do anything.
Imports System.ComponentModel
Imports System.Runtime.InteropServices
Public Class Form1
[Code].....
View 6 Replies
May 15, 2012
I have one tool which we developed on visual studio 2010. there are basically two parts of my project, one is UI part which i wrote in VB and algorithm part which is in C++ on back end. When we compile C++ part it creates a .dll which is used by my front end VB program.
Now my problem is little weird since i am compiling and deploying this tool on windows xp machine but some of the users are using windows 7 64 bit machines and after running the program for about 5-10 minutes, it crashes on windows 7 with following error
Not enough storage is available to process this command and when i view details of that error, i get the following description.
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.
************** Loaded Assemblies **************
mscorlib
[Code].....
i am completely clue less for this error since this program works fine on xp but doesn't work on windows 7.
View 12 Replies
Jan 19, 2010
I'm porting code that I wrote for use in a Windows Forms application to a Windows Service, but for some reason, the code that worked in the Windows Forms application is now throwing errors in the Service
View 7 Replies
Apr 12, 2010
I have an application written in VB.net, compiled and loaded on machines running XP, Vista and Server 2003. When I loaded it on a machine running Windows 7 64 bit, the application runs fine, but one window that has MenuItem controls does not work properly, instead of being able to change items from the collection, that area is just greyed. I loaded the .NET 4.0 framework on it in hopes of some miracle, but it still does not work.
View 1 Replies
Jul 20, 2010
We have an application(.exe), longtime back some developer wrote the code and now he is not with the company. I happend to be support this application. I have to do some modifications in the code.I have a .vb file and .Config file with me. The .VB file is calling a SSIS pkg and doing some dataload and creates some files and it formate the file names what it generates and it send emails to large group of ppl.I have opend the code in Visaulstudio but i do not have any option to debug or do some breakpoints.How can I use this config file?Do I have to add both of them in the project? To debug I need SSIS pkg as well so do I have to add all these 3 of them into my solution?I know where to change the code, after changing the code how can I create a application EXE file?
View 6 Replies
Sep 1, 2011
We are using a Windows 7 virtual machine as a testing platform for our VB 6 application. Th application utilizes an Access database.The application locates the database by looking at a configuration (ini) file.When I install the application on the virtual machine, it places a database where InstallShield directs it to and writes that path to the ini file. All well and good.However,somehow a second copy of the database is created in a user local folder.
If the user uses the "run as administrator" option, the application uses the database that is in the location designated in the ini file and that works fine. But if the user does not select the "run as administrator" option, the application apparently somehow attempts to use the local database and is unable to locate it.
Is this behavior is peculiar to the virtual machine, or is it something we need to be concerned about on "real" Windows 7 systems?If it is peculiar to the virtual machine, is there some way to get the virtual machine to behave more normally?
View 6 Replies
Jun 23, 2010
I have VB.Net application that has worked fine for years on XP and Windows 7. For some reason the last update I put out does not run even the simplest VB commands.Simple Environ() fails.I have tried putting simple VB commands onto a MsgBox on the start of the app and everything raises an error. I have no idea what is going on! The exact same app runs fine on Windows 7 clients. All the XP machines including a fresh XP virtual machine with the .Net 3.5 framework even gives the errors. No VB commands are working. I thought maybe something happened to my vbproj files, so I copied an older one from a couple weeks ago when things worked fine and it still does not work.
View 2 Replies
Mar 17, 2010
We have a certain application installed on a single machine. I would like to enable/disable a button based on the existence of this application. Is there a way to check for its existence from asp.net?
the app is currently on an XP machine, but want to code for Win7 as well. VS2008 3.51. Asp.net
View 3 Replies
Nov 1, 2010
Could anyone provide me with sample code for using a WAV file as the input to the Windows speech recognition software on my machine (Windows Vista)?
View 3 Replies
Sep 25, 2011
I am building a Setup project for a Web system using Visual Studio 2008. I upgraded my development machine from Windows Xp to Windows 7. The problem started with Windows 7. Whenever I try to build I get the above error. I ve tried several solutions given online but I ve failed to get a solution. When I transfer the system to a machine running Windows Xp or Windows 2003 Server it builds successfuly.
View 4 Replies
Oct 19, 2009
How can an application, running on a production server, access the login username of the machine that a user is accessing an application from? For example, I am currently logged into my machine on the INTRA corporate intranet. My username will be INTRAUsername. I have added specific usernames to a database and wish to check this intranet username against the database to restrict access to an application and leverage the username across the application.Currently, I am using the following code to access the username:rivate username As String = Thread.CurrentPrincipal.Identity.Namehis is working great on localhost, but when authenticating against the database on a development server, I'm getting the following error:
View 3 Replies
Sep 24, 2009
My local machine is using windows application for an appointment fixing .I want to retreive data from webserver DB which also does appointment fixing by online for the same organisation.So I want both these to work in co-ordination.As my first step I want to import data.
View 2 Replies
Jan 23, 2011
I have added COM control AxWindowsMediaPlayer to form in vb.net.and just have following code
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
WMPlayerVideo.URL = "abase.mp4"
End Sub
End Class
abase.mp4 file is kept in directory where exe is there. Every thing runs fine on dev m/c but on client machine application is not lauached.When Interop.WMPLib.dll and Interop.WMPLib.dll are copied to the exe file directory then application is lauched at least but file is not played automatically and even on pressing play button its not played.Is some dll registration required to make it work? or some references needed in project?or some changes on user machine?
View 1 Replies
Jan 26, 2009
I've developed a small windows form application in Visual Studio 2005. I have tested the application on a completely fresh install of Vista 32-bit as well as Vista 64-bit and it works fine... But when I copy the application onto an XP machine the following problems occur:The application no longer has its icon, just the default .exe console box icon
Whenever I try to open the application, absolutely nothing happens
View 11 Replies
Apr 3, 2012
I have an installation of VS2010 with Windows 7 at work and a laptop with Windows 7 X64. I transferred a whole set of project files to the laptop but the directory "Documents" does not exist on the laptop - it is called "My Documents". As such of course I get errors when loading the project on the X64 machine as the resource files cannot be found. I have tried changing the name of the directory to "Documents" to accord with the other PC, and this was apparetnly successful. But, VS still does not "see" the files in the renamed directory. How can I simply change the path name for the resource files so that VS can see these files?
View 8 Replies
Feb 5, 2011
I have a program that works in Windows XP Pro, Visual Basic 2005 and Excel 2007 that does not work in Windows Vista, Visual Basic 2005 and Excel 2007.The program takes Excel data from an already opened Workbook on the desktop and moves it to the Visual Basic program.The error occurs when I try to open the Excel Application in Visual Basic:[code]Is there a different code to define an Application in Vista?The "Open" Application will not work on a Excel App already on the desktop.
View 1 Replies
Oct 25, 2011
I have a VB.net project that i've published through a click once installation which was compiled in Windows XP the application contains a previous version of True DB grid which is not supported windows 7 so i'm trying to get my application to work in Windows 7 so that the true db grid and other such controls work without any issue. i tried compiling the code in x86 mode
View 2 Replies
Feb 15, 2009
I need to convert the following code to work in a visual studio 2008 windows form application, the moment ObjectQuery, ManagementObjectSearcher, ManagementObject and ManagementObjectCollection are not valid.
im objectQuery As New ObjectQuery("SELECT * FROM Win32_NetworkAdapter WHERE NetConnectionId IS NOT NULL")
Dim searcher As New ManagementObjectSearcher(Scope, objectQuery)
[code].....
View 4 Replies
Nov 30, 2007
I have a MDI form that has a child form that is opened by default when the application loads. I also automatically maximize the child form. Even though I have set ShowIcon to false, the little blank image that indicates that there is no icon appears in the upper left hand corner of the form. Is there a way to get rid of this?
Private WithEvents m_frmLineItems As frmLineItems
m_frmLineItems = New frmLineItems(Me)
mfrmLineItems.WindowState = FormWindowState.Maximized
[code].....
View 3 Replies
Jul 4, 2011
I am having a windows application. That downloads files from server and write into the local directory. It works fine. When we try the same appliication in Windows 7. IT shows an error Access to the path denied (While writing to the local directory).
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
May 15, 2012
I have seen this happen before but am not sure how I resolved it in the past. On runtime the controls of my form change from the windows 7/vista format to an older version format as shown in the attached image.
How to display the controls in the format on the left (new windows format)
View 1 Replies
Mar 17, 2011
i am doing project of Order Accepting system for five star hotels.Scenario is Waiter will accept order using Window Mobile which is Connected to WiFi present in hotel.I want to communicate to database(Sql Server) present on My Machine (Computer present in kitchen) through WiFi and Add order into table present inside database. This should notify my application present on Compter and should print order. After completion of Order Application from kitchen will notify to waiter about completion. My problem is How to Communicate with database present on Remote computer using WiFi from windows Mobile.
View 2 Replies
Sep 24, 2010
I am making a System Tray Application when i minimize my form its hide itself in the tray but whenever i click on the tray icon my form shows now when my form shows up i would like to disable my Background desktop same as CardSpace when its shows up.
View 1 Replies
Jan 17, 2012
Final step in my application. I finally got all the requirements working, but now I need to have the application run in the background.
The application was written in Visual Studio 2010 VB, Win form app.
The requirements are as follows:
1.) run the application at start up
2.) no icon
3.) always in focas
4.) always runs in the background.
Here's the full code I have right now (working! whahoooo)
Public Class Form1
Private Property count As Integer
Private s As New Stopwatch
[CODE]...
View 2 Replies
May 1, 2012
I have built a DLL for changing the default printer to a new value and then setting it back to the original. This DLL will be called from a VBA addon to an ERP product. I think the version of the VBA is 6.3.
I have built a Visual Basic 2008 Dll using a COM component. This generates a DLL and TLB file. Using Regasm.exe from the .net frameworkv2.0.50727 folder to successfully register these components on Windows XP and Window 7 32 bit.
However, when I try to do this on a Windows 7 64 bit system, it fails. After some fiddling around, I was able to get a successful registration using the Regasm.exe in framework64v2.0.50727. But after the successful registration, the VBA project still cannot use the DLL.
When I try to Reference the .tlb file in the VBA project, it is not visible even though the dialog filter is set to dll, tlb.If I try to use late binding by using the getobject and/or createObject method, it fails.
There are two ways to answer this request.1. How do I register my 32 bit COM dll on a Windows 7 64 bit machine?
2. How do I write a COM DLL component from scratch for a WIndows 7 64 bit machine using Visual Basic 2008 ( or 2010. I will upgrade if necessary)?
View 5 Replies
Feb 15, 2012
how to get the current windows explorer path in vb.net windows application?
View 1 Replies
Mar 23, 2011
I am making a System Tray Application when i minimize my form its hide itself in the tray but whenever i click on the tray icon my form shows now when my form shows up i would like to disable my Background desktop same as CardSpace when its shows up.
View 1 Replies