64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for elkowalski

im trying to access a webpage and it asks for my email in which it contains a "+" sign .example:"elkowalski+garbage@gmail.com" but instead it tries to write it as "elkowalski garbage@gmail.com" so it fails to log in successfully into the wepage. i would really appreciate if someone can take me to …

Member Avatar for ~s.o.s~
0
161
Member Avatar for ayat abukhadra

Hello, I'm new in vb.net but befor a couple of days i've created a vb.net windows form application , my application works well it adds certain number of lines to access database and searches this database, my problem is when i minimize my application windows while doing some work it …

Member Avatar for ayat abukhadra
0
131
Member Avatar for coroll

Hi, I want to implement an English word dictionary without the meanings. I have 51,947 words. I read many articles on the internet and sugestions were trie, Hashset Will implementing a trie provide better perfomance for serching or Hashset or anyother. Plz help me..

Member Avatar for coroll
0
100
Member Avatar for klars247

**In this code you must type the complete word in the textbox that stored in ur table to shows up in the listview. any1 can help me with this?? it should be base by letters not word.** Private Sub ListView1_click() Dim rs As New ADODB.Recordset Dim selected As String If …

Member Avatar for AndreRet
0
500
Member Avatar for prancode

how do I set a shortcut key for 1 of the textboxes in vb.net. When I goto the textbox and press F3, then it should give the current date in the textfield...Can somebody help me with this?? Thanks in advance..:)

Member Avatar for Pgmer
0
293
Member Avatar for fatalaccidents

Hey guys, I had a quick question. Let me try to explain what I'm trying to do here. I'm a bit new to numpy and I'm writing a parallelized code. It is working fine without the use of NumPy, but I'm trying to learn by getting it to work both …

Member Avatar for fatalaccidents
0
365
Member Avatar for sayerada

