I have a customer who is using a VB Script to create one swbemrefresher object which works normally on Win XP and Win2003 platform, but on Windows Vista platform prompts with "invalid class" error...
I made a bluring tool of some sort and you basicly drag an area of yuor picture and it blurs that certain selected elipsis.. the problem is THis only works on Winsows 7 Im trying to understand the diffrence but I can't. The PC uses the same graphic card same hardware just a diffrent OS but it wont do that Code. Anyways here is how I blur
Private m_ActiveControl As Point Private m_CurrentPoint As Point Private ileft As Integer
I have been struggling to get vbscript working for last three days of relentless effort. I have windows 7 ultimate and upgraded from windows vista. searched the web for solutions and tried out all the options I think I have, but yet no luck.
I tried registering vbscript.dll and I get a succeeded message back. Everything seems to be fine. but, I just cannot run vbscript on my computer. It complains that "can't find script engine vbscript for script ....". I have a hunch that it is something to do with "microsfot security essentials (my virus protection software)" or with UAC.
Im trying to write a few scripts for use in AD in VBscript I thought it would be nice and straight forward to be able to open csv files and the like by using a Browse For File Window so the help desk can simply find browse for the file but i am not having much luck.
I have an application that works fine on Windows XP. However I have taken the same application and made some modifications to it to run on vista the app loads fine etc.
the problem stems from trying to change a service in the registry under HKEY_LOCAL_MACHINESystemCurrentControlSetServicesDiagnostic Service Host
Start = 4 instead of 3 (which is what it is currently set to)
when the program tries to change it I get a dialog box with the information below. How can I makes the changes to the registry without getting these kinds of errors. I tried to get the Framework configuration tool but it talks about XP and Windows 2000 for VB.Net 2005 so I am not sure what to do... I should mention I have only been programming for a month...
Error details:
"Application attempted to perform an operation not allowed by the security policy. To grant this application the reuired permission contact your system administrator or use the Microsoft .NET Framework configuration tool. [code]...
I used autocomplete sub in one combobox keyup.It works fine in windows xp but got an error in windows 7. The error said:invalidargument=value of '-17310416' is not valid for 'length'.Parameter name:length.(-17310416 will change based on selection of combobox) ---- Public Sub AutoComplete(ByVal cbo As ComboBox, ByVal e As System.Windows.Forms.KeyEventArgs) Dim iIndex As Integer Dim sActual As String[code]................
I get the following error when I run my vb2010 progrm on windows 7 machine:Class not registered (Exception from HRESULT: 0x80040154. It ran fine on vista. there is no option on the compile to target x86. It is related to an active x flex grid
We are creating a Chat Application for our chatnetwork, we originally made it in VB6 works like a beauty and converting to VB.NET At the moment, it joins the channel fine, nothing wrong with this displays everything it needs to however we are in the process of showing emoticons.While we were on XP in debug mode and release mode, the emoticons showed... Once we moved the compiled version over to Vista Home and Ulitmate the emoticons would not show, we have looked and looked all over google and have not come to a conclusion, today we even moved the whole Project folder over to Vista, ran it in debug mode, and the images still wouldn't show in the RTB. Works fine in XP but not Vista? Edit/Delete Message
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.
I have sent out software created with VB2008 Express and everything has installed correctly on my PC which is running windows vista. But they can't get it to install, one is running XP the other Vista, they get the following errors
Windows XP
Microsoft.VisualBasic.Powerpacks.Vs Version 9.0.0.0. to be installed in the Global Assembly Cache
Windows Vista
system.windows.forms.data visualization version 3.5.0.0 be installed in the global assembley cache first
We are creating a Chat Application for our chatnetwork, we originally made it in VB6 works like a beauty and converting to VB.NET At the moment, it joins the channel fine, nothing wrong with this displays everything it needs to however we are in the process of showing emoticons.While we were on XP in debug mode and release mode, the emoticons showed.Once we moved the compiled version over to Vista Home and Ulitmate the emoticons would not show, we have looked and looked all over google and have not come to a conclusion, today we even moved the whole Project folder over to Vista, ran it in debug mode, and the images still wouldn't show in the RTB. Works fine in XP but not Vista?
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....
I Need Build a user control which works as a Login control using Windows Class Library or Component Template:The user control returns the user name and the password It means that the control has minimum two ReadOnly Property procedures. You let the user of your control (he/she which uses your control in his/her software) to set the background colour of the two labels. Create a Windows application to test your control.
I have written a console app in <acronym title="Visual Basic">vb</acronym> .net 2003 to capture audio data (albeit not for an audio application) using the WinMM API. This works well in XP and also on my own Vista PC. However when others try to use in on Vista or Win7 it stops working after about 10 - 30 seconds (so it manages to initiate recording from the default input device but eventually stops). The only error given is "Program has stopped working". I am wondering if this is related to the way I recycle the input buffers?
I get this: Base class 'System.Windows.Forms.Panel' specified for class 'MenuButton' cannot be different from the base class 'System.Windows.Forms.UserControl' of one of its other partial types.
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.
I am trying to create a class in VB.NET which inherits a base abstract class and also implements an interface. The interface declares a string property called Description. The base class contains a string property called Description. The main class inherits the base class and implements the interface. The existence of the Description property in the base class fulfills the interface requirements. This works fine in C# but causes issues in VB.NET.
'the below just creates a text file for my own sanity. Both files get 'created so I know the service is running as it should and not crashing. 'timer ticks every minute so if I delete the files once they have been 'created, they get recreated
Dim TextFile As New StreamWriter("C:LRQuadrant" & "test111" & ".txt") TextFile.WriteLine("blah blah blah") TextFile.Close()
I have a file called john.vbs. It only contains the following vbscript
If I run this through command prompt, it does as I'd expect.'Nothing happens when the below code gets run.
Dim foo As New System.Diagnostics.Process foo.StartInfo.WorkingDirectory = "c:" foo.StartInfo.RedirectStandardOutput = True foo.StartInfo.FileName = "cmd.exe"
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?
my question is how can I execute these VBScript codes inside the Windows Form (of course in a button click event). I don't want to execute them by pointing to the VBS file, I want them to be in the EXE file when I compile the form so if I hand out the form to someone else, they cannot modify the scripts.
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
Recently, I start scripting on Windows 2008 server.And find out some of my code, which is work on Windows 2003, is no longer work on Windows 2008.Below is vbscript that will wait until a particular processID to be terminated before proceed to the next line of code.[code]Could someone please advise what WMI method I can use to detect processID termination in windows 2008?