Group, I'm taking a text file that is storing ID numbers in a single column that looks like this: 123 3050 3971 I'm looping through the text file line for line and putting each ID number into a textbox. My question is: Am I writing this code the most efficient way? Here's my code: Dim FILE_NAME As String = "C:\Restran Conversion\RestranFileConversion.txt" Dim objReader As New System.IO.StreamReader(FILE_NAME) Dim txtProps As String Dim i As Integer = 1 If System.IO.File.Exists(FILE_NAME) = True Then Do While objReader.Peek() <> -1 txtProps = objReader.ReadLine() If i = 1 Then prop1 = txtProps End If If …

Member Avatar
Member Avatar
+0 forum 8

Has anyone heard of the software or code that can send selected images (Coupons) from a webpage to a customers cell phone based on which coupons he/she choices and what 10 digit number they enter? A workable example is on the 'coupons' page of this website: [Click Here](http://canada.michaels.com) Any thought would be greatly appreciated. ~Martin

Member Avatar
+0 forum 0

Hey guys. I'm writing myself an online toolbox (for my code snippets). I have a "Snippets" table. My question is this. Would you save the snippet source in a Text column or would you have the snippet saved to a text file and the Snippet entry would reference the file name? e.g. Snippets or Snippets2 ![66d53b10f23ce24db08dffd799cf70e2](/attachments/large/4/66d53b10f23ce24db08dffd799cf70e2.png "66d53b10f23ce24db08dffd799cf70e2")

Member Avatar
Member Avatar
+0 forum 3

Just the very basics on how to draw a rotated text using the Python GUI toolkit PySide (public PyQt). Please experiment and embellish.

Member Avatar
Member Avatar
+2 forum 2

I would like to do a project to predict the tag for the discussion thread based on articl title and the post in daniweb. Can i get the daniweb data to do this? Pls reply soon

Member Avatar
Member Avatar
+0 forum 3

Hi Guys i have a formValidation Java Script on the form to validate username and password text boxes to check whether they are empty,and i am calling them on the Onclient Click even ton the button, But even If i enter some data into those text boxes the error message alert appears, what it the problem with my code here ? `<script type="text/javascript"> function FormValidator() { if (document.getElementById('txtusername').value == ""); { alert('Invalid User Name'); } if (document.getElementById('txtpassword').value == ""); { alert('Invalid Password'); } } </script> ` thanks regards sumith

Member Avatar
Member Avatar
+0 forum 5

So I've come across a problem more than once and it'd be a ton of help if I could get this figured out! So there are several instances where I've wanted to open a file with notepad or notepad++ to change values or something (mainly with videogames). The problem that I've come across is that sometimes when I open up a file such as a .PROPERTIES or .SII extension, instead of seeing the normal text like a ton of other people are capable of seeing, mine is jumbled and encoded. For example, the file I am trying to edit "game.sii" …

Member Avatar
Member Avatar
+0 forum 3

hello everyone, I am using this text-editor http://kenbeit.com/popline/ ,my query is that whatever the font style,color,head tag etc availabe in text-editor i chosse,how can i take all selected attributes in next page via hidden fields in form tag ???.

Member Avatar
Member Avatar
+0 forum 3

Hi, so i have an input text `<input type="text" name="numguest" id="number-of-guests">` and a button `Okay`. When a number say, 4 is entered into that text box and clicked okay, 4 of this text box `<input type="text" name="guest-name[]" placeholder="Guest Name" id="text-gname">` will appear. i tried: $("#okay").on("click", function(){ var num_of_guests = $("#number-of-guests").val(); alert(num_of_guests); var input_text = $("#text-gname").clone(); var target = $(".guests-tbody"); for(var i = 0; i < num_of_guests; i++) { var clone = input_text.clone(); clone.attr('id','style', ''); target.append(clone); Hide(); } }); but nothing seems to be happening except fot the alert and Hide function. TIA

Member Avatar
Member Avatar
+0 forum 3

Hello Community, I was wondering if there is a way to filter through an email to get all the details. Such as from, to, subject, body and a few other details but you get the idea. At the moment I just have a bunch of text but I want to get all the little bits of information.

Member Avatar
Member Avatar
+0 forum 14

program fetching text file contents into array, and storing array variable values into example.csv file. The values are not storing column wise. ----------------- text file content ----------------- THE SAHARA CO-OP CREDIT SOCIETY LTD MUMBAI OVERDUE LIST OF P NO :1 PERSONAL LOAN AS ON 31/08/2014 ---------------------------------------------------------------------------------------------------------------------------------- S.NO A.NO NAME SAN DATE SAN.BAL BALANCE DUE DATE OVER DUE INT P/OTHER TOTAL ---------------------------------------------------------------------------------------------------------------------------------- 1 Y 8 BAIGANPALLI SADIQ MEHABOOBSAB 16/06/00 8000 4740 16/12/02 4740 1804 332 6876 6 2 Y 22 INAMDAR ILIYASPEERA KHADARSAB 04/07/00 8000 7601 04/01/03 7601 14180 1699 23480 6 3 Y 41 SHAIKH MEHABOOB BASHASAB 07/07/00 7000 5342 …

Member Avatar
Member Avatar
+0 forum 2

I accidentally posted a lower version of the game that had more flaws, and a few less features. This one has a few more minor bugs fixed, and a power attack instead of a normal attack.

Member Avatar
Member Avatar
+0 forum 14

This simple code shows how to write text with a given font, font size and color using the module pygame ...

Member Avatar
Member Avatar
+4 forum 8

Hi All: I have recently started using a web-based texting service; it is just easier than texting on a cell phone. I have a few concerns, and I would like to see if anyone has any answers. 1. Is there a free or low-cost web-based service that turns texts into voice mails? I know Verizon and Sprint do, but I don't use them for cell phone service. 2. Is there a way I can tell if a text has gone to a non-text-capable number, to include dumb phones, land lines, fax lines, data lines, etc? It is frustrating; I sent …

Member Avatar
Member Avatar
+0 forum 4

Hello. I have a button on a web page and when the mouse is over it becomes larger (don't ask why). .buton { /* some code here*/ height:50px; width:100px; text-decoration:none; text-align:center; text-shadow:1px 1px 0px #ffffff; transition:width 0.5s, height 0.5s; } .buton:hover { width:200px; height:200px; } In body is this code: <a href="#" class="buton">BLABLA 1</a> How can I change the button text when it becomes larger? For example, instead of BLABLA 1, be HELLO 1.

Member Avatar
Member Avatar
+0 forum 1

am creating a new social network like FB: In that i cant able to change the text color permanently by selecting a theme... help me guyz:

Member Avatar
Member Avatar
-3 forum 3

I'm trying to create a simple code that would transform standard sentences into interrogative sentences. I’m not sure how easy or hard it is to create such a code and was wondering if such code or a similar code already exists. The code I'm looking for would do this: EX: The sky is blue --> Is the sky blue? I’m very novice to programming, so any suggestions and tips will be welcome

Member Avatar
Member Avatar
+0 forum 1

Hi, Im making a simple program which converts a encrypted text file the upload it to sql CE. This is time in and out logs of every employee. The date is extracted from a machine and downloaded as encrypted file. We managed to decrypt it by getting the equivalent value of each character. I need to decrypt this file then save it to database (sql server 2008 r2) Downloaded file looks like this, in plain text: ±²®ªÇª®°­°®­°®¯±ª®·¸²®¸±²B ´µ³ªÇª®°­°®­°®¯±ª®·¸²±¸³®N ´µ³ªÍª®°­°¯­°®¯±ª¯·¸®°¸²²T ±²®ªÍª®°­°¯­°®¯±ª°®¸®®¸°®9 ±¯´ªÍª®°­°¯­°®¯±ª°®¸®®¸±²A ´µ³ªÇª®°­°°­°®¯±ª®·¸±¶¸±´X ±¯´ªÇª®°­°°­°®¯±ª¯®¸²¯¸²´C ±²®ªÇª®°­°°­°®¯±ª¯®¸²±¸°µA ´µ³ªÍª®°­°°­°®¯±ª¯·¸±¶¸±²] ´µ³ªÇª®°­°³­°®¯±ª®·¸³¯¸²µX My code for now in uploading: (I used openfiledialog object to open the file) …

Member Avatar
Member Avatar
+0 forum 9

Hi, I'm not sure if this is the correct section to post my question in, but since my problem refers to xaml scripting I guess so. I added a listview in my win store app from which the user can choose among several elements and click the one she wants to expand in another box. The problem is that when you click and therefore highlight an item, its name is kinda cut off showing part of the first letter and than the others (for example, if you see Æþelstan and click on it, it'll only show Eþelstan). I tried to …

