PlatformID Value For Win7 64 Bit
Sep 29, 2011Does PlatofrmID work in Win7 64bit? And if so what value does it return?
View 5 RepliesDoes PlatofrmID work in Win7 64bit? And if so what value does it return?
View 5 RepliesI know the propertys transparency key and opacity. It isnt what I am looking for. I need to have my form to have the same Glass Effect the as win7 does while runing under win7 plataform. Like, if i have glass effect in the top I should have it in the background.
View 14 RepliesI am trying to use a switch statement to grab the PlatformID to find the Windows Operating system. I have found out how to detect vista, but Win7 has been my issue. I did find a PlatformID chart but I am not sure if the information is accurate. This is what I found: [URL]
View 3 RepliesI need to make some system calls in my C# applications.Unfortunately, this behaves differently on Linux than on UNIX.Now I used to switch the Operating system at runtime like this
If Environment.OSVersion.Platform = System.PlatformID.Unix Then
' Linux/Unix '
ElseIf Environment.OSVersion.Platform = System.PlatformID.MacOSX Then
[code].....
I are testing Win7, and I have a ____ trying to just do anything in Win7. Lots of permissions problems. unexpected crashes.
I are no more owner of my code files!
I had no idea that my application was so buggy on Windows 7 :(
I found the following code in the forum, but for some reason it will not work in win7.
Dim processes() As Process = Process.GetProcesses
For Each proc As Process In processes
If proc.Id > 4 Then
[code].....
I have a winform, VBExpress 2008 with a single button and this code behind it to illustrate the problem:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
OpenFileDialog1.ShowDialog()
MsgBox(OpenFileDialog1.FileName)
End Sub
i have a application based on Visual Basic platform.. where Enter key action as Tab key ,, which ease the enter key to move from field to field, rather than the tab key.. its works perfectly in Winxp ... but i'm having problem in Windows7 ultimate..
View 1 RepliesDepending on what component is handling the print for you, some of them are not 64 bit ready (i.e. 32 bit only). To use them you must compile your application as 32 bit only. It will then run on the WOW platform that Win7 supplies.
You change this option on the PropertiesCompile screen. Press Advanced Compile Options and review Target CPU:
I mean not like windows xp which the number and signs are not in the same textbox, but like windows 7 which you can see the whole calculation before pressing equal, and i don't think that compute.datatable can do this because it's limited with the basic signs(+,-,/,*) and it doesn't include the other signs(like : sin,^,root,log), so how to make a calculator like windows 7 one?
View 2 Repliesthis code is for win7 is there a way to work it on xp pro sp3
Imports CoreAudioApi Public Class Main Private _device As MMDevice
Private Sub Main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim devEnum As New MMDeviceEnumerator_device = devEnum.GetDefaultAudioEndpoint(EDataFlow.eRender, ERole.eMultimedia)Timer1.Enabled = True End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
pkMaster.Value = CInt(_device.AudioMeterInformation.MasterPeakValue * 100) End Sub
I used VB6 to create an EXE file that uses MSComm1.The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed).It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are not compatible with Vista/Win7) but with no success.However, when I installed VBE on the laptop, it now runs the EXE quite happily.Does installing VBE also install a different set of runtime files?Is it posible to distribute my program to my friends who have Vista or Win 7, without them having to first install VBE?
View 5 RepliesDoes the NDde class work on 64 bit platforms?
I have used it successfully on 32 bit Win XP VB2008 Express application, but I am having trouble in 64bit Win7 environment.
Specifically the .Connect method is throwing an exception {"The client failed to connect. Make sure the server application is running and that it supports the specified service name and topic name pair."} NDde.DdeException
how to get my vb6 exe to run in any win7 or Vista?The error I'm getting is: Component comdlg32.ocx or one of it's components is not correctly registered or missing. I've tried using the P&D Wizard to specifiy loading it into the SysWOW64 folder but I'm not sure if I'm doing this correctly. I use the P&D Wizard then load everything into Inno for delivery but my customers who now have Win7 or Vista can't use my product.
View 2 Repliesmy application made in visual basic 2010 is not working in windows 7? what's problem?
View 1 RepliesI am making a windows service that will communicate with a local application through named pipes, and with a server through WCF webservice. So the application hosts the WCF service for the local application, and is a client for the webservices. When trying to run this as a service, the whole thing crashes. I have localized the problem to the "Session 0 Isolation" issue?
�If two-way interaction is required, use Windows Communication Foundation (WCF), .NET remoting, named pipes, or any other interprocess communication (IPC) mechanism (excluding window messages) to communicate across sessions. WCF and Remoting have a better security enforcement that will prompt the user (assuming UAC not shut-off) to elevate if needed. But I am not sure what they meen. As far as I know, i cannot create a windows service as WCF.
I have a vb.net program that is using a voice modem. Well, there is a someweird issues with the modem. (I am trying to work with them but they are kinda slow). Anyway, they only way I can resolve the issues with the modem is resarting the machine. I want to automate this. If I have problems with the modem, I want to reboot the machine and back into windows 7. How can I go about doing this? I am really concern about the login back into windows7. I want to keep the login screen up, but I want to bypass it if my program was the one to restart the machine.
View 8 RepliesI have looked through more old threads than I can count and I just cannot get any of the suggestions to work. I did a little poking around MSDN as well. I am trying to use the registry to enable AutoLogon on a Win7 machine through code. I can read the current value with no problem but I am running into security problems when I attempt to change AutoLogon to "1". This is what I have done so far.
[Code]....
I have an applcation that sets itself to 0 opacity on Form1_load which then changes to 1 when the user left clicks on the NotifyIcon.I would also like the form to center itself directy above the notifyicon like the Win7 speakers, power, ect popups.
View 1 Replieswe have a VB6 program and we now make them w7/office2010 ready.
In one part of the program we open the SelectNamesDialog (Adressbook) from Outlook (is separatly from the user startet) to choise one recipent from the list.
Under WinXp the Adressbook automaticly appears in the foreground. In w7 nothing happens. I try AppActivate and by the first call
I have a program for playing MP3 files using Media Player. The program developed originally under Vista using VBExpress 2010 works fine.
But when I run it under Win7 parts of the program don't work. In both cases the audio is played OK but under Win7 the 'playstatechange' events don't seem to happen!?!
I have put a breakpoint in event and under Vista the events happen...under Win7 the breakpoint is never reached. In both cases I am using VB Express 2010 and running under the debugger. I have seen this problem reported before in the forums but no answer was apparent.
I am using socket programming in vb.net to create a server client remoting application. The problem occurs when I use both the client and server in a win 7 box. It works fine for win xp or cross-platform communication (e.g. win xp to win 7). Below are the codes used at the client and server end:
[Code]...
ETA: Using Environment.TickCount does not present the same problem. ETA2: I should add that I don't actually use the Forms.Timer in my app - as this would negate the use of a high frequency timer. I've used it here to simplify the code. ETA3: I've published a workaround as an answer below. I'm having problems with the StopWatch class that I'm observing on a laptop with XP but not a different laptop with Win7. Here's the test code:
[Code]...
I am facing this problem when running my application on 64 bit os .While it is working good on 32 bit OS which is my development environment also. I do not know how to get rid of it. Target CPU is set as Any CPU (there are no other option coming there).
View 8 RepliesOk I have a application that works great on XP, but in windows 7 it will not let me write to my login file, says access is denied since I am not running as admin. Log file is located in "C:Program FilesCompany NameProductMyLog.LOG"
View 1 RepliesI've created a custom DateTimePicker and implemented code I found on the web to allow customization of the BackColor of the dtp (Making use of WndProc). However, I've discovered that this doesnt work in Windows 7 with the XP Visual Styles option enabled in the project. How to make this work for Win7, without disabling the Visual Styles (the controls look ugly without them).
Below is the code I'm using:
Private _BackColorBrush As SolidBrush = New SolidBrush(SystemColors.Window)
Public Overrides Property BackColor As Color
Get
Return MyBase.BackColor
End Get
Set(value As Color)
[Code] .....
I've had developing an old vb6 (sp6) app in my pc with winxp and running it in other with win7.
View 1 RepliesHere's a drilled-down version of what I'm trying to do.
Module Module1
Sub Main()
Dim regType As Microsoft.Win32.RegistryValueKind = Microsoft.Win32.RegistryValueKind.String
Dim regKey As String = "SOFTWAREFOOBAR"
[code]....
On Windows XP, this works fine. On my Windows 7 64 machine, if I simply run the executable normally, it throws an exception - something along the lines that access to HKCUSOFTWAREFOOBAR is denied. I'm typing this from my XP machine so I don't have the exact message at the moment, but that is the gist of it.
Now, if I run the executable in administrator mode, then it works fine. The intuitive explanation is that writing to HKCU requires elevated privileges. But I've run Steam on the Win7 machine, and I'm pretty sure Steam writes to HKCU without needing elevated privileges. Just running it while logged in as an admin is enough. So, is it possible for me to write a program that creates keys in HKCU too, without needing the user to manually invoke admin mode?
I'm trying to make a utility that will fade out the system volume (for when I fall asleep listening to my music). In XP and prior, controlling the system audio was very simple, however, in Vista and 7, I can't figure out how to do it. Because in Windows 7 each application has it's own volume control, lowering the volume doesn't affect the system overall - only the current app. Can anyone point me to a resource how to do this? Every forum posting that I've found on this topic is about XP, and doesn't work under newer versions of Windows.
View 2 RepliesLets say I am currently logged into my desktop as two users, One to the local machine and the other to a domain. Each has its own desktop. Each desktop has its own set of icons. I want to essentially hotkey switch users in such a way that my experience is that I end up on the other desktop without having to re-enter my passwords or perform any clicks. In other words. I am on desktop one. I hit lets say "ctrl-Alt-S" and I end up on the other desktop. Any security issues are mute as I am the owner of both login. I want to write this in vb.net and am assuming that I need to use API's.
View 3 Replies