SHELLDLL_DefView Does Not Work In Windows 7
Apr 18, 2011
I am having a problem with my code now that I have changed from Vista to Windows 7. For some reason the following code does not work anymore in Windows 7. It seems that Progman is replaced by WorkerV.
<Runtime.InteropServices.DllImport("User32.dll")> _
Public Shared Function FindWindowEx(ByVal hwndParent As IntPtr, ByVal hwndChild As IntPtr, ByVal className As String, ByVal caption As String) As IntPtr
[code]....
View 2 Replies
ADVERTISEMENT
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
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 25, 2011
I wrote a DVD player in VS2010, based on the COM component mswebdvd.dll, which works fine on a 32 bit XP machine. When I try to write something similar on a 64 bit Windows 7 machine something odd happens. I have mswebdvd set up as a project reference and as a control in the toolbox, and when I create an instance of it on the form I apparently have access to all its methods and properties...but when it is 'playing' the DVD the form object remains as a black box and there is no sound. I have title numbers, run times, play state etc displayed in textboxes and everything is normal, with play stopping as expected at the end of each title. The dll evidently thinks it's doing its job but there is no sound or vision. Can anyone suggest what is happening? [code]The Windows 7 machine has one optical drive and plays DVDs perfectly well on installed software (PowerDVD).
View 6 Replies
Mar 8, 2012
My VB app will not work properly on a Windows 7 64 bit PC.When I launched it on the Win7 PC it will open up OK but when I open a crystal report, the form page comes up ok but the report is missing.Then I get a pop up window asking me for a user name an PW:
[Code]...
View 9 Replies
Mar 5, 2009
how can i make my programs work i am using in my programs framework 3.5 and i make to my programs build publish so is effect on any thing
View 8 Replies
Oct 22, 2011
I am buying a netbook so I can write applications in Visual Basic using the vbc.exe compiler that is a part of Windows SDK. Will vbc.exe work with Windows 7 Starter (which seems to be the usual OS for netbooks)?BuckBoost
View 7 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
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
Mar 9, 2010
I have a listviewsorter that does work on Windows 2000, Windows Vista and Windows 7 (and maybe others), but it doesn't on Windows XP.
View 5 Replies
Jul 11, 2011
I completed my VB project a while back and it worked great in XP.Now the same program is needed on computers that have Win7 installed.The program installs without any problems, but when I open it, it gives me an error saying the database is not accessible.
I used Visual Studio 2008 and SQL Compact to design the project.The database was included in the project and in the installation file. I also checked the Programs folder and the database was installed correctly into the correct path.What is the problem with my programs compatibility with Windows 7?
View 14 Replies
Oct 9, 2009
I have a program that i'm trying to convert into a service (it has no interface anyway).
View 2 Replies
Feb 27, 2008
The Timer canot work at Windows services, Anyone face b4 ?? Any extra setting need to set b4 use it ??
in VS2003 windows services can work.
View 3 Replies
Mar 3, 2011
I'm running Visual Studio 2010, and i'm trying to use AT commands to send an SMS. My question is will it not work with windows 7 due the exclusion of hyperterminal in windows 7. (I was able to dowload a version of Hyperterminal and can use AT commands in that.. but my code itself does not work.) My code is below.
[Code]...
View 5 Replies
Jul 9, 2011
Note: This project is for educational purposes only.I've tried many tutorials on how to create basic keyloggers but none work. I then heard Windows 7 won't work for keyloggers with Visual Basic 2008.
My Code is Below:Public Class Form1 Dim result As Integer Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Timer1_Tick
For i = 1 To 255
result = 0
result = GetAsyncKeyState(i)
If result = -32767 Then
TextBox1.Text = TextBox1.Text + Chr(i)
End If
Next i
I get no errors from the code it just doesn't put the keys I press in the textbox.If having Windows 7 is the problem is there any solutiions?
View 1 Replies
May 9, 2012
I made a small windows project under visual studio 2010, It working perfectly with
windows 7 , when I tried to run it under XP didn't work :-(
what can I do to have it work in both windows 7 and windows XP , or at least to work under
View 11 Replies
Feb 28, 2011
I've created a windows service which must produce a beep every 0.5 seconds.
I've installed and started that. but nothing happends.
what should I do?this is my service:[URL]...
View 1 Replies
Aug 3, 2010
My project requires that a windows service checks up a table on a sql database(MDF) and if product existence is 0 then sends an email to some mail address and keep checking every 24 hrs.Now Im able to send mail messages but what Im not able is to make the service itself to work or at least make sure that is working.I do the following(correct me if I do something wrong or missing a step):
1. create a new project and choose windows service
2. add a timer and set to 4000 ms just to test not wait the 24 hrs lol
3. then open its event timer_elapsed and put some code on it, like a msgbox that would keep spamming every 4 secs just to test
4. at the event onstart I enable the timer by: timer1.enabled=true
5. at the event onstop I disable the timer by: timer1.enabled=false
6. right click then choose add installer
7. in the newer installed with the two objects:
a. serviceinstaller1 set its properties to: displayname: myservice and servicename: myservice
b. serviceprocessinstaller1 set account property to LocalSystem
8. build the project and install it by opening the VS console and type: "installutil c:path blah blahservice.exe" then hit enter
9. all successfull installed open the pc manager and run the service from the list and this should be the deal
Now my real problem is that by following those steps my service is sucessfully builded, installed, and started but after the 4 seconds no msg pops up so this leads me to think that is not doing anything or I did something wrong in the steps above. Is there another way to test if this service is working else than the msgbox or the log entry? Plus, Im working on my home pc which is a xp OS. I tried the same at college pcs wich are win7 and when I did install by the console it returned an error weird but in my home pc it doesnt(and I have to present my project at college at college and tomorrow
View 7 Replies
Mar 25, 2012
I've read about revising the File Version (and Assembly Version) to ensure that an updated file does replace an older/previous file when a WI update installation is carried out, but I don't understand the four-part construction of the File Version ... and my re-versioned files sometimes refuse to transfer to the target computer.
For example, a .exe I have recently updated had it's File Version set to 1.0.0.0 (it is resident now in my Program Files (x86)/MyApplication folder) and File Date 23/03/2012, but even now with the File Version set to 2.0.0.10 and a File Date of 24/03/2012 when I use WI to install the new program over the original the 1.0.0.0 file remains in place and the new 2.0.0.10 file does not get installed instead.
[Code]...
View 2 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 29, 2010
This Module doesn't work on Windows 7 x64.What I should change?The module is : Runpe.
vb.net
Imports System.Runtime.InteropServices
Imports System.ComponentModel
Public Class rp
[Code]...
View 11 Replies
Jan 30, 2010
i have written hundreds of programs with vb.net 2008, but never a service before. I have a simple service written that basically just rights a entry in the eventlog to test. No coding/compiling issues. I run the "installutil.exe" and I get a error ever time. So I went back and added the "Add Installer". But I am sure of what else I need to do, as I get the same error. Please assist.
Error:
Installing assembly 'C:UsersDonaldDocumentsVisual Studio 2008ProjectsWindowsService1WindowsService1inReleasewindowsservice1.exe'.Affected parameters are: logtoconsole = assemblypath = C:UsersDonaldDocumentsVisual Studio 2008ProjectsWindowsService1WindowsService1inReleasewindowsservice1.exe logfile = C:UsersDonaldDocumentsVisual Studio
[code].....
View 3 Replies
Oct 28, 2010
Do Timers work in Windows Services?
View 13 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 14, 2010
I'm writing a Windows Service:
Code:
Public Class Service1
Protected Overrides Sub OnStart(ByVal args() As String)
System.Diagnostics.Debugger.Break()
[Code].....
I've installed the service, I can run it with no errors but... I can't debug!
I thought that with the line System.Diagnostics.Debugger.Break()
the service should stop and wait for my input. But NO!
I also tried to click on Tools > Attach process to debug but I can't see anything, just a gray background!
In the registry event it's written that the process started successfully, but the process doesn't show me the message box "Up and running"
View 3 Replies
Apr 25, 2011
What I need to do is write VB scripts that will work on any version of Windows, right back to 3.1. I may need to write several files for different Windows versions, I just don't know.
[Code]
This runs on Windows Server 2003 and XP. I've tested it on those systems. But will that run on Windows 7, Vista, 98, 95, NT, 3.1? If not, which language/version do I need to use to do the same job on each system, and could you point me to the language reference?
View 4 Replies
Dec 21, 2011
how can i access remote sql server 2005 work on windows 7 ? and in the seem time i donot like turn off firewall .
and how i can make sql server listen to it port 1433
View 6 Replies
Aug 5, 2009
Add a new report to a windows forms project. Now add the table data region from the tools. If you don't already have a strongly typed dataset displayed in the data sources view, get that ready. Now do the tried and true easy-to-use trick of dragging a field from data sources onto the table's details row.
[Code]...
View 3 Replies