hi brothers , i work on a ASP.NET MVC Project, please i try to get a cookie who created already using server side C# , and in a pure HTML page not .CSHTML i talk now about .HTML page , in this page i want to using javascript to read the value of the cookie that i created using C# . i wish if anyone can help me and thanks so much in advance.

Member Avatar
+0 forum 0

I need an answer for this question ( write 2 program that takes grade as input and display the range of marks use the select case and if() A. 90 to 100 B+ 80 to 89 B. 70 to 79 C 60 to 69 D 50 to 50 F. F

Member Avatar
+0 forum 0

I'm creating a program that maintains student scores. I've created a class called students that stores the data and displays it in a list box. Once the user clicks btnAdd a new form (frmAddStudent) loads that allows them to add the user by name and their scores and display it in the listbox in the main form. It also allows the update/delete functions. I can succesfully add students to the list and edit them, but when I press the ok button in the update students form I get the error, "System.ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and …

Member Avatar
+0 forum 0

I have dynamic page which is loading and preview page from database retrieved values. I did this with successfully. I want to remove parameters from page url. Note that I only used one parameter in url. My url is something like this. (with parameters) http://ads/ad?this=daihatsu-boon-m700s-new-design-2016-nugegoda-2019-04-05-22-49-04 I tried to remove parameters from url, (it success) then my url look like this, http://ads/ad/daihatsu-boon-m700s-new-design-2016-nugegoda-2019-04-05-22-49-04 To do that I added following codes to htaccess file, RewriteEngine On #RewriteCond %{SERVER_PORT} 80 ReWriteRule ^ad/([a-zA-Z0-9-/]+)$ ad.php?url=$1 ReWriteRule ^ad/([a-zA-Z0-9-/]+)/ ad.php?url=$1 Options +FollowSymLinks -MultiViews # Turn mod_rewrite on #RewriteEngine On RewriteBase / # To externally redirect /dir/foo.php to /dir/foo …

Member Avatar
+0 forum 0

I want to add capcha to Mobirise builder's form. When I'm adding the code below, formd doesn't send any messages after that. What should I do? May be someone have solved this issue. <head> <script src="https://www.google.com/reCAPTCHA/api.js" async defer></script> </head> <body> <form action="?" method="POST"> <div class="g-reCAPTCHA" data-sitekey="your_site_key"></div> <br/> <input type="submit" value="Submit"> </form>

Member Avatar
+0 forum 0

Hiya, looking for some help on this bit of code: def save(x,y,z): user=x yourinventory=y score=z allinvent=[] allscore=[] with open("Inventory.txt","r+")as inventory: for line in inventory: allinvent.append(line.strip().split(',')) allinvent.append("\n") for line in allinvent: if (line[0]==yourinventory): allinvent.append(yourinventory) allinvent.pop(line[0:8]) print(allinvent) break inventory.append(allinvent) inventory.close I'm currently working on saving things like inventory, and I'm not sure what I need to use instead of append as I keep getting this error. Traceback (most recent call last): File "\\file1\Student-homes\Intake15\15QuintonSA\My Documents\Year 10\Computer Science\.Adventure Quest v2\main file.py", line 192, in <module> save("pandatron03", invent, 8) File "\\file1\Student-homes\Intake15\15QuintonSA\My Documents\Year 10\Computer Science\.Adventure Quest v2\main file.py", line 19, in save inventory.append(allinvent) `AttributeError: '_io.TextIOWrapper' object …

Member Avatar
+0 forum 0

My score on Google's new PageSpeed tool (web.dev or Lighthouse) is incredibly low. There are things that I'm working on that seem obvious, but I'm stumped with trying to improve the following points: Time to Interactive Speed Index Estimated Input Latency I was wondering if any of you guys are dealing with this. The website is https://www.bairesdev.com/our-services/software-outsourcing/ Thanks a lot in advance!!

Member Avatar
+0 forum 0

## Hey, ## I crated a program which can search a text for a string and gives you every line which conatins that string back. Now I want to create another text file with the output. But I cant get it to work. Actually I have no problems with creating the text file becasue its creating it but its always empty. I just dont know how to gte the results from the top of my code into the output text file. Here is my code: #include <string> #include <fstream> #include <iostream> #include <sstream> using namespace std; int main(void) { string …

Member Avatar
+0 forum 0

Hello Everyone

Member Avatar
-1 forum 0

I am following this **tutorial** to display **custom opacity control** in wordpress **default** color picker scheme, [Click Here](https://github.com/BraadMartin/components/tree/master/customizer/alpha-color-picker) i want my color picker looks like this, after adding opacity bar. ![dani.PNG](/attachments/large/4/735831d60c76788bcc1ce819a383ce49.PNG "align-center") I am using **twenteen seventeen theme** to display alpha color picker in the **apperence->customize->text**, but it is only showing the alpha text field with default set value. kindly help me thanks in **advance**

Member Avatar
+0 forum 0

Part 2 to Salesperson Java Application, still new to this. class SalesPerson { /** * Fixed Salary */ final double fixedSalary = 35000; /** * Current Commission Rate */ public double curCommissionRate = 0.15; /** * Accrued Commission */ public double curCommission = 0; /** * Total Compensation */ public double totalCompensation = 0; /** * Annual Sales */ public double annualSales = 0; /** * Parameterized Constructor * * @param annualSales The Salesperson's annual sales. */ public SalesPerson(double pAnnualSales) { annualSales = pAnnualSales; //set object member curCommission = (annualSales * curCommissionRate); //calculate current commission totalCompensation = fixedSalary + curCommission; …

Member Avatar
+0 forum 0

![Untitled.png](/attachments/large/4/9ac3fb0f01e4139b31b0d2937bdb0d02.png "align-center") Plesae take a look at the image attached. I have created a maven project by the following steps: 1. open eclipse EE 2. file > new > pther > maven project 3. click on 'create a simple project' checkbox 4. click on 'use defualt workspace location' checkbox > next 5. Enter Group id and Artifact id = 'myFirstProject' 6. change packing to 'war' and finish if you look at the bottom right. The loading keeps on going and the project never get created. is there some thing I am doing wrong? I have never seen this.... any help …

Member Avatar
+0 forum 0

Here is a small e-Book for your attention: [The Ultimate Question of Programming, Refactoring, and Everything](http://www.viva64.com/en/b/0391/). This book is intended for C/C++ programmers, but it could be of interest for developers using other languages as well. What makes the book peculiar is the descriptions of real, not theoretical cases at the base of it. Each chapter starts with a code fragment taken from a real application, and then the author gives various tips of how this bug could be avoided. The questions touched upon in this book can help the readers improve the personal coding style and the coding standards …

Member Avatar
+0 forum 0

nononon

Member Avatar
+0 forum 0

I'm getting the following error Syntax Error: Token '{' is an unexpected token at column 6 of the expression [rForm{{] starting at [{4}]. My form code is as follows <form name ="rForm{{$index}}" ng-submit="rForm{{$index}}.$valid && rCtrl.saveResource(api)" style="margin-top:0%" class="form-horizontal" role="form"> I'm using {{$index}} since I'm making multiple forms dynamically. The final html rendered is exactly as I want as below <form name="rForm0" ng-submit="rForm0.$valid &amp;&amp; rCtrl.saveResource(api)" style="margin-top:0%" class="form-horizontal ng-pristine ng-invalid ng-invalid-required" role="form"> But angular is going crazy at my template {{$index}}.$valid and not showing the expected behavior. Please help me solve this!

Member Avatar
+0 forum 0

<option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> My Command : WebBrowser1.Document.All("Value").SetAttribute("02", "02") Dont Works!! Plz Help Me Vb.net

Member Avatar
+0 forum 0

Hi thanks for the help I am new to this so sorry if I’m slow. I am trying to make an Access Database I have a quarry that pulls data into a combo box and then auto fills the below text boxes. I want the user will then fill out the new data associated with the quarry data pulled. And then hit an Add bottom to add it to a new table called report. I keep getting an object error can you please advise. Thanks Matt below is the code Private Sub cboAdd_Click() Dim cnn1 As ADODB.Connection Dim rstcontact As …

Member Avatar
+0 forum 0

I activated the SPF on my mail server. To ensure that it is working, applying the test to send a standard email to the <code> check-auth@verifier.port25.com </ code>, it returns with the status "SoftFail". > SoftFail: "The sender's ADMD believes the client was not authorized to inject or relay mail using the sender's DNS domain, but is unwilling to make a strong assertion to that effect." With each new test e-mail, it sends with a different IP address. How to solve?

Member Avatar
+0 forum 0

I needed a grid layout to display some images. I found this one online http://alijafarian.com/demos/responsive-image-grids-using-css Its displays but not like it should. Through a process of elimination i figured it was a js file causing this, two to be precise. init.js & skel.panel.min.js These js file came with the template and have something to do with the pages structure and display. I cant seem to find anyone having the same problem i tried using no conflict and that hasnt worked. my header ` <head> <title></title> <link rel='shortcut icon' type='image/x-icon' href='images/favicon/favicon.ico' /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="" /> …

Member Avatar
+0 forum 0

We have a WCF web service hosted on Windows 2008 SP2/IIS 7 accessing an Oracle database. Usually data access works fine but during load testing, it often times out and logs an exception saying: Error occurred when processing XXXXXXXX Web Service Oracle.DataAccess.Client.OracleException Connection request timed out at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck) at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) at Oracle.DataAccess.Client.OracleConnection.Open() at MyWorkspace.WorkForceDataAccess.CheckStaffIdInRSW() at MyWorkspace.MyClass.MyFunction(MyDataType MyData) To query the database, we use something like this: OracleConnection orConn = new OracleConnection(); orConn.ConnectionString = "user id=xxx; password=xxx; Connection Timeout=600; Max Pool …

