64,152 Solved Topics
Remove Filter ![]() | |
hi i have an mdi form n 3 other form namely patient,about, tips. i do not want the user to access any other form when he/she is using the about ,patient or tips form. the user must close to be able 2 access any other form. i have search a … | |
Hi I created an DB, that export data to Excel and create a chart from this data, now I want to know, what can I do to filter data and set a criteria eg. A$2:D$46-range, Criteria =2. The filter is not working if I set that critria, for the data … | |
TextBox1.Text = StrConv(TextBox1.Text, VbStrConv.ProperCase) i have place the code in the textbox1 textchanged event.. bt when i type a name it is writing it backward n it converts the last letter only in Uppercase eg... when i type geeta it show me --> Ateeg Can u plz help me ... | |
As it exists now, I have some PHP code set up so a customer can "login" with his/her customer number (job number). But I want to give them the option to use either their number or their email address. I understand the code for 1 option (job number), but am … | |
Hey, im having a problem getting this email check to work it basicly prints out in a very origional way how manny eails you have... [COLOR="Green"][B]Check Inbox [/B]([I]3[/I]) [/COLOR] Heres the code: [CODE]$find_content = "SELECT * FROM email WHERE email_too_id = '$userid' OR all = 'true'"; $content_sql = mysql_query($find_content) or … | |
[B]I need a program which convert infix to prefix using stack in c[/B] | |
Hi, I have a cgi script in python that outputs a html table, but i also need to count the number of rows in that specific table. Any ideas on how i can proceed? Thanks in advance, ymf | |
Hi can anyone tell me if global variables are not liked to be used and why, and whether local variables are a preferred or not and why?? thanks if you can help | |
I created a webcrawler that holds a lot of data in a list and then outputs this data to a file. When I try to run 50 instances of this program at the same time using a batch file, the programs suddenly all terminate at once, without outputting the text … | |
Hi Guys, I was just wondering if there's a way of restricting access to the contents of a database by creating a list of users and their corresponding password. So when ever someone tries to open the database a form pops up asking for their user name and password. Thank … | |
In the python script for my robot, I'm searching for a way to detect a variable change. After doing a search, I found this example in VB.NET. [URL="http://www.daniweb.com/forums/post610941.html#post610941"]http://www.daniweb.com/forums/post610941.html#post610941[/URL] I've tried to translate it into a python bit, but with no success. What I want my robot to do is this: … | |
Hi, 1) Is it better to create one dataset for the whole project than many smaller (like one for each form)? 2) If I have 2 datasets, both has tableadapters that connects to the same data. Both table adapters load data to tables. Now, data in one of those tables … | |
am trying to delete an element from my list but am having a problem..i have managed to position my pointers well but av failed to to the actual element. i.e user enters a number to be deleted from the list..here's the bit of the deleting code that i have been … | |
I want to change the background color of the output screen in Dev-C++. How can I do that? I searched the Internet but didn't find any. Any help on which function should I use? | |
the program asks to calculate the power of a number, for eg. if 2 is entered as the base and 3 is th power it should display 8. | |
Here i have problem with ctype.h library .I think i use correctly,but i ahve an error on it. This is the code. [ICODE]#include<iostream> #include <ctype.h> using namespace std; int main(){ char letter; int num; int isdigit(int letter); int isupper (int letter); int islower( int letter); int small=0; int capital=0; int … | |
I'm new at C++ programming and am working on an assignment. I've managed to compile my codes alright but got an error while testing the program. The error surfaced halfway through viewing details of a linked list, where suddenly, the program started printing weird characters while the computer emit beeping … | |
How can i delete the Combobox Collections programetically?????/ | |
Hi guys! I am currently having trouble in the final stages of an assignment which involves linked lists and dynamic arrays. The assignment involves adding books to a library. This means that each record has a title and one or more authors. I have worked out what I think was … | |
I have several issues going on I have played with the code, and I have tried to follow other code snippets / tutorials as examples, but I am unable to achieve the following: 1: when the browser is closed the session is terminated or set a timeout period of inactivity? … | |
Hi, First of all I am Sorry for such a long query. I am using mysql db.I wanted to display data present in the db.I am using two functions showdiv() & hidediv(). For example,I have 26 tables in my db say from A-Z.In each table it has some info.for examp, … | |
Can some please help me with this script.. it will not show the scrolling text in firefox browsers.. [code] <script type="text/javascript"> <!-- /* Typing Scroller */ //Secify scroller contents var line=new Array() line[1]="This is an awsome script" line[2]="It brings up the text you want..." line[3]="One letter at a time" line[4]="You … | |
Hi there, how can I open recent power point presentation and recent access data base from a c# application , in other word the last opened file in both , I could do it with the word using Application.RecentFiles, but it was not for the power point any articles that … | |
I'm trying to add a KeyListener to my JFrame, but it doesn't seem to work when I have a JButton floating around [code=Java]import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JFrame; import javax.swing.SwingUtilities; public class Testing extends JFrame implements KeyListener{ public static void main(String[] args){ SwingUtilities.invokeLater(new Runnable() { public void run(){ new Testing(); … | |
Hi, When i write any code has if else statement , and run it na error appeatrs and say that else doesn't match with if [U]or[/U] illegal else without matching if. I don't know where is the problem exctly ,and you should know that i don't put } in these … | |
Im trying to carry out input validation on a piece of code and have come across an issue. Basically for the 1st input I used getline for the string and then for the 2nd input I use cin for the integer. I am aware you can convert the integer from … | |
Im having problems with getting the page to stop progressing to the asp one when the user enters the text outwith the limits i.e. no data entered. Could anyone give any guidance? Cheers [code= html] <html> <head> <title></title> <SCRIPT LANGUAGE="VBScript"> dim validation Function MyForm_OnSubmit validation = False MyForm_OnSubmit = False … | |
I want to do something like this [code] #include <string.h> #include <iostream> using namespace std; int main() { MyFunc("test"); return 0; } void MyFunc(const char* Filename) { cout << strcat(Filename, ".tst") << endl; } [/code] but it tells me that my const char* cannot be used where it is expecting … | |
[CODE]String^ comPort = "COM" + this->RS232CommPortNum->Value; int baudRate = Convert::ToInt32(this->cbBaudRate->Value); com = gcnew SerialPort(comPort, baudRate); try { com->Open(); } catch (...) { ::MessageBox::Show("Invalid Port"); }[/CODE] How do I handle this excepion thrown when the com number is not valid? When I run the release version it has an error when … | |
hi i'm having a problem when i use pointer to pointer i've tried my best to make this work .. but it didn't i've got a run time error! PLEASE .. Please .. please i need help :'( if any one have tutorial about how can i work with pointer … | |
Hi, How can i call a Oracle Stored procedure in vb6? Stored procedure : [code]ADD_SP (1, '1', 1, 1, 'abc')[/code] Thanks | |
hi guys, i have created a class which has a couple of buttons and each button calls a public class, class B4 is a button and it calls up the Printdata class, the Printdata class, then gets data from the database carpark and stores it into a file.txt as B4 … | |
I have this program I have to write about adding binary numbers. Here is the write up: "Defining a binary number as int binNum[8]; write a C++ function void binaryAdd(int* sum, int& cBit, const int* bin1, const int* bin2) to compute sum as the sum of the two binary numbers, … | |
Hi, beginner here making the move from Java to C++ and having troubles (of course) with const and pass-by-reference. I'll show you the code I'm working on: Card.h: [CODE]#include <iostream> using namespace std; class Card { friend ostream& operator<<(ostream& out, const Card& c); public: Card(char aSuit, int aPower); void setSuit(char … | |
My bootsector is meant to print something - it does, but wierd characters follow it? e.g the spades symbol [code] ; Boot.Asm ; Tell the compiler that this is offset 0 - it isn't offset 0, but it will be after the jump. [ORG 0] jmp 07C0h:start ; Goto segment … | |
would anyone please tell me how i cp the whole directory to another directory without the originalDir name.... ex: say the original contains multiple directory contains multiple directory.. and files how do i copy everything from one directory to another directory i tried cp -r /home/henry/originalDir /home/henry/newDirectory..... however my newDirectory … | |
Hi I have Borland Jbuilder 2006 Enterprise installed on a Microsoft Windows Vista Home Premium OS. I was trying to make the font bigger (in the preferences menu) but something happened and now the font is very small, too small to even click on a button. (I'm not talking about … | |
Hello once again everyone. I would like to know if anyone could assist me on how to insert text from a JFormattedTextField and an item from a JComboBox and place them into a JTextPane. If the user enters an item name like Shoe in the JFormattedTextField and then selects an … | |
I am trying to write a simple "Hello World" to the console. I created an empty C++ project in Visual C++ 2008, and added this one file: [code=cplusplus] // main.cpp using namespace System; int main () { Console::WriteLine("Hello World"); return 0; } [/code] I get this error: [code] Error 1 … | |
Sweet! gimme somemore of that. Are there any more tutorials ? | |
I am trying to learn Visual C++, particularly the GUI components, so I tried to make a simple program where a button is displayed to a frame and when the button is pressed, a cout statement is invoked which displays a message to the console saying that the button has … | |
i am writing a code for a stack within stack...or nested stack...whatever.. in the code..and the mainstack is a stack of substack, which in turn, is a stack of integer data.. i thought of using class template for both the stacks - mainstack and substack..but am confused with how to … | |
I'd make a basic C rpg game and I want to save data such as Exp, name, gold, ect. How can i do it in C? I went to c++ forum and saw it but fstream doesn't work on C. thank You | |
I keep getting this error and I can't figure out why. Here is my code: <% set conn = server.createobject("adodb.connection") set rs = server.createobject("adodb.recordset") conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.mappath("/data/newsleepermedia.mdb") & ";Jet OLEDB:database" rs.open "select * from Prices WHERE id=" & request("idnum"),conn,3,3 if not rs.eof then do while not rs.eof response.write … | |
Hello, The following is a code excerpt I found on the web. Could someone please tell me where I can find information about how to use [I]$$[/I] variables and [I]${$var}[/I] variables. I have never seen them before. [CODE]foreach ($expected as $formvar) $$formvar = (isset(${"_$_SERVER[REQUEST_METHOD]"}[$formvar]))? ${"_$_SERVER[REQUEST_METHOD]"}[$formvar]:NULL;[/CODE] | |
Hi! I don't have access to office on the server. Does anyone know an open source way to generate an xls file for download? Or is there any way of generating a file that upon download will auto open into excel? Thanks ramil | |
How to upload video files like wmv,etc in an application folder and how to download that video file in media player usnig asp.net +c#. | |
[code] //pg 368 #1 /* void initialize (double& h, double& r) { h=0; r=0; } void getHoursRate (double& h, double& r) { cout<<"please enter how many hours you worked. "; cin>>h; cout<<endl; cout<<"please enter your rate. "; cin>>r; cout<<endl; } double paycheck (double h, double r) { double overTime, finalAmount=0, … | |
Hi there i've just known how to make an exe file now what am asking is how to change the icon of the exe from the default one to one of you choise like in the one cd access program. | |
what's the difference between image and imagemap? |
The End.