Highlight A Control When It's Not Completed?
Feb 18, 2010I want to highlight a control when it's not completed, something like a red border... how can I do this?
View 1 RepliesI want to highlight a control when it's not completed, something like a red border... how can I do this?
View 1 RepliesI am using Reflection with VB.Net to get all the forms in a list box and all controls in another list box for the selected form in the first list box for any selected Assembly from any location.
On selection of any form and clicking the 'Open Form' button it opens that particular form in disable state.
But it throws exception as connection could not established(seems the load event of the form still fires which is not desired).
So now i want that the form should load in disable state without firing any event of it and also if any of the control will be selected then it will be highlighted in the form with a red border.
I have a listview control. I want that whenever I select any row in the listiview its color gets change with some userdefined manner and once deselect it will change to default color
View 3 Repliesis there anyway you can colour or highlight certian weeks in a calender control. for example i'd like to display the years calender and highlight all dates of holiday. the dates to be passed in code. just a general 'is this possible?' i know i've seen it on web sites when booking a hotel room the hightlighted days are full or empty, that kind of thing.
View 3 RepliesI have a webbrowser control & a treeview control...once I load a website I create a HTML DOM tree representation of the website using the code below...What I want to do now, is the following:mouse over any HTML element, which will then select the corresponding tree node on the HTML DOM Tree select any tree node and have the corresponding HTML element highlight, with a red border around it?
Private Sub UpdateDOM(ByVal HTMLDocument As mshtml.IHTMLDocument3)
TreeView1.Nodes.Clear()
TreeView1.BeginUpdate()
[code].....
I just want to know that how can i highlight text on a richtextbox control while reading the text using speech sdk control. I mean the word currently speak automatically selected in the RichTextBox.
View 2 RepliesI'm using a timer control to highlight text letter by letter one every second. Timer1.Interval = 1000 How can I give the user access to this variable so the speed can be changed?
View 7 RepliesI just completed my app and used advanced installer to make a setup of it, i sent it to my brother for him to test but when he runs it and tries to sign in he gets these errors
[code]...
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.now i think it means that it cant find the mysql connecter and data and stuff but the user shouldn't need to have that right? it should come with the app to make it work for everyone
let's say i finished my application.. it already has 3 images that when i click button1, form background image is red, button2, blue, button3, whatever color image u like.. ;o)
now the app is built as a .exe and i would like to add more images to be able to change the background image... is there a special folder that contains my app images, or are they embedded in my application?
or is there a way to update the exe with new images... this is a new field for me, so make it simple..
I have installed vb.net 2010 express , but when I run It I get : "Error , the operation could not be completed".And I cannot do nothing with visual studio 2010.
View 1 RepliesI have to install whole bunch of self extracting files every now and then.. so, I was trying to automate the process...
Using process.start ("filename"), i was able to run the exe file. After that i send Alt U to Unzip the content.. Finally the Self Extractor sends message "xx files unzipped successfully..." or similar...
Now, how do I find out the the extraction is completed or the msgbox "xx files unzipped successfully..." popped up ? (I don't like to go thru the window title as there might be other thing going on...)
Iv searched and searched on how to email your completed program but I never seem to find anything.
View 3 RepliesMy question involves async operations in VB .NET. Given the following:
[Code]...
I am trying to call the DocumentCompleted event from a button click but am having problems.Here is my Document Completed event:
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs)
TextBox2.Text = WebBrowser1.Url.ToString()
[code].....
I know that it is possible to download items with Visual Basic [Code], but I was wondering how I could sense that a file had completed its download. (IE: when the download was complete, another event could happen).
View 2 RepliesI made an icon for my program and tried to implement it.Funniest thing though, I get a message with the error icon saying the operation completed successfully.But the icon doesn't change, nor is it my icon drop down box when I click the arrow. Ergo, it didn't complete successfully....I am using ASP.NET 2.0 and have read some about this error but I don't see any fixes I can do, aside from what I've tried already.
View 1 RepliesI'm trying to develop an application which searches a sql server database. One particular search entered by the user actually sends seven queries to the database. I've designed it so each of the seven queries is conducted in a seperate backgroundworker, so that they run and return their hits concurrently. When the user enters a search term, a routine (runSearch) is called , which in turn causes each seperate backgroundworker to run.This work fine when the user enters a single search term.I'm now trying to allow the user to enter multiple search terms in a multiline textbox. I iterate through the lines in the textbox and call runsearch for each line. I assumed that the progam would wait for each call to runsearch to complete, before running the next.
I now find out this is not the case. When I call runSearch, the backgroundworkers are set in motion. The next line in the textbox then calls runSearch again, but the backgroundworkers from the previous calling of runSearch are still running. This throws up an error stating that the backgroundworker is still busy and cannot be called.I need a way to test that all of the backgroundworkers have completed before running runsearch again. If one or more of the backgroundworkers are still running
I am running on the VB8 and expirienced an error during debugging after some changes in "My project" area. I have noticed (on two different machine) that after change for example Startup Form or Security Area, I am not able to debug program any longer. An error appears, telling me that:
The Operation Could not be completed.
After clicking OK (nothing else is available) and next try of debugging, another error message appear:
Visual Studio could not copy a support file to this location: "path". Please verify the path exists and is writeable. After that, I have to close Visual Basic and restart it. Than everything works fine...till next change of "My project"
what do i need for the progressbar to fill when the webrowser is completed.[code]
View 1 RepliesI am working on win32 application using Visual studio 2010 and Windows 7. Whenever I Click to "ADD" a "resource" to the project, I come across a messagebox with an error.. "Operation could not be completed. Access is denied".
View 3 Repliesi am currently trying to create an expenses calculator, the sort that includes all your monthly outgoings and give you a total. I would like to be able to fill the form in the save it + reload it when i run the program again, what is the best way to do this ?
View 5 RepliesStop app closing if backgroundworker isn't completed?
View 3 RepliesWhen using a process.start command to start a media player and play a song at a file location, is there a way programmatically to tell when the song or media has completed playing?
View 5 RepliesThread Completed Event Error
View 8 RepliesI am trying to display the progress bar(marque) in a separate form (progressForm) while i do some calculation in background. I know the typical way of doing it is to include the calculation in background worker and show progressForm in main thread. This approach how ever will lead to lot of synch issues in my application hence I am showing the progressForm using progressForm.ShowDialog() inside the background worker process. But I need to trigger the Completed event with in the application to close the form.
View 1 RepliesI want to create an If End statement like so...
If (webBrowser is finished loading) then
do some stuff
End If
and it needs be within Private Sub tags so it can't be
Private Sub webbrowser1_documentcompleted
how do u find out if the progress bar is completed ?
I need to run a script as soon as the progress bar has been completed
its ProgressBar1
and once its been completed i want it to do
TextBox1.text = "this is a test"
I have following code in aspx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" nherits="test" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[Code]....
Code Behind I do some processing in Page_load method and redirect to other page but it might take some time so I want to show user loading image.But it shows that after page_load is completed.How to handle this ?
I have a program nearly completed that visits a web page, clicks a button, and goes on. My only problem is, I cannot find out to add the document completed event in a loop. Basically, it visits a web page, was the document completes loading, it clicks a button, but I can't find how to make it loop.
View 6 RepliesI would like to make a text box that is self completed in accordance with the codeentered in it
Starting this code I would like to do my report on the same,is that for now I use the box checked for each individual code, but there are various codes and has no way to do one by one, the default report is the same for all the difference is only the Code (key) and therespective information