Member Avatar
+0 forum 0

Hi All, when i'm trying to call the dll i'm getting runtime error 91 error. below are my findings: 1) i'm able to build the dll without any error 2) i'm able to add reference to that dll 3) all intelesense is working 4) if i add that project to my standard project, i'm able to do without any error syntax i used to initialise dim obj1 as object set obj1=createobject("Dllname.class1") please anyone suggest to resolve this issue. Thanks

Member Avatar
+0 forum 0

Hello, I have a website that uses the user timeline widget from Twitter. A couple of days ago, it stopped displaying the widget and instead just shows "tweets from @username". I haven't changed and javascripts or anything, so I'm not sure whats changed. The error console says [code]TypeError: t is not a constructor Line 1 Widget.js[/code] I've logged back into the Twitter dev control pannel and the widget preview is working fine. I even tried rebuilding and recopying the code, to no avail. Any ideas? Thanks.

Member Avatar
+0 forum 0

I'm trying to compile an old project in Borland C++ Builder 4. I have a working exe and the source files for that, therefore someone must have managed to compile it earlier. However, when I open the project, check if the project has all the necessary files in the resources and try to compile it, I keep getting the following linker error: `[Linker Error] Unresolved external '_fastcall TMapperForm::Button1Click(System::TObject*)' referenced from ...\Unit1.obj` I can see that it cannot find an object in the library but I am not sure how to resolve it, because the obj file with the same name …

