Click here to Skip to main content
15,887,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCapture a monochrome image of panel control Pin
gwittlock3-May-14 2:27
gwittlock3-May-14 2:27 
AnswerRe: Capture a monochrome image of panel control Pin
Richard MacCutchan3-May-14 3:32
mveRichard MacCutchan3-May-14 3:32 
GeneralRe: Capture a monochrome image of panel control Pin
gwittlock3-May-14 3:41
gwittlock3-May-14 3:41 
GeneralRe: Capture a monochrome image of panel control Pin
Richard MacCutchan3-May-14 3:50
mveRichard MacCutchan3-May-14 3:50 
GeneralRe: Capture a monochrome image of panel control Pin
gwittlock3-May-14 5:09
gwittlock3-May-14 5:09 
GeneralRe: Capture a monochrome image of panel control Pin
Eddy Vluggen3-May-14 7:41
professionalEddy Vluggen3-May-14 7:41 
GeneralRe: Capture a monochrome image of panel control Pin
gwittlock3-May-14 7:53
gwittlock3-May-14 7:53 
Questionsimple multi thread app behaving weirdly Pin
Tony Snowden1-May-14 23:55
Tony Snowden1-May-14 23:55 
hi all.. second question I have put up here and still in my infancy with VB so please be nice...

Yesterday I wrote one of those simple multi-thread applications you see online where you have two buttons which trigger two counts on two separate threads..I used invoke to update the count to the UI avoiding the CheckForIllegalCrossThreadCalls bypass code..

My app behaves weirdly.. when both counts are running the UI locks out, you cannot move it anywhere. I expected the multi thread to free the UI.. and also if you trigger one of the counts again before it reaches the max, the other count lags and can sometimes stand still until the retriggered count finishes.. basically, it just doesn't work like I hoped it would.. Frown | :(

I wrote a lot off the top of my head then checked to some online tutorials and the majority are similar so I am pretty sure my code is nearly there - just not sure about my invoke section..

im happy to post my code if someone fancies having a quick look and hopefully giving me a few pointers that would be great! Thumbs Up | :thumbsup:

thanks for reading
tony
AnswerRe: simple multi thread app behaving weirdly Pin
Dave Kreskowiak2-May-14 5:31
mveDave Kreskowiak2-May-14 5:31 
GeneralRe: simple multi thread app behaving weirdly Pin
Tony Snowden5-May-14 21:42
Tony Snowden5-May-14 21:42 
GeneralRe: simple multi thread app behaving weirdly Pin
Dave Kreskowiak6-May-14 4:01
mveDave Kreskowiak6-May-14 4:01 
GeneralRe: simple multi thread app behaving weirdly Pin
Tony Snowden6-May-14 4:31
Tony Snowden6-May-14 4:31 
GeneralRe: simple multi thread app behaving weirdly Pin
Dave Kreskowiak6-May-14 4:52
mveDave Kreskowiak6-May-14 4:52 
GeneralRe: simple multi thread app behaving weirdly Pin
Tony Snowden6-May-14 22:05
Tony Snowden6-May-14 22:05 
GeneralRe: simple multi thread app behaving weirdly Pin
Tony Snowden7-May-14 4:31
Tony Snowden7-May-14 4:31 
GeneralRe: simple multi thread app behaving weirdly Pin
Dave Kreskowiak7-May-14 6:07
mveDave Kreskowiak7-May-14 6:07 
GeneralRe: simple multi thread app behaving weirdly Pin
Tony Snowden7-May-14 21:37
Tony Snowden7-May-14 21:37 
QuestionCombobox value not showed in the datagridview Pin
D.Manivelan1-May-14 23:33
D.Manivelan1-May-14 23:33 
SuggestionRe: Combobox value not showed in the datagridview Pin
Maciej Los2-May-14 8:55
mveMaciej Los2-May-14 8:55 
QuestionSubject message not passing to outlook window from VB6.0 Pin
kk20141-May-14 3:53
kk20141-May-14 3:53 
AnswerRe: Subject message not passing to outlook window from VB6.0 Pin
Dave Kreskowiak1-May-14 5:23
mveDave Kreskowiak1-May-14 5:23 
QuestionNeed help on "Competition Scheduling" Algorithm Pin
N.Wang30-Apr-14 16:43
professionalN.Wang30-Apr-14 16:43 
QuestionTwitter REST API V1.1 Pin
Pete_12328-Apr-14 8:10
Pete_12328-Apr-14 8:10 
AnswerRe: Twitter REST API V1.1 Pin
Richard Deeming28-Apr-14 8:27
mveRichard Deeming28-Apr-14 8:27 
GeneralRe: Twitter REST API V1.1 Pin
Pete_12328-Apr-14 9:20
Pete_12328-Apr-14 9:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.