Archive
Connection string for Sage ODBC via OLEDB
| TABLES |
| COMPANY |
| PERIOD |
| SALES_LEDGER |
| PURCHASE_LEDGER |
| NOMINAL_LEDGER |
| AUDIT_HEADER |
| AUDIT_SPLIT |
| AUDIT_JOURNAL |
| AUDIT_VAT |
| AUDIT_USAGE |
| DEPARTMENT |
| BANK |
| STOCK |
| STOCK_TRAN |
| STOCK_CAT |
| STOCK_COMP |
| INVOICE |
| SALES_ORDER |
| PURCHASE_ORDER |
| RECURRING |
| FIXED_ASSET |
| FIXED_ASSET_CAT |
| PREPAYMENT |
| ACCRUAL |
| INVOICE_ITEM |
| SOP_ITEM |
| POP_ITEM |
| SALES_CONTACT |
| PURCHASE_CONTACT |
| SALES_DEL_ADDR |
| PURCHASE_DEL_ADDR |
| COMPANY_DEL_ADDR |
| PRICE |
| PRICE_LIST |
| GRN_ITEM |
| CHART_LIST |
| CAT_TITLE |
| CATEGORY |
| TAX_CODE |
| UPDATE_LEDGER |
| CURRENCY |
| VAT_SUMMARY |
| VAT_RETURN |
| REMITTANCE |
Bad page viewstate in asp.net
System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +195
System.Web.UI.LosFormatter.Deserialize(String input) +60
System.Web.UI.LosFormatter.Deserialize(String input) +118
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +101
{
object pageState; try{
pageState =
base.LoadPageStateFromPersistenceMedium();}
catch{
// Something has gone wrong, reload page back to a stable state.pageState =
null;Response.Redirect(Request.RawUrl);
}
return pageState;}
Google Maps API
Nokia 3210 opening instructions
Nokia 3210 opening instructions:
(1) Scrabble at case with fingernails, break 3 fingernails in process.
(2) wedge knife down side of case, twist until knife buckles
(3) push cover against door and wedge 2p into plastic cover.
(4) Try to retrieve 2p with buckled knife
(5) cover should snap violently open, with battery thrown accross room.
Iterating products from sage
wsStock = SDO.Workspaces.Add("Myconnection")
wsStock.Connect(SageLocation, SageUsername, SagePassword, "ThisIsUnique")
srStock = wsStock.CreateObject("StockRecord")
srStock.MoveFirst()
DostrDescription = srStock.Fields.Item("DESCRIPTION").Value
strStockCode = srStock.Fields.Item("STOCK_CODE").Value
srStock.MoveNext()
Loop Until srStock.IsEOFwsStock.Disconnect()
Sage data objects
C# Library for ZIM
Running a block of SQL files sequentially
cls
echo Databse installation utility
echo ——————————————
echo Useage: InstallDB [server] [database name]
for %%1 in (*.*) do osql -S %1 -E -d %2 -i %%1 -n
Microsoft.XMLHTTP to the rescue
{
var xmlhttp=false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old IE versions.
// and security blocked creation of the objects.
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
}
}
@end @*/
if (!xmlhttp && typeof XMLHttpRequest!=’undefined’)
{
xmlhttp = new XMLHttpRequest();
}
try
{
xmlhttp.open("GET", "http://<alternative URL>/" + url,true);
win=window.open();
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4)
{
win.document.write(xmlhttp.responseText);
}
}
xmlhttp.send(null)
}
catch(e2)
{
// The browser doesn’t support XMLHTTP.
window.open(url);
}
}
Help!. Can’t reopen a page whilst another is loading…
<%
for (int i=0;i<1000;i++)
{
System.Threading.Thread.Sleep(100);
Response.Write(i + "…");
Response.Flush();
}
%>