132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bosz015

hello experts..please help me..How can i solve this error... Using db As New DB_CARRENTALEntities1 Dim x Dim a = db.tbl_customer.Where(Function(b) b.cardesc = "studnum").FirstOrDefault x = a.CustomerID + 1<<<<<(Object reference not set to an instance of an object.) how can i solve this error.. Dim newstudnum As String = "104-" & …

Software Development vb.net
Member Avatar for Mitja Bonca
0
90
Member Avatar for jumbowat

Hi, I want to know what is meant by a code footprint. I tried googling but all of them have explanations that I was really not able to understand. Can anyone please tell me what is means? How is it important and how can it be used(if at all it …

Software Development c
Member Avatar for BobS0327
0
1K
Member Avatar for TarkiB

Hi there, I've been learning C lately, and in one of the exercises I've encountered a bit of a frustrating issue. The exercise is to accept a string of characters that are answers to a multiple choice quiz, and then compare them to the correct answers which are in another …

Software Development c
Member Avatar for TarkiB
0
220
Member Avatar for senbaris

hi all, im creating a csv file from sql querry, after that im sending this csv file with email, after i sent the mail i wanna delete the csv file but it says 'its using by another....' dont know how to resolve this. thanks for help. this is my export …

Software Development file-system vb.net
Member Avatar for Mitja Bonca
0
226
Member Avatar for dilse4sk

hi Every one i am having problem in deleting record from textboxes and gridview. i have customer table and booking table. what i want to do is when i click the delete button the customer and its related booking should be deleted. i have written a code which onlt deletes …

Software Development dataset open-source vb.net
Member Avatar for M.Waqas Aslam
0
169
Member Avatar for Usmaan

I am trying to learn how to make a mobile phone communicate with a server and a database. So far, I have made a web-service on my PC using this tutorial: http://msdn.microsoft.com/en-us/library/ms733069.aspx The above tutorial makes a sortof WCF service. What would be the best Database system for me? Simplicity …

Software Development c# sql
Member Avatar for thines01
0
198
Member Avatar for kww228

I am stuck on trying to figure out a few questions. The questions are listed below. 1: Given the data below, design IA-32 instructions to find the octal string for X and save it in Y. .data X word 200 Y byte 6 dup (' ') 2: Given the data …

Software Development assembly
Member Avatar for kww228
0
259
Member Avatar for shean1488

Hi everybody! I made an applet, and was trying to put it in web page. When I run my applet by itself it works fine, but when I'm trying to run it thrue the web page it doesn't work at all. I mean I have just grey box (like a …

Software Development java java-swing
Member Avatar for shean1488
0
99
Member Avatar for anthonyjpv

Hi! Im kinda new to c# devt I used to do a php project and Im wondering if theres anyway sql commands in php have comparable commands in c# for example if I wanna read a data in php I use $query = "SELECT * FROM table"; then execute that …

Software Development sql
Member Avatar for thines01
0
176
Member Avatar for tubby123

Hey, how do you declare an array of strings using double pointer ? I normally use [CODE]char* str[] = {"this", "works", "fine" ,"for", "me"}; [/CODE] But I want to know if there is a way of declaring array of strings using something like [CODE]char** str; [/CODE] Please show me how …

Software Development c
Member Avatar for luisvaldes88
0
244
Member Avatar for alanso

cHey guy can anyone help me to solve this question because i am begginers i am so sure to use array C++ write a program to find smallest of 30 integer using array Thanks

Software Development c c# c++
Member Avatar for thines01
0
172
Member Avatar for Kashaku

Hi. Sooner or later I had to go into the depths of C. Today was the day I tried my first things with C. However, I am having a problem although I do not know what actually causes it. The goal of the pogram is to combine the parameters into …

Software Development c
Member Avatar for Kashaku
0
158
Member Avatar for poojavb

Hello Friends, I want a small help... I have created a text box....a button and a date time picker control I have showed the calander control on click of the button event....when a value is selected in the datetimepicker the value should be showed in the text box... I have …

Software Development vb.net
Member Avatar for Mitja Bonca
0
248
Member Avatar for jahanruhi3@gmai

package com.batch; import java.sql.*; import java.text.SimpleDateFormat; import java.util.ArrayList; import DBConnection.DBConnect; public class Batch { @SuppressWarnings({ "unchecked", "rawtypes" }) public ArrayList BatchAction(String ik) { Connection conn = null; Statement st1 = null; Statement st2 = null; ResultSet rs1 = null; ResultSet rs2 = null; ArrayList al = new ArrayList(); conn = …

Software Development java oracle sql
0
170
Member Avatar for vinnitro

Hi friends, i was recently started writing a program on java needed for my practicals but as i started i found an error which deletes last element of queue actually i want to delete first element of queue anybody can solve it import java.util.*; class VQueue { int size; int …

Software Development java queue
Member Avatar for vinnitro
0
178
Member Avatar for jaclynkinsey

I am having trouble displaying my code that is supposed to be read in from "pgm6.txt" - it looks like it is a continuous loop, but I'm not seeing how/why/where. It's probably something oobvious that I'm just overlooking. Here is a sample of the text in my external file: *Newland …

Software Development c++
Member Avatar for jaclynkinsey
0
169
Member Avatar for akash.doe

Can you solve my problem? Q. Write a Program to create a object without name. Help me...........

Software Development c c# c++
Member Avatar for thines01
0
85
Member Avatar for George_91

I'm trying to connect a DB from Postgres with a program in Java. I'm including this code: Class.forName(driver); Connection con = DriverManager.getConnection(connectString, user , password); Statement stmt = con.createStatement(); ResultSet rs = stmt.executeQuery("SELECT * FROM students"); But I'm getting this erros in Statemen and stmt.excuteQuery: With Statement: *incompatible types. Required: …

Software Development java
Member Avatar for prachi69
0
185
Member Avatar for cheiL

I'm working on a *soap message *to send to a client system. I must use the client's predefined data types specified on their soap to send my message. Theres alot of arrays and enumerators used and my code gives the following error: > Error 1 Cannot implicitly convert type 'UpdateRatePs._Default.Rate.AvailAppType' …

Software Development data-structure
Member Avatar for cheiL
0
265
Member Avatar for eman31

hey source pal out there i need your help guys. im currently working on a project called Computerized Examination System and i dont know how can i get question from database and display it in a form randomly and generate a result in terms of the ff: - no. of …

Software Development visual-basic
Member Avatar for flywheeljack
0
135
Member Avatar for manhthaodn

I'm having an error: ***object reference not set to an instance of an object*** in my project. This is file open method (is Excel file) public void OpenFile(string strPath) { try { InitPOList(MainTool.GetPOList(MainTool.ReadDataFile(strPath))); EnableButtons_2(); //Tool.SaveSetting("LastFile", ofdFileToOpen.FileName); } catch (Exception e) { MessageBox.Show(e.Message, "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } } Such a constructor …

Software Development
Member Avatar for manhthaodn
0
418
Member Avatar for DJXiej

Here's a small snippet from my code. Following a Knuth Shuffle model in the Shuffle function, I get 6 Pointer Expected errors in line 15, but I'm sure its really 2 due to the SWAP function in the header. Now the two things I'm swapping are a random index and …

Software Development c
Member Avatar for histrungalot
0
453
Member Avatar for artan8

Hello I am a beginner at C++ and I was given these questions to do for my homework. I would appreciate it if you could help me answer these questions. Consider the following code when answering questions 1-5 #include <iostream> using namespace std; int someVar = 10 void f(intx, int&y); …

Software Development c++
Member Avatar for PrimePackster
0
160
Member Avatar for artan8

Hello I'm a beginner at c++ I got these questions for homework. Would appreciate answers to these questions. Consider the following code for these questions const int NUMBER_OF_ITEMS = 5; double nums [NUMBER_OF_ITEMS]; Question 1 What is the index of the first and last element in the array? Question 2 …

Software Development c++
Member Avatar for MandrewP
0
295
Member Avatar for CelestialTeapot

Hi, I am trying to create a simple program to rename a bunch of files #include <stdio.h> int main(){ int count; for(count = 1; count <= 95; count++){ if(count >= 10){ system("rename \"C:\\wamp\\www\\anime\\kenshin\\Rurouni Kenshin - %d.mkv\" \"%d.mkv\"", count, count); } /* For the episodes that have 0 before the number …

Software Development c
Member Avatar for CelestialTeapot
0
156
Member Avatar for pakiali007

hi, guys I'm completely new with python and right now struggling when it comes to creating functions....i have to do the following for an assignment if anyone can help that'll be awesome. Create a function that take a full name as a parameter and returns just the middle name regardless …

Software Development python
Member Avatar for TrustyTony
0
238
Member Avatar for markusd5454

Below is the question and my attempted answer 5.4 Use the list of module titles from the previous exercise to create a for loop. It should ask the user for every title whether they would like to keep the title or delete it. Delete the titles which the user no …

Software Development python
Member Avatar for Gazzmonkey
0
276
Member Avatar for while(!success)

Hey, guy I'm having some trouble with my function see below: bool tryAgain() { char answer; cout << "Do you want to enter another number? (Y/N): "; cin >> answer; answer = toupper(answer); while(answer != 'Y' || answer != 'N') { cin.clear(); cin.ignore(10, '\n'); cout << "Input invalid." << endl; …

Software Development c++
Member Avatar for while(!success)
0
170
Member Avatar for Gazzmonkey

Hi, this does compile but I only want results that have the same amount of characters as the input! Can anyone shed some light on this as I can't figure it out myself! thanks. import re # opens a .txt file and searches for matching letters in words that are …

Software Development python
Member Avatar for TrustyTony
0
153
Member Avatar for sibwolf

Trying to output a list of all prime numbers and perfect numbers between 1 and 1000. Have been banging head against wall for past 3 hours and this is what I have so far: #include <iostream> #include <string> #include <iomanip> using namespace std; int main() { int x, aDiv, aMax, …

Software Development c++
Member Avatar for pheininger
0
192
Member Avatar for skoon

Hi every body My teacher assinged us a lab to draw a 200 X 200 square at the top-left corner and the right bottom corner of the monitor then continue drawing squares that become steadily smaller as they are displayed to right side and left side of each preceding square. …

Software Development java
Member Avatar for NormR1
0
148
Member Avatar for mydreamgirl

I am trying to assign some values to static class and it does not work as I expected. I was expecting to see different values for different classes. However, they fall into the same value because it is static??? See code snippet here: NewOperationResponseSimpleType[] resp=new NewOperationResponseSimpleType[3]; NewOperationResponseSimpleType[] res1=new NewOperationResponseSimpleType[3]; NewOperationResponseSimpleType[] …

Software Development java
Member Avatar for NormR1
0
182
Member Avatar for codemonster

I found an error in my c++ textbook and I can't find a way around it without re-writing the author's stuff completely. An error pops up when I don't use parentheses in the expressions that I enter. "Expression: string subscript out of range" is the error. Again, this is the …

Software Development c++
0
88
Member Avatar for snippsat

Where is sticky treads starting python,Gui programming....? These were very good treads and should be sticky.

Software Development gui python
Member Avatar for TrustyTony
0
103
Member Avatar for caltech

[QUOTE] 1. Print the following heading at the top of the output page: Miser Corporation Payroll 2. Read an unknown number of employee data records as shown below. Each group of data will contain an employee's name, hours worked, rate of page and age. A typical group of data will …

Software Development c++ ios
Member Avatar for BobS0327
0
493
Member Avatar for er_svijayakumar

Hi I am using vb.net with access database I am using sql How can i update database with the value 40'6"(Feet and inches values)

Software Development sql vb.net
Member Avatar for adam_k
0
136
Member Avatar for KRUX17

Hello, I'm quite stuck on how I can sell limited tickets I've put this question up before, but I haven't got the right solution.I know I should do my own project, but I really can't seem to find the solution to this.If someone can just help me with this problem …

Software Development c++
Member Avatar for KRUX17
0
139
Member Avatar for griffman99h

Hope my first post is relevant enough. I'm a newbie coder and this is as much a learning exercise as it is a favor for my girlfriend. She has test results from a device that outputs data to .csv in multiple (100+) files. the important data is the separate file …

Software Development machine-learning perl shell-scripting
Member Avatar for L7Sqr
0
308
Member Avatar for BeeKeeper18

Right guys, I'm really new to this but I'm getting along ok, but I've hit a block. I need to be able to know how to search a text file in VB for a particular line and then display it. the files I'm trying to use are set up as: …

Software Development vb.net
Member Avatar for BeeKeeper18
0
3K
Member Avatar for nicewave

I'm a newbie so please be patient with me. I've two forms, one is the main form and the other is the login form. On start up, I would like to have the login form show up so the user can enter their credentials and upon successfully login I want …

Software Development
Member Avatar for Mitja Bonca
0
87
Member Avatar for Rasool Ahmed

Hi guys, what's up? Is native applications familiar to you? I'm right now building an anti-virus, and as you know the viruses can be active or passive, the passive is easy to remove but the active , well.... it's hard to remove but I finally found the solution is by …

Software Development c++ session windows-virus
Member Avatar for mitrmkar
0
704
Member Avatar for bubbleT

I want to convert Wide char arrays (russian,turkey,switzerland,japanese,chinese simplified] to unsigned character array in VC++. I've tried using WideCharToMultiByte and wcstombs_s but both doesn't work. Anyone know the conversion? Thank you very much.

Software Development c++
Member Avatar for BobS0327
0
179
Member Avatar for CriticalError

I am not sure if this is possible, in VB is it possible to link to some piece of code in the current document?

Software Development vb.net visual-basic
Member Avatar for Begginnerdev
0
150
Member Avatar for mkaynutty

I am having trouble formatting my output into columns. Some of the the names are longer than others so it pushes the whole line out instead of lining up evenly. I cannot use the printf function, we haven't learned this in class yet, I'm only familiar with setw and setfill. …

Software Development c++
Member Avatar for mkaynutty
0
190
Member Avatar for gatorsgirl

Hello everyone, I am looking for some assitance with an assignment that requires a user to input tutor time and earnings into a gui and then calculate the totals and averages in a text area. I have succeeded in getting the program to work, however it is totaling the user …

Software Development gui java
Member Avatar for NormR1
0
222
Member Avatar for skiabox

I am trying to create an oval shape using Netbeans but the oval shape never draws itself. Here is the code : /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package learn; import java.awt.Color; import java.awt.Graphics; import javax.swing.JPanel; /** …

Software Development display java java-netbeans java-swing oracle
Member Avatar for NormR1
0
173
Member Avatar for jarograv

I have these 2 classes: [CODE]import javax.swing.JOptionPane; public class Theatre2D { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub // declares an array of integers int[][] myTheatre2D; // allocates memory for 2*10 integers myTheatre2D = new int[2][10]; myTheatre2D[0][0] = 20; myTheatre2D[0][1] = …

Software Development java java-swing
Member Avatar for jarograv
0
1K
Member Avatar for Sean Raina

Can some one help me write a c program for my "Internal Assessment" at school? Its a program that should be over 5oo lines but I need your help urgently. The dead line is two days from now. If your interested, email me at "seanraina@yahoo.com", where I will give you …

Software Development c c# c++
Member Avatar for bumsfeld
0
60
Member Avatar for hrul

hye....i have a data in access 2007 which is: table1 ID DOCUMENTNAME PAGE 1 investment 2000 12 2 investment 1989 4 3 investment march 15 how to display the id and page when user typing the document name in combobox..using vb.net 2008

Software Development vb.net
Member Avatar for Begginnerdev
0
187
Member Avatar for saleem.mukhtiar

dear friends following is the code for export data from data grid to excel .. problem which i m facing that .. i could not export the last coloum values.. kindly give sulotion.. `Inline Code Example Here` Private Sub btnExcel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExcel.Click Dim …

Software Development microsoft-office vb.net
Member Avatar for Begginnerdev
0
325

The End.