64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jmasta

Hi folks, quick question for ya. I'm working on getting a custom context menu to work in Firefox (it was written for IE with behaviors) and I can get the menu to pop-up, but i'm getting a javascript error when it does. (Also, nothing in the menu works, but I …

Member Avatar for jmasta
0
127
Member Avatar for Scuppery

Hey there everyone I need a little help. Right now I am in the process of writing a program that uses subscripts and superscript but I dont have a clue how to get them. I am not even sure if they can be used in python so if any of …

Member Avatar for jrcagle
0
5K
Member Avatar for wtf???

im new with c++ and dont know much but want to save the answer to the program i made when i do it names the file ÿÿÿÿ also the type of file is just called file how can i make it like .txt or somthing also just ignore the useless …

Member Avatar for wtf???
0
206
Member Avatar for kye

I am sending a query result (query in CF8; data in MS SQL Server 2005) to an XML output (using the <cfxml variable="outputname"> and <cfcontent type="text/xml"><cfoutput>#toString(outputname)#</cfoutput> tags), using CF8. When the output (in SQL Server as nvarchar) contains special characters like "-40° to 70°C" the ° symbol causes the error; …

Member Avatar for kye
0
196
Member Avatar for Jennifer84

I have Created a Form1. On this Form I have a button that opens Form2 like this: [code] Form2 ^form2 = gcnew Form2; form2->Show(); [/code] Now if I click on Form1, Form2 will "dissapear" under Form1. What I wonder is, if it is possible to click on Form1, but stil,l …

Member Avatar for Jennifer84
0
123
Member Avatar for wtf???

i spent a long time trying to fix this probably somthing stupid but please help me. i dont see any problem but its probably somthing stupid. it compiles ok and when i run it it works until i get to the equations it prints somthing like 1.62111e-307 here is my …

Member Avatar for wtf???
0
116
Member Avatar for peter_budo

Does anybody know how to setup PHP on Tomcat 5.5? I found this tutorial [URL="http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/"] http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/ [/URL] but i can't get it work. Can somebody help? Thank you

Member Avatar for gauravgarden
0
187
Member Avatar for ishlux

Hi.....is this code right......... [code=php]<html> <head><title>auto alto system</title></head> <body> <table> <tr> <td> category</td> <td><select name="category"> <option value="sercategory">service category</option> <option value="servicetype">service type</option> <option value="services">services</option> </select></td> </tr> </table> <?php include 'database.php'; $result = mysql_query("SELECT * FROM service_category "); while($row = mysql_fetch_array($result)) { echo $row['servicec']; echo "<br />"; } if($_POST['category'] == "servicetype") { …

Member Avatar for ishlux
0
85
Member Avatar for Agni

[code=c++] #include <iostream> using namespace std; class Lock { friend class First; private: Lock() { } }; class First : virtual public Lock { public: void function() { cout << "function1" << endl; } }; class Second: public First { public: void function2() { cout << "function2" << endl; } …

Member Avatar for ash05
0
161
Member Avatar for FTProtocol

Just thought id post here while i search google at the same time because well two brains are better than one :) The Asc function converts the first letter in a string to ANSI code, and returns the result. Syntax Asc(string) Thats the VB version of it, i need something …

Member Avatar for hacker9801
0
214
Member Avatar for FTProtocol

[CODE]Linking... Main.obj : error LNK2001: unresolved external symbol "int __cdecl ConvertANSI(char)" (?ConvertANSI@@YAHD@Z) Debug/szStub.exe : fatal error LNK1120: 1 unresolved externals[/CODE] Defined: [CODE]#include <windows.h> #include <math.h> #include <iostream> using namespace std; int ConvertANSI(char sChar); [/CODE] Function: [CODE]// Credits to Dave int ConvertANSI(char szText[]) { return static_cast<int>(szText[0]); }[/CODE] Usage: [code] if(ConvertANSI(szChar) >= …

Member Avatar for mitrmkar
0
85
Member Avatar for motofoto

Hi I have Client, Owner, and Staff entity, they all are persones!! with additional criteria... Client ID, FName, MName, LName Owner ID, FName, MName, LName Staff ID, FName, MName, LName so Is there a concept of inheritance in RDBMS like SQL-Server-2005 if so how can I implement it. At lease …

Member Avatar for motofoto
0
123
Member Avatar for venu@baylogic

Hi all, Nice to meet you here.... Any free downloadable tools are available for ASP ??? Please assist me to move forward with ASP... I did not found any tools here,please inform me if you know any tools.. Thank U Take Care Bye...................Bye

Member Avatar for x3mario
0
113
Member Avatar for FTProtocol

I completely rewrote the Stub i was writing because my VB -> C++ was shocking. VB Version: [code=vb] Public Function TempPath() As String Dim WindirS As String * 255 Dim TEMP TEMP = GetTempPath(255, WindirS) TempPath = Left(WindirS, TEMP) End Function [/code] The Left function returns a specified number of …

Member Avatar for FTProtocol
0
89
Member Avatar for pedramphp

I want to code like this but I am limited the Problem is I dont want to brint the If statement out of the heredoc what is the solution [code]echo<<<ENDSTRING <div> if($i==2) $i is 2 </div> <div class='ProDividerA'></div> ENDSTRING;[/code] thanks Pedram

Member Avatar for R0bb0b
0
110
Member Avatar for myth3_16

Hi All, I am trying to get this working. I have two drop down menus, you select one and the other is populated according to the selection from the first one. Now what I want to do is when selecting an item from the second drop down i would like …

Member Avatar for Luckychap
0
156
Member Avatar for camthalion95

I want to make an engine similar to [URL="http://unreal.com"]Unreal[/URL] for PC, 360, And PS3. Who Wants to help?

Member Avatar for camthalion95
0
141
Member Avatar for kdw3

Hi, I am trying to use a 2D array to gather information from a dialogue box. The array has been publicly dimensioned in a module. Before the dialogue box is opened, there is data in the array, and thats fine, but as soon as soon as the dialogue box is …

Member Avatar for kdw3
0
124
Member Avatar for java_girl

Hi. Objective: Write a program that declares a 12*12 array of characters. Place Xs in every other element. Use a pointer to the array to print the values to the screen in a grid format. Listed below is my non-functional attempt. Any help would be most appreciated. Thanks, Molly [CODE=C] …

Member Avatar for Dave Sinkula
0
123
Member Avatar for veledrom

Hi, I set DataGrid1 column width as follows, but it doesn't effect when i run my program. [code] DataGrid1.Columns(0).Width = 3030.236 DataGrid1.Columns(1).Width = 1604.976 DataGrid1.Columns(2).Width = 1904.882 DataGrid1.Columns(3).Width = 1065.26 [/code] Thanks

Member Avatar for veledrom
0
111
Member Avatar for k2k

I try to simply concat the arguments if they are not the same..... what is wrong with this simple code for concat??? [CODE] #!/bin/sh result=$1 shift while [ "$#" -ne "0" ] do next=$1 if [ $result = $next ] then : else $result="$result $next" fi shift done echo "$result"[/CODE] …

Member Avatar for omrsafetyo
0
87
Member Avatar for licruzny

Please help with the following linked list program. Any help is good =] Use a linked list to do this program a store recieves shipmesnts of chairs at various cost. the store policy is to charge a 35% markup, and to sell chairs which were received earlier before chairs that …

Member Avatar for licruzny
0
163
Member Avatar for guravharsha

Hi, In main.jsp i wish to display the data from the database( user information stored in user table ). my codein main.jsp is: [code=JSP]<h2> description about user:</h2> <% Statement st = null; ResultSet rs = null; rs = st.executeQuery("Select description from user "); %> <option value = "<%=rs.getString("description")%>" > </option>[/code] …

Member Avatar for peter_budo
0
114
Member Avatar for Andina

I am having difficulty setting my computer up in order to do JSP. Some people are telling me to use Jakarta others are saying Apache Tomcat. When I try to find the things to download there are so many options with little or not tutorials accompaining it. Could someone provide …

Member Avatar for peter_budo
0
92
Member Avatar for anuizath2007

Does anybody know how to this question.... An election is contested by 5 candidates.They are numbered 1-5 and the voting is done by marking the candidate no on the ballot paper. Writea program to read the ballots and count the votes cast for each candidate using an array variable count.In …

Member Avatar for anuizath2007
0
292
Member Avatar for twburkle

My program currently takes three inputs from the user ( Wage, Hours, Tips ), then it calculates the gross income. Im brushing up on my c++ and Im not sure what functions I need to look for, but I know what I want to do. 1. I would like to …

Member Avatar for twburkle
0
129
Member Avatar for jakesee

Hi, I need a clue on how to design a Many to Many relational database. For example, I have a products table and a supplier table. each product can be supplied by many suppliers each supplier can supply many products how can I orgranise this data in the tables? I'm …

Member Avatar for jakesee
0
89
Member Avatar for cheesedoodle

I started trying to teach myself how to program in python just a few days ago. I have been using a wikibook for non programmers and it has this piece of code as an example. I CAN NOT for the life of me figure out why it outputs the value …

Member Avatar for vegaseat
0
133
Member Avatar for TheOneElectroni

Hi everyone, I have a problem to insert text into a text widget in Tkinter. I want to be able that each time some text is inserted (by means of an action -not directly by the user-) that text is displayed into a new line. However I can't figure out …

Member Avatar for TheOneElectroni
0
4K
Member Avatar for Kavitha Butchi

Hi all, Instead of passing the variables to the other page and coding mysql queries there.. Is it possible that we can use the mysql(DELETE...) query within the anchor tags in the same page? <a href >... to delete a particular row in mysql table? Like having a link called …

Member Avatar for Kavitha Butchi
0
538
Member Avatar for 010Nick

Hi I have been writing VB.Net for a few weeks, it has been going well but I am now stuck. I have multiple user controls on a form and I need a way to remove a selected one. I was hoping that something like this would do it [code] Private …

Member Avatar for 010Nick
0
204
Member Avatar for QuantNeeds

Hello, The following code works but I am having trouble formatting it with setw() and I am not sure if it possible to format it with a space so that the entire seat header fits on one line and for the rows to also fit on one line with spaces. …

Member Avatar for Nick Evan
0
111
Member Avatar for risa

String functions like strcpy,strcat,itoa...shows warning as "declared deprecated" in Visual Studio 8.0 instead it suggests to use functions which are enhanced secure versions of the same such as strcpy_s,strcat_s,_itoa_s.....using this in my file removes those warnings but i am using this same file in visual studio 6.0 here it gives …

Member Avatar for risa
0
3K
Member Avatar for jakesee

Hi there, I'm quite new to AJAX and need some help on a peculiar firefox behavior regarding forms submission. I have have an input field ...<td id="ajax_field"><input type="text" name="hobby"></td>... I am adding an option to change this <input> to <select> if the user wishes to choose from a list instead. …

Member Avatar for jakesee
0
149
Member Avatar for manojthanal

I am started a new with VB6 Access project. I am connected database with ADODB, DSN Method that Code Given below. '======================In module ============== '=================== Connection With Database =============== '====================================================== Public CNN As New ADODB.Connection Public RS As New ADODB.Recordset Public cString As String Public Sub Main() Set CNN = …

Member Avatar for manojthanal
0
393
Member Avatar for grr

I'm making a virtual pets script. Example of problem: User 1 creates a pet named "PET". User 2 creates a pet named "PET". Should be: User 1 creates a pet named "PET". User 2 creates a pet named "PET" but gets an error saying that the name is already taken. …

Member Avatar for grr
0
90
Member Avatar for novadose

First off i would like to say i am very new to vb, i am using vb 2008 express edition and while making a web browser (which is supposed to be one of the easiest things to do), i decided to some image links to some of my favorite sites, …

Member Avatar for novadose
0
86
Member Avatar for QuantNeeds

Help I am having the following error: error C2446: '==' : no conversion from 'int' to 'char *' When I tried the following it ignores my counter and I am not sure why. This is a serious problem because it creates and infinite loop that keeps printing. [code] if(char(seating[openSeat + …

Member Avatar for Duoas
0
3K
Member Avatar for QuantNeeds

Please help – I am having either some logic issues or formatting issues: My code is the following: [code] #include <iostream> using std::cout; using std::cin; using std::endl; #include <iomanip> using std::setw; using std::setprecision; #include <cstdlib> // contains prototypes for functions srand and rand using std::rand; using std::srand; #include <ctime> // …

Member Avatar for QuantNeeds
0
98
Member Avatar for titaniumdecoy

The default copy constructor should work for the Polynomial class below because it does not contain any dynamic data types. However, when I create a new Polynomial via the copy constructor, it prints 0 for the value of each coefficient. How can I fix this? [CODE]#include <iostream> #include <vector> class …

Member Avatar for Duoas
0
141
Member Avatar for hacker9801

Hey. What's better, i++ or ++i? Well ++i returns the value after it's incremented, but which is faster? (not necessarily for int, user-defined types with operator++ overloaded too.)

Member Avatar for hacker9801
0
115
Member Avatar for kasunc

hello pals, I need a help with using re module to search and convert uppercase words in a string to title case Eg: [code] mystr='Hello everybody. Some times THERE ARE upper case words' #Results should be 'Hello everybody. Some times There Are upper case words' [/code] Hope you can give …

Member Avatar for kasunc
0
296
Member Avatar for adaykin

Hello, I want for the user to be able to click on a button that lets them add a <tr> full of <td>'s and <input>'s in the <td> tags. So I have code like: [CODE] <script type="text/javascript"> function addRow() { // Insert a row too the table with td's and …

Member Avatar for adaykin
0
131
Member Avatar for myzyzy

I am currently testing replication on mysql 5.0.9 running on Win XP Pro on 2 servers , one as a master , and another as slave , basic master-slave configuration. The slave have 2.5 GigaB of RAM,300GB SATA2 HD & on Intel 2.4ghz Core Duo and the master have 1 …

Member Avatar for mwasif
0
79
Member Avatar for wrappingduke

Hello, i'm attempting to create a splash screen using the code snippet posted on this site(i.e. DaniWeb) - [URL="http://www.daniweb.com/code/snippet697.html"]http://http://www.daniweb.com/code/snippet697.html[/URL] However, I'm having some difficulty. It appears that the splash screen will continue to run w/out disposing itself. That is, the screen hangs and does not go away. Also, the screen …

Member Avatar for wrappingduke
0
145
Member Avatar for harcaype

I'm trying to update/refresh my data grid but it doesn't seem to update whenever there's a new entry. I've search the net about it and they were talking about databind(). I can't seem to have that in my datagrid. My intellisense only shows DataBindings not databind(). here's my code (when …

Member Avatar for harcaype
0
116
Member Avatar for harcaype

I am trying a multi select query in management studio and I am only expecting a result that is a single output per row, however, when I tried executing it. The rows I called repeated once. For example I have 2 rows in my column1 and when I multi-selected my …

Member Avatar for harcaype
0
108
Member Avatar for Software guy

hi , i have a simple problem here, that is how can i convert an Decimal integer into Hexadecimal integer and not in Hexadecimal string. I have wrote the following code and managed to get the output from the program. But for a certain reason i cant use it again …

Member Avatar for Software guy
0
183
Member Avatar for bhoot_jb

i think it is not possible to print vertical lines along with text data in vb6..so i thot of transferring the whole contents from vb form to a word document. but now i dont know how to do that. i want to transfer the data in a specific tabular format. …

Member Avatar for bhoot_jb
0
180
Member Avatar for veledrom

Hi, I have a subroutine(callMe) in Module1. I want to call "callMe" in other subroutine in Form1. I cant do it. I cant call subroutine in other subroutine. How do i do it. Thanks

Member Avatar for QVeen72
0
354

The End.