132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Ankita B

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 …

Software Development java java-jsp
Member Avatar for deepak_8917
0
171
Member Avatar for richard-iii

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, …

Software Development email vb.net
Member Avatar for richard-iii
0
278
Member Avatar for NetGD

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 …

Software Development c c# c++ dataset listview xml
Member Avatar for kvprajapati
0
1K
Member Avatar for pupilstuff

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
Member Avatar for kvprajapati
0
135
Member Avatar for cs_tx_usa

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
Member Avatar for tathumani
0
264
Member Avatar for pupilstuff

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
Member Avatar for pupilstuff
0
88
Member Avatar for anshusharma

anybody online there, i want the solution of my problem.i will feel free to discuss the code of my aplication

Software Development java
Member Avatar for peter_budo
0
99
Member Avatar for Piya27

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
0
52
Member Avatar for asifjavaid

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
Member Avatar for asifjavaid
0
2K
Member Avatar for PhiberOptik

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
Member Avatar for masijade
0
108
Member Avatar for valtikz

[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++
Member Avatar for WaltP
0
343
Member Avatar for Engineer.Saleh

Hello everyone, i need your advise if i can get the Computer Serial number with using the Excel VBA thanks

Software Development visual-basic
Member Avatar for Jupiter 2
0
1K
Member Avatar for gretty

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++
Member Avatar for ArkM
0
148
Member Avatar for lotrsimp12345

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++
Member Avatar for s_sridhar
0
335
Member Avatar for gretty

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++
Member Avatar for mustafaneguib
0
408
Member Avatar for DimaYasny

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
Member Avatar for DimaYasny
0
109
Member Avatar for smoore

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
Member Avatar for smoore
0
145
Member Avatar for shers

Hi, Is there any way I can select multiple items in a listview programatically in WPF?

Software Development listview vb.net
Member Avatar for kvprajapati
0
65
Member Avatar for cgfxcoloneill

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
Member Avatar for cgfxcoloneill
0
267
Member Avatar for firoz.raj

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
Member Avatar for vb5prgrmr
0
96
Member Avatar for HTCGuy

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
Member Avatar for sknake
0
114
Member Avatar for athlon32

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++
Member Avatar for athlon32
0
113
Member Avatar for Vermillion

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++
Member Avatar for ShawnCplus
0
117
Member Avatar for luismanuel22

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++
Member Avatar for Stinomus
0
92
Member Avatar for nakemaro

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++
Member Avatar for nakemaro
0
201
Member Avatar for rasizzle

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
Member Avatar for woooee
0
117
Member Avatar for TerabyteST
Member Avatar for glahr32

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++
Member Avatar for ArkM
0
125
Member Avatar for chg

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
Member Avatar for chg
0
256
Member Avatar for xixpsychoxix

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? …

Software Development c++ ubuntu
Member Avatar for xixpsychoxix
0
71
Member Avatar for suncica2222

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
Member Avatar for sciwizeh
0
259
Member Avatar for slawted

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++
Member Avatar for wildgoose
0
133
Member Avatar for anilopo

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++
Member Avatar for ShawnCplus
0
262
Member Avatar for Cman2020

[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 …

Software Development c c# c++
Member Avatar for Cman2020
0
385
Member Avatar for SnagglezMaw

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
Member Avatar for peter_budo
0
112
Member Avatar for abmeg

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
Member Avatar for dan63043
0
78
Member Avatar for knooper

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
Member Avatar for dan63043
0
105
Member Avatar for thebluestar

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
Member Avatar for jephthah
0
106
Member Avatar for TerabyteST

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
Member Avatar for scru
0
120
Member Avatar for MrNoob

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
Member Avatar for jephthah
0
114
Member Avatar for DarkoX

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
Member Avatar for yazooney
0
119
Member Avatar for CppFTW

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 …

Software Development c++ ios
Member Avatar for CppFTW
0
2K
Member Avatar for history84084

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
Member Avatar for history84084
0
110
Member Avatar for ippomarley

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 …

Software Development algorithm c++
Member Avatar for ippomarley
0
220
Member Avatar for mathueie

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++
Member Avatar for mathueie
0
2K
Member Avatar for sciwizeh

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
Member Avatar for sciwizeh
0
136
Member Avatar for catums14

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++
Member Avatar for catums14
0
159
Member Avatar for xtremebeauty

i want to do university mapping so in what pattern i make my prog in c#windows application..????

Software Development
Member Avatar for ddanbe
0
250
Member Avatar for brandongood

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
Member Avatar for brandongood
0
93
Member Avatar for sonia sardana

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 …

Software Development html-css vb.net
Member Avatar for samir_ibrahim
0
1K

The End.