199,114 Archived Topics
Remove Filter ![]() | |
ive been able to succesfully link a mdf databse to a vb.net program.My program runs flawlessly but if i change the location of the database from e:\new\xyz.mdf to c:\new\xyz.mdf then it throws an exception : System.Data.SqlClient.SqlException' occurred in System.Data.dll [CODE] SQLConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename= e:\new\xyz.mdf;Initial Catalog=xyz;Integrated Security=True;User Instance=True" [/CODE] And … | |
![]() | Hi everyone I am trying to develop a friend system where you can view friends who you are friends with. I have been able to get it to show one result but it wont show any other. Please can someone tell me what I am doing wrong. Here is the … ![]() |
Hey everyone, I have a pretty big problem. I need to develop a program that when opened(CONSOLE), targets a certain process and send the Shift+\ key to it, basically, I need it to type (|) the pipeline character I have tried everything, SendMessage, Postmessage, VM_KEYDOWN, VM_KEYUP and all that stuff. … | |
Hello everybody I made an personal form to upload files to different maps wich can be selected. I'm making an mistake, but I don't know how to fix this. There is no error only when the file is processed, the file isn't kept in the directory map wich was selected. … | |
Hi guys, I am stuck with this piece of code for a long time. The errors that come are: bfs.cc: In function 'void greedyMatch()': bfs.cc:9: error: expected initializer before '*' token The relevant code is [code=c] #define forallXNodes(u,G) \ for(arc *bfs_ee=(G.getSource())->firstOutArc(),arc *bfs_stopA=(G.getSource())->lastOutArc(),u=bfs_ee->head(); bfs_ee <= bfs_stopA;u = (++bfs_ee)->head()) #define forallYNodes(u,G) \ … | |
Hi everyone Forgive me if I am asking a foolish thing, i have seen several time this sign "->" in php. example is below $total_report['turnover_cost_annual'] = round($rows->turnover_cost_annual); It is bold here "ound($rows[B]->[/B]turno" can anyone please let me know how it is pronounced and whats its use in php. Any usefull … | |
I've been developing in lot's of other languages, and never had this difficult a time setting up. On a XPSP3 machine, I have WAMP in the root folder, with all parts installed. Then I have eclipse-helios for php installed as well. My file path is C:\www\HelloWorld\hello.php The follow code renders … | |
Hi I am trying to ride a program that answers a mathematic equation but I keep getting the the error Exception in thread "main" java.lang.ArithmeticException: / by zero at EquationCalc.main(EquationCalc.java:48) I cannot get around it, does anyone have any ideas? [code]import javax.swing.JOptionPane; /** This program will calculate an equation following … | |
hi i need some help about zope. i worked with django before but now i want to start a medium project(dynamic website/webapplication) with some developing in future. now i'm not sure to switch to zope. i know zope support mvc like django, but django has some really magics. does zope … | |
Hi again, After a defeat in Linux in other post (which I'm still finding a way), I have decided to give a shot in windows. However it produces DLL fine and I can use LoadLibrary(). I need it to produce .a file for static linking. How do i do it? … | |
Hey, I have just switched from C#, and in C# there was a way you could create an item (Example), and set parameters. [CODE] Example text = new Example(); Example.parameter = value; //etc [/CODE] I have searched the internet, and could not make any sense of it. Any help would … | |
I am a student, doing a project on superposition(bioinformatics). I am doing the part on rotation using matrices and I'm stuck. I need to open a visualizer (jmol) and adjust the angles of my protein structure at the same time via java codes. So I need to have 2 protein … | |
Hi, I have some pictures in a MySQL database that i am able to retrieve and display. How ever, i want to display them as images in a gallery, but not able to. The MySQL query is ok, it retrieves the images, i think the problem is with my PHP … | |
Hi Guys, can anyone help me to write a regex function for the following string .So my string is contents=false book_title='The Old Man and His Sons' sections=[ 'The Old Man and His Sons' ] now i want to extract just The Old Man and His Sons so far my code … | |
I'm trying to convert a disassembled Hex Dump to a SPIM friendly assembly file. This requires that I take lines like: [CODE] 004000f8 <_init>: 4000f8: 27bdffe8 addiu sp,sp,-24 4000fc: afbf0010 sw ra,16(sp) 400100: 0c100064 jal 400190 <call_gmon_start> 400104: 00000000 nop 400108: 0c100094 jal 400250 <frame_dummy> ... [/CODE] and make them: … | |
Hello everyone, I have been disturbed for a week now. I have a project in vb.net. And on forms I have two masked text boxes. One is for the user to enter their date of birth and in the second one Iam trying to get the date the record is … | |
Is there a good way to determine the end of a a line in a text file? I need to find of end of a line in text because all text lines are of different length. I also have to store each word (separated by spaces) into a vector. [CODE] … | |
Recently, I've being doing some j2me programming & everything is fine but some of my MIDlets constantly ask for permissions when performing I/O operations on files. I know this is for security purposes but is there any way I can provide a valid certificate for my MIDlet without having to … | |
![]() | A question has been knocking my mind today,is it possible to convert a executable file back to its source code in c++?? ![]() |
i wanna try to use ajax to async something from the mysql database.. i have read many tutorial/book/article recently and there are many things that I don't clearly understand. it looks like json is a good pick to do stuffs like loading things from a database. however, the examples i … | |
hi, sorry for this question, but i really didn't know. i want to load flash animation and put in my project? please help me.. thx, i really appreciate that. | |
![]() | Hey all, I'm working on a program where I calculate powers of two upto 60. I've made my own formula for calculating it which is: 10^([value of log 2 here]*y), where 'y' is any power as big as, say, 31. So here it is: [code=python] two=0.301029995664 final=math.pow(10,(two*n))-1 [/code] Now... as … |
Hi everyone, Somewhere in my need i need to create strings like ( x,y,z ) with 0<x,y,z<N. I was trying to use 3 for loops but it didn't work. That's what i wrote: for(int i=0;i<N;i++){ for(int j=0;j<N;j++){ for(int k=0;k<N;k++){ string t="( "; t+=i; t+=","; t+=j; t+=","; t+=k; t+=" )"; } … | |
Please help me to solve the problem.I want to rewrite the url from [url]http://localhost/demo/index.php?keyword=sap[/url] TO [url]http://localhost/demo/sap[/url] but i am facing problem in rewriting url i.e unable to rewrite url to [url]http://localhost/demo/sap[/url] i have written my htaccess as RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?keyword=$1 Please help... Thankyou [code] <?php if( (isset($_GET['action'])) && … | |
hi! i have a class from which other classes are inhertited. I then create a function GetInput() & I want it to funtion for evry object inherited by MAIN. I don't want to create separate functions for each. Is there any way for it? Thank you. | |
Has anyone tried this software? I'm going to download the Trial version but I wanted to see if anyone use's it and if it is any good. Thanks. | |
i have a Header file that i will be using for multiple programs. this file specifies integers (its for my calculator programs). is it possible to have an integer value represented as AB if the two other integers are represented as A & B without getting a compiling error? EX. … | |
Hiii.... I am stuck here.. I want a function which can return a string and also it should be able to take DEFAULT string arguments.... can anyone help me wid d syntax?? | |
I cannot seem to get Reportlab's 4 state bar code to work. I keep getting "NameError: name 'USPS_4State' is not defined", yet if I 'dir' the module it's clearly loaded; dir(usps4s) arcode', 'USPS_4State', '__all__', '__builtins__', '__doc__', '__file__', '__ e__', '__package__', '__version__', '_crc11', '_initNof13Table', '_ru13', '_t The usage is correct as … | |
How can write out rep sign (\) ? cout << "???"; | |
ineed idea about my proposal on my thesis.. using PL .V.b6 | |
Can this be done in python and which module would i have to look at. I haven't experimented with this and if I have to guess would it be the os.renames() function. | |
hi there, i have a form with text boxes and lables and datagrid view, the user enters data in one text box in the form. wen the user press ctrl+c from the key board how can i make i to copy the value entered in the textbox. and when the … | |
In a 'C' program,when I am trying to allocate memory with the help of malloc () function, it is allocating the memory up to a certain limit for e.g. in my case, it is 670 MB (approx). malloc() returns NULL if I allocate more than this amount of memory.When I … | |
This problem originates from a job interview which could be solved in C++ or C#. As far as I can remember it was to implement a queue that can be added to by multiple threads and accessed by multiple threads. I haven't tried it in C# yet although I think … | |
Can any one suggest me the java code to find the i/o usage of a process? I am able to calculate memory usage and cpu usage of a process through jav code but unable to do so for io usage. | |
Hi all, My question pertains to the reading of a text document. Currently I am reading a text file searching for certain syntax and once it finds it then it uses that line. The thing is, I am currently doing this: [CODE] while (reader.readLine() != null) { DOSTUFF(); } [/CODE] … | |
//This is my html code [CODE]<INPUT TYPE=\"Button\" CLASS=\"Button\" onClick=\"delRow()\" VALUE=\"Delete Row\"> //this is javascript function for deleting a row function delRow() { var current = window.event.srcElement; //here we will delete the line while ( (current = current.parentElement) && current.tagName !="TR"); current.parentElement.removeChild(current); }[/CODE] Thanks, Sura | |
Hello Everyone, I need help in this issue and if I solve it, I will solve all of my problems in the web program I am building. I have a list of cateogries where I can do 2 things: Start a new list under that category (list of sub categories) … | |
I want to make a jsp page which checks some condition and if it is not true it should send error response 404 to server.. so that the tomcat server should think that the page is not available... is it possible to do in jsp..??? | |
Hi, can someone tell why or how I can perform a search using text from a drop down box - I can search successfully using a textbox and bring back the correct search results - But when I am using a dropdown box my search seems not to work - … | |
i have in the Visual C# 3 options of database : 1. SQL SERVER (.sdf) 2. ACCESS (.mdf) 3. ADO.NET (.edmx) which database advisable to use??? *if you give me answer please give me tutorial\book\name of book. thanks. | |
Hello Friends, Greetings. I have a search option in my website but it doesn't work properly. And i don't want to use google search in my web page. If any1 can help me in this regard that, how to make own search engine for my own website ? Thanks & … | |
I'm working on a problem where I am trying to validate the user input to verify only digits have been used. I'm trying to use the ASCII code to do so, but I'm stuck. I would greatly appreciate any help that can be provided. Thank you in advance!!! *Delilah* [CODE]#include … | |
I downloaded OpenCV last Wednesday and tried to link it with DevC++ I followed the instructions found [URL="http://www.cypax.net/tutorials/opencv/index?language=en"]here[/URL] and I get the error cannot find -lhighgui ld returned 1 exit status I'm sure the code that I tried to compile is working because I previously compiled and ran that code … | |
Hey. I am new to webprogramming..so sorry if this question sounds stupid:D I just wanted to make an animation but in firefox that animation just doesnt appear tho it works great in IE and opera. Do you have any idea what's wrong? I use the function setTimeout() and document.all[id].style...etc to … | |
Hi Im looking for a browser compatable and stable method for taking an image of a website and displaying it on my website. For example, someone submits a link and then another person visits the page and sees there website information and an image of the site itself. Perhaps like … | |
code not working [code=c++] #include<iostream> using namespace std; typedef struct node{ int data; struct node *next; struct node *previous; }mynode; mynode *head,*temp,*current,*tail; void add(int data); int main() { head=NULL; tail=NULL; add(1); cout<<"added 1"<<endl; add(2); add(3); add(4); } void add(int data) { temp=(mynode*)malloc(sizeof(mynode)); temp->next=NULL; temp->previous=NULL; if(head == NULL) { head=temp; tail … | |
[CODE]<input type="button" onclick="move()" value="go" /> <br /> <img src="btn16.gif" style="height:100px; width:100px; top:0px" id="img" /> <script> var k=0; function move(){ var t=document.getElementById("img").style.top; t=parseInt(t); t+=15; document.getElementById("img").style.top=t; if(k<10){ k++; setTimeout("move()",1); } } </script>[/CODE] | |
Hi All, I need to write a class to draw and add some components on frame like images,rectangles. I have a class which is already written by some other person, and now i need to add 14 adjacent rectangles on the existing frame. [CODE] import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; … |
The End.