Click here to Skip to main content
15,891,529 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Issue with Image, PictureBox, AutoRedraw. Paint Brush Application In Vb 2005 Pin
Luc Pattyn8-Sep-07 11:01
sitebuilderLuc Pattyn8-Sep-07 11:01 
QuestionHow to create a window handle. Pin
RJGCarey6-Sep-07 7:36
RJGCarey6-Sep-07 7:36 
AnswerRe: How to create a window handle. Pin
Dave Kreskowiak6-Sep-07 7:43
mveDave Kreskowiak6-Sep-07 7:43 
GeneralRe: How to create a window handle. Pin
RJGCarey6-Sep-07 8:04
RJGCarey6-Sep-07 8:04 
GeneralRe: How to create a window handle. Pin
Luc Pattyn6-Sep-07 8:10
sitebuilderLuc Pattyn6-Sep-07 8:10 
GeneralRe: How to create a window handle. Pin
RJGCarey6-Sep-07 9:44
RJGCarey6-Sep-07 9:44 
GeneralRe: How to create a window handle. Pin
Luc Pattyn6-Sep-07 9:53
sitebuilderLuc Pattyn6-Sep-07 9:53 
GeneralRe: How to create a window handle. Pin
RJGCarey6-Sep-07 11:46
RJGCarey6-Sep-07 11:46 
My last post was just an abstract. The post prior to that has all the code. Starting the clock is the last thing in Form_Load.
In my other applications the form is created in Sub Main.
Here is the code.
Public Sub Main()
frmMain = New Form1 'new form
frmMain.Show() 'show it
Shw = New clsShow 'new class
Shw.SetUp() 'set up the graphics
cName = SystemInformation.ComputerName() 'get computer name
handleEndWorking = Now.ToString("yyyyMMdd") 'set the handleendworking
mySql = New clsMySql 'connect to the database
hntB = New BarHunter.clsBase 'new hunting base class
hntB.setUp = New BarHunter.clsSetUp 'new set up class
hntB.setUp.DoIt() 'do the job
hntB.setUp = Nothing 'dispose
Application.Run() 'run
End Sub
Now I just discovered that when I run my Show Procedures from another thread it doesn't work. It modifies a bitmap linked to a picture box on the form and then invalidates that picturebox.
Enable application framework sure creates a different critter.
Thanks
RCarey






RCarey

QuestionHow to call a procidure requiring arguments with new thread Pin
Amer Rehman6-Sep-07 6:50
Amer Rehman6-Sep-07 6:50 
AnswerRe: How to call a procidure requiring arguments with new thread Pin
Dave Kreskowiak6-Sep-07 7:37
mveDave Kreskowiak6-Sep-07 7:37 
AnswerRe: How to call a procidure requiring arguments with new thread Pin
RJGCarey6-Sep-07 7:47
RJGCarey6-Sep-07 7:47 
QuestionCrystalReportviewer and Pagesetup Pin
dcode256-Sep-07 4:56
dcode256-Sep-07 4:56 
AnswerRe: CrystalReportviewer and Pagesetup Pin
Lucky Sheikh6-Sep-07 20:17
Lucky Sheikh6-Sep-07 20:17 
QuestionBackups with Volume Shadow Copy Service (VSS) under vb.net Pin
wtfia2k6-Sep-07 4:07
wtfia2k6-Sep-07 4:07 
AnswerRe: Backups with Volume Shadow Copy Service (VSS) under vb.net Pin
Dave Kreskowiak6-Sep-07 4:42
mveDave Kreskowiak6-Sep-07 4:42 
GeneralRe: Backups with Volume Shadow Copy Service (VSS) under vb.net Pin
wtfia2k6-Sep-07 5:10
wtfia2k6-Sep-07 5:10 
AnswerRe: Backups with Volume Shadow Copy Service (VSS) under vb.net Pin
wtfia2k7-Sep-07 5:15
wtfia2k7-Sep-07 5:15 
GeneralRe: Backups with Volume Shadow Copy Service (VSS) under vb.net Pin
Dave Kreskowiak7-Sep-07 6:46
mveDave Kreskowiak7-Sep-07 6:46 
QuestionDataGridView.CellValueChanged - value not firing until out of the combobox cell Pin
Marcus J. Smith6-Sep-07 3:13
professionalMarcus J. Smith6-Sep-07 3:13 
AnswerRe: DataGridView.CellValueChanged - value not firing until out of the combobox cell Pin
Dave Kreskowiak7-Sep-07 4:47
mveDave Kreskowiak7-Sep-07 4:47 
QuestionLight and Mirrors Pin
Yasin7866-Sep-07 2:14
Yasin7866-Sep-07 2:14 
AnswerRe: Light and Mirrors Pin
Christian Graus6-Sep-07 2:23
protectorChristian Graus6-Sep-07 2:23 
AnswerRe: Light and Mirrors Pin
Dave Kreskowiak6-Sep-07 4:10
mveDave Kreskowiak6-Sep-07 4:10 
AnswerRe: Light and Mirrors Pin
GuyThiebaut6-Sep-07 4:18
professionalGuyThiebaut6-Sep-07 4:18 
AnswerRe: Light and Mirrors Pin
Luc Pattyn6-Sep-07 7:03
sitebuilderLuc Pattyn6-Sep-07 7:03 

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.