VS 2008 Compile On Vista For Vista Work Fine But On Vista For Xp NO

May 30, 2009

i compile my form with the below code when i run it on vista work fine without any problem but when i try to run in on XP cant run... that happened with any XP machine.[code]when i run my exe to other Vista machines work fine... but on xp NO.

View 1 Replies


ADVERTISEMENT

Form.Webbrowser Control Different Between Vista 32bit And Vista 64bit?

Oct 11, 2009

I am been working on an a small app that has a Forms.Webbrowser control that navigates to a Adobe Flash program. I have developed the app on Vista 32bit platform and have had no problems. I have sent the app to a couple of people to test out and one is using Vista 64bit and is running into a problem. I know the webbrowser control just uses the underlying base framework of IE. The problem on the 64 bit machine is when the site is navigated to it says that it needs to have Flash installed. When the user goes to Adobe's site it says they need to use a 32bit browser.

As stated on Adobe site here:[URL] the Flash player need to be in a 32 bit browser. What options do I have to be able fix this problem? Is there another control that I can use that would be the same in a 32bit platform and 64bit platform? Besides navigating to the Flash program, the browser also goes to standard web pages.

View 4 Replies

Run A Program That Runs Fine On XP OS But It Won't Run On Vista?

Jul 17, 2009

I'm trying to run a program that runs fine on XP OS, but it won't run on Vista. I've tried to install msinet.ocx in the system32 folder, but it never works.I've tried to register with regsvr32 but it gives error I've tried to register with regsvr32 with cmd as administrator it's register the Activex Control but it gives error " Unexpected error "

View 1 Replies

[2008] Winsock For Some Reason Does Not Work With Windows Vista 64Bit

Jan 25, 2009

Winsock for some reason does not work with Windows Vista 64Bit? Is there another way that is as simple as that? If so what and how?

View 1 Replies

Can't Get Makecert.exe To Work On Vista

Apr 14, 2010

I'm trying to sign my mobile application using makecert.exe (for test purpose only )once I click on the makecert.exe the windows closes immediately ( also when I click on other .exe files like " makecab.exe , pvk2pfx.exe , signtool.exe")I have windows vista computer and I'm using Visual studio 2008 for development.

View 4 Replies

FaxServer On Vista And Windows 7 Does Not Work

Nov 24, 2009

I wrote a fax server obj that worked on windows xp. When it got moved a windows 7 machine, it does not work. What changed? One issue is...

[Code]...

View 5 Replies

Program Does Not Work On A Vista Machine

Jan 15, 2010

I made an application to give to my friends as practice for my learning, so the app works fine with XP but not on a Vista 64 bit machine. Will the app need re-coding? The app is used as a game mod, so it writes to process.

View 2 Replies

Playing AVI Files So That They Work On XP, Vista And Win7

Jun 23, 2010

We have code in our former VB6 application, that ported fine to VB.NET, that plays a simple AVI file of the typical "flying folders" and "spinning maginfying glass" AVI. Under Windows XP, our application ran fine and everything was good.

Then we had customers start using Vista and Win7 and this stuff crashes. We were using the MS Common Controls (SP4) and then (SP6) - utilizing the Animation player. Now - these dont work and we get nasty errors.

I searched Microsoft and the web to answer the "what now?" question and though there are numerous suggestions, none of them work. We cant use Media Player because we dont want any menu - just the graphic. We dont know why, with the cool tools given in .NET, there is no animation player (seems a huge oversight...) But we need to get "unstuck" on this one, and we need that fast...

So, How does on play a simple AVI file using VB.NET code? What DLL or OCX does Microsoft recommend and is there a place we can find some sample code for it?

View 6 Replies

Kill Or Move File On External Drive Does Not Work On Vista But Does On XP?

Apr 9, 2009

My app is designed to work on XP & Vista but I get an error on Vista but not XP When I want to kill/delete or move a file from an external drive I get an external error message System.UnauthorizedAccessException: Access to the path is denied.

full error text:
************** Exception Text **************
System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

