Define character/font width?
Sun, 05 Oct 2008 12:58:41 +0800
Hello,
I've got the problem that I work with 2 fonts which unfortunately have
identical height (size), but a different width. Is there a way to define
the font width or character width? In MS Word you can extend characters
(make them wider) without changing the height - that's exactly what I
want to do.
...
|
Sign extend 16-bit value to Integer
Sat, 04 Oct 2008 18:48:22 -0700
What is the best way to sign extend a 16-bit value (such as half of
the lparam value in WM_NCxxx messages) into an Integer?
Currently I test for the 8000 bit and if set OR in FFFF0000, but it
seems like there should be some built-in way to do this. ...
|
Detecting a kill process.
Sat, 4 Oct 2008 21:08:59 -0400
How can a VB program detect a kill process which was used to close it down.
I have a routine that detects when a user exits the program and I can track
the session times. But how can I detect when a kill process was done on the
process either by the task manager or by Citrix for example?
Bill
...
|
Looking for contents in a file every minute
Sat, 4 Oct 2008 20:47:57 -0400
What would i use to look for changes in a file every minute?
...
|
Must declare the scalar variable "@CheckUser"
Sat, 4 Oct 2008 16:48:48 -0400
vs 2005 - vb .net - web forms - xp pro
Can't figure out why I keep getting the error Must declare the scalar
variable "@CheckUser".
The error happens on SqlDA.Fill(SqlDS). Just trying to make sure EMail
address doesn't exist in database before I insert data.
Connection string and everything else is corre ...
|
Need Help with Viewports and DockPanel
Sat, 04 Oct 2008 14:49:17 -0500
Hi, I'm workking the PetZold's 3D Programming for Windows
and the Windows Presentation Foundation Classes
My question is "What do you do with a Viewport in VB.net in order to
see it?"
He adds the viewport to a dockpanel then assigns the
dockpanel to the "window.contents" property - but the only win ...
|
contextmenu and contextmenustrip
Sat, 04 Oct 2008 08:07:52 -0700
I understand microsoft's change from contextmenu to contextmenustrip -
the strip looks "prettier".
But, since the contextmenu isn't available in the designer, it suer woul
dhave been nice when updating a project from VS2003 to VS2005 that it
asked if you wanted to change all of the menus.
I now have hundred ...
|
|
|
Using .Net to create Excel Pivot table
Sat, 4 Oct 2008 13:52:22 +0100
Hi All,
I'm struggling to find the correct syntax for creating a Pivot table in
an excel file via VB . Net 2005
The Excel help file is not particularly helpful where parameters are
concerned (It rarely mentiones the required data types etc)
The following is as far as I can get;
Dim excelApp As Excel ...
|
Least CPU intensive way to constantly search xml files
Sat, 4 Oct 2008 05:48:55 -0400
I need to make a program that stays in the xp/vista system tray. I have to
constantly search xml files to make sure the program stays updated with the
newest xml data. What is the least CPU intensive way to do this? Would it be
Timer or BackgroundWatcher?
...
|
Disposing objects
Sat, 4 Oct 2008 08:02:20 +0100
I'm rather confused as to whether something should be disposed of, or not.
What is the general rule? How can you be sure of doing the right thing? I've
heard about disposing unmanaged resources but what is an unmanaged resource?
Does everything need disposing?
I've been using Webrequest, Webresponse, Strea ...
|