64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for vs.vaidyanathan

if not exists (select * from sysobjects where name='amrreconAccountsTB') begin execute "create amrreconAccountsTB(acct_id char(2048) NULL)" end; Message from server 'NOCTREPI04' (Msg 156, Severity 15, State 2): error near the keyword 'end'. Can someone please help me and tell me what is the syntax error here?

0
107
Member Avatar for jellybeannn

When values are entered into 2 TextBox's(textbox1 & textbox2) they are multiplied with one another and the answer is displayd in a Label(label1), I need to add all the labels and display it in another label, this has to be don without buttons. When the TextBox's change this function is …

Member Avatar for jellybeannn
0
82
Member Avatar for speedy94519

I wrote a program that takes in this kind of input: [CODE]Short, Sue, , 3.11 Cisneros, Juan, G, 3.67 Andrew, T, 5.67 Superlonglastnamethatdoesnotfit, Betty, Boop, 2 Black, Shirley, T, 4.00[/CODE] and my program outputs this: [CODE]Highest gpa: 4.00 Average gpa: 3.19 Lowest gpa: 2.00 Sue Short 3.11 Juan G. Cisneros …

Member Avatar for nbaztec
0
119
Member Avatar for JohnDove

My vb 2008 app uses Excel, but only briefly. Can I avoid referencing the Interop library Microsoft.Office.Interop,Excel?? Is there another way to link to Excel? In terms of its dealings with Excel, my app does little more than open a workbook and shade some cells. Many thanks

Member Avatar for gever
0
197
Member Avatar for cabsjonel

hello folks , can you help me about list view i dont know whats the purpose of "selectedItem.text" in list view can you tell me what is the meaning of this code? thanks folks ,, god bless u:icon_smile::icon_smile:

Member Avatar for jhai_salvador
0
106
Member Avatar for jhai_salvador