Member Avatar
+0 forum 0

how to `.replace()` the `'error'`? only use `a` and `b` var str = 'bla bla anything error anything bla bla'; var a = 'anything', b = a; im not good with regular expressions so im asking for how to do this with variables so i can set them up all by myself

Member Avatar
Member Avatar
+0 forum 8

Here’s the concept behind the smartpen: there are millions of pages of good old fashioned handwritten notes taken every day in business meetings and school lessons around the world. Unfortunately they remain trapped within the confines of the paper they are written upon. But what if you could easily share those notes, make them searchable and accessible by digitising them with a tap of the pen you write them with? [attach]21268[/attach] That’s where the Echo smartpen comes in by digitally capturing what you write, and what you hear, and then ‘pencasting’ the data using the new Livescribe Connect software. To …

Member Avatar
Member Avatar
+0 forum 1

Hi all, I've started to get acquinted with Perl's HTML::Parser, which does a really good job at parsing html (duh ;-) But for the life of me, I can't get it to return the actual text from subroutine! I keep getting references to it :\ :\ use HTML::Parser; package MyParser; sub start { my ($self, $tagname, $attr, $attrseq, $origtext) = @_; if ($tagname eq 'img') { my $Title=$attr->{ title }; # now this works well, and actually prints the value and not the reference! print "Image title found: ", $attr->{ title }, "\n"; return($Title); } else {return();} } my $parser …