[code]....

View 15 Replies

Using Windows Vista Ultimate With A 64 Bit Processor And The Winsock Control Won't Work?

Jun 12, 2010

Alright so I'm using Windows Vista Ultimate with a 64 bit processor and the winsock control won't work.Originally Microsoft Visual Basic 2008 didn't have the winsock control, so I downloaded it and registered it correctly and it still wont work. I have no idea what to do,

View 3 Replies

Application Running Fine On XP But Same Exe Not Running In Vista?

Apr 24, 2010

I had done one application using api which send the message to given number. The working of software is very fine without any error working on windows XP SP2. I heard that vista already contain the .net frame work so didnt installed .net frame work in machine. I checked in vista it shows .net frame work is in machine. But when same code i tried to run on Vista it gives the error. Error is as follows

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SmsSendingApplication.frmSingleMessage.InternetOpenUrl(Int64 hInternetSession, String& lpszUrl, String& lpszHeaders, Int64 dwHeadersLength, Int64 dwFlags, Int64

[Code].....

View 7 Replies

IDE :: "COMPILE ERROR IN HIDDEN MODULE" In Windows Vista

Jun 9, 2009

We have a VBA based application that run with Excel, in where we are facing an error like "COMPILE ERROR IN HIDDEN MODULE". This issue occurs only at WINDOWS VISTA machine. This issue does not occur with WindowsXP/Windows 2000

Initially this issue comes where ever "Dictionary" class used. When we replaced it by explicitly specifying it's library like "Scripting.Dictionary", the same error comes where ever "VBA" library classes used. After investigating further, it's found that none of the built in classes able to find references to their corresponding libraries. We have all the proper references check box checked, at Menu-> Tools-> References Window.

View 1 Replies

Cannot Run .net 2008 Program In Windows Vista

Oct 5, 2009

I have a program that will process the files and produce the result in output file.When i publish and install the software in xp windows it run but in windows vista it read the file everything when i look for output file. The file is not created in vista. But other program which similar with previous one can run in windows vista expect one program. This is how i write the coding to create the file.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim OpenFileDialog1 As New OpenFileDialog
With OpenFileDialog1

[code]....

I dont know why it can not create a file in vista?

View 7 Replies

FileOpen Dialog Box [2008 With 64 Bit Vista]

Jan 13, 2009

I gave my Version of VS and OS in title. Well this is my Coding

[code...]

But i am getting error that Filter string is incorrect. I Stucked in this small thing. I also want a code to get MAC number.

View 11 Replies

VS 2008 : Getting Startup Folder (Vista/7)?

May 5, 2011

I was having trouble before editing the registry on a WPF application I'm working on, in order to get autostart to work, so I ended up creating a shortcut in the startup folder to automatically start the application. My problem is, that this not working on Windows 7 (and Im guessing Vista too). Here's my code. Does Environment.SpecialFolder.Startup not work on Windows 7?

Dim PathToStartupFolder As String = Environment.GetFolderPath(Environment.SpecialFolder.Startup)
If File.Exists(PathToStartupFolder & "Application.Exe.LNK") = False Then
Dim ShellObject As New IWshRuntimeLibrary.WshShell

[code]....

View 7 Replies

VS 2008 : USB Code Works On Vista And 7 But Not XP?

Dec 26, 2011

my code doesn't seem to work on windows XP but does work on Windows Vista and 7.

Code

Imports Microsoft.Win32
Public Class Form1
Dim rValue, rsvalue As Int32
Dim Regkey, RegKey2 As RegistryKey

[code]....

View 11 Replies

VS 2008 Aero In Windows Vista?

Jul 20, 2011

how to get working aero in Visual Basic 2008.I am making this media player and got everything I need for that. But what I really wanted is aero since Windows Vista got a nice interface and a few lucky people got it.But the tutorials I got worked great on Windows 7! However, I couldn't get aero because of a transparency key. (I swear I use a color picker to see if background color and transparency key are the same color.)I can't get it to work any piece of code I give.But the good part is that aero WILL work on any 7 or Vista without any form change, but the text is white with blue specks and that is not what I want.

EDIT:i found how to do it now! you need to use the property UseCompatibleTextRendring and put it to True. Now the problem is how do i do the same for the rest? (microsoft was to lazy to edit the controls)

View 2 Replies

VS 2008 Pro App From Vista To Win7 Fails?

Dec 22, 2009

I have an app developed in VB that works fine on Vista machines but fails on Win7. The offending line of code merely references a variable stored in a module. Evidentally, something is quite different on Win7. How to I find and fix this behavior?

The code is very straightforward. The error occurs in the Application Startup event.

Public Sub MyApplication_Startup(ByVal sender As Object,
ByVal e As ApplicationServices.StartupEventArgs) _
Handles Me.Startup

[Code].....

View 5 Replies

VS 2008 Raw Socket Don't Works With Vista

Aug 12, 2009

my goal is to control the incoming and outgoing packets to a game server, to alert when a game round finishes the main code is this:

Private Buffer(65535) As Byte
Private RawSocket As Socket
Public Event PacketReceived(ByVal PacketBuffer() As Byte)

[code]....

this code works perfectly with XP (you can read both incoming and outgoing packets to the game server)... with Vista the same code displays ONLY the incoming packets....

View 4 Replies

VS 2008 Vista - Set File Association?

Dec 19, 2009

Ok, I'm trying to tackle this topic again. I have searched for setting file associations in the registry, and I only find references to adding the association the ClassesRoot, which, in Vista 64, throws an Access Denied exception.I would like to know if it is possible to set the association somewhere other than classesroot in the registry. Or, if it must be set in HKCR, then the proper way to temporarily elevate the application to perform the registry change.

What should happen is user clicks a button in my program to add the file associations, a Vista security dialog pops up prompting the user to confirm the operation or enter administrative username and password, user confirms, application sets the file associations, then drops back down to regular security.

View 4 Replies

[2008] Vista Dialog Box Background?

Feb 5, 2009

in vista, if we fires a dialog box then the background get dimmed.

View 5 Replies

Crystal Reports - 2008 App Runing Xp Vs Vista

Mar 10, 2010

I have a VB.NEt app developed on XP using Visual studio 2008. My crystal reports work fine on XP but if I install the app and try to run the reports on Vista I recieve the following error message - can somebody offer a fix.

[Code]....

View 2 Replies

VS 2008 - Route - Take For My Program As Far As UAC And Vista Is Concerned

Jun 1, 2009

This is an extension of this post: [URL]

The reason I am starting a new thread is to be more concise; explain the exact issue I now face in detail. Reading my last thread may help, but what I provide here should be sufficient. I am basically trying to find the best route I should take for my program as far as UAC and Vista is concerned. My program (SysPad) is accessible through my sig).

