Fluke tech support have no idea when drivers will be available.
In addition the help system in LinkWare 2.6 is based on WinHlp32.exe and this is not available in Vista so you cannot view the help file.
My blog about green energy, offshore wind farms, C, C++, C#, web, programming, electronics, Raspberry Pi/Pico, 3D printing, networking, structured cabling and any other nonsense I fancy writing down.
Fluke tech support have no idea when drivers will be available.
In addition the help system in LinkWare 2.6 is based on WinHlp32.exe and this is not available in Vista so you cannot view the help file.
using IWshRuntimeLibrary;
Third, Here is the code :-
// This creates a Folder Shortcut
IWshShell wsh = new WshShellClass();
IWshShortcut shortcut = (IWshShortcut) wsh.CreateShortcut (shortcutpathfilename);
shortcut.TargetPath = targetdir;
shortcut.Save();
shortcutpathfilename is a path & filename of the .lnk file.
targetdir is the directory the link points to.
SQL Server 2005 can be installed on Vista 5728 (Despite the warning indicating it's not compatible), but installing SP1 seems to stop SQL from working. The solution seems to be to remove and then re-install SQL Server 2005.
When is SQL Server 2005 SP2 going to be available? Apparently this will be the version supported on Vista.
Yesterday I upgraded my Vista Beta2 machine to the latest build 5472. The upgrade completed successfully but took about 4 hours to finish! So far I have found the following problems:-
I have a Sony VGN-A497XP laptop with an ATI X600 screen. Since upgrading to 5472 my max resolution has dropped from 1920x1200 to 1600x1200. I’m not happy with this!
There are now 3 devices without drivers. Windows update cannot find them.
The memory stick still does not work
Laptop extra buttons (volume up down, CD eject etc) still do not work.
Welcome Centre->Setup Devices does not work as it says reinstdrvs.exe does not exist.
I’m now running on Vista Ultimate Beta 2 with Office 2007 Beta 2. The Vista install worked fairly well although it did not install an audio driver for my Sony VGN-A497XP laptop. The XP audio driver seemed to install OK. There are still 4 or 5 devices without drivers. One being the Sony memory stick which no longer seems to work.
Office installed without any problems. I’m not very impressed with Outlook it still does a terrible job of multi-tasking. We use an outsourced Exchange Server provider so we access Exchange using RPC over HTTPS and the whole program hangs when getting data from the server. Why is this not implemented on a separate thread so it does not stop the whole UI? Cached mode with RPC over HTTPS does not seem to work. Word is great, if you can read this then it has successfully uploaded this blog entry from Word.
One thing to notice when using Visual Studio 2005...you must right click on the application and select “Run as Administrator” if you want to debug any ASP.NET pages. If you do not do this then the execution does not stop at any of the breakpoints.
[Serializable, StructLayout (LayoutKind.Sequential, CharSet = CharSet.Auto)]
public struct TEXTMETRIC
{
public int tmHeight;
public int tmAscent;
public int tmDescent;
public int tmInternalLeading;
public int tmExternalLeading;
public int tmAveCharWidth;
public int tmMaxCharWidth;
public int tmWeight;
public int tmOverhang;
public int tmDigitizedAspectX;
public int tmDigitizedAspectY;
public char tmFirstChar;
public char tmLastChar;
public char tmDefaultChar;
public char tmBreakChar;
public byte tmItalic;
public byte tmUnderlined;
public byte tmStruckOut;
public byte tmPitchAndFamily;
public byte tmCharSet;
}
[DllImport ("gdi32.dll", CharSet = CharSet.Unicode)]
static extern bool GetTextMetrics (IntPtr hdc, out TEXTMETRIC lptm);
[DllImport ("gdi32")]
private static extern IntPtr SelectObject (
IntPtr hdc,
IntPtr hObj
);
// Get TEXTMETRIC details for font
Font font = new Font (FontName, size, FontStyle.Bold, GraphicsUnit.Pixel);
IntPtr hdc = g.GetHdc ();
IntPtr hFontOld = SelectObject (hdc, font.ToHfont ());
TEXTMETRIC tm;
GetTextMetrics (hdc, out tm);
SelectObject (hdc, hFontOld);
g.ReleaseHdc (hdc);
PointF topleft = new PointF (x + cx, displayy + cy - (tm.tmExternalLeading + tm.tmInternalLeading));
private QuoteBuilder qb_actionpane = new QuoteBuilder ();
private void ThisDocument_Startup (object sender, System.EventArgs e)
{
qb_actionpane.Dock = DockStyle.Fill;
this.ActionsPane.StackOrder = Microsoft.Office.Tools.StackStyle.None;
this.ActionsPane.Controls.Add (qb_actionpane);
}
private void LoadTreeview ()
{
// This code fills a DataTable with an SQL Query
DataTable table = DatabaseUtility.ExecuteDataTable (
new SqlConnectionSettings.Default.SQL_DSN), (Properties.
"select ID, ParentID, DisplayOrder, NodeType, NodeText from TableName"
);
// Fill the TreeView with database data. Use null
// as parentid for top level
AddKids (null, "ParentID is null", "DisplayOrder", table);
}
private void AddKids (string parentid, string filter, string sort, DataTable table)
{
DataRow[] foundRows = table.Select (filter, sort);
if (foundRows.Length == 0)
return;
// Get TreeNode of parent using Find which looks in the name
// property of each node. true itterates all children
TreeNode[] parentNode = treeView1.Nodes.Find (parentid, true);
if (parentid != null)
if (parentNode.Length == 0)
return;
// Add each row to tree
for (int i = 0; i <= foundRows.GetUpperBound (0); i++)
{
string nodetype = foundRows[i]["NodeType"].ToString ();
string nodetext = foundRows[i]["NodeText"].ToString ();
string nodeid = foundRows[i]["ID"].ToString ();
TreeNode node = new TreeNode ();
node.Text = nodetext;
node.Name = nodeid; // This is critical as the Find method searches the Name property
if (parentid == null)
treeView1.Nodes.Add (node); // Top Level
else
parentNode[0].Nodes.Add (node); // Add children under parent
// Itterate into any nodes
if (nodetype.ToLower () == "node")
AddKids (nodeid, "ParentID=" + nodeid, sort, table);
}
}
CommandArgument='<%# Container.DataItemIndex %>'
protected void GridView1_RowCommand (object sender, GridViewCommandEventArgs e)
{
if (e.CommandName.ToLower () == "test")
{
int rowindex = int.Parse (e.CommandArgument.ToString ());
GridViewRow row1 = GridView1.Rows[rowindex];
TextBox tb_percent1 = row1.FindControl ("TextBox1") as TextBox;
TextBox tb_value1 = row1.FindControl ("TextBox2") as TextBox;
TextBox tb_month1 = row1.FindControl ("TextBox3") as TextBox;
TextBox tb_year1 = row1.FindControl ("TextBox4") as TextBox;
protected void GridView1_RowCommand (object sender, GridViewCommandEventArgs e)
{
if (e.CommandName.ToLower () == "test")
{
GridViewRow row2 = (GridViewRow) ((Control) e.CommandSource).Parent.Parent;
TextBox tb_percent2 = row2.FindControl ("TextBox1") as TextBox;
TextBox tb_value2 = row2.FindControl ("TextBox2") as TextBox;
TextBox tb_month2 = row2.FindControl ("TextBox3") as TextBox;
TextBox tb_year2 = row2.FindControl ("TextBox4") as TextBox;
18 namespace ITM
19 {
20 ///
21 /// Summary description for WebForm1.
22 ///
23 public partial class WebForm1 : System.Web.UI.Page
24 {
25 protected System.Web.UI.HtmlControls.HtmlInputFile file2;
This is how to load an Icon from an embedded resource and then use it to change a task bar notification icon.
Firstly embed the icons as a resource. Don't forget to change the Build Action of each icon to "Embedded Resource"
Declare these variables
private System.Drawing.Icon icnNormal;
private System.Drawing.Icon icnAlert;
Put this in your Form_Load() method
System.IO.Stream st;
System.Reflection.Assembly a = System.Reflection.Assembly.GetExecutingAssembly ();
st = a.GetManifestResourceStream ("{{{YourAppName}}}.Resources.App.ico");
icnNormal = new System.Drawing.Icon (st);
st = a.GetManifestResourceStream ("{{{YourAppName}}}.Resources.arrow-up_32.ico");
icnAlert = new System.Drawing.Icon (st);
Replace {{{YourAppName}}} with the name of your application
To use the icon
notifyIcon1.Icon = icnAlert;