text stringlengths 0 30.5k | title stringclasses 1
value | embeddings listlengths 768 768 |
|---|---|---|
XCopyProcess.WaitForExit(15000);
int ExitCode = XCopyProcess.ExitCode;
if (ExitCode > 0 & !XCopyProcess.HasExited)
{
XCopyProcess.Kill();
}
XCopyProcess.Dispose();
```
Many thanks in advance for any help anyone can offer.
I don't want to be a besserwisser, but I think you'd be much better off doing the copying inside... | [
0.2448713481426239,
0.06566254049539566,
0.4953894317150116,
-0.001671280711889267,
0.31554949283599854,
-0.1742006540298462,
0.03378812223672867,
-0.07214559614658356,
-0.1494986116886139,
-0.6877678036689758,
-0.23730182647705078,
0.5768592953681946,
-0.4555782079696655,
0.22017534077167... | |
I have a MyISAM table with more than 10^7 rows. When adding data to it, I have to update ~10 rows at the end. Is it faster to delete them and then insert the new ones, or is it faster to update those rows? Data that should be updated is not part of the index. What about index/data fragmentation
`UPDATE` is by far much ... | [
-0.1352752447128296,
0.2598750591278076,
0.3698616921901703,
0.18394798040390015,
-0.046193111687898636,
0.212276428937912,
0.03772580251097679,
0.015938254073262215,
-0.37335115671157837,
-0.898463785648346,
0.07336190342903137,
0.33373498916625977,
-0.17695245146751404,
0.268584102392196... | |
be moved (if you hit the `PCTFREE` limit)
And all this must be done again on `INSERT`.
That's why you should always use
```
INSERT ... ON DUPLICATE KEY UPDATE
```
instead of `REPLACE`.
The former one is an `UPDATE` operation in case of a key violation, while the latter one is `DELETE` / `INSERT`. | [
-0.13995903730392456,
0.11535663157701492,
0.4140583574771881,
-0.201067253947258,
0.4333919584751129,
-0.10698782652616501,
-0.04088370129466057,
-0.0911245197057724,
-0.6031829714775085,
-0.41646894812583923,
-0.3063361644744873,
0.645075798034668,
-0.26379701495170593,
0.268628597259521... | |
This line of code
```
DbProviderFactory factory = DbProviderFactories.GetFactory("Microsoft.SqlServerCe.Client");
```
throws this exception
> System.Configuration.ConfigurationErrorsException:
> Failed to find or load the registered
> .Net Framework Data Provider.
Although my machine.config file contains the fol... | [
0.0339847169816494,
0.25803378224372864,
0.5002163052558899,
0.10752774775028229,
-0.22259709239006042,
0.3086102306842804,
0.30951112508773804,
-0.5120340585708618,
-0.23223301768302917,
-0.3144223093986511,
-0.2552530765533447,
0.16918064653873444,
-0.4203101396560669,
0.4654933214187622... | |
</DbProviderFactories>
</system.data>
```
Am I missing something? Should I look somewhere else? Code like `DbProviderFactory factory = SqlCeProviderFactory.Instance` works fine.
There are [multiple SQL Server CE installs](http://support.microsoft.com/kb/920700). The [Visual Studio tools](http://www.microsoft.com/down... | [
0.20382334291934967,
0.37980425357818604,
0.5032498240470886,
-0.042390126734972,
-0.12580682337284088,
0.0067399488762021065,
0.04975726455450058,
-0.12181166559457779,
-0.0451849140226841,
-0.792769193649292,
-0.08585717529058456,
0.2645503580570221,
-0.06255923211574554,
0.4069110453128... | |
Currently in JSF, all HTML contained within a message (`rich:messages` tag) is escaped and just shows up as the markup. For example, in my backing bean, I have:
```
createMessage("Title created successfully with product number: <a href=\"http://www.example.com\">" + product.getProductNumber() + "</a>.");
```
where ... | [
0.1573711633682251,
0.35101547837257385,
0.8268117308616638,
-0.34601590037345886,
-0.2845715880393982,
-0.11488115787506104,
0.31598690152168274,
-0.22601181268692017,
-0.2774509787559509,
-0.9003182053565979,
-0.2057267427444458,
0.4438580572605133,
-0.23833641409873962,
-0.0024320683442... | |
advance
~Zack
A quick solution is to create a new renderer.
I've done this for ***h:messages*** as I wanted to separate the messages of different severities into separate divs. If you never want to use the default renderer then it's a good option.
The standard class that you would overwrite/extend is:
```
public ... | [
-0.1132364571094513,
-0.13117367029190063,
0.6398475170135498,
0.03451845794916153,
-0.3347751498222351,
0.14950260519981384,
0.17587323486804962,
-0.4564554691314697,
0.22167962789535522,
-0.8888725638389587,
0.1081651896238327,
0.7186434864997864,
-0.27124637365341187,
-0.093064755201339... | |
<renderer>
<component-family>javax.faces.Messages</component-family>
<renderer-type>javax.faces.Messages</renderer-type>
<renderer-class>com.mypackage.MessagesRenderer</renderer-class>
</renderer>
</render-kit>
``` | [
-0.08826778829097748,
0.1102454736828804,
0.2736690044403076,
-0.31132978200912476,
-0.2331843227148056,
0.4352926015853882,
0.07609128206968307,
-0.18702776730060577,
-0.14290151000022888,
-0.9054871797561646,
-0.309138685464859,
0.613396167755127,
-0.1425129622220993,
0.00663249474018812... | |
I was wondering what would make a programmer to choose either Pimpl idiom or pure virtual class and inheritance.
I understand that pimpl idiom comes with one explicit extra indirection for each public method and the object creation overhead.
The Pure virtual class in the other hand comes with implicit indirection(vta... | [
0.6968598365783691,
0.0008886560681276023,
-0.023830145597457886,
0.018081391230225563,
-0.2881477177143097,
0.16281439363956451,
0.27511435747146606,
0.029470788314938545,
-0.1270112842321396,
-0.5122039318084717,
0.004206069279462099,
0.6844358444213867,
-0.5581516027450562,
0.0894626528... | |
be
1. A Value Type
Copy by value, identity is never important. It's appropriate for it to be a key in a std::map. Example, a "string" class, or a "date" class, or a "complex number" class. To "copy" instances of such a class makes sense.
2. An Entity type
Identity is important. Always passed by reference, never by "... | [
0.5395683646202087,
-0.27039459347724915,
0.13109411299228668,
0.12587882578372955,
0.03187482804059982,
-0.2898184359073639,
0.09336776286363602,
0.17133750021457672,
0.10997120290994644,
-0.5984623432159424,
-0.2589643597602844,
0.3448511064052582,
-0.6395822167396545,
0.3944784700870514... | |
pImpl and pure abstract base class are techniques to reduce compile time dependencies.
However, I only ever use pImpl to implement Value types (type 1), and only sometimes when I really want to minimize coupling and compile-time dependencies. Often, it's not worth the bother. As you rightly point out, there's more syn... | [
0.13293403387069702,
-0.10946744680404663,
0.057225462049245834,
-0.06959439069032669,
-0.4539305865764618,
0.011223932728171349,
0.3537942171096802,
-0.17461568117141724,
-0.021355388686060905,
-0.5280176997184753,
0.24766850471496582,
0.4776170551776886,
-0.8022907376289368,
-0.093445502... | |
MySqlDb is a fantastic Python module -- but one part is incredibly annoying.
Query parameters look like this
```
cursor.execute("select * from Books where isbn=%s", (isbn,))
```
whereas everywhere else in the known universe (oracle, sqlserver, access, sybase...)
they look like this
```
cursor.execute("select * from... | [
-0.045442476868629456,
0.2781582474708557,
0.37378838658332825,
0.09646330028772354,
-0.0434391088783741,
-0.4743580222129822,
0.15779320895671844,
0.32320231199264526,
-0.11863694339990616,
-0.9425919055938721,
-0.0001252676302101463,
0.51222163438797,
-0.3402678966522217,
0.2383392751216... | |
out there about `paramstyle` that seemed to imply it might be what you wanted, but [according to this wiki](http://helpful.knobs-dials.com/index.php/Python_notes/Databases#parameters.2C_paramstyle) you have to use the `paramstyle` your library uses, and most of them do not allow you to change it:
> `paramstyle` is spe... | [
0.5303056836128235,
0.11041425168514252,
0.2279333621263504,
0.248615100979805,
-0.2619154453277588,
-0.307957261800766,
0.2402481585741043,
-0.10212153196334839,
-0.4627440571784973,
-0.11969997733831406,
-0.08239606767892838,
0.12781868875026703,
-0.4247548282146454,
0.4138196110725403,
... | |
for them. | [
0.3920457065105438,
0.2839392125606537,
-0.14129136502742767,
0.051247935742139816,
-0.34264662861824036,
0.10711851716041565,
0.1803019642829895,
0.03656332194805145,
0.00872837845236063,
-0.18049368262290955,
-0.1851734220981598,
0.2647322714328766,
-0.25954964756965637,
0.20798064768314... | |
I have a CalendarExtender control on my page and sometimes have to change the date to the next occuring Sunday. I'm currently using the OnClientDateSelectionChanged property of the control to call a function that will add some days to the date until its Sunday.
The problem I'm having is that if I select a Tuesday in m... | [
0.19997966289520264,
-0.12767142057418823,
0.640666127204895,
0.15065279603004456,
0.03541029617190361,
0.009690052829682827,
0.29271405935287476,
0.15668885409832,
-0.4481257498264313,
-0.7083268761634827,
0.25028806924819946,
0.4748188555240631,
-0.1147402971982956,
0.2837754487991333,
... | |
correct date...
Changing the value of the textbox that is the **TargetControlId** for the **CalendarExtender** affects the *selected date* if the following 2 conditions are met:
1. An **onchange** event is fired on the textbox (either by changing the text manually or by calling an explicit javascript fireEvent() metho... | [
0.181753471493721,
-0.3175163269042969,
0.43998146057128906,
0.006292058154940605,
0.06148679181933403,
-0.06470294296741486,
0.11575841158628464,
-0.1384119838476181,
0.03758398815989494,
-0.6084851026535034,
-0.22496357560157776,
0.5955876708030701,
-0.21401354670524597,
0.00973975658416... | |
at the same time.
Here's the example code:
```
<cc1:CalendarExtender ID="CalendarExtender1" runat="server"
OnClientDateSelectionChanged="dateSelectionChanged"
TargetControlID="txtDate" PopupButtonID="imgCalendar">
</cc1:CalendarExtender>
<script type="text/javascript">
function dateSelectionChang... | [
0.12916095554828644,
-0.294722318649292,
0.6303827166557312,
-0.21767981350421906,
-0.09984388947486877,
0.03596137464046478,
-0.13956528902053833,
-0.01110150758177042,
-0.3212081491947174,
-0.5969948172569275,
-0.022849377244710922,
0.3733041286468506,
-0.13251246511936188,
-0.0178887583... | |
I am working with the listview control. By default I am showing the itemtemplate with an edit button. When the edit button is pressed the listview switches to the edititemtemplate. I need to populate one of the controls in the edititemtemplate based on the item being edited - I've tried accessing the control (via FindC... | [
0.22481901943683624,
-0.12453100830316544,
0.833304762840271,
0.12386879324913025,
-0.20542827248573303,
-0.11002771556377411,
0.18477477133274078,
0.15839937329292297,
-0.2880357503890991,
-0.7792983651161194,
-0.006457065232098103,
0.654992938041687,
-0.15462130308151245,
0.2209826558828... | |
edititemtemplate of a listview, and from which event I should do so?
**EDIT**
I'm trying to access the control using this:
```
protected void UnitsLV_ItemEditing(object sender, ListViewEditEventArgs e)
{
ListViewItem item = UnitsLV.Items[e.NewEditIndex];
ListBox tempLB = (ListBox)e.item.FindControl("ListBox3"... | [
0.05148778110742569,
-0.1351345181465149,
0.8161537647247314,
0.01831856183707714,
-0.16194449365139008,
0.00938534364104271,
0.07293256372213364,
-0.4565388262271881,
-0.20781467854976654,
-0.6488112807273865,
-0.14036136865615845,
0.4535469710826874,
-0.2307584434747696,
0.10446963459253... | |
<asp:ListView ID="UnitsLV" runat="server" DataSourceID="DataLDS" DataKeyNames="u_uid"
InsertItemPosition="LastItem" OnItemInserting="UnitsLV_ItemInserting" OnItemDataBound="UnitsLV_ItemDataBound"
OnItemCreated="UnitsLV_ItemCreated" onitemediting="UnitsLV_ItemEditing">
... | [
-0.14689397811889648,
-0.12788280844688416,
0.5087220668792725,
0.06742607802152634,
-0.15080249309539795,
0.26101216673851013,
0.2325897216796875,
-0.4737202227115631,
-0.31289002299308777,
-0.5193333029747009,
-0.27866339683532715,
0.20099203288555145,
0.008760274387896061,
0.19754189252... | |
<tr class="rowA">
<td>
<asp:Label runat="server" ID="UnitIDLbl" Text='<%# Eval("u_uid")%>'></asp:Label> | [
-0.4127088189125061,
-0.274183064699173,
0.5051518082618713,
-0.07593265920877457,
-0.023116622120141983,
0.5003917813301086,
0.0033923897426575422,
-0.48387569189071655,
-0.23878835141658783,
-0.4424765110015869,
-0.3978192210197449,
0.26412761211395264,
-0.024836769327521324,
0.276224076... | |
</td>
<td>
<%# Eval("u_Title")%> | [
0.1506066620349884,
0.22320900857448578,
0.24259348213672638,
-0.08724136650562286,
0.011719942092895508,
-0.0011992062209174037,
0.3222499489784241,
-0.3553207516670227,
0.07918427884578705,
-0.25745248794555664,
-0.569953203201294,
0.3876469135284424,
0.11479098349809647,
0.3528665900230... | |
</td>
<td>
<asp:LinkButton ID="EditBtn" runat="server" CommandName="Edit" | [
0.07246013730764389,
-0.34868016839027405,
0.26837843656539917,
-0.15514299273490906,
-0.2677173316478729,
0.14913897216320038,
0.3477451503276825,
-0.09833945333957672,
-0.3873971104621887,
-0.4808720052242279,
-0.29293742775917053,
0.31964433193206787,
-0.3302531838417053,
0.090072177350... | |
CommandArgument='<%#Eval("u_uid") %>'
Text="Edit" />
</td> | [
-0.1544167846441269,
-0.1548476666212082,
0.05372963845729828,
-0.2912886142730713,
-0.0955013781785965,
0.1532268524169922,
0.5458911061286926,
-0.2105238288640976,
-0.06534960120916367,
-0.3909599781036377,
-0.578850269317627,
0.5629729628562927,
-0.0010785525664687157,
0.140635311603546... | |
<td>
<asp:LinkButton ID="DeleteBtn" runat="server" CommandName="Delete" CommandArgument='<%#Eval("u_uid") %>'
Text="Delete" /> | [
-0.06726095825433731,
-0.38415345549583435,
0.29085010290145874,
-0.28739023208618164,
-0.251406192779541,
0.3470486104488373,
0.6282792091369629,
-0.16464529931545258,
-0.27352169156074524,
-0.3282187283039093,
-0.37800583243370056,
0.3843519389629364,
-0.2210252732038498,
0.3989964425563... | |
</td>
</tr>
</ItemTemplate>
<InsertItemTemplate> | [
-0.006401934660971165,
-0.21099607646465302,
0.18830743432044983,
0.2439154088497162,
-0.3341856598854065,
0.4974716901779175,
-0.27582377195358276,
-0.2869081497192383,
-0.06775818020105362,
-0.6794801354408264,
0.02541065588593483,
0.2620307207107544,
-0.12020789086818695,
-0.05117037892... | |
<tr class="rowB">
<td>
<br /> | [
-0.12651899456977844,
0.16727977991104126,
0.009623199701309204,
-0.3362734615802765,
0.023125331848859787,
0.28055012226104736,
0.028821267187595367,
-0.11168913543224335,
-0.3606378436088562,
-0.20497168600559235,
-0.38260605931282043,
0.3683774471282959,
0.009147153235971928,
0.04809423... | |
</td>
<td> | [
0.1736254096031189,
-0.1814790964126587,
-0.017065271735191345,
-0.3050752878189087,
0.04516076296567917,
0.021406041458249092,
0.1363082379102707,
-0.1473398655653,
-0.24502943456172943,
-0.3120454251766205,
-0.3466877043247223,
0.3265729248523712,
-0.443039208650589,
0.0973990261554718,
... | |
<br />
<asp:TextBox ID="TitleTB" runat="server" Text='<% #Bind("u_Title")%>'></asp:TextBox>
</td> | [
0.1799478679895401,
0.10826296359300613,
0.567065417766571,
-0.3461146950721741,
-0.27560219168663025,
0.025051917880773544,
0.24012498557567596,
-0.43770766258239746,
-0.13366730511188507,
-0.3124202489852905,
-0.36290591955184937,
0.18192902207374573,
0.01429086271673441,
0.4445931315422... | |
<td>
<br /> | [
0.324567973613739,
0.050924837589263916,
-0.022268202155828476,
-0.16492249071598053,
-0.03638904541730881,
0.17189814150333405,
0.03082353062927723,
0.011942563578486443,
-0.31288525462150574,
-0.32791686058044434,
-0.46777084469795227,
0.350982129573822,
0.18822671473026276,
-0.035031847... | |
<asp:ListBox ID="ListBox3" runat="server"></asp:ListBox>
<asp:ListBox ID="ToBeDeletedLB" runat="server"></asp:ListBox>
</td> | [
0.1910625845193863,
-0.3450157642364502,
0.1516648679971695,
-0.3511020541191101,
-0.3175753355026245,
0.41204315423965454,
0.18790145218372345,
-0.2487291842699051,
-0.3795345425605774,
-0.3102368712425232,
-0.289163738489151,
0.23372118175029755,
-0.3915178179740906,
-0.02995125204324722... | |
<td>
<asp:LinkButton ID="InsertBtn" runat="server" CommandName="Insert" Text="Insert" />
</td> | [
0.20060059428215027,
-0.38922062516212463,
0.15126708149909973,
-0.2305706888437271,
-0.29368436336517334,
0.08863653987646103,
0.18349789083003998,
-0.1742965131998062,
-0.175526425242424,
-0.24080561101436615,
-0.30928289890289307,
0.5489847660064697,
-0.2749132513999939,
-0.024100286886... | |
<td>
<asp:LinkButton ID="CancelBtn" runat="server" CommandName="Cancel" Text="Cancel" />
</td> | [
0.14466115832328796,
-0.6349874138832092,
0.21969011425971985,
-0.12330599874258041,
-0.16673608124256134,
-0.020747901871800423,
0.33009323477745056,
-0.07839631289243698,
-0.23805874586105347,
-0.2082165628671646,
-0.458025723695755,
0.4346596300601959,
-0.4925605058670044,
0.07780072838... | |
</tr>
</InsertItemTemplate>
<EditItemTemplate>
<tr class="rowB"> | [
-0.429864764213562,
0.05798928439617157,
-0.007577355019748211,
-0.13350804150104523,
0.004125100560486317,
0.4051956236362457,
-0.2820189297199249,
-0.1503656953573227,
-0.10497158765792847,
-0.5747085809707642,
-0.18282903730869293,
0.32677125930786133,
-0.29824167490005493,
-0.092665046... | |
<td>
<br />
<asp:Label runat="server" ID="UnitIDLbl" Text='<%# Bind("u_uid")%>'></asp:Label> | [
0.07257219403982162,
-0.32895249128341675,
0.48122477531433105,
-0.2155444324016571,
-0.31654977798461914,
0.08531434834003448,
0.19938860833644867,
-0.5351541042327881,
-0.14630776643753052,
-0.42720943689346313,
-0.28906387090682983,
0.12297099083662033,
-0.04818062111735344,
0.253073602... | |
</td>
<td>
<br /> | [
0.34190496802330017,
0.06560026109218597,
0.08364756405353546,
-0.20813056826591492,
-0.009527051821351051,
0.14028388261795044,
0.006969365291297436,
-0.13340429961681366,
-0.3047681152820587,
-0.40790364146232605,
-0.4999023973941803,
0.33168622851371765,
0.10855115950107574,
-0.07579204... | |
<asp:TextBox ID="TitleTB" runat="server" Text='<% #Bind("u_Title")%>'></asp:TextBox>
</td> | [
0.1741638481616974,
-0.007384151685982943,
0.48379966616630554,
-0.24298010766506195,
-0.29147350788116455,
0.041285235434770584,
0.4152011275291443,
-0.4701217710971832,
-0.07115624845027924,
-0.3611983060836792,
-0.3393074870109558,
0.18746289610862732,
-0.11552247405052185,
0.3269419074... | |
<td>
<br />
<asp:ListBox ID="ListBox3" runat="server"></asp:ListBox> | [
0.1670118123292923,
-0.2912209630012512,
0.19975528120994568,
-0.31495922803878784,
-0.42874759435653687,
0.16828653216362,
0.2502264082431793,
-0.32486093044281006,
-0.4157659709453583,
-0.26756054162979126,
-0.351561963558197,
0.115960031747818,
-0.23072592914104462,
-0.05677348002791405... | |
<asp:ListBox ID="ToBeDeletedLB" runat="server"></asp:ListBox>
</td>
<td> | [
0.20879346132278442,
-0.31254011392593384,
0.0916108712553978,
-0.21618720889091492,
-0.16671684384346008,
0.2704644501209259,
0.250516414642334,
-0.28528138995170593,
-0.37035462260246277,
-0.3270215392112732,
-0.3411988914012909,
0.18113036453723907,
-0.3118768334388733,
-0.0440231040120... | |
<asp:LinkButton ID="UpdateBtn" runat="server" CommandName="Update" Text="Update" />
</td>
<td> | [
0.03329658880829811,
-0.4048214256763458,
0.4565725326538086,
-0.196542888879776,
-0.20247875154018402,
0.13854505121707916,
0.48499780893325806,
-0.15652909874916077,
-0.3213941156864166,
-0.37579891085624695,
-0.41890108585357666,
0.42424723505973816,
-0.3210044801235199,
-0.084537483751... | |
<asp:LinkButton ID="LinkButton2" runat="server" CommandName="Cancel" Text="Cancel" />
</td>
</tr> | [
0.010188527405261993,
-0.5991634726524353,
0.4880702495574951,
-0.0835566371679306,
0.07867995649576187,
0.0298275388777256,
0.198307603597641,
0.04213797301054001,
-0.35768380761146545,
-0.19864749908447266,
-0.5519259572029114,
0.39403611421585083,
-0.4290289878845215,
0.1247835010290145... | |
</EditItemTemplate>
<LayoutTemplate>
<table id="Table2" runat="server" width="100%">
<tr id="Tr1" runat="server"> | [
-0.3023642301559448,
-0.08568599075078964,
0.5745227336883545,
-0.10261207073926926,
-0.04450077563524246,
0.23849916458129883,
-0.12310400605201721,
-0.19365009665489197,
-0.3870241641998291,
-0.782377302646637,
-0.1253320723772049,
0.18446123600006104,
-0.043973952531814575,
-0.043568450... | |
<td id="Td1" runat="server">
<table id="itemPlaceholderContainer" runat="server" border="0" style="" width="100%"> | [
0.1216442808508873,
-0.4043189287185669,
0.6097379326820374,
0.0727812796831131,
-0.2004670649766922,
-0.08110585063695908,
0.22816894948482513,
-0.46739643812179565,
-0.1503746509552002,
-0.23212775588035583,
-0.24446743726730347,
0.23769471049308777,
-0.050006721168756485,
-0.04228331521... | |
<tr id="itemPlaceholder" runat="server"></tr>
</table> | [
-0.34035956859588623,
-0.10028183460235596,
0.2390926629304886,
0.11273800581693649,
0.19322119653224945,
0.09634079784154892,
-0.39876067638397217,
-0.2114017754793167,
-0.30050596594810486,
-0.3563847243785858,
-0.581990659236908,
0.1572122424840927,
-0.18500901758670807,
-0.014376144856... | |
</td>
</tr>
<tr id="Tr2" runat="server"> | [
-0.026513811200857162,
-0.40188273787498474,
0.3208276033401489,
0.07646799087524414,
-0.015610568225383759,
0.19310812652111053,
0.051764994859695435,
-0.17891179025173187,
-0.21796447038650513,
-0.15833629667758942,
-0.2978716194629669,
0.380731463432312,
-0.21487261354923248,
0.09169255... | |
<td id="Td2" runat="server" style=""></td>
</tr>
</table>
</LayoutTemplate> | [
0.21413911879062653,
-0.31766024231910706,
0.26881304383277893,
-0.1450205296278,
-0.1287481188774109,
0.11649563163518906,
-0.047382257878780365,
-0.4165734350681305,
-0.2693021893501282,
-0.48841723799705505,
-0.025715740397572517,
0.27754634618759155,
-0.18289031088352203,
-0.0739339217... | |
</asp:ListView>
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
</asp:Content>
```
**EDIT:**
I've iterated over all the controls in the listview using code similar to below, and the control is still not visible. Does the ItemEditing event fire before the edit te... | [
0.056250084191560745,
-0.0031919432803988457,
0.45222407579421997,
0.012054580263793468,
-0.04264969378709793,
0.12402763217687607,
0.27662327885627747,
-0.42417097091674805,
0.014650855213403702,
-0.628169596195221,
-0.16278667747974396,
0.34968826174736023,
-0.22631758451461792,
0.089218... | |
Control result = Find(child, id);
if (result != null)
{
return result;
}
}
```
\*\*EDIT: \*\*
I can access the controls in the edititemtemplate in the listview's ItemCreated event, however none they have no content (I'd assume the data hasn't been bound yet), so I can't get the key-value I need to do a... | [
-0.14226695895195007,
-0.21211722493171692,
0.7055391669273376,
0.1998252272605896,
0.12253465503454208,
-0.040397316217422485,
0.139484241604805,
-0.27382341027259827,
-0.1623985320329666,
-0.482308954000473,
-0.24845488369464874,
0.48145321011543274,
-0.24733014404773712,
0.3312181532382... | |
if (UnitsLV.EditIndex > -1)
{
// Controls within the edititemtemplate are available via e.Item.FindControl("controlname")
}
}
``` | [
-0.10465089231729507,
-0.13685853779315948,
0.4307485818862915,
-0.02639540657401085,
0.2617068588733673,
-0.060095272958278656,
0.030616994947195053,
-0.16660283505916595,
0.07354734092950821,
-0.7304797172546387,
-0.4263390004634857,
0.41414469480514526,
-0.11110631376504898,
0.202245086... | |
A bit of background first. My company is evaluating whether or not we will migrate our Informix database to Oracle 10g. We have several ESQL/C programs. I've run some through the Oracle Migration workbench and have been muddling through some testing. Now I've come to realize a few things.
First, we have dynamic sql st... | [
0.35649406909942627,
-0.01633339561522007,
0.3428018093109131,
0.2409324198961258,
-0.0797954797744751,
0.01136234775185585,
-0.14691117405891418,
0.15851444005966187,
-0.27008798718452454,
-0.4632970690727234,
0.3483539819717407,
0.65215003490448,
-0.15175719559192657,
0.08531192690134048... | |
to make to our converted ESQL/C programs, the better.
Second, we have several queries which pull dates from various tables etc., and in Informix dates are treated as type long, the # of days since Dec 31st, 1899.
In Pro\*C, what format is a date being selected as? I know it's not numeric because I tried selecting da... | [
0.211226224899292,
-0.08000623434782028,
0.45593804121017456,
0.20374220609664917,
0.012064850889146328,
-0.07312088459730148,
-0.24680596590042114,
0.3130400776863098,
-0.2690966725349426,
-0.34449535608291626,
0.1378420740365982,
0.10475846379995346,
-0.09229307621717453,
0.5070260763168... | |
long (ie, # of days since 12/31/1899), or change the host variable to match what Oracle is returning (what is that, string?).
In order to convert the oracle dates (which are store in Oracle internal format) into a long integer, you will need to alter your queries. Use the following formula for your dates:
```
to_numbe... | [
0.38415759801864624,
0.18198619782924652,
0.41862592101097107,
-0.2793940007686615,
0.07505834847688675,
0.05969225987792015,
0.12779821455478668,
0.029129182919859886,
-0.2821583151817322,
-0.03733954206109047,
-0.13374146819114685,
-0.07893437892198563,
-0.1656324565410614,
0.74421906471... | |
One suggestion: instead of altering all of your queries in your programs (which may create problems and introduce bugs), create a set of views in a different schema. These views would be named the same as all the tables, with all the same columns, but include the NVL() and date() formulas (like above). Then point your ... | [
0.5596243143081665,
0.19206489622592926,
0.40659987926483154,
0.07643333822488785,
0.024897398427128792,
0.24083855748176575,
-0.1092725396156311,
-0.06875592470169067,
-0.479398638010025,
-0.5636928677558899,
0.004639456979930401,
0.35016074776649475,
-0.4844166338443756,
-0.1244443878531... | |
the APPS\_VIEWS create a view:
```
CREATE OR REPLACE VIEW EMP AS
SELECT name, birth_date
FROM APPS_BASE.EMP;
``` | [
0.26127564907073975,
0.34042084217071533,
0.8340200781822205,
-0.08533024042844772,
0.3264915347099304,
0.4323922097682953,
0.10593988746404648,
0.33709508180618286,
-0.3725181221961975,
-0.7110440731048584,
-0.588118314743042,
0.03455023095011711,
-0.4777803421020508,
0.09380397945642471,... | |
I would like to use a regular expression to match all words with more that one character, as opposed to words entirely made of the same char.
This should not match: ttttt, rrrrr, ggggggggggggg
This should match: rttttttt, word, wwwwwwwwwu
The following expression will do the trick.
```
^(?<FIRST>[a-zA-Z])[a-zA-Z]*?(... | [
-0.041453778743743896,
0.041932716965675354,
0.3087615668773651,
-0.1920280009508133,
-0.2167118489742279,
0.20575471222400665,
0.3426174521446228,
-0.1629805862903595,
-0.05761165916919708,
-0.36872681975364685,
-0.3240666091442108,
0.594953179359436,
-0.2875889539718628,
-0.1314253807067... | |
one, because if no character is different from the first one, all characters are equal.
You can shorten the expression to the following.
```
^(\w)\w*?(?!\1)\w+$
```
This will match some more characters other than [a-zA-Z]. | [
0.04871508106589317,
-0.064447320997715,
0.12215354293584824,
-0.44630834460258484,
-0.27117812633514404,
0.11808665096759796,
-0.11820178478956223,
-0.13257098197937012,
0.02197105996310711,
-0.6284597516059875,
-0.31197378039360046,
0.5074766278266907,
-0.5387117266654968,
-0.00657938932... | |
In XSD, SOAP and other XML conventions you'll often see things like:
```
<book>
<title>Harry Potter</title>
<author>J.K. Rowling</author>
</book>
```
Now I'm wondering, what happened to attributes? To me it makes more sense to write this as:
```
<book title="Harry Potter" author="J.K. Rowling" />
```
But appare... | [
0.32843124866485596,
0.19805321097373962,
0.04342743754386902,
0.312607079744339,
-0.35464170575141907,
-0.22497619688510895,
-0.17221327126026154,
-0.21035555005073547,
-0.06619694083929062,
-0.44401296973228455,
0.03091241978108883,
0.4108472764492035,
-0.13181565701961517,
0.16590379178... | |
We use UI Automation and Nunit to create tests UI tests for WPF application.
We've created tests that work fine when you run them from a local machine. Those tests never run successfully on our build server (using TeamCity). Build always hang after opening application window. But if I am logged in (remote desktop), on ... | [
0.6381080150604248,
-0.005221683997660875,
0.15924915671348572,
0.11621756851673126,
-0.22656066715717316,
-0.30937445163726807,
0.36986321210861206,
-0.2854258418083191,
-0.039598800241947174,
-0.6825733780860901,
0.10150231420993805,
0.4457073509693146,
0.1575518101453781,
-0.14350323379... | |
run on build server?
You don't have many options. I will list the two I know, the most preferred option first:
* Set up a **virtual machine** on your build server. Your builds execute in the virtual machine. You can lock the host (aka your buildserver) keeping things secure.
* Keep someone logged on all the time. This... | [
0.9921082854270935,
0.1395971179008484,
-0.23908250033855438,
0.07882394641637802,
-0.18177515268325806,
-0.20558799803256989,
0.6884258389472961,
0.1562604308128357,
-0.0055192336440086365,
-0.7989462614059448,
0.028092840686440468,
0.6427967548370361,
-0.23029081523418427,
0.004927674774... | |
locked?* | [
0.49492260813713074,
0.41025298833847046,
-0.19973070919513702,
0.22252513468265533,
-0.07287400215864182,
-0.0011297123273834586,
0.40999138355255127,
-0.2090037614107132,
-0.927894115447998,
0.08880618214607239,
-0.037938155233860016,
0.2880402207374573,
-0.43016189336776733,
0.362229168... | |
I'd like to convert kilos into pounds and ounces e.g. if a user enters 10 kg then the function should return 22 lb and 0.73 oz
Any ideas?
Based on @dlamblin's answer, here's a function that returns the pounds and ounces in a structure.
```
function kToLbs(pK) {
var nearExact = pK/0.45359237;
var lbs = Math.fl... | [
0.3411869704723358,
0.25021255016326904,
0.5330913066864014,
-0.0547562800347805,
0.08288295567035675,
0.6522533893585205,
0.06826164573431015,
-0.24941809475421906,
-0.3899885416030884,
-0.6650272607803345,
-0.002779092639684677,
-0.02970673330128193,
0.12370531260967255,
0.31982651352882... | |
= " + imperial.pounds + " lbs and " + imperial.ounces + " oz.");
```
Here's how you would go the other way:
```
function lbsAndOzToK(imperial) {
var pounds = imperial.pounds + imperial.ounces / 16;
return pounds * 0.45359237;
}
var kg = lbsToK({ pounds: 10, ounces: 8 });
alert("10 lbs and 8 oz = " + kg + " ... | [
0.013639898039400578,
0.16359126567840576,
0.5302945971488953,
-0.2781384587287903,
0.12182754278182983,
0.33682504296302795,
0.3012757897377014,
-0.43784669041633606,
-0.4983547627925873,
-0.24343831837177277,
-0.3126603066921234,
0.5192399621009827,
-0.044598519802093506,
-0.071479968726... | |
I'm trying to figure out how to search AD from C# similarly to how "Find Users, Contacts, and Groups" works in the Active Directory Users and Computers tool. I have a string that either contains a group name, or a user's name (usually in the format firstname middleinitial [if they have one] lastname, but not always). E... | [
0.5699052810668945,
0.33503103256225586,
0.44833678007125854,
0.04635985195636749,
-0.15915627777576447,
0.0073542241007089615,
-0.09928613156080246,
-0.10894956439733505,
0.14669667184352875,
-0.6544882655143738,
0.13558119535446167,
0.44751909375190735,
-0.21827587485313416,
0.2089483588... | |
how to use the DirectorySearcher class, the issue is that I can't find a query that does what I'd like. Neither cn nor samaccount name has anything to do with the user's name in this, so I'm unable to search on those. Splitting things up and searching on sn and givenName doesn't catch anywhere near as much as that tool... | [
0.27440088987350464,
0.1533849984407425,
0.20258238911628723,
0.2378828376531601,
0.2124367207288742,
-0.25096040964126587,
0.09165623039007187,
-0.3798135221004486,
0.289899617433548,
-0.7598874568939209,
-0.007717403583228588,
0.5596692562103271,
-0.10317248106002808,
-0.0111794574186205... | |
is a "PrincipalSearcher" class which should greatly simplify finding users and/or groups in AD.
If you cannot use .NET 3.5, one thing that might make your life easier is called "Ambiguous Name Resolution", and it's a little known special search filter that will search in just about any name-related attribute all at on... | [
-0.14566361904144287,
-0.2711472809314728,
0.22035184502601624,
0.12228113412857056,
-0.36095619201660156,
-0.4603155553340912,
0.23418600857257843,
0.023525012657046318,
0.17545686662197113,
-0.6979506015777588,
0.028333043679594994,
0.6861711144447327,
-0.3539775311946869,
0.116605058312... | |
While it is possible to [generate PowerPoint presentations automatically using Office Automation](http://support.microsoft.com/kb/303717), this is [not recommended for use on a server](http://support.microsoft.com/kb/257757). How can you go about generating a PowerPoint presentation without using Office Automation?
Ano... | [
0.06756249815225601,
-0.13092339038848877,
0.3932609260082245,
0.2943468987941742,
-0.0461931936442852,
-0.06809709966182709,
0.16855977475643158,
-0.3852967619895935,
-0.00930245965719223,
-0.5763094425201416,
-0.24331191182136536,
0.5169609785079956,
0.007378887385129929,
-0.176307857036... | |
that would need to be replaced. Next, a reference to DocumentFormat.OpenXml needs to be added to the project. The code itself will reference the DocumentFormat.OpenXml and DocumentFormat.OpenXml.Packaging namespaces. Finally, the code to loop through the slides looks like the following:
```
// Open the presentation
Pr... | [
0.35437366366386414,
-0.07111760973930359,
0.5666419863700867,
0.07470326125621796,
-0.10389062017202377,
-0.18897907435894012,
0.12577733397483826,
-0.48938611149787903,
-0.22938820719718933,
-0.5879637002944946,
-0.08481431007385254,
0.44600144028663635,
-0.3642158508300781,
0.1126880645... | |
slide
xml.Save(slide.GetStream());
}
// Save the updated presentation
presentation.Close();
``` | [
0.05911686271429062,
-0.0878128856420517,
0.8184505701065063,
-0.12811098992824554,
-0.16447095572948456,
-0.3541404902935028,
0.011195234954357147,
-0.013308766297996044,
-0.01667126826941967,
-0.6011103987693787,
-0.42842480540275574,
0.45181286334991455,
-0.42625924944877625,
0.16637572... | |
What artifacts / diagrams do use to document the flow of a web application taking into account links between static pages and how dynamic view components (html forms, JSP, Ajax, etc) interact with server-side components (Servlets, Struts actions, etc)? Do use UML diagrams?
We used UML class diagrams using a variation o... | [
0.0766153559088707,
-0.009691868908703327,
0.19880570471286774,
0.3550548553466797,
-0.3281056880950928,
0.24544686079025269,
-0.047505758702754974,
-0.30775922536849976,
-0.2815800607204437,
-0.5350666046142578,
0.20343804359436035,
0.25571733713150024,
-0.12817075848579407,
0.18855874240... | |
portion of a page so that we could distinguished the server-side code (e.g. Java servlet or JSP] from the client-side HTML/javascript/AJAX that it generated. For example:
* [web page]
* [nav bar]
* [page-content]
* [header]
* [footer]
There were new associationss such as:
* [builds] - relates server-side code to the... | [
0.04459020122885704,
-0.2897438704967499,
0.593623161315918,
0.13298681378364563,
-0.7214569449424744,
-0.07400859147310257,
0.0729156956076622,
-0.3479340970516205,
-0.36522236466407776,
-0.7090505361557007,
-0.2680037021636963,
-0.1651214212179184,
-0.12586727738380432,
0.242984548211097... | |
class diagram - shows static relationships ([apparent-link]s) between [web page]s from user's point of view
* [page-generation] -> like a class diagram - shows the classes statically related to a displaying a specific web page: what code generated it, what code handles the post submission
* [page-composition] - like a ... | [
0.019608289003372192,
-0.6311934590339661,
0.42879828810691833,
0.40454307198524475,
-0.4106006622314453,
0.2239857316017151,
0.09502162784337997,
-0.05230198800563812,
-0.3110676407814026,
-0.5225191116333008,
0.23468941450119019,
0.2896006107330322,
-0.3594663739204407,
0.264896959066391... | |
a lot work - we now had twice as many entities to model with since we were now modeling the client-side entities in addition to the server-side classes.
Read one of the Conallen papers for pictures of what I'm talking about, but as I said, didn't follow his approach strictly - we only took the pieces we needed. Hope t... | [
0.4330599904060364,
-0.11452291160821915,
0.007179686799645424,
0.25325077772140503,
-0.028835827484726906,
0.0892053171992302,
0.3298848569393158,
0.10513727366924286,
-0.18301567435264587,
-0.45969322323799133,
0.5907586216926575,
0.5871167778968811,
0.1472991555929184,
-0.18486857414245... | |
I have 2 radios:
```
<input id="a_15_0" type="radio" value="abc" name="a_15"/>
<input id="a_15_1" type="radio" value="xyz" name="a_15"/>
```
Both are unselected. I have only the name of the radio, i.e `a_15`, but not the IDs.
**1)** How can I get the value of the selected option of this radio? E.g if the user click... | [
0.5967240333557129,
0.3372054398059845,
0.47201573848724365,
-0.22972799837589264,
0.03697779402136803,
0.13269908726215363,
0.17077328264713287,
-0.5528700947761536,
-0.0578821562230587,
-0.7297845482826233,
-0.16712108254432678,
0.8723971247673035,
-0.5163670182228088,
-0.033409614115953... | |
had been xyz.
Do I need to use `document.myForm.a_15.value`? Would that work consistently?
Have you tried using the val() in conjunction with the :checked selector?
```
$('[name="a_15"]:checked').val();
```
As for setting the selection based on the value, you may have to perform a multiple attribute tests?
```
$('... | [
0.39227309823036194,
-0.054366547614336014,
0.1740259826183319,
-0.2073327600955963,
-0.010304701514542103,
0.06256262958049774,
0.23383720219135284,
-0.25294896960258484,
-0.06188562884926796,
-0.35087358951568604,
-0.2879827618598938,
0.7278873324394226,
-0.059233151376247406,
0.05703929... | |
I'm developing a .NET class library, along with some sample sources.
So, My solutions consists of the library, the sample VB to illustrate the library, and a setup project to deploy it all.
The sample has a project dependency on the class library, and the setup project is configured to deploy the Class library (i.e. t... | [
0.5563046932220459,
0.13161587715148926,
0.09887128323316574,
-0.06504300981760025,
0.032628126442432404,
0.1760944128036499,
0.00808838289231062,
-0.3772776424884796,
0.024136798456311226,
-0.6011236906051636,
-0.0834420919418335,
0.4730200469493866,
-0.49589458107948303,
-0.0969420298933... | |
sources are deployed on the client machine, it is a self-contained project, and it relies on the (just installed) class library DLL.
I suspect that I need to do some post install manipulation of the vbproj file, but as I'm new to this, am wondering if this (i would have thought) common issue is something I can handle ... | [
0.7772036790847778,
0.14828412234783173,
-0.10224464535713196,
0.19514840841293335,
0.037013374269008636,
-0.36265748739242554,
-0.14487892389297485,
-0.18677572906017303,
0.05368930473923683,
-0.6091253757476807,
0.328397661447525,
1.1070208549499512,
-0.26571619510650635,
0.0795457288622... | |
With the change from IIS to their own web server in SSRS, we are now experiencing problems with using web trends to track our report utilization. Web trends said it was not supported, has anyone found a way to make it work?
From [`FOREIGN KEY` Constraints](http://dev.mysql.com/doc/refman/5.1/en/innodb-foreign-key-const... | [
-0.03534611687064171,
-0.18402014672756195,
0.48725181818008423,
0.13258516788482666,
0.03034357540309429,
-0.24585747718811035,
0.1865960657596588,
-0.2850189208984375,
-0.5045120716094971,
-0.7522837519645691,
0.06654369831085205,
0.09532327950000763,
-0.34066110849380493,
0.314679950475... | |
MySQL returns
> error number 1005 and refers to error
> 150 in the error message.
My *suspicion* is that it's because you didn't create `foo` as InnoDB, as everything else looks OK.
Edit: from the same page -
> Both tables must be InnoDB tables and they must not be TEMPORARY tables. | [
-0.0763639584183693,
0.4381580650806427,
0.5279834270477295,
-0.286146879196167,
-0.05343087762594223,
0.03498469665646553,
0.3760382831096649,
0.12941434979438782,
-0.24753090739250183,
-0.5182504057884216,
-0.21036718785762787,
0.20871953666210175,
-0.38004088401794434,
-0.02996692433953... | |
Now unfortunately due to the fact that WinCE Usb Device Arrival / Removal exposes itself via WindowsMessages I have to ensure that a certain (non-UI) component is **not** created on a background thread. I would like to assert this via an exception but am lacking the code for the assertion.
This component creates a Mes... | [
0.5575361847877502,
0.26131370663642883,
0.362113893032074,
-0.07461512833833694,
-0.17835624516010284,
-0.42203250527381897,
0.3702729344367981,
-0.0313059538602829,
-0.1115221455693245,
-0.9634225368499756,
0.021786391735076904,
0.5026274919509888,
-0.18060733377933502,
0.551704108715057... | |
this class
**Update**
I think my version 1 wasn't very clear. So this is v2.
When you create a MessageWindow or a Form for that matter on a thread, when that thread exits the Window/Form is destroyed.
My component is creating a "hidden" message window to intercept some important events, ergo I do not wish for it to... | [
0.46625596284866333,
-0.1701141893863678,
0.4108492136001587,
0.24609756469726562,
-0.06989677995443344,
-0.5785775780677795,
0.504095196723938,
0.25583451986312866,
-0.12258660048246384,
-0.847618043422699,
0.028684422373771667,
0.33042728900909424,
-0.26787158846855164,
0.407524228096008... | |
away from the UI.
**Update**
Moving logging question to a separate Q.
Ok, I understand that you don't want for your component to "know" about the main window -- makes sense.
How about this: How about if you make sure that you always instance your component on the main thread? You component will create it's listener ... | [
0.26005905866622925,
-0.0821424126625061,
0.3944627642631531,
0.07268916070461273,
-0.2424914836883545,
-0.007402757648378611,
-0.04949978366494179,
0.08605347573757172,
0.02354503981769085,
-0.5897347927093506,
0.26246821880340576,
0.5974085330963135,
-0.1975475698709488,
0.33932927250862... | |
UI and your component. Create your component there, using a callback, and the main form's InvokeRequired/Invoke methods. | [
0.3695147633552551,
-0.22897736728191376,
0.5731856226921082,
0.32508084177970886,
-0.143080934882164,
-0.16468621790409088,
-0.18349607288837433,
-0.280613511800766,
0.3142249882221222,
-0.8649285435676575,
-0.3947794735431671,
0.5690417885780334,
-0.0285548847168684,
0.11330778896808624,... | |
Does anyone have any advice for migrating a PowerBuilder 10 business application to .NET?
My company is considering migrating a legacy PB application to .NET (C#) and I am just wondering if anyone has any experience - good or bad - that you would like to share.
The application is rather large with 10 PBL libraries, ... | [
0.4854641854763031,
0.06233581528067589,
0.11384477466344833,
0.163528174161911,
0.12192361801862717,
-0.03389839082956314,
-0.3428938090801239,
0.06102755293250084,
-0.1228000596165657,
-0.5239372849464417,
-0.07352929562330246,
0.38991105556488037,
-0.10020571947097778,
-0.05421353131532... | |
saw the title, I was just going to lurk, being a renowned PB bigot. Oh well. Thanks for the vote of confidence, Bernard.
My first suggestion would be to ditch the language of self-deception. If I eat half of a "lite" cheesecake, I'm still going to lose sight of my belt. A migration can take as little as 10 minutes. Wh... | [
0.6154671907424927,
0.11113787442445755,
0.2427636682987213,
-0.021221579983830452,
0.20531131327152252,
0.20300410687923431,
0.40954339504241943,
0.09052849560976028,
-0.08414458483457565,
-0.4150213301181793,
0.04687383398413658,
0.22959624230861664,
0.31400614976882935,
-0.0123571446165... | |
conjures up images of pumping code through some black box with a translation mirroring the original coming out the other side. Do you want to replicate the same design mistakes that were made back in 1994 that you've been *living with* for years? Even with excellent quality code, I'd guess that excellent design choices... | [
0.6020746231079102,
0.25198352336883545,
-0.2627730667591095,
0.4723016619682312,
0.10858359932899475,
-0.03959912061691284,
0.5611181855201721,
-0.06544867157936096,
-0.14127829670906067,
-0.49041715264320374,
0.2653196156024933,
0.6526510715484619,
0.031603578478097916,
0.118580885231494... | |
motivation for moving "to .NET," it's hard to suggest what options you might have to mitigate the risk of a rewrite. If your management has simply decided that PowerBuilder developers smell bad and need to be expunged from the office, then good luck on the rewrite.
If you simply want to deploy Windows Forms, Web Form... | [
0.494685560464859,
-0.08428248763084412,
0.006755017209798098,
0.19633561372756958,
0.2459133267402649,
-0.3413304090499878,
0.023893848061561584,
-0.013138201087713242,
-0.38723745942115784,
-0.631929874420166,
-0.22465181350708008,
0.441159188747406,
-0.12823157012462616,
-0.164485275745... | |
the new platform, particularly with Web Forms, but that effort should be significantly smaller than a rewrite.) If you want to deploy a WPF application, I know a year is quite a while to wait, but looking into PowerBuilder 12 might be worth the effort. Pulled off correctly, the WPF capability may put PowerBuilder into ... | [
0.7895818948745728,
-0.26288488507270813,
0.4775390326976776,
0.19837163388729095,
-0.0317075178027153,
-0.35921400785446167,
0.2682368755340576,
-0.21020276844501495,
-0.24626564979553223,
-0.6825202107429504,
0.023707635700702667,
0.5177507400512695,
0.2368808388710022,
-0.28574013710021... | |
developers take the DataWindow for granted until they have to reproduce all the functionality that comes built in.) Being able to drop in pre-existing, pre-tested, multi-row, scrollable, minimal resource consuming, printable, data-bound dynamic UI, generating minimal SQL with built-in logical record locking and databas... | [
0.43114128708839417,
-0.1893731653690338,
0.48748281598091125,
0.1863500326871872,
-0.054527703672647476,
0.10029185563325882,
0.04739448055624962,
-0.16195763647556305,
-0.2443227767944336,
-0.7650365233421326,
-0.27903473377227783,
0.5321877598762512,
-0.010333060286939144,
0.08050352334... | |
assemblies. The value of this may depend on how well partitioned your application is. If your business logic snakes through GUI events and functions instead of being partitioned out to non-visual objects (aka custom classes), the value of this may be questionable. Still, this is a design *faux pas* that should probably... | [
0.7811470031738281,
0.07504695653915405,
0.04691476747393608,
0.26829031109809875,
-0.02499057911336422,
-0.23007117211818695,
0.2698329985141754,
-0.2260037511587143,
-0.4340245723724365,
-0.47474855184555054,
0.09296447038650513,
0.42393434047698975,
-0.28862008452415466,
0.1366692036390... | |
succeed. Just remember, once you take that first bite, [you'll have to finish it](http://www.supersizedmeals.com/food/images/articles/20061215-Heart_Attack_Grill_2.jpg).
Good luck finding that belt,
Terry.
---
I see you've mentioned moving "core components" to .NET to start. As you might guess by now, I think a sta... | [
0.6822837591171265,
0.11258862167596817,
-0.052253782749176025,
0.08601144701242447,
0.38983047008514404,
0.0523560456931591,
0.33423590660095215,
0.0803760513663292,
-0.31790655851364136,
-0.625373899936676,
0.10467593371868134,
0.37402403354644775,
0.3370662033557892,
0.08684667944908142... | |
Payable in C#). A division that may work is GUI vs business logic. As mentioned before, pumping business logic out of PB into executables C# can consume is already possible. How about building the GUI in C#, with the DataWindows copied from PB and the business logic pumped out as COM objects or assemblies? Going the ot... | [
0.5624946355819702,
-0.07206232100725174,
0.42376184463500977,
-0.1307849884033203,
-0.26618194580078125,
0.021980516612529755,
-0.06106816977262497,
-0.44440969824790955,
-0.3027699887752533,
-0.5297114849090576,
-0.17280523478984833,
0.894862949848175,
-0.23615707457065582,
-0.3940529525... | |
hear the new PowerBuilder marketing tag line will be "So simple, even a C# developer can use it." ;-) | [
0.5207942724227905,
-0.02375517226755619,
0.3778400719165802,
0.026648912578821182,
0.24601179361343384,
-0.41425657272338867,
-0.08597686141729355,
0.08821584284305573,
0.043931350111961365,
-0.3132631480693817,
-0.4161728322505951,
0.7609277963638306,
-0.12234967947006226,
-0.04991271346... | |
I have a table with one row and two columns-
```
int 'version', datetime 'updated'
```
Is there a Rails ActiveRecord way to get and set the data in these columns?
There is no id column.
I'm using this table to track versions of queries of other tables. After each query of another table the version column is increm... | [
-0.06870874017477036,
0.11591263115406036,
0.6169651746749878,
-0.19132527709007263,
-0.012835565023124218,
-0.01305945124477148,
0.3704979717731476,
-0.12296862155199051,
-0.32519665360450745,
-0.957966685295105,
0.13692262768745422,
0.47601011395454407,
-0.31652671098709106,
0.1305336058... | |
19:24:31">
>> Post.all
=> [#<Post version: 1, updated: "2009-05-05 19:24:31">]
>> Post.all(:conditions => { :version => 1 })
=> [#<Post version: 1, updated: "2009-05-05 19:24:31">]
```
The log report these SQL requests :
```
CREATE TABLE "posts" ("version" integer, "updated" datetime) ;
INSERT INTO "posts" ("version... | [
0.12018278986215591,
0.20480087399482727,
0.5967862606048584,
0.09673625975847244,
0.286618173122406,
0.030044270679354668,
0.23789481818675995,
-0.18062971532344818,
-0.10299735516309738,
-0.7833890318870544,
-0.2670973241329193,
0.4973713755607605,
-0.29803189635276794,
0.006087756715714... | |
I'm trying to use an open source java library to visualize nodes and edges in a graph, but I'm completely lost.
I have a bunch of jar files in a folder. Clicking on some of the jar files makes java swing windows pop open with graphs displayed. Clicking other jar files does nothing.
If I figured that out, would I just... | [
0.39235034584999084,
0.391068696975708,
0.03406495973467827,
-0.02017517201602459,
-0.1653175801038742,
-0.14944769442081451,
0.5085729956626892,
0.12323270738124847,
-0.41220352053642273,
-0.7365894913673401,
0.5417559742927551,
0.04844244569540024,
-0.2873840928077698,
0.4493505656719208... | |
to another computer? How would I go about doing that?
Have you included those libraries in your classpath?
If you are using eclipse, you could
Project - > properties -> Java build path ->addJar.
And the Jar file should be placed in a directory inside your workspace (lib/ for example)
If you have to take your projec... | [
0.4954771399497986,
-0.14513450860977173,
-0.16065487265586853,
0.09027590602636337,
-0.1960202008485794,
-0.09728206694126129,
-0.00166632782202214,
-0.1620437055826187,
-0.10661626607179642,
-0.9772945046424866,
0.11671324819326401,
0.4838142395019531,
-0.1303505301475525,
-0.09609846025... | |
I have created a CustomAction feature to add a button to the "Actions" menu on a list. When I don't specify the ControlAssembly/ControlClass attributes then the button shows up. When I specify those attributes the button does not show up. I have tried adding a matching SafeControl element in the site web.config. I am u... | [
-0.0020929346792399883,
-0.36507269740104675,
0.3293863534927368,
0.26220494508743286,
0.005813757888972759,
-0.2662639319896698,
0.34032249450683594,
-0.1833757907152176,
-0.25715863704681396,
-0.6789476275444031,
0.12631091475486755,
0.9598427414894104,
-0.5236531496047974,
-0.1781220585... | |
sorry! My machine with web access is different from my dev machine and there is no way to move files between them short of burning a CD.
here are my files:
```
manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<Solution SolutionId="GUIDHERE" xmlns="http://schemas.microsoft.com/sharepoint/">
<FeatureManifests>
... | [
-0.23363825678825378,
0.3569822907447815,
0.472908616065979,
-0.29157084226608276,
-0.3893629014492035,
0.09010491520166397,
0.5608304738998413,
-0.4787059724330902,
-0.6175635457038879,
-0.5906543135643005,
-0.09028609097003937,
0.40132051706314087,
-0.23798789083957672,
0.185379222035408... | |
Sequence="1000"
Title="Regenerate List Contents"
ControlAssembly="WebFeature, Version=1.0.0.0, Culture=neutral, PublicKeyToken=myPKTokenHere"
ControlClass="WebFeature.RegenConfigTemp"
></CustomAction>
</Elements>
```
```
RegenConfigTemp.cs
using System;
using System.Runtime.InteropServices;
using Syste... | [
-0.17532585561275482,
-0.15832054615020752,
0.48921912908554077,
-0.045068662613630295,
0.34244006872177124,
0.1456945836544037,
0.30498096346855164,
-0.4350062310695648,
-0.1332290917634964,
-0.4978211522102356,
-0.45284920930862427,
0.3930296003818512,
-0.3150513768196106,
0.490090698003... | |
protected override void CreateChildControls()
{
base.CreateChildControls();
}
}
}
```
I added the following to the web.config
```
<SafeControl Assembly="WebFeature, Version=1.0.0.0, Culture=neutral, PublicKeyToken=myPKTokenHere" Namespace="WebFeature" TypeName="RegenConfigTemp" Safe="... | [
0.03893155977129936,
0.20926035940647125,
0.3294697105884552,
0.03700641170144081,
0.3252794146537781,
-0.3120269775390625,
0.6431323289871216,
-0.21668320894241333,
0.04705008864402771,
-0.25915390253067017,
0.08456625789403915,
0.580952525138855,
-0.357555627822876,
0.21254530549049377,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.