132,726 Archived Topics
Remove Filter ![]() | |
Hi,Im makin a web based application.For users to access it they need to login. I m using java,jsp,html for this.I wish to know how can i prevent access to the pages of application without logging in i.e. if user types in URL of some page of application in the address … | |
Hi All, i have a homework of programming (vb.net) that need create send email function by using vb.net.. I already find a bunch of solution in google, but still i didn't work.. below is my source code.. [U]source code:[/U] [code] Imports System.net.Mail [COLOR="Red"]Public Class Form1[/COLOR] Sub SendOneEmail() Dim SendTo, strSubject, … | |
Hello, I am am trying to get a ListView to populate based on an xml file. to acheive this I would like to use the DataTable. this is my XML file: [CODE]<?xml version="1.0"?> <main> <person> <id>1</id> <name><first>Joe</first><last>Blow</last></name> </person> </main>[/CODE] And the C# that I am using to read it: [CODE]public … | |
hi guys i wan to make dyanmic crystal report according to values which i checked from check box thats all i did 1. I made data set having data table name "Customer" 2 i put four columm id,name ,age ,sex 3. then i made crystal report and drag those columm … Software Development | |
Hi all, I am trying to make a program in VB .NET that has two "browse" bottons, two textboxes which should show the full path of the files to be selected, one "Save As" button, one textbox that should show the file's full path where to be saved in, an … Software Development file-system vb.net | |
hi , I have made cystal report by wizard but i want to make it through code i as using vs 2005 can anyone help me Software Development | |
Hi All, I am new to Vb.NET. and I am Trying to develop a textpad application using richtextbox control.. Now my problem is that, while using this application. when user clicks on Close event in File Menu, I want the Editor to only close that particular file(or text) that is … Software Development vb.net | |
Hi all, I working in VC++. I have a void pointer. I am assigning a memory block to it using malloc(). void* buf_ptr = NULL; buf_ptr = malloc(1428480); I am filling this buffer using fread(). and I want to index this buffer (buf_ptr) to acces its data. How can I … Software Development c c++ open-source | |
I am trying to execute a exe file within' a jar file. My question: 1. How do I locate the exe within' the jar? I am using the [ICODE]runtime().exec()[/ICODE] to launch it. Right now I have to extract it then launch it, then after it's finished delete it. Thanks PO Software Development java | |
[QUOTE]In function `DefaultDialogHandler::handleCommandString(CommandString&)': /home/ws14/Desktop/trunk/test/test1/test2/test3/test4/DefaultDialogHandler.cxx:343: undefined reference to `SipDialogPublish:: SipDialogPublish(MRef<SipStack*>, MRef<SipIdentity*>, bool)' collect2: ld returned 1 exit status[/QUOTE] line 343 here: [code=cpp] MRef<SipDialogPublish*> pub(new SipDialogPublish(sipStack, phoneconf->defaultIdentity, phoneconf->useSTUN ));[/code] Can someone help me about this error...Please explain to me what is this mean..and how can I solve this one. thanks in advance … Software Development c++ | |
Hello everyone, i need your advise if i can get the Computer Serial number with using the Excel VBA thanks Software Development visual-basic | |
Hi I am reading a excel file & grabbing certain elements out of the file to store in arrays. I know how to do it, but can you tell me if there is a more efficient way to do this. This, meaning, grabbing certain elements out of a line/string. Inside … Software Development c++ | |
how can i cast a string to int when i have this [code=cplusplus] //input problem numbers cout<<"\n""enter the numbers"; //numbers represents what they input string numbers; getline(cin,numbers); //position represents at what location value comma is int position; while(numbers.find(',') !=string::npos) { //print out what the user inputs //used to split up … Software Development c++ | |
Hi I have a string & I want to grab certain elements out of the string & save them in an array. I have searched for an answer to this but I have not found a solution to what I am trying to do. What I am trying to do: … Software Development c++ | |
Guys, I'm stumped here. Trying to retrieve a row from mysql using MySQLdb, I receive the number of matching rows found, not the data itself. here's the code: [CODE] def getKbd(kb_num): query="SELECT kbd_name, kbd_data, kbd_ps FROM kbd_ WHERE kbd_number = %d " % kb_num a = c.execute(query) return a print … Software Development python | |
Okay so I found some code online to create a simple chat server and I was trying to teach myself with it. I have a few questions though. First off here is the code: [B]ChatServer.java[/B] [CODE] import java.io.IOException; import java.net.InetAddress; import java.net.Socket; import java.net.ServerSocket; import java.net.UnknownHostException; import java.util.Scanner; public class … Software Development java | |
Hi, Is there any way I can select multiple items in a listview programatically in WPF? | |
I am starting to learn python and since I have had some programming before ( intro to java last semester and intro to c++ a couple years ago) the teacher gave me an interesting problem to solve. It is an equation called the Prandtl equation from fluid flow measurement it … Software Development python | |
i simple was to add information in a listview using save button. but when click save it hangs.kindly help me .any help would be Greately appreciated. here is the code what i have written. [code=vb] Private Sub btSave_Click() Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset ' On … Software Development listview visual-basic | |
Im having a strange problem here , Im reading settings from a .txt file using the code which works like a charm . [CODE]private string[] splitArray; private void Form1_Load(object sender, EventArgs e) { string[] lines = File.ReadAllLines("settings.txt"); foreach (string line in lines) { if (line == "" || line.StartsWith(" ") … Software Development | |
Hello All, I'm compiling my program, and i keep getting this error: [code]obj/Debug/fubar.o||In function `fubar::fubarl(int*, int*)':| /home/miguel/Documents/pointersandref/fubar.cpp|7|multiple definition of `fubar::fubarl(int*, int*)'| obj/Debug/fubar.o:/home/miguel/Documents/pointersandref/fubar.cpp|7|first defined here| ||=== Build finished: 2 errors, 0 warnings ===| [/code] This is my complete source code fubar.cpp [code=C] #include <string.h> #include <stdio.h> #include "fubar.h" void fubar::fubarl(int *foo, … Software Development c++ | |
Yeah, I'm aware it may be an stupid question, but I really don't know what a "template" in C++ is, because my knowledge on it is very limited, I don't have any good books on it so I really can't get as much knowledge as I would like from it. … Software Development c++ | |
hi i am doing a program that has to order a great set of numbers, but i need to use threads i am working with microsoft visual c++ 6.0 and i use windows.h when i tested the program, my threads used only 25% of the processor and i am very … Software Development c++ | |
hii again ..sorry but this project is kinda killing me anyway just small Q ? how can I burn my (c++) project in a CD ? my friend did it but they faced a problem that when they wanna open it in the Teacher computer they had to copy it … Software Development c++ | |
i'm trying to create a simple minimum function by comparing items in a list to each other. [code] list1 = [4,20,2,19,3254,234,21,03] for i in list1: if list[0] < list[0+i]: print i [/code] basically my thought process in pseudocode is for all items in the list if item n is less … Software Development python | |
Is it possible? If yes, how? Software Development python windows-vista | |
I am trying to write a program that will open a specific file and go through it, writing the data I need to another file. Everytime the tag 'Step 4[2]' comes up I need to get the next two numbers and write them to a seperate file. (the purpose is … Software Development c++ | |
I'm really kind of stuck here, and would really appreciate some help. I have a function that reads from a csv that can get quite large, and it will block some other routines from running in there allocated time slice. I need to make this code “non-blocking”. I think there … Software Development python | |
Yeah, probably a bad place to post this, but I'm desperate! I am trying to install GTK+ under Linux but have no idea what is going wrong!!! I see that i need like fifty million packages to install it, but i can't get this working! can anyone give me advice? … | |
I just inctance 5 JFrames with string drawed and its using 100% ...??? that add(panel); make the diference in CPU 5 or 100% I marked it in the comment in the code here's the code: [CODE]//import java.awt.event.WindowEvent; //import java.awt.event.WindowListener; import java.awt.*; //import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.event.*; import … Software Development java java-swing | |
hello this code seems to give me wrong results and i carnt figure out why :( [code]#include <iostream> int main() { float pi = 3.142; char area; float diameter; area = diameter * pi; std::cout << "Hello. Please imput the diameter of your circle... "; std::cin >> diameter; std::cout << … Software Development c++ | |
after i've got this error: pure virtual method called terminate called without an active exception Abort (core dumped) i searched and found that it is probably because i'm calling to a pure virtual function from a constructor. well, yes, i'm doing that, but - - what is wrong with that? … Software Development c++ | |
[code] Hello guys i need help in doing "Saving text in TextBox" let say you want you have someone info already in the textbox already and you want to add in the existing info this is what i have so far txtOutput.Text = txtNotesEntry.Text; i know this just copy whatever … | |
Is there something in Java that will perform the + or - operation? I need to compare a couple variables but the variables are not going to be exact, they'll be off by about +or- 2. Software Development java | |
I am new to this site and i desperately need help.... i am trying to write an assembly language programm for MTS-86C 8086 trainer kit. i received an error "file cannot be converted " when i try to change it to hex format by using the command "V [file name]". … Software Development assembly | |
Hey, I'm new on this forum.. so i have some newbie questions to ask... I just would like to know what kind of processors are the dual core, core 2 duo and quad ones... i mean.. all the books that i've been reading so far are only treating about x86 … Software Development assembly | |
I had 1 exercise: read data form file then add into TREE. I read data in the file into an array, then add array into TREE, here is my solution but it does not work properly I know that data in array seq[] will be erased after ReadFile() function but … Software Development c file-system | |
Is it possible? I need to use them with wxpython and I'd want to make a standalone program that contains them into the exe file. Software Development python | |
Hello i m reading chapter in K&R about bit operation whish totally confuses me i understand what all operators does but i dont understand the code itself [code] unsigned getbits(unsigned x, int p, int n) { return (x >> (p+1-n)) & ~(~0 << n); } [/code] it will right shift … Software Development c | |
Hey, i've wrote a script that will test three diffrent sorting methods and display how much time each method took to complete in order to compare the diffrent methods. The problem is that i'm suppose to show the results inside a 2 dimentional graph, and i'm not that much of … Software Development c++ visual-studio | |
I am really stumped with a problem my program keeps giving me. Randomly, a file I try to open returns fail() to ifstream and can't be read from. I have a feeling it has to do with these 2 functions I have been using. Please help. Thanks! PS: I tried … | |
In my application I need to have the user select one program (item) from the collection in a listbox. This listbox click event then triggers a sql query of an existing sql server data table using the selected program (item) in the sql 'where' clause. The returned data then will … Software Development | |
I have a program which is supposed to find the shortest path between airports and users' flight data to find the shortest path between airports; that is, the airports are the nodes and the flights are the edges. I've not started to implement the algorithm as yet but I am … | |
Hi, What can I do for this error? error C4430: missing type specifier - int assumed. Note: C++ does not support default-int. Software Development c++ | |
Hello all, it's been a while since I've had a question, but I'm back. I'm trying to write a Vector class which can be any type. The problem I have is that generics can only hold objects, so when I try to say x+=vec.x it says that it cannot do … Software Development java | |
I have a program that is using command line arguments to tell the program what to do. So to run the program, you type in: main airports.txt SC PER, where SC is a different thing the program can do and PER is the code for a city. So PER is … Software Development c++ | |
Im working on a program that requires you to create an array with 10 elements, and asks the user to enter values for each array. Then, you need to copy the contents of the first array into another array, in reverse order. Can someone walk me through this one? Im … Software Development java | |
WHen we click on site whether left click or right....Control goes to IEDoc_MouseDown event,I just want to ask is that possible to know taht which element is clicked..Suppose we right click on link,is that possible to know it that link is clicked. [code] Public Class Form2 Dim WithEvents IEDoc As … |
The End.