199,114 Archived Topics
Remove Filter ![]() | |
I have created a new ASP.NET application in VB.NET and I have made a login page that is call if the user are not logedd in and rediret to the start page. In my internal page I have a dinamic menu that is generated by sub that check the database … | |
Is there there any way to combine the results of two queries into two different recordsets into a single one? I have two different databases that have the same type of information in them, but are for different clients. It's nor practical at this time to rewrite all the asp … ![]() | |
[code]Private Sub LoadList_Click() lstList.Clear CmDialog1.DialogTitle = "Load Your List" CmDialog1.InitDir = App.Path CmDialog1.flags = &H4 CmDialog1.Filter = "Lists (*.txt)|*.txt|All Files(*.*)|*.*" CmDialog1.ShowOpen Call xLoadList(CmDialog1.FileName, lstList) End Sub[/code] when i try to compile my program it says "argument not optional" and highlights "Call xLoadList". will someone help me with this? thanks | |
hi , i need function to calculate primitive root for prime q that if i choose prime number q then a which is primitive must satisfy that a%q ,(a pow 2 )%q , ...... (a pow i )%q = distinct integers betwwen 1 & q-1 that 1<i < q-1 and … | |
I would deeply appreciate it if someone can help me with this program because I have no idea how to do it and I need to get it done very soon. I appreciate any bit of help ,and thank you all _________________________________________________________________ Write a program that simulates rolls of two … | |
sending form data to database creates a error! hi i have created a form which should connect to a database and update it when the user inputs into the form, however as soon as i hit the button on the form i get the error No value given for one … | |
Created a form in which the user selects a item from a dropdownlist then clicks a button which in turn uses a streamwriter to open a sequential file and displays the data associated with their selection, this is a text file. When I run the solution I get this error … | |
Any1 plz help me.im new to this site and a begineer of C.... this may be stupid ques to ask.. char msg1[20]="hello"; char msg2[20]="welcome"; char msg3[20]="goodnite"; can i store these three arrays in one sigle array....not in pointers. ie in..... char result[50]; i need the result like this.. output: hello … | |
Dear All. Basically I am having trouble passing my class object to myQueue. I know my Queue works as I had it working for Integers and Charachters but after approx 25hrs over 4 days I still can not get my Object to store in my Queue. Any and All help … | |
hope someone can help-i am working on a radio telescope and need to input data thru the parallel or serial port into a computer and have the computer display said data.i would like to use qbasic altho nominal i do have some experience in qbasic. i have seen refferences to … | |
hi i am a newbie here and i have a school project to make on cafe management and it is an eating cafe . wat i wanted to know was is making a progress bar in vb only possible in vb.net or is it possible throught vb6 also .2)i wanted … | |
I am totally self taught in html and a pure novice. I volunteer with a non-profit and I update their existing website. The website has a "Child of the Month" feature which appears on every page of the site. This feature needs to be changed monthly. I have been doing … | |
I am at uni doing computer science and interested in game programming. i just have a few questions . . . are most games programmed in C++? how long will it take to learn i mean to get good enough to do a game like dig dug (a classic man)? … | |
I need to produce two methods for a class. The method name and details are given but i dont know how to create the code for them to work: 1st: public int daysElapsed (int day1, int month1, int year1, int day2, int month2, int year2) This method returns the number … | |
I'm searching for some resource script editor where can i make menus and dialogs and save it to the *.rc files. Just like one in Visual studio, but free. I found only editors exporting *.res files that are unusable (in Dev-Cpp). Do you use Visual Studio, or something else? Thanks … | |
I'm wondering if i can create a program that reads texts file. In the text file is c++ code ... could that be compiled in the running exe? So basically you'll have somehting like this in this first file: [php] #include <iostream> #include <fstream> using namespace std; int main() { … | |
Hi , I have been trying to use the win32::API:Struct for a while and mostly it works fine :) However i have ran into trouble with using structs within structs ... I dont know how to retrieve values from the nested struct .. example: [code] Win32::API::Struct->typedef('MDS_Forwarding', qw( char Address[257]; char … | |
HI, Currently i'm on-hand on an assignment for create a software prototype for a new system. This system is mainly develop to which replace the existing driving instructor in the near future. So it request some sort of programming langauge/code/hardware to compiler all system. Text instruction, icon, image, amination, video, … | |
Open App.Path & "\irc\files\channel.txt" For Input As #1 This is generaly the same thing i used on all of he opening files. It says it cant find the file/directory, and ideas on what else to ue for a wildcard directory? | |
Hi can anyone tell me if i can write a string to a text file without it having the " Quotes at either side of the text "? I'm trying to input a line of text from a text file, change it and rewrite it. Example //(adt|dclk)\./ //ccas(\.clearchannel|_media/)/ would become … | |
Ok, I am trying to read data back from a database, when I build my program it throws an error saying: "No overload for method 'SqlDataReader' takes '0' arguments." Here is the code from the program: [CODE] [size=2]SqlDataReader existsRdr [/size][size=2][color=#006400]= [/color][/size][b][size=2][color=#008b8b]new [/color][/size][size=2][color=#191970]SqlDataReader[/b][/color][/size][size=2][color=#006400]();[/color][/size] [size=2]existsRdr[/size][size=2][color=#006400].[/color][/size][b][size=2][color=#191970]Read[/b][/color][/size][size=2][color=#006400](); [/color][/size][/CODE] Anyhelp would be great. Thanks in … | |
I'm doing an asp.net application but am using vb.net to code the example i'm working on. I'm creating a form that will show historic stock prices I have three description and value pairs: Company Name stock symbol Hartford har Vertigo ver Dickson dks I have created three sequential files that … | |
Hi there I wonder if anyone can help out a newbie. I am trying to understand the difference between passing variables by reference or value. This is what I understand so far: 1. Passing parameters by value is when the variable is copied into the parameter list of a function … | |
Hi all, after coming upon this forum and reading some of the posts I have decided this would be my best place to go for help and info. Well first off I’m a 3rd year CS major and have fairly extensive C/C++ experience. I came here looking for help on … | |
Hi everyone, I have had great success with those who helped me get my guestbook working in being able to post large amounts of text. Now I have one other problem I'm trying to figure out. I'm using the perl guestbook from Matt's Script Archive to allow users at my … | |
I formatted my computer today, now I can't compile the files from command prompt, but I can run the compiled ones. How can I solve this problem :o :o :o Thanks | |
i have the following for my operator overload [code]fraction fraction::operator+(const fraction& object)const { fraction temp; temp.a = a*object.b + b*object.a; temp.b = b * object.b; return temp; } fraction fraction::operator-(const fraction& object) const { fraction temp; temp.a = a*object.b - b*object.a; temp.b = b * object.b; return temp; } fraction … | |
Hi everyone, just wondering if anyone knows if any variable++ would be classed as 1 atomic action? Thanks guys | |
Right now, I have a project with a class of a custom control. I also have a project with an .aspx file and its back code that implements the control of my other class. In the control's class, I need to write code that will add some javascript in the … | |
Below is my code. The problem is on the 'javascript:ViewPage(article_1.html)'; How to code the quote inside the ViewPage function since im using the echo "....." ; <? echo " <script language='javascript'> function ViewPage(url) { OpenWin = this.open(url, 'CtrlWindow', 'toolbar=yes,menubar=yes,location=no,scrollbars=yes,resizable=yes'); } </script> <tr><td><a href='javascript:ViewPage(article_1.html)';>Article1</a></td><tr> "; ?> it should be `<a href="javascript:ViewPage('article_1.html')";>Article1</a>` | |
Hi all, im new to this..... i want to send a doube to client...so im convt that to char and sendg that...it prits d exact value in server, but in client it doesnt print the decimal value... it just display like '123.' my code looks like.... [code] struct sockaddr_in server; … | |
Hey there, i need some help with a simple cgi script. i cannot get it to write output to a file. here is the script. [CODE] #!/usr/bin/python import cgi form = cgi.FieldStorage() Customer = form['Customer'].value Field = form['Field'].value data = [Customer, Field] reshtml = """Content-Type: text/html\n <html> <head><title>Customer Data</title></head> <body> … | |
My Program : [code]#include <iostream> #include <string> using namespace std; void Reverse(string &InputString); void CharSwap(char& First, char& Second); void main(void) { string InputString; cout << "Please enter the string to reverse ==> "; getline(cin, InputString); cout << endl << "You entered the (" << InputString.length() << ") char long string: … | |
Hello I have not had much programming experience especially with VBS. I have been asked to write a script which checks what AD group a user is in and then runs a specific drive mappings for that group and user, also i need the script to check the date. This … | |
In my project I am using vb6 and Oracle as backend. I am using Combo box and Item data (Name as display and id in itemdata) Now I am faceing problem. The Master records has grown 10,000 records. When I populating records from recordset it needs more than 1 to … | |
hi i am a student of computer science.i am learning the c programming language.we spend all our time writing programs which tells itself a secret like adding numbers,kid stuff etc. i want to know the real thing.can anyone tell me what are the real time applications of C.? | |
hi, ive just written a simple form to mail in PHP (the form is in a flash website). the problem is that the text being put into the fields in the form, is all in Hebrew. would anyone know how to tackle this problem ? i get the text all … | |
hi to all, Well, I am designing a form which had taken me to a situation that requires advanced knowledge.I just know to use javascript for basic needs. My need is as below: I have a form that is report form.Now I am finding it difficult to get the logic … | |
Hi everyone, I have a jtextpane with a styled document and i am using the rtf editor kit. Is there a way in which i an insert a html table into this styled document. Sample codings would be helpful Thank You Yours Sincerely Richard West | |
I'm building a property management site in ColdFusion. I'm building an admin area where the agent can upload a thumbnail of property to be displayed next to other features of the property. Idealy I'd like to have many listings on one page. I've seen it on the web so many … | |
Hello ladies and gents, Ive got a question concerning how to actually send a program to someone (only the exe.file) so that he/she sees what the program can do without having the possibility to alter anything towards the code itself? I'm using Microsoft Visual C++ 6.0 incase you need to … | |
hi....can anyone pliz tell me how to go about converting numbers to letters on a telephone keypad...... eg when we txt..and suppose we type in 4663,we can get hood,home,good,gone....etc... got a project due!!!!!!!!! prefer it in C | |
Just got a quick question I know how to assign arrays using the DIM command, but I want to give the array a set of constant figures that will never change Under Delphi I would use the following when declaring the array at startup var myarray :array[0..8] of integer = … | |
Hi all, This along with many of the other questions on this forum is from a noob at both the forum and java and was hoping someone could please help me. What im trying to do is read some info from a file and then store it in a linked … | |
Here is code for sending e-mail which I wrote down: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Send Mail</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <h1>SENDING MAIL</h1> <form action="Mail.php" method="post"> <table width="200" border="0"> <tr> <td>To Whom :</td> <td><input type="text" name="Target" size="50" value="Someone@somenet.com"></td> </tr> <tr> <td>Topic :</td> <td><input … | |
Hello guys, Can someone gv me a Code, to a shutdown script automaticall ? i 'm a newbie, just created a billing software interface.. i created my menus.. File---->> this want i want if any of client..clicks on File menu and click on shutdown.. i want the system to shutdown … | |
The data that is entered is creating the error page when I suibmit it ti the db. Can anyone help? :confused: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services -------------------------------------------------------------------------------- Technical Information (for support personnel) Error Type: Microsoft VBScript runtime (0x800A0035) File not found /threecubePlus_IIS/formProcess.asp, line … | |
How do you get a thumbnail from a PDF file. upload a pdf file ASPUPLOAD and get a thumbnail of the front page of that pdf. i have seen it on a site before so it is possible but HOW it should be possible with a component but what and … | |
hai! i"m doing my final project same like Tina. I"m facing al ot of prob in doing my project.Let me describe my project first, i"m developing Online Course Registration System for my U. for the ADMIN interface i'm using VB (off-line)and for the user interface i'm using Dreamweaver Mx (on-line).Here … | |
Hi I have a peculiar problem. I created an ASP.Net page with the code behind in C#. After submitting I am storing the primary key value of the row inserted in a ViewState variable. Then I pass this as a query string and do a Response.Redirect() to another page. Then … |
The End.