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


ADVERTISEMENT

App Crash Under Windows Vista 64 Bits

Oct 14, 2009

I have an app (developed using VB 2008 and MS Access 03)

It runs fine under Windows XP, Windows 2003 and Windows Vista 32 bits....Butit crash under Windows Vista 64 bits.

The app not register any error and exception (internally). [code]...

View 16 Replies

Develop 32 Bits Applications If Have Win 7 64 Bits And Visual Studio 64 Bits?

Mar 14, 2011

I am a visual basic developer, I have windows 7 64 bits and Visual Studio 64 bits installed.CAN I DESIGN APPLICATIONS WITH THESE SETTINGS THAT CAN BE COMPATIBLE with 32 bits operating system(example in windows Xp 32 bits)?

View 2 Replies

VS 2010 Program Hangs In Vista?

Aug 4, 2010

I have a heavily timer tick driven application that seems to randomly just stop on vista/w7 while minimized, sometimes it goes on for hours sometimes just minutes but the end result is same just stops for no apparent reason, the moment i unminimize it it keeps going. This never happens on xp tho where it works perfectly so what might be the problem?

View 1 Replies

VS 2008 Applications In Windows 64 Bits And 32 Bits?

May 9, 2010

An application created with Visual Basic in Win7 64 bits will it still work fine in both WinXP 32 bits and Win7 32 bits ?

View 6 Replies

OpenFileDialog.ShowDialog() Hangs When Used In An Installer Class Windows7 And Vista

Dec 17, 2009

I have an installer class that presents a form to the user. One of the functions of the form is to browse to a file using the open file dialog. This form functions fine when used in an application but hangs when calling OpenFileDialog.ShowDialog() during an installation on a Windows7 or Vista machine (Windows XP it works as expected). I get the same rusult when 'run as administrator' and with UAC off. I also get the same results when calling SaveFileDialog.ShowDialog() in the same context. The call doesn't throw an exception but causes the form to stop responding. Any suggestions on how to get this to work correctly?

View 6 Replies

VS 2008 Form.Invoke() Hangs Up?

Jun 23, 2011

I'm using the following code to close a form (Inherits System.Windows.Forms.Form) but it sometimes hangs up at the Invoke() ...

Private Delegate Sub closeFormDelegate()
Private Sub closeForm()
If myForm.InvokeRequired Then

[code].....

View 4 Replies

IDE :: VB 2008 Express IDE Hangs On Form Redraw

Jul 8, 2009

The VB2K8 Express IDE is hanging intermittantly when I click on the form's Design tab. The tab's work area goes blank and a wait cursor appears. I can't switch tabs or do anything else within the IDE at this point. I have to go to the Task Manager, end the VB taskk, and restart the IDE. VB is at SP 1 with .NET 3.5. I have no third party add-ins or controls except for the Visual Basic Power Packs which aren't being used. At this point it is annoying and I haven't lost anything yet but it is happening more frequently over time.

View 4 Replies

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

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

Calculate The Lower 7 Bits And 7-13 Bits Of Two Hex Numbers?

Apr 8, 2011

I'm trying to figure out how to calculate the lower 7 bits and 7-13 bits of two hex numbers.

Here is some example c code, just need this in vb.net:

serialBytes[2] = 0x64 & 0x7F; // Second byte holds the lower 7 bits of target.
serialBytes[3] = (0x64 >> 7) & 0x7F; // Third data byte holds the bits 7-13 of target

The 0x7F is a constant so the only number that changes based off input is the 0x64.

View 2 Replies

Use SQLConfigDataSource To Add DSN To The 32 Bits ODBC On Windows 7 64 Bits?

Mar 28, 2012

how can I use SQLConfigDataSource to add DSN to the 32 bits ODBC on Windows 7 64 bits? I know it use C:WindowsSysWow64odbcad32.exe and on registry, HKLMSoftwareWow6432Node but the API do not allow me to configure it?how can I do ?

View 1 Replies

Application Form Hangs But It Is Working

Apr 21, 2011

I have win7 pro, on my win form is a traffic light icon(when it starts it is red, when finished it is green), so that I know when job is finished. But when I run application icon isn't changing and form hangs it self, can not do nothing until job is finished. Only in the end, I see that icon is quickly changes to red and then back to green.

View 1 Replies

Form Hangs When Inserting Data

Aug 21, 2010

How to solve a form hangs problem during on inserting data to the database?

[Code]....

View 2 Replies

VS 2008 Reading 32 Bits From A File?

Apr 9, 2010

Here's what I have that Doesn't work (I have one button, one OpenFileDialog, and a label named Status):

Public Sub ProcessBytes(ByVal Bytes() As Byte)
Status.Text = "Status: Processing . . ."
Try

[code].....

View 3 Replies

Communications :: Windows Form Hangs Or Freezes How Come?

Jan 9, 2011

I put this Code into a module and try to call it to start the Server side of the the applaction there also a Client but the Server side is done in a Console app but when i try to do it in a Windows Form it hangs once called to start listening. [code] i found this code on the internet that i was just playing with. its pretty neat but i cant figure out the program of the Windows form hanging issue.

View 1 Replies

WinForms Form Hangs On Startup On One Machine

Jan 21, 2010

For my VB.NET application, I'm using the windows installer that came with Visual Studio. I can successfully install and run my program on any computer in our office except for one. On this particular machine, my program will stall for about 30 seconds before being able to load the main form. When I start up the task manager, the CPU is hovering at about 0 to 1%, so its not really doing anything but freezing up. It will eventually load, but it really shouldnt take this long, especially when it loads instantly on other computers. Now this machine is windows xp with serverice pack 3 and .net 3.5 sp1.

View 3 Replies

VS 2008 : Facebook Extract Json Into Bits?

May 3, 2011

I have been working on a project to read some data of facebook user walls. So I have researched I need to use json and System.Web.Script.Serialization to extract the required data I suppose. Has anyone have a tidy example of how to get something out of json script?

View 2 Replies

VS 2008 Append Bits For A Very Simple Encryption?

Sep 22, 2010

This seems like it would be so simple and fast, but I cannot figure out how to accomplish it in VB since there aren't many bit functions. I want to take a file and append 5 junk bits at the beginning and 3 junk bits at the end. In essence, just add 1 byte to the file, but in the process offset all the current bits so the file is no longer readable.

I just need a very simple encryption/decryption, but it needs to be very fast as well. I try XORing the bytes, but it gets slow with just a 1MB file. Some of the files are going to be close to 10MB.

View 3 Replies

VS 2008 Bitwise Operation (Reversing Bits)?

Feb 16, 2011

I have written a simple VB.net application which saves information to an RFID tag. I am now trying to compress my data. The solution I have come up with involves bitwire operation.Basically I store 2 numbers per 1 byte (0-9, 10 being a period, 12 possibly being a negative/positive flag,13,14,15 unused as of yet).The code I am using basically shifts the byte containing a number left, 4 spaces, then 'OR's it against another number.Therefore 12 is now represented as 00010010. The problem i'm having is decompressing. Obviously getting the '1' back is easy, as I just shift right 4, then grab it. I need to append or remove the last 4 bits.My solution after many headaches was to reverse the bit order, shift left 4, then reverse, then tostring it.

View 17 Replies

VB 2008 Application Hangs?

Mar 6, 2011

I am writing my first application in Visual Basic Express 2008 and the program conistently hangs (Not responding in the Task Manager) midway through execution. The operating system is Windows XP Professional SP3 running on a 1.20 GHz Intel Core Duo CPU with 2 GB of RAM.

The application has very deep layers of subroutines and functions, all of which are using lots of math routines. There are no recursive routines anywhere in the program. The program creates and destroys quite a few class elements, and I have written dispose methods for all of them using IDisposable, setting all the properties to Nothing. I also use GC.Collect() to force garbide collection, and GC.WaitForPendingFinalizers(). As a result, I don't think there are any memory leaks.

I think the depth of sub and function calls are causing a stack overflow, but I'm not certain. I have tried without success to increase the stack allocation to 2 Mb using Editbin.exe after reading some forums, but nothing changed. I then searched my machine and did not find EDITBIN.EXE.When the program hangs up, the background of the forms on the screen turn to solid white and the controls are no longer visible.It looks like a window pops up but it disappears too quickly to read anything. If I view the task manager while the application is running it hangs immediately. I have not published it, I am still developing and running it out of the VB environment.The more complexity (sub and function calls) I add, the earlier the program hangs.

View 6 Replies

[2008] DownloadString Hangs Grabbing Html?

Feb 14, 2009

I'm trying to parse the current song off a shoutcast stream admin page put my app just hangs at that line.

VBCODE
Using wc As New Net.WebClient
MessageBox.Show(wc.DownloadString("http://66.90.121.11:10013"))

[code].....

View 7 Replies

IDE :: Add New Item On Project Menu Hangs Visual Basic 2008 Express?

Jan 16, 2009

For some reason, the Add New Item command on the Project Menu is hanging VB on my Vista based machine.but now, it hangs. By that I mean the the little circle cursor spins and spins and spins... This happens even when all I do is start VB, start and new project. and then try to add something, eg. another form, a class, anything except "existing item".

View 1 Replies

VB6 Form Getting Resize In Vista?

Aug 10, 2009

I have form and Picture box . And Few Text Box Over on it The Form Getting Bigger so text box getting new position as result Its not Displaying Properly I am Including my Image Please See The You can understand The Problem This Problem happening Few Vista and XP [URL]..

View 3 Replies

Vista Style Transparent Form?

Sep 13, 2008

I was wondering if anyone know's how to make a form or part of a form transparent like the top of Windows Vista Aero windows or the gadget gallery?

View 16 Replies

Exceptions In Form Load Event Do Not Get Thrown On Vista

Sep 23, 2009

I'm using Vista Ultimate x64 to develop on and I have found that any unhandled exceptions that I would expect to get thrown in the Load event of a form do not actually get thrown... This happens no matter which compile mode I select (x86, x64 or AnyCPU). If I copy the exact same EXE to an XP machine then the unhandled exception is thrown as expected and the JIT debugger warning message appears. Its very annoying as absolutely no indication that an exception has occurred is shown, the program just loads normally but anything after where the exception should have been thrown is not executed. For example, if I create a new project now and stick this in the form load event then the program would just load as if nothing has gone wrong:
My.Computer.FileSystem.ReadAllText("----")

View 1 Replies

VS 2008 Bits - Bytes And Boomerangs (without The Boomerangs)

Sep 17, 2009

I like my thread titles with alliteration Anyway... now that you think I'm weird, lets get down to business. As per this thread: [URL]I am trying to perform a DNS query in code. Having spent the last few hours trying to get my head around this and failing miserably I figured I would see if anyone on here could point me in the right direction.

[Code]...

View 39 Replies

[2008] Vista/Server 2008 Event Log Entries?

Feb 19, 2009

windows service app I am developing to audit events in the Windows Security Event Log. I am using the EventLog class to read entries from the "Security" event log. I have set the log to raise events when an entry is written so I can parse the data. Here is where my problem comes in. If I run the service on Windows 2003 I can get all the data I need from each entry, but when installed on Server 2008 the EventLogEntry ".message" property comes back with useless data like this, "The description for Event ID '4738' in Source 'Microsoft-Windows-Security-Auditing' cannot be found." Under Server 2003 the message property has good data. Using the Event Log Viewer in Server 2008 I can see that it is rendering the correct data, but I am having a heak of a time doing the same. The "replacementStrings" property has the corresponding data that I need, but it appears to involve some other steps to get the data localized to the event provider, but I do not know how to do that.

I also checked the registry HKLMSystemCurrentControlSetServicesEventlogSecuritySecurity on both the 2003 servers and 2008 servers. They are identical execpt the 2003 has an entry the 2008 server does not:

String Type: GuidMessageFile
Value: %systemroot%system32NtMarta.dll

View 1 Replies

Give Minimize And Maximize Effect As Like Windows Vista To Project Form?

Mar 8, 2009

I have created a software project for my college using vb.net 2008

View 2 Replies

IDE :: "Edit Dataset With Designer" Window Hangs In VS 2008?

Sep 29, 2010

Editing a Visual Studio 2008 solution (1 Windows project and 1 installer project) that has been working flawlessly.Recently, attempts to edit the Dataset (add/modify queries) by right-clicking the dataset and selecting "Edit Dataset With Designer" brings up the MyProject_Dataset.xsd window TAB, and initially displays "Please wait while loading..." in the middle of the window -- and then does nothing else.Alt-Tabbing to other apps then leaves "ghost window" stuff displayed where "Please wait while loading" once was... and editing queries, etc., is impossible.Shutting down Visual Studio will enable me to successfully get into the editor once ot twice, but then it locks up again.

View 6 Replies







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