Member Avatar
+0 forum 0

How do I repair a PPT file that has the error message:The file may be corrupt, in use, or of a type not recognized by PowerPoint.?

Member Avatar
-2 forum 0

Hi, can anyone pls help to understand why its throwing class not found error, i am trying to learn how JWS works. i just followed this blog, though every thing looks ok.Attaching the files as well. http://examples.javacodegeeks.com/java-basics/web-start/java-web-start-getting-started/ Pallab

Member Avatar
+0 forum 0

Hi guys! i think this is usefull, a lot of the users have problems with .Net Framework installation, Error code: HRESULT 0xc8000222 Do these to solve: a: Click Start > Run. b: Type cmd and press Enter. Please run the following command in the opened window. net stop WuAuServ c: Click Start > Run Type %windir% and press Enter. d: In the opened folder, rename the folder SoftwareDistribution to SDold. e: Click Start> Run type cmd and press Enter. Please run the following command in the opened window.. net start WuAuServ Hope this information helps.

Member Avatar
+1 forum 0

Hi, I try to update a table through a list with checkboxes , but still this error message appear:"SQLSTATE[HY093]: Invalid parameter number: parameter was not defined" this my source code: the script checkbox.html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> <!-- jQuery --> <script src="../../../charisma-master/bower_components/jquery/jquery.min.js"></script> <script type="text/javascript" language="javascript" src="JQuery/jquery-1.11.3.min.js"></script> <script type="text/javascript" language="javascript" src="JQuery/jquery-ui.js"></script> <script type="text/javascript" language="javascript" src="DataTables-1.10.7/media/js/jquery.dataTables.min.js"></script> <script type="text/javascript" language="javascript" src="DataTables-1.10.7/extensions/TableTools/js/dataTables.tableTools.min.js"></script> <script type="text/javascript" language="javascript" src="../../js/dataTables.editor.js"></script> <script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js"></script> <script type="text/javascript" language="javascript" class="init"> var editor; // use a global for the submit and return data rendering in the examples $(document).ready(function() { editor …

