AppAcivate Doesn't Works Under Win7?
Dec 10, 2010
we 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
View 2 Replies
ADVERTISEMENT
Jan 24, 2011
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 Replies
Jul 27, 2011
This the code I used to minimized the form to the tray. It works perfectly using winXP but not in win7.Here's the screenshot:it must be minimized to tray. The code:
Private Sub NotifyIcon1_MouseDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles NotifyIcon1.MouseDoubleClick
Me.WindowState = FormWindowState.Normal
[code].....
View 1 Replies
Jan 9, 2012
When setting the Page properties with the PageSetupDialog there was a "Printer..." button in the lower right corner to set the Printer setting also. But in the same app under win7 the button is gone.
I've set:
PageSetupDialog1.AllowPrinter = True
but to no avail. Also tried with Admin rights...nothing
View 2 Replies
Jun 26, 2010
this is my code:
Dim WB As WebBrowser
WB = GetPage("http://speed.travian.ir/a2b.php?z=" + VillageID.ToString + "&c=" + Type.ToString + "&" + AttackParams)
[code].....
View 9 Replies
Oct 26, 2011
While Loop Works then doesn't?
View 1 Replies
Jun 21, 2011
I'm attempting to create an app which uses a vendor-supplied Web Service. They provided sample code to show how to work with the Web Service, but all the code is in C#.. not a huge deal.I opened one of their demo projects and it compiles fine, works perfectly.
So, I open up MY project, drop in the converted code and... wait for it... ERROR!Here is the working C# code that IS working:
C#
private void DoSomethingWithTheAlarm(G4T.enAlarmAction action) { XML_AlarmClearRequest[] ClearRequest = new XML_AlarmClearRequest[lstAlarms.SelectedItems.Count]; int idx = 0; foreach (ListViewItem lvItem in lstAlarms.SelectedItems) { ClearRequest[idx] = new XML_AlarmClearRequest();
[code]....
View 15 Replies
Jun 29, 2010
I have a simple form that has some buttons on it that work fine when the code is for single click. I want to make it so you have to double click to fire the sub. I tried just adding Double to the code but the sub wont fire then.
This works:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
But this doesnt??
Private Sub Button1_DoubleClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.DoubleClick
Why? do I need to add something else?
I looked in the properties of the button but didnt see anything.
The problem is that if you click on the button the sub fires, but then if you hit return it fires again. If I could take the focus off the button that would be fine to.
View 1 Replies
Jun 3, 2011
And here I am with a new problem in my program When I debug it everything works fine (the buttons, progressbars, pinger, spambot,When I compile it and run the Executable file, it works too.When I run the Executable file on another computer (tried on 4 different ones) the program stops working and
I get this error: {$ exception. "Failed to create the form For more information, see Exception.InnerException error: File or assembly \." Microsoft.VisualBasic.PowerPacks, Version = 9.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a \ "or one of its dependencies not found. The system can not find the file specified .."} System.Exception {System.InvalidOperationException}
[Code]...
View 5 Replies
Jan 19, 2012
I'm on Windows Vista Home Premium, using Visual Express 2010, working on a visual basic program.
View 2 Replies
Jan 11, 2011
I'm stuck on a simple problem maybe you can help!
Why does this work
vb Private Function calcArea() As Decimal
Dim height As Decimal
Dim width As Decimal
' assigns user input from the two text boxes to the two variables
Decimal.TryParse(heightTextBox.Text, height)
Decimal.TryParse(widthTextBox.Text, width)
[Code]...
All I did is change the multiply symbol to a divide symbol and now when I try to divide the two Decimal variables Visual Studio says, "Option strict on disallows conversions from 'Decimal' to 'Long'." Not sure where this conversion is happening.I know I'm missing something simple (once again) so if anyone has any advice please let me know.
View 3 Replies
Mar 31, 2009
I am developing an application using Visual Basic .NET 2005. The application works fine in the PC which Im using to develop it. I make the setup.exe I install the application in other PC and the application doesnt work but it I replace the app.exe with the one in my debug folder it will work.
View 3 Replies
Jun 6, 2011
I 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 Replies
Mar 27, 2012
I have a UserControl that has a ProgressBar on it. The purpose of the UserControl is to be able to show the progress % on the ProgressBar as text. To do this it uses the MyBase.Paint event. To make it work the ProgressBar is made invisible and the UserControl is 'painted' with an image of the ProgressBar and then the text is painted on top. The UserControl has a Value property that is passed through to the ProgressBar.Value property.
I use this UserControl in two places, on a Splash form (not a standard Splash Screen) and also on the main form of the application. It works on the Splash form but not on the main form - by work I mean that changes to the ProgressBar.Value property cause the ProgressBar to show its progress. The cause appears to be that in the Splash form case the MyBase.Paint event is called as a consequence of calling Me.Refresh in the Set procedure of the UserControl.Value property, in the main form case it isn't,
i.e. Me.Refresh isn't causing MyBase.Paint to run.
The main form has two BackgroundWorker components. The first gets called (RunWorkerAsync) from Form_Load after the Splash form has been shown. The BackgroundWorker.ProgressChanged event updates the Value property of the UserControl and it works exactly as intended. The second gets called as a result of a user starting an operation and again the BackgroundWorker.ProgressChanged event updates the Value property of the UserControl but MyBase.Paint doesn't run so the ProgressBar remains resolutely static.
Any ideas why it won't respond to Me.Refresh in one case but does in the other? Happy to make any of the code avaialble but didn't want to fllod the first post with reams of it. Here's what I think are the most relevant code sections. First the UserControl
[Code]...
View 12 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
Oct 14, 2009
See
Public Class Form1
Dim sql As String
Dim conn As New OleDb.OleDbConnection
Dim da As New OleDb.OleDbDataAdapter
[CODE]...
The problem, The INSERT statement works fine in the form load but not in the button click event?
View 29 Replies
Jan 5, 2012
I have a spreadsheet with this code:
'insert link
sheet1.Hyperlinks.Add(sheet1.Range("P1"), "http://http://www.vbforums.com", "")
the code of the button (ribbon)
[CODE]...
When I press the button, it connects to the web site. when the sheet1 is selected, it works, but when the sheet2 is selected, not works, why? the path is sheet1,What's wrong?
View 2 Replies
Jun 12, 2011
I am trying to change the background color of a tooltip
I am using tooltip.backgroundcolor = color.colr
No errors but thecolor doesn't change
View 5 Replies
Oct 13, 2010
I use Visual Studio 2003, VB.net, NetFramework 1.4 and Windows XP I have been using the following Code Snippet for a number of years in both Web Services and Windows Applications. However suddenly around the 29th September 2010 it has stopped sending E-Mails from both Web Services and Windows Applications. The same problem has happened not only to my own Network but on two other Networks, one using XP as its Server and the other using Server 2003. All 3 of these are using different ISPs.
[Code]...
View 1 Replies
Jul 1, 2009
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 :(
View 6 Replies
Sep 29, 2011
Does PlatofrmID work in Win7 64bit? And if so what value does it return?
View 5 Replies
Jan 29, 2011
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].....
View 8 Replies
Sep 25, 2010
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
View 5 Replies
Mar 6, 2012
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 Replies
Oct 14, 2010
Depending 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:
View 1 Replies
Mar 5, 2011
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 Replies
Jun 23, 2010
this 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
View 3 Replies
Jun 12, 2011
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 Replies
Apr 27, 2010
Does 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
View 3 Replies
Jan 25, 2011
my application made in visual basic 2010 is not working in windows 7? what's problem?
View 1 Replies