Click here to Skip to main content
15,886,873 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Install two setup at same time Pin
Manas Bhardwaj8-Jun-07 0:27
professionalManas Bhardwaj8-Jun-07 0:27 
QuestionConnect FileMaker Pin
M. J. Jaya Chitra7-Jun-07 20:41
M. J. Jaya Chitra7-Jun-07 20:41 
AnswerRe: Connect FileMaker Pin
originSH8-Jun-07 5:56
originSH8-Jun-07 5:56 
GeneralRe: Connect FileMaker Pin
M. J. Jaya Chitra8-Jun-07 18:03
M. J. Jaya Chitra8-Jun-07 18:03 
QuestionCommon language runtime question. Pin
Lokean7-Jun-07 10:54
Lokean7-Jun-07 10:54 
AnswerRe: Common language runtime question. Pin
Brady Kelly8-Jun-07 1:03
Brady Kelly8-Jun-07 1:03 
QuestionString length in pixels Pin
jain.ashish216-Jun-07 23:39
jain.ashish216-Jun-07 23:39 
AnswerRe: String length in pixels Pin
szukuro7-Jun-07 2:10
szukuro7-Jun-07 2:10 
Well to know that you have to know the Font object the string is formatted with. Even then I'm not convinced it will give back exact results under all circumstances (also note you can change font size in the browser without the server-side knowing of it). With these limitations stated a good approximation would be:
int width;
System.Drawing.Font myFont = System.Drawing.SystemFonts.DefaultFont; //your font here
System.Drawing.Bitmap bmp =  new System.Drawing.Bitmap(1, 1);
using (System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(bmp))
    width = (int)g.MeasureString("myString", myFont).Width;
bmp.Dispose();

AnswerRe: String length in pixels Pin
jain.ashish217-Jun-07 16:38
jain.ashish217-Jun-07 16:38 
AnswerRe: String length in pixels Pin
Dave Kreskowiak7-Jun-07 4:17
mveDave Kreskowiak7-Jun-07 4:17 
AnswerRe: String length in pixels Pin
Thomas Stockwell12-Jun-07 4:28
professionalThomas Stockwell12-Jun-07 4:28 
QuestionInstallation project woes - Adding two versions of the same Assembly Pin
Colin Angus Mackay6-Jun-07 23:05
Colin Angus Mackay6-Jun-07 23:05 
AnswerRe: Installation project woes - Adding two versions of the same Assembly Pin
Not Active7-Jun-07 2:39
mentorNot Active7-Jun-07 2:39 
GeneralRe: Installation project woes - Adding two versions of the same Assembly Pin
Colin Angus Mackay7-Jun-07 11:10
Colin Angus Mackay7-Jun-07 11:10 
Questionlaunch the program after installed the setup Pin
Suhail Shahab6-Jun-07 21:28
Suhail Shahab6-Jun-07 21:28 
AnswerRe: launch the program after installed the setup Pin
Manas Bhardwaj7-Jun-07 0:01
professionalManas Bhardwaj7-Jun-07 0:01 
QuestionTo build a project which is in solution but not selected for build in solution configuration through MSBuild. Pin
Mushtaque Nizamani6-Jun-07 21:04
Mushtaque Nizamani6-Jun-07 21:04 
QuestionC# reverse engineering, [modified] Pin
jithen_dt6-Jun-07 17:10
jithen_dt6-Jun-07 17:10 
AnswerRe: C# reverse engineering, Pin
Stefan Prodan6-Jun-07 20:08
Stefan Prodan6-Jun-07 20:08 
AnswerRe: C# reverse engineering, Pin
Kevin McFarlane7-Jun-07 23:16
Kevin McFarlane7-Jun-07 23:16 
Questionadding records with DataGridView Pin
ramakaniel6-Jun-07 14:44
ramakaniel6-Jun-07 14:44 
AnswerRe: adding records with DataGridView Pin
ramakaniel8-Jun-07 9:39
ramakaniel8-Jun-07 9:39 
AnswerRe: adding records with DataGridView Pin
Dave Kreskowiak8-Jun-07 10:11
mveDave Kreskowiak8-Jun-07 10:11 
GeneralRe: adding records with DataGridView Pin
ramakaniel12-Jun-07 10:20
ramakaniel12-Jun-07 10:20 
GeneralRe: adding records with DataGridView Pin
Dave Kreskowiak13-Jun-07 6:52
mveDave Kreskowiak13-Jun-07 6:52 

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.