199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for සශික

I just use this code to input data to oracle database from vb.net. Try Dim mstream As New System.IO.MemoryStream() PictureBox1.Image.Save(mstream, System.Drawing.Imaging.ImageFormat.Jpeg) Dim arrImage() As Byte = mstream.GetBuffer() mstream.Close() query = "INSERT INTO ds.students (ID,NAME,PIC)" & _ "VALUES (@ID,@NAME,@PIC);" Dim cmd As OracleCommand = New OracleCommand(query, con) cmd.Parameters.Add("@ID", Convert.ToInt32(TextBox1.Text)) cmd.Parameters.Add("@NAME", Convert.ToString(TextBox2.Text)) …

Member Avatar for Santanu.Das
0
4K
Member Avatar for Learner010

first off, i've never been to web development. I'm developing my personal website where, for some purpose , i need to display some math figures. And somebody suggested me to use mathjax for this purpose. i tried it on my own. it works. but i see some font-size related issues. …

Member Avatar for hericles
0
182
Member Avatar for Seung Hwan

I want to draw trace of car and mark and infowindow by using googlemap api and php. when I write url like "http://maps.google.com/maps/api/js?v=3&sensor=false", after "//", it's just comment not url and it occurs File does not exist: /var/www/maps.google.com problem... I tried $aa = "http:/"; $bb = "/maps.google.com"; $aa.$bb/maps/~~~ but not …

Programming api google-api php
Member Avatar for hericles
0
231
Member Avatar for Anand_6

I want to download "Bhavcopy.cvs" file form "bseindia.com" on everyday at 5 pm. automatically. So, I want php code that automatic download this file from "nse" website... Please help.. The URL goes as follows http://www.bseindia.com/download/BhavCopy/Equity/EQ140316_CSV.ZIP I want to build an automated function to automatically upload reports from a URL at …

Member Avatar for hericles
0
538
Member Avatar for Violet_82

HI guys, I run into a problem. I have a input of type file and I'd like to grab the file name of the uploaded file and assign it to a variable, but I don't seem to be able to do that. I'm hiding hte input with opacity 0 and …

Member Avatar for Violet_82
0
321
Member Avatar for Dylan_6

Hi, I am currently in UNI studying Media (Video, Music, Design and also Web Development). As its summer I would love to have a side project. I've been meaning to learn how to create a text based RPG game, I am curious what skills I would need to make a …

Member Avatar for rproffitt
0
335
Member Avatar for Tidra

Hi guys i'm trying to do a programm for school.I have to create something using " semaphore " and i solved it using "#include <sys/sem.h>". Now i'm trying to make this work on Windows 8.I have done many exercises here and they worked,but now there is a message of error: …

Member Avatar for rproffitt
0
261
Member Avatar for mabdullah4

I want from program that it force the user to input valid value.When ever user enter caharcter in integer valriable it force the user to input the right value.But this does not work.If user input invalid value it start looping. #include <iostream> using namespace std; int main() { int x; …

Programming c++
Member Avatar for AssertNull
0
3K
Member Avatar for Learner010

I'm using mathjax in ckeditor and i want to print the fraction (uploaded here in the link [Click Here](http://tinypic.com/r/23k465g/9)).So,what command i have to write to print that fraction ? Here is what i'm trying : `$$7\(frac\({4}{3}\)\)$$` But it isn't working. So , please suggest me a solution

Member Avatar for rproffitt
0
135
Member Avatar for hhaannyy

I was very tired of searching, but I did not find anything i have a from and its minted textbox and CheckedListBox the CheckedListBox have five choices and i want to insert the Items(more than 1) Checked from the CheckedListBox and the textbox into a table in the database like …

Programming vb.net
Member Avatar for Mr.M
0
2K
Member Avatar for mabdullah4

Why This Program is not Changing Directory from C:/ to H: Drive or D: Drive. #include<iostream> using namespace std; int main(int a,char *b[]) { int option; cout<<endl<<"Enter 2 for 2nd Semster Programs "<<endl; cout<<endl<<"Enter 3 for 3rd Semster Programs "<<endl; cin>>option; if(option==2) { system("D:"); system("explorer ."); } else if(option==3) { …

Programming c++ file-system
Member Avatar for AssertNull
0
360
Member Avatar for dawbin

I'm trying to display an image on an HTML page using a PHP script in the image/src tag, but the image is broken. When I hard-code the output of getimage.php into the HTML it shows up just fine so I know the base64 encoding is correct. The page that shows …

Member Avatar for Tpojka
0
1K
Member Avatar for Aeonix

<!-- example --> <html> <head></head> <body> /* Lots of contents, header, etc. <?php if (isset($_GET["id"])) { echo $anexample[$_GET["id"]]["test"]; } ?> </body> </html> There would be links that would say `example.php?id=1` and `id=5` and `id=9`. However I'd like page to rerender just that particular place. Nothing else in page will change. …

Member Avatar for invisal
0
279
Member Avatar for shany0786

i have table category_master(cat_id(pk),category_name,active) and sub_category table with fields(sub_cat_id(pk),category_id,sub_category_name,active) now what i want is count number of active sub categories having value=1 if this count is 0 then update active=0 in category_master table i have been trying this but no go,can anyone help me in this? SELECT active,category_id, count( * …

0
110
Member Avatar for BabaRoro

Hi all , i want to cast the output of fuzzy logic algorithm into any another type (float , int ,double..), i tried this with usual methods but there is no change.. This is the complete java code public static void main(String[] args)throws Exception { String filename = "output.fcl"; FIS …

Member Avatar for BabaRoro
0
309
Member Avatar for Qazinix

I am having an issue with my program it should start the msconfig program when the button is pressed but it doesn't start, however when I change the file name to Cleanmgr it starts up perfectly. ShellExecute(handle, 'open', PChar('cleanmgr'), nil, nil, SW_normal); ShellExecute(handle, 'open', PChar('msconfig'), nil, nil, SW_normal); I assumed …

Member Avatar for Qazinix
0
477
Member Avatar for Izio

Hi there, I need some help to finish that code, In fact, there is one problem in my code : The last line, when i tried to convert a hexadecimal number in int. The problem is, I got variables containing : ff or 00 or C6 etc... And i want …

Member Avatar for Izio
0
350
Member Avatar for Mayukh_1

I have a text file in the form like below sourceFiles { hello.cpp, hi.cpp, main.cpp, } headerFiles { hello.h, hi.h, } path { source [ what, how, which, ] header [ include, inc, head, ] } I need to populate several lists from this text file. So far I have …

Member Avatar for jacks009
0
430
Member Avatar for TheFearful

Hey everyone, I decided to do a lot of echos to make a letter for different selections based off the user. Everything works well except that when the user selects one of the options, two different letters are shown on the page and it's only for one of the options. …

Member Avatar for TheFearful
0
305
Member Avatar for hhaannyy

this is the code of the from which i trying to open form the login form it is say invalid attempt to call read when reader is closed Imports System.Data.SqlClient Public Class Form40 Private Sub Form40_Load(sender As Object, e As EventArgs) Handles MyBase.Load Label1.Text = users Dim user_Name As String …

Programming vb.net
Member Avatar for hhaannyy
0
2K
Member Avatar for johndohmen1963

I have a question is there a way t write the following in a shorter way because i have to write this all about another 25 times. there is always one difference with one of all the textboxes. ' zonder roepnaam en zonder tussenvoegsel, wel vader maar vader geen tussenvoegsel, …

Member Avatar for ddanbe
0
257
Member Avatar for fflime

I want to make countdown timer in multiple choice. I want to display question one by one. But when I click next for the next question, the time is start from 10 minutes again, not continue. How to make an alert if the time was over, it would be directly …

0
135
Member Avatar for සශික

heY guys, I just step to oracle database system. so I'm new to this. I'm trying to make connection oracle db with vb.net. I saw below connection string on web. But I dont know it's keywords. So please teach me. SERVER=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort))(CONNECT_DATA=(SERVICE_NAME=MyOracleSID))); uid=myUsername;pwd=myPassword;

Member Avatar for සශික
0
213
Member Avatar for SpottyBlue

Hi, I need help with the attendance form. I’ve changed the coding in the attendance form (index.php). When I tried to update the first row, nothing happened. For the last row, the message says, "**We couldn’t update the attendance form at this time**." Please check lines 96 and 101 to …

Member Avatar for SpottyBlue
0
249
Member Avatar for James_43

Hi all, I've been trying to create a friendly time function for a while, it's purpose should be quite obiovus from the code below. Currently, it outputs "expired" for everything. I am so utterly confused from visualising the code and trying to figure out where the times lie in relation …

Member Avatar for James_43
0
309
Member Avatar for jonsan32

I'm trying to create a menu on my site that is a 4x5 grid. I've kinda designed the default state with the code below, but I'd like for that to be the 4 headers with the top 4 cells and the remaining cells to be random b&w pictures used as …

Member Avatar for Troy III
0
235
Member Avatar for infoitmanoj
Member Avatar for JohnMcPherson

Hello, I am having a problem with the fgets statement not reading data correctly. It reads most of the data I need without a problem, but three lines of data are not read correctly. The code in question follows: strcpy(passw,"P7"); fscanf(fip, "%3s", ckod); /* card # 164 */ fprintf(ff16,"\n\n%12s%12s\n", "card# …

Member Avatar for AssertNull
0
3K
Member Avatar for Roger_2

i cannot find a reliable source online that explains the proper syntax and my instructor's help is negligible. Please any insight is greatly appreciated. This is my last study guide question for my final later today! the problem is identified with arrows below. i was provided source code to a …

Programming java linked-list
Member Avatar for JamesCherrill
0
552
Member Avatar for michael.dewitt.716

Good morning all, i have a somewhat complicated question; which i am trying to learn to answer myself. I have a couple of questions about what it is that i am trying to accomplish, ie is that a RESTful or WCF action that im trying to accomplish. So for the …

Member Avatar for michael.dewitt.716
0
2K
Member Avatar for thatsnotmyname

I've been working on some IG API and when I try to get the IG username I get this error I just don't see anything wrong with my code did I miss something ?? ( ! ) Notice: Undefined index: user in C:\wamp\www\folder\index.php on line 39 <?php set_time_limit(0); ini_set('default_socket_timeout', 300); …

Member Avatar for hericles
0
425
Member Avatar for JohnMcPherson

Hello, I am developng a screen for a state to enter special rates to augment its unemployment trust fund. I have the screen coded, and it compiles cleanly, but when I try to run it, the screen does not come up. There is no error message and no file I …

Member Avatar for JohnMcPherson
0
374
Member Avatar for lmalave

Hi, I am trying to get the the number of rows that are populated in a SQL Server table. I am using the code below but it only counts one row everytime when I know in fact that there are 47 row in a particular table. Could someone please point …

Programming dataset sql vb.net
Member Avatar for lmalave
0
574
Member Avatar for nitin1

Hey, I have been reading Java oracle tutorials. I read this thing. Suppose, for example, class MsLunch has two instance fields, c1 and c2, that are never used together. All updates of these fields must be synchronized, but there's no reason to prevent an update of c1 from being interleaved …

Member Avatar for JamesCherrill
0
276
Member Avatar for Aeonix

If user issues a query, I would like AJAX to download the result of query into browser so that JavaScript can do the parsing. The results could be around 1MB-5MB (at most, doubt it would get anywhere near 0.1MB), and I would send it from PHP to front-end using JSON, …

Member Avatar for ryantroop
0
304
Member Avatar for josh.sm

I started new Ecommerce website ..developed in php.(codeigniter)..and it is SEO friendly but we are in only gifting category .but any one please suggest me how attract people to our website.?

Member Avatar for jacks009
0
200
Member Avatar for Jatinder_1

I am retrieving images from database, Now how can i link dynamically images to their url which are also stored in same table, image coloum is adv and url coloum is adv_url , Moreover i dont want to see the url , when i click the image it should go …

Member Avatar for jacks009
0
443
Member Avatar for Quezia
Member Avatar for rouse

Apparently I don’t know how to insert a row into a MySQL data base using PDP and I would like to know what I am missing This PHP PDO script does not insert data into a database. I would like to know why. It does not error out but the …

Member Avatar for cereal
0
582
Member Avatar for screenedcreamy

Hello, I need to extract a particular value from this html snippet. As i would not like to use any external libraries the only way to achieve this using core java is using regular expressions. As i have never used regular expressions it would be great if you could suggest …

Member Avatar for JamesCherrill
0
236
Member Avatar for AntonyRayan

Hi, I need your help to plot multiple locations from mysql table using latitude and longitude and I want to display a particular location in different color using google map or any other

0
126
Member Avatar for Roger_2

part of my program includes my boolean 2d array: `boolean[][] matrix = new boolean[V][V];`i want to iterate through the vertex and check if it is true but am getting error: cannot convert from boolean[] to boolean. casting `(boolean)` does not help. i have also tried `boolean[v][w] == true`. here is …

Programming java
Member Avatar for JamesCherrill
0
275
Member Avatar for 32blaine

$res=mysql_query("SELECT * FROM users WHERE username={$_SESSION['user']}"); This line is giving me a lot of trouble. It returns blank when it should be returning something. Anyone have an idea?

Member Avatar for 32blaine
0
87
Member Avatar for n00b321

#include <iostream> using namespace std; //Linked List: Delete a node at nth position struct Node { int data; Node* next; }; Node* head; //Global void Insert(int data) { //Insert an integer at the end of list Node* temp1 = new Node; temp1->data = data; temp1->next = head; head = temp1; …

Member Avatar for n00b321
0
9K
Member Avatar for MidiMagic

I made the following css: .mo {font-family: monospace; font-size: 9pt;} td {border: solid thin #000000; padding: 4pt;} With the following html (part of a table) <td class="mo">abcdefg <br />hijklmn</td> The text is not displaying in a monospaced font in Firefox. The i is narrower and the m is wider. The …

Member Avatar for MidiMagic
0
230
Member Avatar for kognar65

Hello, I’ve got an assignment from my math teacher to do with c++, because I am studying IT. The problem is that we didn’t even learn c++, I know only what I thought myself, so I need someone’s help. The task is to make a simple program that would be …

Programming c c# c++
Member Avatar for rproffitt
0
301
Member Avatar for TheFearful

Hey everyone, I have a question and I am not sure if it's possible or not to do it with what I'm using. I am using HTML, PHP, JavaScript, and mySQL to make a web page that pulls information from a Database. After that, I want to have a dropdown …

Member Avatar for TheFearful
0
583
Member Avatar for screenedcreamy

I have some java code which calls an asynchronous REST API to finish a task that takes a while to complete, this call returns a task ID. We would need to use the task ID and trigger another REST call to retrieve the task completion status. Please suggest the best …

Member Avatar for screenedcreamy
0
161
Member Avatar for facarroll

I have a MySQL database which contains a text field which contains well formed xml. I want to export this data as an xml file named result_new.xml on the fly. I have made the tmp folder and have set the permissions on the folder to 0777. If I run this …

Member Avatar for facarroll
0
1K
Member Avatar for Cj_4

so i have a combox that will tell you that which data will appear like "name", "contacts","website","email" and data will appear in gridview but i want to filter the data in gridview example in name if you type a all data starting with a will appear and everything starts with …

Member Avatar for Cj_4
0
300

The End.