132,729 Archived Topics
Remove Filter ![]() | |
What do i add to code be able to hit enter as well as clicking the button. <%@ Page Language="VB" %> <script runat="server"> Function era(ByVal yEAR As Integer) As System.Data.DataSet Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data Source=Cresta Tunes.mdb" Dim dbConnection As System.Data.IDbConnection = New System.Data.OleDb.OleDbConnection(connectionString) Dim … Software Development asp dataset html-amp microsoft-azure microsoft-office vb.net ![]() | |
Hi folkz, Need help in writing a C program..The scenario is as follows: We need to copy a log file frm the database to a txt file and the txt file should automatically get updated whenever the log file is modified... Also there shld be a facility to filter data … Software Development c++ file-system | |
Hi i am so lost and stressed please can some help me. My question is how do i code the follwoing • Constructor: Copy The copy constructor should check the validity of the Entry object parameter through the use of the isValid method and copy the valid objects media and … Software Development c | |
i am having trouble iwth this question i am a little weak with classes that is why i cant complete this any help would be greatly appreciated Create a class for airline reservation. Assume that there are two aircraft models A, B. The class has following constants defined, const int … Software Development c | |
Hi everybody Anyone knows how to verify the ordinance of numbers but without using vectors!.. example: n=3456; the order is ascendent or n=9874321 the order is descendent it seems we need to create a fuction but I´ve no idea how! plese help...:eek: Software Development | |
I have the following code: [code=c]class date { private: unsigned int nDay,nMonth,nYear; static unsigned int nMonthArr[12] = {31,28,31,30,31,30,31,31,30,31,30,31}; //LINE 36 ...[/code] Upon compilation I recieve these errors: n:\courses\8110\Labs\Lab7b\Lab7b.cpp(36) : error C2059: syntax error : '{' n:\courses\8110\Labs\Lab7b\Lab7b.cpp(36) : error C2143: syntax error : missing ';' before '{' n:\courses\8110\Labs\Lab7b\Lab7b.cpp(36) : error C2143: … Software Development c c# c++ visual-studio | |
Hi ppl! can anyone tell me how to capture system date and o/p it later in a prog?? what function do i use?? thanks in advance! appreciate any help rendered. :cheesy: Software Development c++ | |
I'm just learning java and this is my first sort program. I can't get it to run. I sure could use some help. public class SortCharArray { public static void main(String[] args) throws Exception { char[] someChars = new char[10]; int x; for(x = 0; x < someChars.length; ++x) { … Software Development java | |
My problem is a part of my actual program,but it is not all of it.it may seem simple to expert users of java.The problem is to access a folder,count number of files in it,determine their sizes and store their names in an array,and it 'll be good to determine also … Software Development java | |
Hi all, We just hit functions, and I assigned my students to write ten short functions to do things like convert Fahr. to Cels., etc. My "brilliant" :rolleyes: plan was to create a test suite and have them import their file and run the tests. Because the filename wasn't absolutely … Software Development python | |
I have a data file with chemical names (one name per line) and want to load that into a Tkinter GUI listbox and then be able to select it by clicking on the line. Need some help. | |
I've been working on this now for a couple of weeks and am still having dificulties. I'm trying to come up with a function to compute and return the area of the quarter circle by dividing it into a given number of rectangles. I need to have it accept the … Software Development c++ | |
Hello ladies and gents, I'm reading The C++ PL from B.Stroustrup and in chapter 5 the second exercise goes like this: What on your system, are the restrictions on the pointer types char*, int*, and void*? For example, may an int* have an odd value? Hint: alignement. I actually have … Software Development c++ | |
i have compiled and run a symbian application using Visual C++. It finished building, was run and was displayed using the emulator. I wanted to do unit testing on it using C++ tool. And then i got errors which is something like this... Outbox_7000.obj : error LNK2001: unresolved external symbol … | |
hi all, My website host does not support changing perl file permissions online through an ftp program or any other method, and i need to change my .pl file to have different permissions in order for them to work. how do i change my file's permissions to chmod 755 or … Software Development perl | |
I'm not sure if my title makes sense. My problem is the following: I input a string and the function in my program is supposed to change every digit (except for 0) it finds in the string to a value -1 of that digit (eg 'er345ut' should be changed to … Software Development c | |
I keep looking at this code, and cant find out the problem... I made this as part of a library of math functions. It asks the user to enter the number of numbers to subtract, then enter them. It should work, but for some reason doesn't. [code] void sub() { … Software Development c | |
hi i need help on making a recursive palindrome function of only string values. the recursive funstion shouyld return true is the string stored in the array is a palindrome, otherwise it should return false. Also the function should ignore spaces and punctuation in the string. thank you all help … | |
i am using the combobox on panel and it got fill when panel loads ,it has 7 enteries and i want whenevr the panel opens or the combo fills i'll see "money "as my default selected value out of those 7(whose position is not fixed).plz help me to do this(urgent) Software Development | |
Hi, Can anyone help me read the code below? I have an idea but i am not quite sure. [code] *(DWORD*)(pDesPtr+(nDesIndex>>3)) |= pSrc[nCount] << (nDesIndex&7); [/code] thanks a lot, Software Development c | |
Hi everyone, I am currently trying to use a JTextPane as a cell renderers for a JTable but it does not seem to work although the program compiles. I alsways get an error stating class cast exception saying that i must cast the editor component to JTextField instead of a … Software Development java java-swing | |
I am playing around with "patching" an old DOS 16-bit real-mode .exe, trying to change the machine code calls. The disassembled code is: [code=asm] push bp mov bp, sp xor ax, ax push ax mov ax, 1 push ax mov ax, 64h push ax ; location_X call f_drawDialogBox; 9a 06 … Software Development assembly | |
Hey! Writing a simple client/server in C and I'm currently stuck with getting the results after calling system("ls") so I can send it from server to client. Since system() returns an int I tried popen() --> [CODE] char buffer[1000]; FILE* myPipe = popen(buf, "r"); if(myPipe==NULL){ //errorstuff } while(fgets(buffer, 1000, myPipe)!=NULL){ … Software Development c client-server | |
hi i need to write a while loop to print out groups of stars shown in the attachment the middle set?? cud someone provide me with an answer please as i am desperate to get it working. thanks in advance Software Development c | |
Hi guys, I'm making a program tha thas to open a file, and then store the information from the file into a structure variable, only I can't get the function to work. I can get the program to work if I put the reading of the file in the main … Software Development c | |
I'm just starting out in VB by taking an online course. The project I'm supposed to make will not run, and i cant figure out why. Here's what I have: [code=php] Private Sub cmdCalculate_Click() 'Declare variables Dim curPrice As Currency Dim curCost As Currency Dim curComm As Currency 'Set variable … Software Development visual-basic | |
hi, first post here. It seems a very nice community. So, I know a little about 16bit DOS Assembly and also a little about 32bit Linux Assembly. I started learning Assembly out of curiosity, to understand C better and to learn exactly how the stack worked. I am currently learning … Software Development assembly engineering first-post gui microsoft-windows operating-system | |
I am currently trying to make an application, sort of a mock sound player. I got so far as to make a play button to play, and a stop button to stop. But i need a way to pause it. I noticed that visual basic does not have a pause … Software Development vb.net visual-basic | |
[code]#include <iostream> #include <iomanip> using namespace std; struct Node { int number; char color; bool open; }; #define DEPTH 5 #define ROW 3 #define COL 6 void setNodes( Node nodeArray [ROW][COL][DEPTH]); void setNode (Node &node, int depth); void printArray (Node nodeprint [ROW][COL][DEPTH], int depth); void main () { Node nodeArray … Software Development c++ | |
OK, so the part of my course about files is over, but now I am wondering: if you have a file with, say, a bunch of names (each in its own line), is it possible to use "C" to make a new file with the names aranged alphabetically? For example, … Software Development c file-system | |
hi, im really new to this programming language and im having a hard time in strings. can anyone teach me how to compare strings the easiest way. what im doing is a login program and i have to compare the inputed username to a string. example: a = daniweb is … Software Development assembly | |
![]() | I am trying to modify a parser for delimited files I already wrote so it works on a delimited file that doesn't contain each set of data on the same line. So for example, ||A||B||C||D||E||F ||G||H|||A||B||C|| D||E||F||G||H|||A where each data set is separated by 3 pipes instead of 2. Can … Software Development perl |
Hi, Im just starting out attempting to learn assembly, and ive come across what is probably a really simple stumbling block.. The aid of google has failed me this time and im hoping someone on here can help me. I started writing a simple program that takes input for an … | |
Hi everyone I am trying to get done the stocks program the first function is readStocks, it compiles but deosnt give me rigth ptompt, i guess i have some kind of execution error. Could any one give me advice on that? THank you. [code=cplusplus] //Stock's statistic #include <iostream> #include <stdlib.h> … | |
[code] #include <iostream> #include <ctime> using namespace std; // Dynamic Single Array of integers #define dAry class DynaArray { private: int SIZE; int* array; public: DynaArray(); // Default Constructor DynaArray(const DynaArray& dAry); // Copy Constructor ~DynaArray(); // Destructor DynaArray& operator= (const DynaArray& dAry); // Assignment Operator // Accessors int getSize() … Software Development c++ | |
What,s wrong with this code: procedure TWinForm1.Button2_Click(sender: System.Object; e: System.EventArgs); var varForm:TwinForm1; begin varForm.Close; end; Error: system.NullReferenceException Software Development pascal | |
I need a little help calculating odds for a roulette game.. i'm not sure why someone would bet 1:1 odds.. to me, that just means you win your money back without making a profit. also, 1:1+bet back doesn't seem any different than betting 2:1.. this is how I calculate it: … Software Development c++ | |
how to divide the given number by 3 using bitwise operators and what are other methods without using /,*,%.operators.. Software Development c++ | |
I have the following sample code: [CODE]]import wx class TestFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, title="tree example", size=(600,30)) self.tree = wx.TreeCtrl(self) root = self.tree.AddRoot("Example") items = [ "test1", "test2", "test3",] self.AddTreeNodes(root, items) self.Bind(wx.EVT_TREE_ITEM_EXPANDED, self.OnItemExpanded, self.tree) self.Bind(wx.EVT_TREE_ITEM_COLLAPSED, self.OnItemCollapsed, self.tree) self.Bind(wx.EVT_TREE_SEL_CHANGED, self.OnSelChanged, self.tree) self.Bind(wx.EVT_TREE_ITEM_ACTIVATED, self.OnActivated, self.tree) self.tree.Expand(root) def AddTreeNodes(self, parentItem, items): for item … Software Development python | |
**Creating New User Issue** in VB.net with SQL 2005: I have a LogOn table and a Usr (User) table. A form that collects the new UserID,Password,FirstName,LastName, etc... I want to have two separate INSERT statements to first insert the UserID & Password. Then grabs the LogOnSys just created and create … | |
Code [code] //God Mode }else if(stricmp(lpcLine, "!god") == 0){ bRet = false; if(ADDR_GODMODE[0] != 0x90){ BYTE godmode[] = {0x90, 0x90}; EnableHack((BYTE*)ADDR_GODMODE, godmode, 2); Echo("GodMode On"); } else{ BYTE godmode[] = {0x7B, 0x05}; EnableHack((BYTE*)ADDR_GODMODE, godmode, 2); Echo("GodMode Off"); } [/code] Error error C2109: subscript requires array or pointer type | |
I have a countdown timer in my application that is to be controlled via keyboard. Currently, it will start (or reset to the starting value of 20minutes) when the user presses "B", and stop when the user presses "A". Trying to figure out how to restart the timer from the … Software Development vb.net | |
I'm trying to figure out how to add a reset button and a calculation button to my program. I'm lost here. The program works when the user put in the loan amount, lenght of loan and interest rate. I need a button to reset the fields so another user can … Software Development gui java java-swing | |
:sad: hi Can anyone tell me the steps to do before deploying a MDB application like how to create Topic and Queue JNDI.. or any other steps like that we should do in the WEBLOGIC 8.1 CONSOLE WINDOW before deployment.. i have a JMS Client program,A helper program and a … | |
I cant get my function code to work. Its should return an average of however many numbers are entered, but it always returns 775863 no matte what... can anyone tell me whats wrong? [code] #include <stdio.h> int avg(int av[], int y, int x, int z); int main(){ int x=0; int … Software Development c | |
I'm a bit confused on how the precompiled header system works. I'm using Visual Studio 2005 and when trying to include multiple .cpp files in a project, they each, on compile, give me an unexpected end of file error. I have them all set to precompile a header, stdafx.h, and … Software Development c++ visual-studio | |
This is my first post - Hello everybody, hopefully you can help get on straight and narrow with regards to c++ Anyway on to question: What I need to do this is to utilize the constructor of one class in a second class - thereby optimizing the code by avoiding … Software Development c++ first-post |
The End.