Click here to Skip to main content
15,893,588 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionForm size issues.. Pin
No-e10-Jun-09 10:07
No-e10-Jun-09 10:07 
AnswerRe: Form size issues.. Pin
Christian Graus10-Jun-09 10:33
protectorChristian Graus10-Jun-09 10:33 
GeneralRe: Form size issues.. Pin
No-e11-Jun-09 2:53
No-e11-Jun-09 2:53 
AnswerRe: Form size issues.. [modified] Pin
nlarson1111-Jun-09 3:29
nlarson1111-Jun-09 3:29 
GeneralRe: Form size issues.. Pin
No-e11-Jun-09 3:41
No-e11-Jun-09 3:41 
QuestionUsing printdocumnet and printdialog Pin
johnjsm10-Jun-09 7:40
johnjsm10-Jun-09 7:40 
AnswerRe: Using printdocumnet and printdialog Pin
Christian Graus10-Jun-09 8:48
protectorChristian Graus10-Jun-09 8:48 
QuestionTwipsToPixelsX Pin
No-e10-Jun-09 6:21
No-e10-Jun-09 6:21 
I recently upgraded a project that did a lot of screen manipulation. Controls (hundreds in different configurations were loaded, aligned and displayed using the ".left" and ".top" commands on the control.

In many places there were alignments done based on other things and an offset, for example,

frachamber(0).Width = ((ID_WIDTH * 2) + (SLOT_WIDTH * 2) + 400)

after the upgrade I get

frachamber(0).Width = VB6.TwipsToPixelsX((ID_WIDTH * 2) + (SLOT_WIDTH * 2) + 400)

I would like to simplify and get rid of the twipstopixels and just go with pixels but am not sure how to convert my offset values (400 in this case) It looks like someone spent a lot of time figuring out all these offsets in the past, something I would like to avoid if possible.

any idea how to convert, say 100 twips is about this many pixels? (I guess they would be needed in both X and Y). In debug mode it will not tell you what the converted value is in pixels.

Thanks

sorry, upgrade from vb6 to .net
AnswerRe: TwipsToPixelsX Pin
Luc Pattyn10-Jun-09 6:41
sitebuilderLuc Pattyn10-Jun-09 6:41 
QuestionvalueMember vs DisplayMember Pin
atk887710-Jun-09 4:11
atk887710-Jun-09 4:11 
AnswerRe: valueMember vs DisplayMember Pin
Henry Minute10-Jun-09 4:56
Henry Minute10-Jun-09 4:56 
AnswerRe: valueMember vs DisplayMember Pin
Christian Graus10-Jun-09 9:05
protectorChristian Graus10-Jun-09 9:05 
GeneralOT: I wonder who this is... Pin
Dave Kreskowiak11-Jun-09 3:42
mveDave Kreskowiak11-Jun-09 3:42 
QuestionI need urgent help how to synchronize web & windows database. Please help!!! Pin
Yajjoj9-Jun-09 22:33
Yajjoj9-Jun-09 22:33 
AnswerRe: I need urgent help how to synchronize web & windows database. Please help!!! Pin
Steven J Jowett9-Jun-09 22:50
Steven J Jowett9-Jun-09 22:50 
AnswerRe: I need urgent help how to synchronize web & windows database. Please help!!! [modified] Pin
Johan Hakkesteegt10-Jun-09 0:11
Johan Hakkesteegt10-Jun-09 0:11 
GeneralRe: I need urgent help how to synchronize web & windows database. Please help!!! Pin
Yajjoj10-Jun-09 3:55
Yajjoj10-Jun-09 3:55 
AnswerRe: I need urgent help how to synchronize web & windows database. Please help!!! Pin
Baran M10-Jun-09 2:23
Baran M10-Jun-09 2:23 
QuestionUsing VB.net 2005, How to populate the Column header to all records. Pin
Member 40276179-Jun-09 20:21
Member 40276179-Jun-09 20:21 
AnswerRe: Using VB.net 2005, How to populate the Column header to all records. Pin
Christian Graus9-Jun-09 20:31
protectorChristian Graus9-Jun-09 20:31 
GeneralRe: Using VB.net 2005, How to populate the Column header to all records. Pin
Member 402761712-Jun-09 4:44
Member 402761712-Jun-09 4:44 
AnswerRe: Using VB.net 2005, How to populate the Column header to all records. Pin
_Damian S_9-Jun-09 20:36
professional_Damian S_9-Jun-09 20:36 
GeneralRe: Using VB.net 2005, How to populate the Column header to all records. Pin
Member 402761712-Jun-09 4:37
Member 402761712-Jun-09 4:37 
QuestionProblem with DataGridView Pin
Jack Brando9-Jun-09 15:50
Jack Brando9-Jun-09 15:50 
AnswerRe: Problem with DataGridView Pin
Christian Graus9-Jun-09 16:13
protectorChristian Graus9-Jun-09 16:13 

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.