Hello!.. Its me again.. I Just want to know that, is it possible to Disable a user from copying a file from computer to another device like USB Drive? I want to Disable Copying of files by; Disabling CTRL+C, Removing Copy from Right Click or Move (when dragging the file …

Member Avatar for jhai_salvador
0
135
Member Avatar for SiahCheePing

I' ve my cookie to [CODE]Dim authCookie As New HttpCookie(FormsAuthentication.FormsCookieName)[/CODE] I've just started learning about cookies not long ago,can I retrieve the cookie that I've set by using the code below? [CODE] Dim authCookie As String = FormsAuthentication.FormsCookieName If Not Request.Cookies(authCookie) Is Nothing Then 'Display requested page Else Response.Redirect("Login.aspx?") End …

Member Avatar for qinise4
0
125
Member Avatar for sdhawan

Hi I am trying to use replace function in c# but it doesnt seems to work.Am i doing anything wrong.Thanks [code] private void btnSpanish_Click(object sender, EventArgs e) { SimpleSpanishDict.SimpleSpanishEnglishDictionary ins = new SimpleSpanishEnglishDictionary(); Hashtable aaa = ins.AllWords(); StringBuilder insertCommand = new StringBuilder(); IDictionaryEnumerator en = aaa.GetEnumerator(); if (aaa.Count > 0) …

Member Avatar for jlenriquez
0
184
Member Avatar for xenanovich

hi, this is something i keep running into. for example, in the following example of strtok, i'm splitting a given string on a space(" ") delimiter: [code] #include<stdio.h> #include<string.h> int main() { char str[]="1234563 34 7898"; char delim[]=" "; char* result=NULL; char new[15][3]; int i=0; int j=0; bzero(new, sizeof new); …

Member Avatar for xenanovich
0
181
Member Avatar for didi00

Hi everyone! So my task is this: Make a program in C which runs three processes (A,B,C), which use a common memory (buffer). Process A generates 50 random numbers and writes then into the buffer. Process B writes down every even number into file F1. Process C writes down every …

Member Avatar for didi00
0
356
Member Avatar for daniel88

Hi guys, Looking at this I know it is straightforward, but that hasn't meant that I have been able to get the solution - so here I am! I am entering serial numbers into a set container which is of type string. I want to be able to enter serial …

Member Avatar for daniel88
0
106
Member Avatar for tinanewtonart

So for this assignment we have to inherit from the base class 'Game' I think I have with my version named 'ChildGame' I would like help with checking the syntax of my function calls from main() [CODE] /*************************************************************************************** Programmer: C.Backlund Program: TicTacToe_1.cpp Purpose: A tic tac toe game Date Created: …

Member Avatar for tinanewtonart
0
1K
Member Avatar for thebluestar

I using the value pass from url to open a new page but there are some mistakes, but I cannot find them here is my all files to do that: [COLOR="Red"]main.asp[/COLOR] [CODE] <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

0
66
Member Avatar for oaktrees

Could someone point me in the right direction? I have two excel files that I would like to merge. Is xlwrt and xlrd the place to start? If so, are these part of the standard library? Thank you.

Member Avatar for jcao219
0
125
Member Avatar for funfullson

I found that in python we have no realy private attributes.we just can use _ or __.but these are not deny access to my attributes.some thing such as private variables in c++. Is it TRUE? Realy python is week in these?

Member Avatar for jcao219
0
266
Member Avatar for Charls Frdinand

Hello everyone! This is my first post, been a long time reader though. First of all, it's been a while since I don't program and I'm rusty (very). The problem is: I just can't learn how to use the JOIN or UNION commands, everything I read is confusing. I'm simply …

Member Avatar for Charls Frdinand
0
238
Member Avatar for bazoka121

Hello to everyone. I am working on pattern matching. Problem is that I have match source codes weather they are copies or not (c++ source code only). take two .cpp files and match them. and result that if they are match or not.. Please help me. Thanks in Advance.

Member Avatar for abhimanipal
0
118
Member Avatar for cl2020

I have a code, so far I have a problem: what is those mean? error C2143: syntax error : missing ')' before 'constant' line 65 error C2059: syntax error : ')' line 66 error C2143: syntax error : missing ';' before '{' line 67 error C2181: illegal else without matching …

Member Avatar for NathanOliver
0
135
Member Avatar for Onisutra

So I went to mysql docs to check out if they had info on what to do. I found this [QUOTE] “[0-9]*” matches any number of digits, and “.*” matches any number of anything.[/QUOTE] So, I tried them both out & have no result that back back. The query I …

Member Avatar for drjohn
0
121
Member Avatar for ceyesuma

I am having trouble understanding how an interface could improve my app. I have a DAO class for each profile that logs into the app.this DAO class will know how to insert,delete,update,remove,etc concerning that profile and the database and populating components with database data . I introduced an Interface for …

Member Avatar for ceyesuma
0
115
Member Avatar for phummon

Hi folks, General question here... I'm writing a program which reads a ton of source data, crunches the numbers, and outputs a few nice summary reports. The source data is a lot of individual records: [B]00001,Item1,Item2,Item3,Item4,Item5,... 00002,Item1,Item2,Item3,Item4,Item5,... 00003,Item1,Item2,Item3,Item4,Item5,...[/B] Originally, I created an object called "Record," which stored each Item. But …

Member Avatar for NathanOliver
0
185
Member Avatar for cl2020

I have a code present but why do I have three c2447 errors by line 31,43, and 62 ? What are the ways to prevent that code ever present in the c++ system? //This is the software access for the //lowest score test drop at any level //in the system …

Member Avatar for NathanOliver
0
107
Member Avatar for ms_sws

Is there a way, in Javascript, to get a list of files in a folder (on a server) that I can dynamically load into an array that I can work with when a page loads?

Member Avatar for ms_sws
0
3K
Member Avatar for bjoernh

Hi there, I started Python today. My first mini-project is supposed to find strings in a text-file. Here is what I have written: [CODE] infile = open("Python/es.txt","r") text = infile.read() infile.close() print text search = 'du' index = text.find(search) if index==-1: print "nothing found" else: search, "found at index", index …

Member Avatar for griswolf
0
543
Member Avatar for Hypalink

I'm wondering is it possible to echo out an entire media player, such as windows media player,in a similar method to echoing out all other tags such as tables and divs? The code i want to echo out, only if certain variables dictate, is this: [CODE]<OBJECT id='mediaPlayer' width="300" height="250" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' …

Member Avatar for diafol
0
133
Member Avatar for zachattack05

All parenting jokes aside, I have a general purpose status strip on my parent form that contains a progress bar and a few labels. Occasionally a child form will execute a command that could be tracked on the status bar so my users don't think that the program is hanging... …

Member Avatar for zachattack05
0
85
Member Avatar for MaxDes

Hello again, I am trying to replace a string which is actually different from line to line in a text file. I want to end up with a filename but without the path. For example: My text file contains: C:\test\testingmore\filename.mpg C:\test\testfiles1\testfile4.mpg W:\testinglocation\testingmore\testfiles9.mpg I would like to replace the path in …

Member Avatar for MaxDes
0
163
Member Avatar for Alex_

this is what i'm doing.. [code=c++]cout << "Value:" << endl; cin>>it; //it is int cout<<1; for (pos = v->begin(); pos != v->end(); pos++) { // pos is an iterator and v is a vector<int> if (*pos < it) { v2->push_back(*pos); cout << *pos << endl; } } cout<<2;[/code] This is …

Member Avatar for Alex_
0
1K
Member Avatar for mugilan

Hi friends, I am new to c++, just find this example from the book, but when i try to run in my visual studio,its gives problem. there is no error in the codes, it compile well, and in main screen ask the user to input the selection that they want, …

Member Avatar for mugilan
0
150
Member Avatar for Lass

Hello everybody, I'm working in a java interface and I'm trying to use an image as a background but nothing from the result I found in the internet seems to work well with me :/ my code is: [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; import java.awt.Color; public class …

Member Avatar for Lass
0
91
Member Avatar for idlackage

I've got a NullPointerException at line 50 (and the init on line 12). Can't figure out why. [CODE]private String gradientText[] = { "Gradient State", "Gradient Cols" }; private String lineText[] = { "Line Width", "Dash State", "Dash Length" }; private String shapeText[] = { "Shape Type", "Fill State" }; // …

Member Avatar for idlackage
0
113
Member Avatar for jockfaire

Hi all, I have written sql code to create a SQL Server CE database to be deployed on a Windows Mobile emulator using the SqlCeEngine object. The sql statements are enclosed in the form load procedure. However, when i run the program i get the following error: [B]There was an …

Member Avatar for jockfaire
0
118
Member Avatar for atsuko

Hi there, I am new to python. Can somebody tell me how can I count a given word from a file. I found lots of solution for counting all the words in a file, but not for some particular ones. Thanks in advance

Member Avatar for TrustyTony
0
706
Member Avatar for masoudnia

hello firends. I am learning php and I install wamp but now i dont know what i must do for using wamp server and how i must execute my projects?

Member Avatar for diafol
0
171
Member Avatar for JStarr

Hello all, I'm trying to do this homework assignment but I keep getting an error when it compiles. The problem it has is in the startlotto function but I can't find it. It says that I have 2 errors: "error C2143: syntax error : missing ')' before ';'. "error C2059: …

Member Avatar for JStarr
0
115
Member Avatar for MrDiaz

Hi everyone, I'm trying to accomplish the following; I need to create 2 subprocesses and each subprocess should create a process of their own. Should look like this: [QUOTE]I'm child xxxx parent xxxx I'm the subchild xxxx parent xxxx I'm the second child xxxx parent xxxx I'm the second subchild …

Member Avatar for MrDiaz
0
107
Member Avatar for ssmg

Hi, I was just wondering if there was any way to export the code I've written in Visual Studio to MS Word, by preserving all formatting. Since copy-paste doesn't keep the formatting, I need a way to transfer my original code to Word while keeping the formatting. And, yes, it …

Member Avatar for nbaztec
0
366
Member Avatar for ITgirl2010

I need to create an application that utilizes your Order class to implement a simple Order tracking system. To do this your system must be able to deal with a number of orders. Your application should have the following capabilities: 1. Create a new order 2. Update an existing order. …

Member Avatar for sneekula
0
102
Member Avatar for carrythe1

Hello, Please disregard any small syntax errors I have made in this question, I’m trying to simplify a program that is many pages long. I have a program that has 2 parts, main.cpp and a form GUI.h. Both have functions that pass variables between themselves and I don't want to …

Member Avatar for nbaztec
0
2K
Member Avatar for d4n1x

Hello I have little problem with my code. Problem is iterator inner. How can i solve this? My code [code] map <string, map <string, string> > m; map <string, map <string, string> >::iterator outer; map <string, string>::iterator inner; m["John"]["VW"]="Golf"; inner=m.find("VW"); if(inner != m.end()) {cout<<inner->second<<endl;} [/code] Best Regards Danijel

Member Avatar for d4n1x
0
114
Member Avatar for raq_0619

Hi Guys... me and my partner has a problem regarding printing a web page. We only wanted to print the body or one part of the page that we really need - a form to be exact. We were able to find codes with the help of Google but this …

Member Avatar for fxm
0
425
Member Avatar for MARKAND911

I want to open a Ajax Modal popup when a linkbutton is clicked which is in gridview. please help me.

Member Avatar for MARKAND911
0
95
Member Avatar for ben.matthews18

Ok here is the situatation, I have three tables set up; 'Users' 'Profile' 'Linkingtbl' The 'Users' table holds the following data; [LIST] [*]Email (PK) [*]Password [/LIST] The 'Profile' table holds the following data; [LIST] [*]ProfileID (PK) [*]Firstname [*]Lastname [*]DOB [/LIST] The 'Linkingtbl' table holds the following data; [LIST] [*]ID (PK) …

Member Avatar for madison12
0
450
Member Avatar for jazz_vill

I want to know how will I pass this table values using a form. I have a list of products and each item belongs to a section and each section has different attributes. The attributes section are columns where the user can input a number of products he wants to …

Member Avatar for Designer_101
0
189
Member Avatar for goumang

hi.. im goumang .. i have a database call test with fields, std name,roll number,mark,state and category(st,sc,gen). and i want to select a students from this database, based on roll number with a criteria of some cut off mark...pls help me!! i create a FORM with a text field to …

Member Avatar for vb5prgrmr
0
88
Member Avatar for sfrider0

I finally figured out that my applet needs to be signed for it to work. So I've spent the last few hours figuring out how to do that. I used the keytool to create my .crt file, then created the .jar file using jarsigner. After I did all of that, …

Member Avatar for bigdognec
0
106
Member Avatar for mtxgroup

hi can someone tell me how to write a code in assembly language(ASM16,TASM Compiler,Windows) to implement a simple countdown timer (to miliseconds accuracy) display on the command prompt screen? after starting the program when you press the space - the stopwatch will start - press space bar again - stopwatch …

0
57
Member Avatar for bbman

Hey, I noticed that I have been using var instead of string, int etc. in delegates due to a habit from another language where they were cleared after, and it just makes a temporary value for the class only, and once it has executed, is deleted. Is this the same …

Member Avatar for bbman
0
73
Member Avatar for Graphix

Hello everybody, I am currently developping a GUI interface game for windows XP. I am currently having difficulty changing the background of a EDIT box created with CreateWindowEx(). It's default background is white (which is the color I want). But the user is not supposed to be able to adjust …

Member Avatar for gashtio
0
4K
Member Avatar for neti1987

hi! I hope this is the place for my my question: I work on a file tagging system. I write it in java and use MySQL as my DB. I have a table that contain only one field: file's path. when directory is renamed, it's path changes. and that's mean, …

Member Avatar for neti1987
0
244

The End.