199,114 Archived Topics
Remove Filter ![]() | |
I need some help. Some collegues need to link their AutoCAD files with an external data base, in this case in Oracle. So far pretty simple, and done... Next step is to link functionality, if a record is deleted in the db, we want the corresponding CAD drawing component deleted … | |
i need to create a system to read the txt file data to datagrid but i just know read by line. that say the sample.txt file pettern as below: date time price 1/8 2:15pm $5.00 2/8 3:20pm $6.00 how i going to fill the data separate by date, time, and … | |
Hi all, I am new to this VB programming stuff, so far so good, but this last project of the semester has me wanting to pull out my hair, and the textbook is more aggrevating. I am wanting to pull info, that is typed in a inputbox, and put it … | |
I am running a .sql file against my database to build the tables. However Once i reach the Create tbl_static i recieve the following error on one of the insert statements: MySQL said: Documentation #1366 - Incorrect string value: '\x80\x99s Ba...' for column 'fld_description' at row 1 The Insert Statement … | |
class Person:IComparer<Person> { int age; public Person(int age) { this.age = age; } public int Age { get { return age; } } public int CompareTo(Person p) { return 1; } } ArrayList al = new ArrayList(); al.Add(new Person(9)); al.Sort(); it throws an error: failed to compare 2 elements in … | |
Hi all, I've recently had some issues with the streaming operator and the order of precedence used when mixing it with the member function operator (operator .) Example code is below. [code=cpp] #include <iostream> #include <vector> using namespace std; class A { public: A() : i(0) {}; int f() { … | |
Hi,I am implementing graph ,all function works except the Hamiltonian part(1 function and 2 private method).Every time i compile,it shows two error message,,i don't know how to use adjacency list or is there any way to implement it using the class declaration as given above...I have main problem on my … | |
Is it possible to [COLOR="Red"]get [/COLOR]the cursor position in any way in a textBox and also [COLOR="Red"]set [/COLOR]a Cursorpositon. I have tried out this syntax but am not sure if this is correct: I dont know what this returns. [code] textBox1->Cursor->Position::[COLOR="Red"]get[/COLOR](); textBox1->Cursor->Position::[COLOR="Red"]set[/COLOR](); [/code] | |
I'm getting pretty bored with the straight-forward database work we're learning in school. I've got very solid understanding of intermediate C++ concepts, but we have yet to implement any graphics! When I was a lot younger I mastered QBasic (which isn't much of a feat) so I should have a … | |
I wanna create a titlebar in visual basic so everytime i create new form, it wont add default windows xp look but the new title bar what i made. can anyone help me how to do this. any code will be appriceated i know how to do it for one … | |
I can't figure out how to validate that no duplicate numbers have been entered, and when they enter a duplicate number it should alert them that they can't do that. Can someone please help me out? [code] <style type="text/css"> body {text-align:center; background-color:#151B8D; color:white} p.intro {text-align:center; font-size:24pt} h1 {font-size:30pt} </style> <script … | |
I want to override the maxlength (chars) seetings below for my board, however [B]I dont have direct access to the templet[/B] . Is there a way to script it to increase maxlength? [code]<tr> <td colspan="2" class='pformstrip'>Topic Settings</td> </tr> <tr> <td class='pformleft'>Topic Title</td> <td class='pformright'><input type='text' size='40' maxlength='50' name='TopicTitle' value='' tabindex='1' … | |
If I have a textBox that contains this information below wich meens 2 lines. What I am trying to do is to search this textBox with a while loop for the word: "five" and when found this word, I wonder if this word has any kind of substringindex where I … | |
write a program that reads the number of student from keyboard. Then it reads each students name, family name and average and keep these values in the memory. Then the program will sort students according to the choice of the user. You must also format the uppercase/lowercase according to the … | |
I am implementing code to program a hangman game in C++ for my CSP class. So far, I am working on the random string function as well as calling the body parts as void functions. I am attempting to compile what I have as of now to see how it … | |
Hi I am using C# - Windows Application wat my requirement is i have the gridview in my form and also i bind the table to gridView 1 ) how to select a row in the gridview... wat the code... then wher shall i write the code..? 2) if i … | |
Hi all, In my program I am using RMI call to a service in a remote host. My program runs without any exceptions from within eclipse, since I have all the packages and jar files in my build path. However, the program needs to eventually run from the command line. … | |
Hi there, can a service written using C# to open another application written using C# too , In other word I wrote a service which I need to open forms and do more , so I had a windows application to perform all what all I want, but I do … | |
Need to be informed on how to code and also how my coding should follow.If possible need to be shown with an example of how to code.Ihave never done this so please assist me. | |
Hello, I can run php scripts on my computer from the command prompt but I can't open it through my web browser. My assumption is that this happens because apache is not configured to use php. Does anyone know what lines(s) I should add to apache's httpd.conf file? I found … | |
i seem to have messed up on the out put some how [code] #include<iostream> #include<cmath> using namespace std; char ans[16]= {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'}; int digit2value(char); char value2digit(int); int conversion(int, int, int); int reversing(int p[],int i); int main(){ int radixa,radixb,number; cout<<"radix a(10) ";// i am going to changing program cin>>radixa; // after i … | |
I have a DB to setup using products: This is what I have and am seeking input and design for Inventory. I want to separate inventory by product properties (i.e. Sizes [Small - Medium - Large - X-large ] Color [White - Black - Green] ) So, count by color, … | |
Here is our requirement. We use Php Scripting & Mysql as a back end. We need to add multiple (detail) records for a single invoice in a html page. First time, the end user should see only only one blank record. when he wants to add one more record, he … | |
Hey - sorry if this is the wrong place for this. I have this basic chess game I'm making, and I'm done with the first alpha build of it. It works fine when I compile it on my own computer, but when I bring the exe to a different computer, … | |
I am working on a GDI+ application in VB 2005 and can’t seem to find a solution for a problem with graphicspaths. This is a Windows application and I am allowing the user to freehand draw on a picturebox which has a background image loaded. I want to allow the … | |
I have a wondering that if I write a specific word in a textBox in C++ .NET like for example the word: "Name" What I wonder here is that when writing this word it will turn to the color of blue when the word is written. So if there is … | |
[QUOTE]Hey all, i'm having a bit of trouble with this - it's a program that should display the factorials of all numbers from 0 to k in the range 1-10. here's what i keep getting: Enter a number to see factorials for: 10 10! = 100 9! = 90 8! … | |
i need some advice.. I am doing a login function, which the login page (which contains session) was in aspx. After successfully login, the user will be redirected to a html page (which i want to retrieve session from the login page). After the session expires, the user will be … | |
Hi guys, i am new to asp.net and i may raise many questions in the coming months hope you guys can give me a hand And here is my question at this moment. i have built a content page in advance, without declared as select the master page. now i … | |
I am trying to create a program that will do address standardizing. I have to compare two files. One file is a master file that has all the correct info I will need to use. The other file is a collection of data received from seperate individuals. Not all individuals … | |
I have a multiview inside a form view. The multiview active index is based on a dropdownlist selection, I found out that I need to put this line somewhere: [code=vb] <script runat="server"> Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) MultiView2.ActiveViewIndex = DropDownList1.SelectedValue End Sub </script> [/code] My … | |
Hi all, I would like to open a file in Local drive using Asp.net, And I have written the following code in user control which could open the file, Response.AddHeader("Content-Disposition", "attachment; filename=" & strFilename) Response.WriteFile("C:\\open\\" & strFilename) Response.Flush() Response.Close() The above code working fine in .Net 2005, In SharePoint also … | |
Hello to you all! In the website design for my school it happen that for a couple of weeks student were unable to get connected to the website and the website was design with php as a computer programming from the school we want to know what was the real … | |
Greetings, Does anybody have any ideas or existing code how to make a ratings systems i.e. Users select 1-5 on a drop down box and it calculates the average from all the previous values, the system uses an MS Access database to store the data (Rating feild exists in the … | |
I am relatively new to mysql. I am updating a site for a customer, and I'm using mysql 5 w/ phpMyAdmin. I was supplied an .sql (echeck.sql) script to build the database for this site. I create a database named "echeck" in phpMyAdmin, and once created go to the import … | |
My instructor at my engineering institute has given the following assignment question: Create a database of scientists and labourers and maintain the same by making use of inheritance. We haven't been taught the database connectivity with program execution, so that's not to be used. I wrote the following code: [code] … | |
I've been working on this script all weekend and am almost done with it accept for one last detail; implementing a "process another number?" prompt after a user input is processed. The script works like this: First, the user enters a number to test (to find the two prime numbers … | |
I have a from created to fill out and print. I have the form size set but when I run the program I cant scroll down to fill out the bottom part of the form. I have added a vertical scroll bar to my for but it does not move … | |
Hello, I recently the following code on an online tutorial [CODE] <ol> <?php foreach($todo as $item): ?> <li><?=$item?> </li> <?php endforeach;?> </ol> [/CODE] Could someone tell me why the list printed even though the whole thing is not contained within a single php bracket : <?php .... ?>. Thank you. | |
Hey I know this must be simple, but how do I prevent windows media player playing automatically when the form it is contained on is loaded? Thanks | |
how do i write a C++ function called RepeatingWords that displays a word (passed in through a string type parameter) N (also passed through a parameter) times. Then, write a calling statement for the function | |
Hi everyone, i am a newbie to PHP and i am struggling with the following error. i am trying to follow this [URL="http://www.roscripts.com/PHP_login_script-143.html"]link[/URL]l tutorial but its not working. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /Applications/MAMP/htdocs/functions.php on line 73 Warning: mysql_num_rows(): supplied argument is not … | |
Hi all. I am new to C#. I am getting a zero when a multiplication. Actually i am not able to pass a values to the class from the client, through the objeuct despite having a constructor. Below is the code.(I have excluded the Cube class since it is just … | |
Hi, First i would like to thanks for everyone who helped here to me and everyone. I installed script on site.All features works fine. but after few hours image-code verification is not working?i didnt understand.Please be advice.[URL="http://www.dateorfling.com/date/profile.php?user=akeating"]Link for image-code verfication working and now not working[/URL]Thanks | |
i need some advice.. I am doing a login function, which the login page (which contains session) was in aspx. After successfully login, the user will be redirected to a html page (which i want to retrieve session from the login page). After the session expires, the user will be … | |
Hello, I need a program that calls out some code after every x milliseconds and in the same time it waits for keyboard strokes to change the interval time and code what is called out. I should use threads (one for waiting for keyboard input and others for intervalled wake-ups). … | |
I am making a website to show Londoners where the nearest toilet to them is. I am having problems getting the data into the google maps application. It was working yesterday and now it isn't. Im confused to say the least any help would be much appreciated. [code=php] var markers … | |
Hey, I'm relatively new to OpenGL but I have a little experience in C and I was wondering how I would set the pixel coordinates of an OpenGL windows. Its a little hard to explain what I mean but for example if I would like to instead of having (x,y) … | |
Hi All Based on the information below. When I call gradeArticle(myArticle, text) I get an error (free(): invalid pointer). The code works the first time and seems to error when called again. Even with all the code commented out of the gradeArticle method I still get the same error. I … | |
i have a project with lv buttons ..when i load it it says lv button .ocx cannot be loaded.i have copied tat lvbutton.ocx into my system32 directory and in start menu run i have done this too regsvr32 c:\windows\system32\lvButton.ocx it also succeeded..but still it says that lv button.ocx cannot be … |
The End.