Member Avatar
Member Avatar
+0 forum 2

hey guys. I have a form (very much simplified): <form method="post" action="add_contact.php"> <label>House No. :</label><input type="text" name="houseno" required /> <label>Street Name :</label><input type="text" name="street" required /> <lable>Spouse ?</lable><input type="radio" id="spouse-yes" onclick="FillSpouse(this.form)">Yes<input type="radio" id="spouse-no"> <label>House No. :</label><input type="text" name="spousehouseno" required /> <label>Street Name :</label><input type="text" name="spousestreet" required /> </form> what i want is for when radion button "Yes" is clicked the two other text fields(name="spousehouseno" and name="spousestreet") will be populated by the same input values in the text fields(name="houseno" and name="street"). ive tried using from [Click Here](http://www.htmlgoodies.com/tutorials/forms/article.php/3898101): <script type="text/javascript"> function FillSpouse(f) { if(f.spouse-yes.checked == true) { f.houseno.value = f.spousehouseno.value; f.street.value = …

Member Avatar
Member Avatar
+0 forum 5

hey guys. I have a contact form as so <form method="post" action="contact_data.php" class="add-contact-form"> <fieldset> <legend>Add Contact</legend> <p>Salutation : <select name="salutations"> <option value="" disabled selected>Choose</option> <option value="Datin">Datin</option> <option value="Datin Paduka">Datin Paduka</option> <option value="Dato Paduka">Dato Paduka</option> <option value="Dato'">Dato'</option> <option value="Dato' Seri">Dato' Seri</option> <option value="Datuk">Datuk</option> <option value="Datuk Seri">Datuk Seri</option> <option value="Dr.">Dr.</option> <option value="Haji">Haji</option> <option value="Hajjah">Hajjah</option> <option value="HM">HM</option> <option value="HRH">HRH</option> <option value="Miss">Miss</option> <option value="Mrs.">Mrs.</option> <option value="Mr.">Mr.</option> <option value="Pehin">Pehin</option> <option value="Professor">Professor</option> <option value="Raja">Raja</option> <option value="Tan Sri">Tan Sri</option> <option value="Tengku">Tengku</option> <option value="Tuanku">Tuanku</option> <option value="Tun">Tun</option> <option value="Tunku">Tunku</option> <option value="Ungku">Ungku</option> </select></br> <label class="salute-label">*If a person has many salutations, choose the highest form of salutation*</label> </p> <div style="height:0"><label>First Name …

Member Avatar
Member Avatar
+0 forum 2

Hello, I need a litle help here. I am creating a program that finds a specific sentence in a word path and replaces it with a given value. Specific sentence: l="600" And it has to be changed to : l="300" This is not to dificult and works fine: Public Class Form1 Private Property sign As String Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim sign1 As String Dim sign2 As String sign1 = ("""600""") 'sign1 = ("""") sign2 = ("""300""") Dim source As String = "C:\temp\bodem.mpr" 'path from original file Dim destination As String = "C:\temp\bodem2.mpr" 'path …

Member Avatar
Member Avatar
+0 forum 6

hello everyone, I need to add custom text on my uploading image ,any jquery or wordpress plugin is for that??

Member Avatar
Member Avatar
+0 forum 6

In HTML,CSS BLINKING TAG IS NOTWORKING?I NEED PROGRAM IN JAVASCRIPT FOR BLINKING THE TEXT..

Member Avatar
Member Avatar
+0 forum 3

Hi I need to show coordinates from the map in the text box below. Can you make the code showing the latitude and longitude onmouseclick? I will be very grateful. <html> <head> <title>OpenLayers Example</title> <script src="http://openlayers.org/api/OpenLayers.js"></script> <script src="http://maps.google.com/maps/api/js?v=3&sensor=false"></script> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> </head> <body> <div id = "container" style = "width:1250px"> <div id="header" style="background-color:#CCCCCC;text-align:center;"><h1>Услуги с кадастрални данни</h1></div> <div style="width:900px; height:500px; float:left" id="map"></div> <div id = "featureinfo" style = "width:350px; height:500px; background-color:#CCCCCC; float:right"></div> <div id="wrapper" style="margin:5px"><div id="map" style="width: 800px; height: 450px"></div></div> <table cellpadding="5" cellspacing="0" border="1"> <tr> <td width="50%" valign="left"> <br> <h3>Get the Latitude and Longitude of a Point</h3> <p>When you click …

Member Avatar
Member Avatar
+0 forum 3

I am new to PHP and I am having some problems and I am hoping someone can point me in the right direction. Here is what I need to do: Create a Web Form for uploading pictures for a high school reunion. The form should have text input fields for the person's name and a description of the image, and a file input field for the image. To accompany each file, create a text file that contains the name and description of the image. Create a separate Web Page that displays the pictures with a caption showing the name and …

Member Avatar
Member Avatar
+0 forum 1

Hi I am working on dynamic add row. In that if a value is enter in ptype box it should disable the releated textbox filed based on the value. i written code but its not working can any please help me to solve this issue **html Page** <form id='students' method='post' name='students' action='index.php'> <table border="1" cellspacing="0"> <tr> <th><input class='check_all' type='checkbox' onclick="select_all()"/></th> <th>S. No</th> <td>Line Number</td> <td>Connection Type</td> <td>Type</td> <td>Condition</td> <td>Open Query Statement</td> <td>Return Code</td> <td>Report Name</td> <td>Report Version 1</td> <td>Report Description</td> <td>Dep.Flag Sequence</td> <td>Dep Report Description</td> <td>Email PDF / CSV </td> <td>Manual Break</td> <td>Job Queue</td> <td>Execution Server Name</td> <td>Email Grp Name</td> …

Member Avatar
+0 forum 0

The End.