Member Avatar
+0 forum 0

I run a command on command line like : cuffdiff -o diff_out4 -b ../genome/ce10.fa -p 2 -L larval,early -u merged_asm/merged.gtf ../tophat/em/SRR493359_60_61_thout/accepted_hits.bam ../tophat/em/SRR493363_64_65_thout/accepted_hits.bam Both bam files are separated with "space". Now the same command I gave a call in python script: do.call([cfg.tool_cmd("cuffdiff"), "-b", str(cfg.project["genome"]["fasta"]), "-u", cfg.project["experiment"]["merged"], "-o", output_folder] + [cfg.project["samples"][0]["files"]["bam"] cfg.project["samples"][1]["files"]["bam"]], cfg.project["analysis"]["log_file"]) It gave me a syntax error because of the space. Can anyone help me how to use this.

Member Avatar
+0 forum 0

Some times getting NAN error and total minures divisible by prime getting invalid output Any body help me <html> <head> </head> <body> <!DOCTYPE html> <?php $event_time = "9:30 am"; $end_time="11:00 am"; $event_length1 = "25"; $event_length=(int)$event_length1; echo $event_time."<br>"; echo $end_time."<br>"; $dtime_1 = new Datetime($event_time); $dtime_2 = new Datetime($end_time); $diff = $dtime_1->diff($dtime_2); $hourone=$diff->format('%H'); $minuteone=$diff->format('%I'); $totalhour=$hourone*60; $totalmin1=$totalhour+$minuteone; $totalmin=(int)$totalmin1; echo $totalmin.'<br>'; echo $event_length.'<br>'; $time_block=(int)$totalmin / $event_length; echo $time_block; /*$time_block=$totalmin/$event_length; */ // minutes for($i = 0, $eTime = strtotime($event_time);$i <= $time_block;$i++, $eTime = strtotime("+$event_length minutes", $eTime)) { $new_event_time = date('H:i', $eTime); echo "<p>$new_event_time</p>\n"; } ?> </body> </html> </body> </html>

Member Avatar
+0 forum 0

I'm new in android develop . i tried to follow steps to create an android cordova splashscreen but I got this error : CallbackContext cannot be resolved to a type SplashScreen.java cordova cannot be resolved SplashScreen.java preferences cannot be resolved SplashScreen.java Please Help . Thanks

Member Avatar
+0 forum 0

The End.