Hi, I'd like to create a perl script that takes two input files, one being a master list of users/attributes, the other being a newly uploaded list. I'd like two output files, one being a file with new users (not in the master list) as well as updated users (changed …

Member Avatar for 2teez
0
233
Member Avatar for Djmann1013

I need help with this code: <?php $a = json_decode(file_get_contents('http://www.ace-spades.com/serverlist.json'),true); $n = count($a); for($i=0; $i < $n; $i++) { echo 'identifier: ' . $a[$i]['identifier'] .' count: '. $a[$i]['count'] . "\n"; } ?> I need it so that it doesn't display this: http://www.aosserverhome.hostoi.com/servers/servertest1.php I want to use that data and only …

Member Avatar for cereal
0
95
Member Avatar for gizmo7008

I'm doing a program, and trying to find the @, going back to the beginning to search for valid characters, and when I find an invalid one I move it forward to valid one. Same goes for the end, except just leaving it at the invalid character. My program compiles, …

Member Avatar for gizmo7008
0
186
Member Avatar for Djmann1013

Hi. I am trying to search for text on a page. This is the page i am searching: http://www.ace-spades.com/serverlist.json. This is the code I have: <?php $link = "http://www.ace-spades.com/serverlist.json"; $linkcontents = file_get_contents($link); $needle = "ServerIP"; $numofplayers = //I need help here if (strpos($linkcontents, $needle) == false) { echo "<center>0/12 Players …

Member Avatar for cereal
0
344
Member Avatar for jayreis

I am trying to setup what would be a tabbed order form witch would also contain a jquery image upload and preview function. However what is happeing is if I just have the jquery code for the tabbed content function the file works but when I add the jquery code …

Member Avatar for jayreis
0
149
Member Avatar for M.Waqas Aslam

hello! i am developing a simple application which will get data from different database like mssql , access , foxpro , and after getting data it will create 4 text files tows.txt , customer.txt , product.text , trasection.txt , prob is this that i am very new to foxpro , …

Member Avatar for TnTinMN
0
3K
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> #include<string.h> void main() { char a[200],n,c,b; int i; printf("enter the new string: "); scanf("%20s",a); printf("enter the character to be replaced: "); scanf("%20s",b); printf("enter the new character: "); scanf("%20s",c); for(i=0;a[i]!='\0';i++) { if(b==a[i]) { a[i]=c; } } printf("%s",a); } i have 0 errors when compiler starts to work.it …

Member Avatar for deceptikon
0
178
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> void main() { char a[100]; int i,c=0; printf("enter the text: "); scanf("%20s",a); for(i=0;a[i]!='\0';i++) { if(a[i]==32) { c++; } } printf("number of spaces in text is %d",c); } ascii value of space is 32 but it shows o spaces in output

Member Avatar for rithish
0
117
Member Avatar for I_m_rude

hi, int arr[2][2][2]={1,2,3,4,5,6,7,8}: int *p,*q; q=(int*)arr; printf("%d",*q); my question is that how is it giving output as "1"(ofcourse, without quotes). what will change if i don't typecast arr in 3rd line of code? will anyone please explain.Is it giving o/p "1" ,just because of that typecast ? my thinking: as …

Member Avatar for I_m_rude
0
263
Member Avatar for M.Waqas Aslam

hello ! i am now working on office management system. i have a code to disable the usbport , i want to use it in win7 , before this i already used it in other project on windows xp , it works fine , but now in windows 7 it …

Member Avatar for M.Waqas Aslam
0
118
Member Avatar for eburlea

Hi all. Please help. How is it possible to transfer a variable from PHP to JavaScript. I have the following code. <?php $id = 5; ?> <script>window.location.href = 'view_topic.php?id=**VAR**'</script> Instead of VAR should come the value of $id from PHP. Thanks in advance.

Member Avatar for eburlea
0
148
Member Avatar for guilherme.carvalho.9250

Hello to everyone, Im a beginner in vb.net and currently Im developing a "reminder" program, the user inserts a task that he as to do, the date and the time to be remimbered! Im saving the task in a txt file like this, "Make dinner,Reminder,24-07-2012 18:31:00", but line by line, …

Member Avatar for guilherme.carvalho.9250
0
2K
Member Avatar for Que336

I am having trouble getting this example to work. I posted exactly like it is put on the google documentation but it just won't work for some reason. Some please help me, am I doing something wrong. The link to the documentation is https://developers.google.com/youtube/iframe_api_reference#Getting_Started The code I am using is …

Member Avatar for Que336
0
6K
Member Avatar for MuddHizb

I am using VB2008 fr my project , I am having an error while inserting data in the sales form The error is;:__ "Number of query values and destination fields are not the same". Here is my code-: Dim sql As String sql = "insert into sales (SalesId ,PropertyNo, SellerNo, …

Member Avatar for MuddHizb
0
176
Member Avatar for rayidi

I have a Query string > { "id": "105201322211272730088", "name": "Rayidi Radha Krishna", "given_name": "Rayidi", "family_name": "Radha Krishna", "link": "https://plus.google.com/105201322211272730088", "picture": "https://lh3.googleusercontent.com/-UTEdowBnUUE/AAAAAAAAAAI/AAAAAAAABd0/FrCv9VX1Pp4/photo.jpg", "gender": "male", "birthday": "0000-09-23", "locale": "en" } I want to convert this Query string to an array. thanks in advance.

Member Avatar for blocblue
0
358
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> void main() { char a[50]; int n; printf("enter the string : "); gets(a); n=strlen(a); printf("%d",n); for(i=n;i>0;i--) { printf("%c",a[i]); } } the error is at i=n why cant we use i=n;

Member Avatar for WaltP
0
206
Member Avatar for Perry31

Hi geeks, I'm using visual studio to write and execute programs. I want to create breakpoint not like software breakpoints(F9 for debugging). I want to build the project in release mode and want to have breakpoint. I heard something like _asm int 3 to create breakpoint. Can anyone explain _asm …

Member Avatar for Ancient Dragon
0
339
Member Avatar for vincent5487

Hey guys, when i doing my VB, i get stuck on the try catch end try...i dono where should i put the try catch end try for the question..this is my question Using loop statement, write a VB .NET program that prompts TWENTY (20) integers in the range of 1 …

Member Avatar for vincent5487
0
175
Member Avatar for phorce

Hello, I'm trying to develop an algorithm/program that calculates the distance between two points. These values are stored inside a 1D array, which, acts as a 2D array (I think you know what I mean!) The values are: 150 50 15 20 The calculation should therefore be: d = √(150 …

Member Avatar for phorce
0
209
Member Avatar for MasterHacker110

I have the following code: #include <iostream> #include <fstream> #include <string> #include <ctime> #include <windows.h> #include <cstdlib> enum ERR_CODE {SUCCESS, ERROR}; But as soon as I compile it it gives this error: C:\Users\User\Desktop\Program.cpp|8|error: expected identifier before numeric constant C:\Users\User\Desktop\Program.cpp|8|error: expected '}' before numeric constant C:\Users\User\Desktop\Program.cpp|8|error: expected unqualified-id before numeric constant …

Member Avatar for MasterHacker110
0
6K
Member Avatar for latooplat

I have a special problem over in terms of sorting out those words like a keyboard type. For example: the user inputs these words into the textarea HOUSE DOLL KITE NICE Then, the result should be DOLL HOUSE KITE NICE this is sorted out according to the qwerty order. <?php …

Member Avatar for pritaeas
0
1K
Member Avatar for prnjn

Hi . i am a final year computer science engineering student , Recently i have learned Java Servlets , JSP and Struts 2 framework . I am looking for help regarding my major project . I am in dark what (which application) i should develop for my major project using …

Member Avatar for SagarSe7en
0
274
Member Avatar for ak47carbon

my website page url is mysite/use.php?v=123(it is dummy entry basically it come from another page) i want to convert my url into mysite.use-123.html. i got a code for this purpose from http://roshanbh.com.np/2008/03/url-rewriting-examples-htaccess.html but problem is that when i paste below code in .htaccess it is not working Options +FollowSymlinks RewriteEngine …

Member Avatar for ak47carbon
0
201
Member Avatar for DarkMonarch

this is more of a career questions thread. my situation: 15 years plus in marketing management, career change for programming. i concider myself as a Jr. programmer, been programming since november 2011. hoping from PHP to C to Java, back and forth, depending on what im ask to do. i …

Member Avatar for Florinmoc
0
425
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> void main() { int a=5,b=10,*ptr,*pt1; ptr=&a; pt1=&b; b=*ptr; a=*pt1; printf("%d \n %d",a,b); } producing same values not swapped

Member Avatar for WaltP
0
103
Member Avatar for TheQuestor

I am trying to read through a text file and pull out bits of information I need. I have it 1/2 working but need to figure out how to loop through it to get the other 1/2 Sample log file '-------------------------------------------------------------------------------------------------------------- [01:32:18.281] [@Flos'tok] [@Flos'tok] [Force Valor {875503313485824}] [ApplyEffect {836045448945477}: Force …

Member Avatar for Reverend Jim
0
172
Member Avatar for xzajox

Hi, This is a problem googled easily, but no solution helped me. Locally I am trying to open a PowerPoint application to read and import a ppt (or pptx) file. this is the command where exception is thrown (ASP.NET VB): [CODE] objApplication = New Microsoft.Office.Interop.PowerPoint.Application [/CODE] the exception text is …

Member Avatar for kemaltaskin
0
2K
Member Avatar for phoenix_2000

Hello people, First of all, sorry if this is the wrong forum to post in. I've got what i think is a rather specific question, related to web-development. about six months ago, i spend a few months developing an internal application for my internship, about 1 week before i left, …

Member Avatar for phoenix_2000
0
120
Member Avatar for SagarSe7en

Hello Users, I have been learning the Prepared Statements in Java which is a newer and better way of entering details into the Database. Have been getting problems with the insertion: NullPointerException and still don't know where I am going wrong. Please Assist me in Solving the Issue. Code Below: …

Member Avatar for SagarSe7en
0
389
Member Avatar for HibaPro

i use the properites IsIdentity in my sql server table, when i use the datagridview its show a negative value , my question is how to set the value to positive value ???

Member Avatar for Pgmer
0
96
Member Avatar for rotten69

Hi there, Can anyone explain what is wrong with my code? I get an error message saying null value from innerHTML. <script type="text/javascript"> var sub1 = document.getElementById("input1") ; var sub2 = document.getElementById("input2") ; var sub3 = document.getElementById("input3") ; var sub4 = document.getElementById("input4") ; var GPA = (sub1+sub2+sub3+sub4)/4; var para = …

Member Avatar for rotten69
0
3K
Member Avatar for xabi

I am wondering if anyone can help me or point me inthe right direction. We are currently subscribed to a company that allows us to list products onto eBay. We can upload images through their web interface. For every 10Mb of images we are charged extra. Their is a count …

Member Avatar for xabi
0
144
Member Avatar for mavtcr

**Dear All,** I am a new entrant in the **DANIWEB**.I am a beginner in Visual Basics.Self studying through browsing the net.I want to make a small programme to be used by 5 or 6 users.in a stand alone computer.How this user management system can be coded.The following operations are required. …

Member Avatar for mavtcr
0
204
Member Avatar for subrata_ushasi

Hi all, I want to create a login page modal window. Steps are as follows : 1. There will be a login icon(small image). 2. On clicking the icon , a modal window will open having three options (i) Distributor login (ii)Client login. (iii) Employee login .If Distributor login is …

Member Avatar for subrata_ushasi
0
202
Member Avatar for ganges

employee_list.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD><TITLE>Employee List</TITLE></HEAD> <BODY> <%@ page import="java.sql.*" %> <%@ page import="java.lang.ClassNotFoundException" %> <% Statement st = null; ResultSet rs = null; Connection conn = null; try { Class.forName("com.mysql.jdbc.Driver"); conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/"+"Hibernate MySQL","root","root"); st = conn.createStatement(); …

Member Avatar for peter_budo
-1
2K
Member Avatar for Bile

-->>Hi all out there... -->>I developed my application in windows 7 lately but my OS crashed suddenly so I decided to install XP SVC-Pack3 -->>I installed back my VB 6.0 but when I run my Application the Codes that were fine in V=Windows 7 are now Mulfunctioning... -->>Now Iam going …

Member Avatar for Bile
0
210
Member Avatar for roemerito

Hello everyone, I've been programming in VB.Net since i started and now i want to do everything in C#, but i ran in to some trouble in VB.Net is really easy If(form1.Visible=true)Then { form1.Textbox1.Text = Textbox1.Text //And So on for any field that i wanted } But in C# I'm …

Member Avatar for roemerito
0
260
Member Avatar for sam1

hi, I want to pass textbox text from one form to another using Property get and set. I have done it successfully on click event and then when popup window opens (or form2 opens) i get the value after initialization... But i want to learn how to do it with …

Member Avatar for roemerito
1
2K
Member Avatar for Djmann1013

Hi I am having trouble with this code: <? $host="mysql6.000webhost.com"; // Host name $username="removed"; // Mysql username $password="removed"; // Mysql password $db_name="removed"; // Database name $tbl_name="direct"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("Error. MySQL Not Responding."); $SQL = "SELECT * …

Member Avatar for Djmann1013
0
196
Member Avatar for hericles

I've been at this for hours - I am trying to display a barcode font in a label. Sounds simple but apparently isn't. I've added the font ttf to the project and added it to the UIAppFont array in the project p-list but the text appears normally (defaults to the …

Member Avatar for hericles
0
159
Member Avatar for mrbungle

I'm not sure how to tackle this problem. I have an app that has a range of numbers, like D100100 to D100200. Right now, it's all done with a text file, and what needs to happen is each document needs it's own number in sequence. They are DUI Citations. So, …

Member Avatar for mrbungle
0
145
Member Avatar for arionyx
Member Avatar for JamesCherrill
0
2K
Member Avatar for Hazardous_Byte

Hello everyone! I am having a bit of an odd problem here. So, on my Visual Studio project, I decided to use a precompiled header. This didn't seem to cause a noticable problem up until today. I have a small segment of code that is supposed to remove one element …

Member Avatar for Hazardous_Byte
0
734
Member Avatar for Minko

Hello, I am trying to place data from a text file into an array and then sort it by date and finally display it in a text box. The part I am stuck on is sorting the data by date. As I do not want to confuse anyone trying to …

Member Avatar for Minko
0
6K

The End.