My program requires constant write access. The purpose of my program is to provide access to a quick notepad-esque program that is directly accessible from the Notification Area. It saves every time the user types into one of the textboxes.

The issue lies in the fact that when UAC is enabled on Vista, there is no folder that is writable to without elevation to Administrator rights. The hitch is that my program is designed to be a startup utility and the issue is that a user who has UAC enabled will have to allow my program through UAC confirmation every time my program runs at startup.

Basically, I am looking for options that will resolve this and make it less "painful" on the end user who uses UAC.

Basically, the only idea I've been able to come up with that is least annoying/intrusive, is to create a Launcher.exe program that does not require elevation and have it sitting in the Notification Area with the same icon as my program at startup. When the user goes to access the program, it then launches the actual program (exiting the launcher) thus invoking the UAC verification.

Of course this would happen every time they boot their PC or restart my program; but, at least they won't be asked for UAC verification as soon as their PC boots.

Does anyone have any other suggestions? I really would like to get this to work with UAC as best as possible. Otherwise, I could just make my program check if UAC is enabled, and if it is, tell them they can't use my program lol. But, I'd rather not do that.

View 18 Replies

VS 2008 Form Hangs Under Vista 64 Bits?

Jul 8, 2010

I have detected a problem running my application under Vista 64 bits OS.

