132,726 Archived Topics
Remove Filter ![]() | |
iam new in C#, am creating a website using asp.net but i am facing some problem. the problem is this i want to a web application that can retrieve data from mysql database and display the data in textboxes. the concept is this i want a client type his/her username … | |
Hello, i want ask somthing about mysql in multi pages i hope someone help me and sorry about my English this code works good but there problem if i used it with this tybe sql = "SELECT * FROM emaillogs ORDER BY id DESC" cursor.execute(sql) results = cursor.fetchall() if page … | |
why we can't declare a static variable incide local class(class inside a function) ? Software Development c++ | |
Hey Guys, could you tell me the different ways to write throw method (Exception Handling) in a program.. I mean like we can write BufferedReader in many ways (2 ways so far i've studied).. eg; 1. BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); 2. BufferedReader br; { br = new BufferedReader(new InputStreamReader(System.in)); } Software Development java | |
Hi my name is Xednyc, I'm very new to C++ since this is my first year in college, I am taking an IT course. I am currently out of ideas on what program to make, anyone could suggest an interactive, fun, yet not so simple program for a newbie like … Software Development c++ | |
Hello, I lost some hours trying to set up wxWidgets and starting a simple program using Code::Blocks. wxWidgets is installed and built, following [this](http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef) tutorial. But when I start a new project I get into some message saying: "A matching debug configuration cannot be found in the wxWidgets directory you … Software Development c++ | |
Please preview image: I want to create something like this. Red fonts is just typed using paint. (it's not software or else) I know how can I know the Size, attribute type and all so but the main quesstion is how can i create tag on windows? at the bottom. … Software Development vb.net | |
![]() | Anyone help me to create one form with C# WPF which use LINQ TO SQL with SQL Server. WPF -------------------- Form has 2 textbox and 1 image in WPF txtFirstName txtLastName Image SQL Server Database -------------------- tblEmp EmpID - int Firstname - nvarchar(10) Lastname - nvarchar(10) Image - image, varcharmax … Software Development |
an i ask for help? what is wrong with my codes thanks in advance Sub show1() Dim DReader As MySqlDataReader SqlCmd = New MySqlCommand("SELECT * FROM book WHERE accesion_num = '" & b_id & "' ", SqlCon) DReader = SqlCmd.ExecuteReader While DReader.Read accnum.Text = DReader.Item(0) isbn.Text = DReader.Item(1) txteditbooktittle.Text = … ![]() | |
I'm reading a file in line by line. At the end of the file there wackily are to carriage returns. I'm reading the lines in like this (code below) then parsing them. Because there are two wonderful returns the wonderful program crashes everytime I run it. char* ptr; ptr = … Software Development c++ | |
Assignment 1: Bank Account Class You are hired by a Canadian bank in order to develop a java application for processing withdraw and deposit transactions. The application enables staff of the bank to create new bank accounts, to process account transactions and to display the balance of a particular account. … Software Development java | |
Hello everyone, Please can someone help me with a code to find two(2) fields at thesame time. As in with a msgbox "Enter Date" then after that "Enter Shift". Because there are two 'shifts' tied to a 'date' I will really appreciate this help. Software Development visual-basic | |
class A{ Vector<String> s = new Vector<String>(); } public class Vec { public static void main(String[] args) { A a = new A(); a.s.add("String1"); a.s.add("String2"); a.s.add("String3"); a.s.add("String4"); a.s.add("String5"); Vector<A> vecA = new Vector<A>(); vecA.add(a); System.out.println("Size of vector is "+vecA.size()); // here i am getting size one a.s.clear(); a.s.add("String6"); a.s.add("String7"); a.s.add("String8"); … Software Development java | |
Hi All, I am having trouble trying to locate the problem with this code. When I run it I get the follow error "First-chance exception at 0x0FADA9E8 (msvcr120d.dll) in ConsoleApplication2.exe: 0xC0000005: Access violation reading location 0xCCCCCCC0." It seems to show an error on the dbgdel.cpp but I am completley lost … Software Development c++ file-stream ios oop user-interface | |
I hav two tables sales (sa_no,sa_date,cu_id,total) ladger(ledger_id,cu_id,payment,payment_date) I want to display the transactions of a customer (cu_id) in one crystal report in the order of dates ,such as sa_no sa_date total ledger_id payment payment_date ie one row from sales then one row from ledger for the customer cu_id Please help … Software Development vb.net | |
I'm trying to parse an input file line by line. I want to grab each line one at a time, put it into a null terminated char array. I can't seem to do it. I tried something like this and just got weird ass results. int q = 0; do … Software Development c++ | |
I'm trying to search for a word in an array of strings, everytime it gets to the while loop it just loops infinitely. It's getting the words and comparing just that when it gets to the second else, It just takes a fat dump. Can anyone help? So damn frustrating. … Software Development c++ | |
using API functions, can i get the text rectangule? | |
![]() | Hi guys, i am so new here, but i work c++ for 3 years but i have a hard. i have a executable file and i want to encrypt this, how i manipulate an exe file ? i have a little bit asm x86. Thanks for your comments. Software Development c++ ![]() |
I've created connection on java when I run the programe I get successful message , however in the service tab next to the project tab I can't see the my database connection under the database // inside method Connection connection = null; String url = "jdbc:oracle:thin@serverName"; string name ="test"; string … | |
![]() | Which one of the following is the smart, efficient and safe way to declare a string array ? And if you have any other way do suggest. char a[10]={'A','B','C'}; char a[10]="ABC"; char a[]="ABC"; char *a="ABC"; Please take into consideration the memory allocation and size, memory wasted, methods of retriving data … Software Development c |
Hello all, I was wondering on how I would extract a number out of a String after a specified character. For example, if String s = "22+5+35" , how can I extract and store the numbers 22,5, and 35 in a ArrayList? Software Development java | |
![]() | Fairly easy pointer increment program is as follows. #include<stdio.h> int main(){ int i,a[10],*p=a; for (i=0; i<10; i++,p++){ printf("\nAddress of a[%d] is %d",i,p); } getch(); return 0; } Here is output: Address of a[0] is 2293488 Address of a[1] is 2293492 Address of a[2] is 2293496 Address of a[3] is 2293500 … Software Development c |
![]() | The expected outcome dosent agree with result. Following is the code snippet. int a,c; a=10; c=0; c=(--a)+(--a); printf("C: %d", c); printf("\nValue of a: %d", a); I expected C to be 17 i.e (9+8), but it comes out to be 16. And a becomes 8 as expected. When expression is changed … Software Development c first-post |
I need a program which shows the number is even or odd and print the table of 2 if the any even number we enter and when we enter the any odd number the program print the table of three please help as soon as possible Software Development c++ | |
'i got a problem here. i want to add a new record to my database but when i click the add button an error occurs saying syntax error on INSERT INTO statement. it is placed on the da.update(ds, "studentprofile") what should i do?? here's the code: Private Sub btnadd_Click(ByVal sender … Software Development vb.net | |
Hi there I am currently teaching myself C and I have to create a program with a 2d array that receives upto 5 names and prints them out. No pointers should be used :(. So I am wondering can anybody help me with this. #include <stdio.h> int main(int argc, const … Software Development c | |
Hello, as it can be inferred from profile, I am new. I have read the community guidelines and I have done prior research. I am a very weak coder(through my own fault). However, I like to believe I firm conceptual understanding. **So What is my problem?** I have an assignement … Software Development algorithm c++ programming-construct queue | |
write a program using function in 'cmath.h' to demonstrate the usage of 9 commnads in cmath header file . using 'loop control structures' #thanks for any help Software Development c++ | |
I read about pointers and it says that array names can be used as pointer constants and pointers can be used as array names and here is an example that prove the first statement (`array names can be used as pointer constants`) #include<iostream> using namespace std; int main() { int … Software Development c++ | |
I created a three layer application with BO (Business Objects), BLL (Business Logic Layer) and DAL (Data Access Layer). I had to do some unit testing using nUnit tool. I've done that like following and works perfectly: SQL Tables: USE [Projekti_TI_1] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO … Software Development client-server sql | |
Alright so I'm coding a Quadratic Equation Solver to help with my Math Class. However the teacher requires each calculation to be written out. I have the solver working, however I'm not sure where to start when it comes to printing each step. I know I will need to `System.out.println()` … Software Development java | |
hi I have filled my datasetfrom my sql db then used that data to show at crystal report, when i go back again to fill it with another data it show to me the old one why ? how can i solve this problem ?? Best Regards Software Development dataset | |
Hi guys , I have to do simple brute force program for my homework and I dont know what to do. It should work when I put there some password(max. 4 letters for examle: azxd ) and the program should start to trying every possible combination one at time like … Software Development c | |
Hi, I am trying to a game, and i wanted to add my images to mysql. I have managed to save and retrieve the images. I have written a code which allows me to only retrive 1 image on my jframe in a jlabel from the database, i am a … Software Development java | |
when I create a program with VB6 and I do storage program that I have made the message "System error & H80004005 (-2147467259). Unspecified error". Can you all enlighten me? thank you for your help Software Development storage visual-basic | |
if (ts1.CompareTo(DateTime.Now) == -1 && ts2.CompareTo(DateTime.Now) == -1) { MessageBox.Show("...."); } the function asks for a object, i gave an object... Software Development | |
when making a component (ocx file) of the combo box, and the wear components of the user control, then I compile it into ocx files. Once finished I include the components of it into the main program. then I do click and drag the combo box to the form, but … Software Development visual-basic | |
Can anyone please tell me how can I do loop unroll void do_block (int lda, int M, int N, int K, double* A, double* B, double* C) { /* For each row i of A */ for (int i = 0; i < M; ++i) /* For each column j … Software Development c | |
I defined two class, one it's call Movil and the other it's call Camion which it's a derived class of Movil. The code that I am talking is: #include <cstdlib> #include <iostream> //class definition class Movil { int ruedas; float velocidadMax; public: Movil (int ruedas=0, float velocidad=0); void setRuedas (int … Software Development c++ | |
I am 11 years old and I love programming, I know: PHP (A little) , JavaScript , HTML , C , C++ and Java (Just started learning). I really wanna learn Objctive-C but I couldn't find good free tutorials. Can anyone please recommend me a Objective-C tutorial? Thank You! Software Development objective-c | |
Can anyone help me to improve my code so i can add more than image to my sql database. The code i use is below: Connection connection = null; String connectionURL = “jdbc:mysql://localhost:3306/mydb”; ResultSet rs = null; PreparedStatement psmnt = null; FileInputStream fis; try { Class.forName(“com.mysql.jdbc.Driver”);//.newInstance(); connection = DriverManager.getConnection(connectionURL, “root”, … Software Development java | |
Win 7 clients, Need to populate alternate IP with current DHCP assignment (I believe everything else will be static). It appears that PowerShell is the only way to get at the alternate IP config variables. We are wrestling with a TechRepublic PS module that could be the modified. I used … Software Development lan-wan shell-scripting | |
** # import a data table with space? # ** Good day! I need to read in all the data in a file within column two and export it in a file. The issue is the data is not standard and has blank fields from time to time. It also … | |
I just started programming in C our first asssignment is writing an alogrithm to compute the volume of water in cubic feet, flowing through a pipe of diameter d in feet, with a velocity of v feet per second, give this fomula r=d/2 area=pi x r squared volume = area … | |
I'm buidling my own shell and I was trying to implement a history function, but was a little lost on where to start. I know i would like to use a for loop to go through list, I'm just having trouble on where to store it. Software Development c |
The End.