VS 2008 Make Application Lag/freeze Free?
Mar 20, 2012
I got multithreaded scraper and it laggs alot and sometimes it freezes totally.
It works like this. Start Scraping -> Url List -> Scrape -> Add info to datagridview -> Verify info.
Im using threadpool on it. Any tips to make it lag free? What causes it, what I should not do etc?
View 6 Replies
ADVERTISEMENT
Jan 19, 2012
I'm using loop to read data from sql and then make some calculations then save it again to another table but when application loop for 3 or 4 times it's freeze but the job is done but if loop = 10 or more then it is freeze and hangup for long time .i need to learn how to make my application working better and never freeze and make application working with any count for loop without freeze .
View 7 Replies
Nov 13, 2011
Ive been working recently on a chat. Ive been using FTP to comunicate through both forms but it need to constantly download the new data and make the application freeze. Even with a Backgroundworker. So my question is : is there a way to keep a constant connection between the form and the host? And not LAN ,I mean that doesnt need to be on the same router.
View 1 Replies
Jun 12, 2009
Can we make the Combo Box not drop down if we click on it even though it have item in the list, button not click-able even though it have the on_click event..textbox not allow to set focus but not in disable mode...everything like design time.. because I want to do drag and drop control like visual studio.. but I can drag now, just when I want to click the control to drag, the control still remain the default function...
View 1 Replies
Aug 22, 2010
I'm trying to make the progress bar to display the amount of free space C: has. I have successfully do so with my code which is:
Vb.net
Try
Dim b As String
Dim c As String
Dim dvr As New DriveInfo("c:")
b = CStr(dvr.TotalSize 1000000)
c = CStr(dvr.AvailableFreeSpace 1000000)
[Code] .....
As a last touch to this code I thought I would add a percent bar so it would look more professional. I did so with:
Dim Per As String = (c b * 100)
The problem is that it displays always zero percent why?
View 5 Replies
Oct 15, 2011
I use these codes to download/upload to my FTP host , they work perfectly but since i have to handles few download/upload , sometimes the application freeze during download
'Upload :
Try
' set up request...
Dim clsRequest As System.Net.FtpWebRequest = _
[Code].....
View 7 Replies
Mar 15, 2009
I'm having some wierd problems with my Looping. I'm was using a thread to start a looping routine to sample the keyboard for pressed keys. The loop worked fine when I made a call to it from the thread in my form load routine. However when I just made a call to the samplekeys routine without using the thread my application will freeze and it won't load.I'm making the call in the form load routine. Private KeyThread As NewThreading.Thread(AddressOf SampleKeys)hen start the thread in the form loading procedure , but if I just make a direct call to the samplekey routine without using a thread my application freezes.Here is the the thread don't think there is a problem with it.
Public Sub SampleKeys()
Dim N As Integer
N = System.Environment.TickCount
[code].....
View 1 Replies
Mar 23, 2012
i'm trying to make a simple email sender and the problem is that during the sending process my application freezes, therefore my progress bar also freezes so is there anyway i can try to make application not to freeze?
View 2 Replies
Mar 2, 2012
is there any way to connect sftp server and download files from specific folder.
View 2 Replies
Mar 29, 2010
What are the free API for vb.net desktop application?
View 13 Replies
Nov 19, 2011
Can I make applications in the Free version of VB Express and use them on other machines?
View 9 Replies
Oct 17, 2011
I have a RichTextBox (txtCustomDict) ... and i am invoking it like so from another thread:
[Code]...
EDIT: Just checked and it does the same thing if i split it into 2 differently named subs then invoke the other sub
View 3 Replies
Jun 2, 2009
I have an app with which I populate a DataGridView named data. I have implemented threading in this app. Now both in debug mode (run through VS 2008 Express Edition), and without threading implemented the app works smoothly as it should. With threading and as a standalone .exe however, it freezes up. Not just anywhere, but as soon as 6 items are filled in the DataGridView (the top of the last one is only slightly visible). I have synclocked everything relating to the DGV, and am completely stumped.
View 7 Replies
Aug 6, 2010
What is a good safe tool to obfuscate vb.net application?
View 6 Replies
Jan 29, 2012
I have a problem with my Visual Studio 2008 it often freeze when Im coding.. I go to event viewer and found this error:
.NET Runtime version 2.0.50727.3625 - Fatal Execution Engine Error (7A2F89BA) (0)
Last week my IDE work's fine ..but now it fails..
View 2 Replies
Jul 2, 2009
My motive to prepre a application which can calculate free time of the team which handle. I have written a code which updates the username and current time in an access database. How can i run the code on windows lock event.
View 7 Replies
Apr 26, 2010
is it possible to make one application send a task to another application and recieve the result from that secondary app?i made a text editor program and i added a scan feature and i made another app that has ocr capabilities.The scanner ability is in my text editor program, the ocr program doesnt scan you have to input an image into it and it will give text result a few seconds later.the prob is alot of times the ocr code uses sooo much memory and crashes when its incorporated with my text editor, but individually each application works fine and doesnt take too much memory. Memory wont be even an issue if the ocr program is standalone so that when it is done decoding image the application can be made to exit. now here is the question, how do i make my text editor send the image to the ocr program and how do i make my ocr program send the text back to my text editor? is it possible? i mean the only way i know off is creating temp files in a certain folder and having a timer on each program that keeps waiting for temp files. That just seems like pretty lame coding to me i was wondering if there's a better way?
View 11 Replies
Sep 8, 2011
I have this code:
[Code]...
View 12 Replies
Feb 9, 2010
vb 2008 compared to 2003 is the ability to drag controls onto the web form and place them where I want.With 2008, the form places the control to the left and I have to tab, space, set-up tables or similar techniques to get the control exactly where i want it. Is there a way to make the web form in 2008 work like the one in 2003?Other then this one oversight, I enjoy all other aspects of vb 2008.
View 1 Replies
Apr 12, 2011
We are busy to create large size files for a customer. The more we use ram memory as faster the program will run.
Is there a way to global find out in vb 2008 how much free ram is available?
View 4 Replies
Aug 2, 2010
How do you package and Deploy on a 2008 Free Edition.
Do you need a licensed version to Package?
View 1 Replies
Jan 15, 2011
where can i download free installer of vb.net 2008 version? rili need it now,.
View 1 Replies
Sep 10, 2010
where I can download free Tutorial Movies for Visual Basics 2008. I find it the easyest way for me to learn.
[Code]...
View 10 Replies
Mar 9, 2010
Thats the very basic thing & there should be like a template for this & after searching google & VBhelp file for like 3 hours I still cant find how to do it.Let me get to point:I want execute exe, it will decompress a file & exit.I have code, it works. but the CMD console window keeps popping out every time I launch my exe.How can I make No gui application? Im using vb 2008 express
Imports System
Imports System.Collections.Generic
Imports System.IO
[code].....
View 6 Replies
Feb 14, 2010
I made a application that will find all the cache from Google Chrome.It works but with a problem. The problem is that each OS stores the cache under different folders for example.
Windows Vista stores it at.strUserDir & AppDataLocalGoogleChromeUser DataDefault Windows 7 stores it at.strUserDir & AppDataLocalGoogleChromeUser DataDefaultCache
And Windows XP stores it here.strUserDir & Local SettingsApplication DataGoogleChromeUser DataDefaultCache
So my question is how can i write a code that will work on all of the 3 operating systems.I was thinking of using the Environment method but i'm not sure.
[Code]...
View 20 Replies
Dec 14, 2009
How would I upload a TXT File to a site lik
View 1 Replies
Jun 6, 2009
I am trying to make a gif maker application,this was the idea: I have 5 pictureboxes on the form 1 Final picturebox User adds 2-5 pictures on form and after that it presses a button that starts a timer The timer it's for the final picturebox to like show 1 picture than hide it and show the next.. I dont know the timer code... The code I added till now looks like this:
Dim str As String 'for the number of pictureboxes
Button"AddPicture"-
dim open as new openfiledialog
[Code]....
maybe Ur own aplication that makes from multiplme images a gif and save it as .gif and give me the source
View 6 Replies
Jun 22, 2011
I am trying to make a web application in VB.NET using Visual Studio 2008 that will accept login credentials and compare them with an Access database for authentication/validation. I found lots and lots of examples for how to do this with a Windows Form App, but none with a ASP.NET Web App. tried to modify the steps for a web app but I'm not sure how to make it work. The database connection is good and the query seems to work fine. Here's where I'm having trouble. In the tutorial, he says to use:
01 Private Sub But_Validate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles But_Validate.Click
02 Private Sub But_Validate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles But_Validate.Click
03 Dim r = Me.UsersTableAdapter1.ValidateUserNamePassword(Me.Txt_UserName.Text,Me.Txt_Password.Text)
[code]....
No matter what I put in for the username and password (as long as they are valid values) I always get a "success," never a failure. I know my query is working right because I put a gridview on the page and bound it to the result from the query; when I type in a user/pass that is not in the database the gridview is blank, when I type in a correct user/pass the gridview displays that row from the database.
View 1 Replies
Sep 4, 2009
how i would make an application that can create exe files.Like i make an app that has the options:
Form name:
Form icon:
Message to display:
and then you click build, and it builds an exe with the options set in the original form as the settings for the new exe.
View 2 Replies
Nov 13, 2009
I want to make a program that's constantly running on the background and when I hit a specific combination of keys (example ctrl + alt + A) on any application it does *stuff*.
View 10 Replies