My application is developed using VB.NT 2008 and compiled as x86

I have a main form. In this form there is an option to open other form. TThis second form must return a few values to the main form. When the user click on this 2nd form, to return values, this form hangs up (2nd form hangs up)

But for what I could have known, it continues executing the rest of code that exists after to open form. I want to say that the form dialog (2nd form) is not closed (hangs up) but it the code continues being executed, because I have seen that inserts the data in the database.

The application not returns any error and any exception.

frmWaiting (form displayed when call thread)
This forms contains progressbar
main form
Dim ThreadVentas As System.Threading.Thread

[Code].....

View 4 Replies

VS 2008 Sendkeys Working With Vista With .Net V3.x Framework?

Mar 30, 2009

i've been looking for a solutions/alternatives to use sendkeys in Vista after reading many threads about the issue, i did see posts of alternatives, there was mentioning that SendKeys does work in Vista with .Net v3.x Framwork. (thread :"[RESOLVED] cant use the sendkeys function in vista " post # 14 ,with the following link

[Code]...

so before i download and install .Net v3.5 Framework (because the computer i am using is not mine, borrowed it from a freind)i wanted to ask , can anyone confirm that this is true,if i will install .Net v3.5 Framework on windows Vista then the SendKeys command will work as usual (as on windows XP)??p.s. here is a link explaining how to know which version of .Net framework is installed on the computer[URL]..

View 3 Replies

VS 2008 Unmanaged Dll Calling After Update Vista Sp2?

Dec 1, 2009

I am trying to use an unmanaged dll in my VBE2008 Project. My application works fine on my computers (3 Vista sp1 and 2 XP sp3 / all with .net framwork 3.5), but after the sp2 update for 2 of Vista machines, it throws often an AccessViolationException (on those machines with Vista sp2). The error message is:"Attempt to read or write protected memory. This is often an indication that other memory is corrupt."I have checked and found that the exception was thrown by the dll call-sub.

<DllImport("RefProp.dll", EntryPoint:="SETUPdll", SetLastError:=True, CharSet:=CharSet.Ansi, _
ExactSpelling:=True, CallingConvention:=CallingConvention.StdCall)> _

[code].....

View 6 Replies

VS 2008 Vista Computer / Access Denied

Aug 9, 2009

vb.net
Public Sub AntiCorrupt()
Dim DirInfo As New IO.DirectoryInfo(HardDrive)
DoneGather = False
Results.AddRange(IO.Directory.GetFiles(HardDrive, "*.*", IO.SearchOption.AllDirectories)) 'Admin Access

[code]....

I tried running this application as administrator, even though I am on an admin account. I even disabled UAC. Nothing seems to work. I do not want to just skip the file, I want to read it.How does a antivirus program scan every file on your computer for errors? How do it read the file if Vista prevents it?

View 4 Replies

VS 2008 With Direct Show On Vista Computers

Apr 8, 2010

on good computers direct show works fine on vista computers that are a few years old; after playing a few (4 hours or so) videos my program crashes on this line:

[Code]....

when i say crashes it just stops responding ... i hit ctl+break and it has a green arrow on that line that means it's busy executing the constructor of the filter graph it seems to run fine on descent brand new vista machines, the memory usage is minimal on all occurrences. seems fairly constant on older machines.

View 2 Replies

[2008] Elevated (admin) Permissions In Vista

Mar 8, 2009

I've encountered several scenarios when my application wants to delete an item, but is prevented from doing so by the operating system. So I've been wondering, is it possible to ask for elevated status after the application has launched? E.g. the application needs to delete a certain file, so it asks for confirmation and then deletes the file...

View 1 Replies

.NET In Visual Studio 2008 On Vista 32bit Building A WSP?

Jun 9, 2009

I am trying to build a WSP file in VS2008 on my VB.NET project. How would I go about doing this? I can find a lot of plugins for C# but not VB.NET.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved