199,114 Archived Topics
Remove Filter ![]() | |
![]() | 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)) … |
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. … | |
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 | |
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 … | |
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 … | |
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 … | |
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: … | |
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++ | |
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 | |
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 | |
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 | |
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 … | |
<!-- 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. … | |
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( * … | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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. … ![]() |
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 | |
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, … | |
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 … | |
![]() | 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; ![]() |
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 … | |
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 … | |
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 … | |
i need a code for php changing image in every 2 hours at a time ... | |
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# … | |
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 | |
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 … | |
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); … | |
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 … | |
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 … | |
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 … | |
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, … | |
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.? | |
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 … | |
Guys i cant imagine about how i'm gonna calculate that one... help me out please | |
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 … | |
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 … | |
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 | |
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 | |
$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? | |
#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; … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 … |
The End.