4,928 Topics

Member Avatar for
Member Avatar for Birdie010

I'm receiving error message "Syntax error missing operator in query expression" any help you can provide is appreciated. Private Sub btnEmailCat_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEmailCat.Click Dim SQLStmt, EmailAddress, SubjectLine, BodyText, CATDateString, DollarsAndCents, NoDecimal As String Dim CATCounter As Integer Dim GSIdNum, GSIdHash As Long Dim …

Member Avatar for sumithakb
0
82
Member Avatar for Birdie010

I'm receiving error message "Data Type mismatch in criteria expression", any help with debugging is appreciated. Private Sub btnEmailCat_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEmailCat.Click Dim SQLStmt, EmailAddress, SubjectLine, BodyText, CATDateString, DollarsAndCents, NoDecimal As String Dim CATCounter As Integer Dim GSIdNum, GSIdHash As Long Dim Cnxn As …

0
59
Member Avatar for Birdie010

I'm receiving error message "ExecuteReader got No value given for one or more required parameters", any help with this is appreciated. (using Access 2003) Public Class frmDisplayJV Private Sub DisplayJV_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load cbJVDate.Items.Clear() Dim ADate, SQLStmt As String Dim ACounter As Integer Dim …

0
51
Member Avatar for bluestar123

hello I want to create a page,where there will be a gridview,with 2 columns. 1st column will have Numbers..1,2,3,4,5........as much as user want. next column is where people will insert data,say a,b,c,d,e,f,g..... After pressing the button, 1,a 2,b 3,c ....all these wil be inserted in database rows. can somebody please …

Member Avatar for leelarani
0
227
Member Avatar for acperson

I've been trying to fix these errors for a while now and I'm having difficulty. Can anyone help? I've attached my header file, .cpp file and main. The C2533 and C2511 are both in my .cpp file. c:\documents and settings\tina\my documents\visual studio 2008\projects\csci112lab4\csci112lab4\invoice.cpp(15) : error C2533: 'Invoice::{ctor}' : constructors not …

Member Avatar for acperson
0
463
Member Avatar for acperson

[B]*When I compile the program it works. However, when I try to run the program, it outputs the first message then gives me the following error-*[/B] CSCI112LAB2.exe has encountered a problem and needs to close. We are sorry for the inconvenience. [B]*And when I tried to debug it*[/B] Unhandled exception …

Member Avatar for acperson
0
2K
Member Avatar for sfrider0

Is it possible to display in image in a listView box? I'm working on a link checker all the links on a webpage are put in a listView box. Right now I just have the words "Good" and "Bad" by each link and would like to put an image next …

Member Avatar for ddanbe
0
116
Member Avatar for whoopie5

Hello I am having problems with pop ups, speed, and internet explorer will not open pages. My son clicked on a virus protection pop up. Any help would be greatly appreciated! Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 9:45:51 AM, on 11/30/2008 Platform: Windows XP SP3 (WinNT 5.01.2600) …

Member Avatar for crunchie
0
320
Member Avatar for narayanc1

Hi , I Developed a windows Deployment Application.It contains One Windows Application,Windows Service and Custom Action Application.Some Times While Uninstalling Windows service is Removed and Uninstall process is Stopped.And It is showing an error that Specified service doesn't exist.Then I am manually installing the Windows Service from Visual studio 2005 …

Member Avatar for narayanc1
0
135
Member Avatar for rumencho

Hi all. When I create simple console application with Visual Studio C++ ,and I run it, my program shows on full screen, How to adjust my .exe files to show on single console window?

Member Avatar for ArkM
0
94
Member Avatar for Icebone1000

win2000 , visual studio 2005, console application (sorry my poor english) I dont know very well how start explain whats my problem.. Im making a sudoku game (not unic solution, just random =P) the problem is the loop where it suppose to verify the sudoku rules and make the corrections …

Member Avatar for Murtan
0
242
Member Avatar for atman

Hey guys! Could anyone enlighten me how to draw a graphic window in c? which classes to use and maybe a basic example would be greatly appreciated. cheers!! im using XCode and i assume it doesnt have all the libs like Borland, or Visual studio... cheers!

Member Avatar for Ancient Dragon
0
63
Member Avatar for cout<<"alias"

Hi there, been working on a small program that will loop a function which adds two integers until the user enters 00, but can't seem to work out the finer details. A little newer to C++, don't need a complete answer but any advice would be much appreciated [code=c++] #include<iostream> …

Member Avatar for cout<<"alias"
0
386
Member Avatar for ajorge

Hi to all! I never used Pointer Functions, and now i'm trying to use a C Pointer Function in Visual Studio 2005. But there's a problem... the pointer function isn't working properly... This kind of functions doesn't work in the same way in C and in C++? My pointer function …

Member Avatar for ArkM
0
119
Member Avatar for cout<<"alias"

Hi there, been having some trouble with a simple program i am trying to write. I'm fairly new to C++, and can't seem to fix the errors im getting. Any ideas or hints would be much appreciated. [code=c++]#include <iostream> using namespace std; int main() { double payrate; double hours; double …

Member Avatar for cout<<"alias"
0
147
Member Avatar for Fouly

Hi all, The following code is generated automatically in Microsoft c++: [code] // InventoryAssignment(BETA).cpp : main project file. #include "StdAfx.h" #include "Form1.h" using namespace InventoryAssignmentBETA; [STAThreadAttribute] int main(array<System::String ^> ^args) { // Enabling Windows XP visual effects before any controls are created Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); // Create the main window and …

Member Avatar for Fouly
0
119
Member Avatar for koushal.vv
Member Avatar for Quendy

Here is my code, I want to get the coordinate of the mouse position: [code=cplusplus] #include <iostream> #include <string> //#include "WinDef.h" //#include "stdafx.h" #include <windowsx.h> #include <windows.h> #include <atltypes.h> using namespace std; int main() { DWORD pos = GetMessagePos(); CPoint pt(LOWORD(pos), HIWORD(pos)); ScreenToClient(&pt); return 0; } [/code] But I could …

Member Avatar for vmanes
0
557
Member Avatar for E_Hall

Hi, So I got one of these facebook virus's that is going around and now I cant seem to run AVG anymore. The malware I can tell of is Virus Trigger and Security Toolbar 7.1. If anyone can help me get rid of this stuff so I can get a …

Member Avatar for crunchie
0
204
Member Avatar for j_p36

Ok, so I've been working on this code for a day now and i thought I had all the kinks worked out, but my program isn't working right. I'm writing this code to simulate a game (basically a simulation of a simulation) used to illustrate some topics we are trying …

Member Avatar for j_p36
0
182
Member Avatar for GDICommander

Hi, everyone. I am doing a performance test on the heapsort. I wrote this program and it has a run-time error that I cannot explain. I am compiling on Microsoft Visual Studio 2008 and this is the error. HEAP CORRUPTION DETECTED after Normal Block ... well, I think that the …

Member Avatar for GDICommander
0
116
Member Avatar for bigbadowl

Hi all I'm using Visual Studio 2008 to develop my first webpart. I have created a PageMethod to call from Javascript. From searching, I believe that you cannot create a PageMethod in the component directly. Question is, how does one go about creating a PageMethod in a Sharepoint WebPart that …

0
60
Member Avatar for andy91

Hi I'm a moderate level PHP developer and I'm trying to move to asp.net for a project but finding this a very difficult and alien experience. The hole ASP.net world is so different from the traditional PHP/mysql way of doings things. My head hurts. What I want to do is …

Member Avatar for dickersonka
0
202
Member Avatar for web developer

Hi all, I have a server in our network contains the database of the project (SQL Server 2005). Suddenly a developer computer couldnot connect to the database which in that server. and now another computer did the same. The strange is the designer computer which still connecting to the server. …

Member Avatar for web developer
0
150
Member Avatar for dougy83

Hi. I have written a small test socket program that uses a background thread that accepts tcp connections and adds them to a connection list that is accessed by main(). When a connection is opened, then later closed, recv() is called (see line highlighted in code below), which throws an …

Member Avatar for dougy83
0
232
Member Avatar for risa

hi, I get a crash as "Unhandled exception at 0x5f4335bb (MFC42D.DLL) in VMFirewall.exe: 0xC0000005: Access violation reading location 0x00000000." in D:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\src\mfc\appmodul.cpp in _tWinMain() funtion at call of AfxWinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow); This crash is in both debug and release....i have tried ignore of mfc42D.lib and mfcs42d.lib....but …

Member Avatar for risa
0
404
Member Avatar for msd1357

Hello, I create a component class in Visual Studio 2008 in a windows form application. This component has a property named "MasterFormName", which should contain name of the form that component will place on it. I want that the MasterFormName property be a read only property and when I dragging …

Member Avatar for MRafeie
0
79
Member Avatar for justapimp

I have been looking for a way to evaluate if a column in a database has a null value in it. So far, every method suggested have failed and I would like to know anyone else have successfully evaluate a null value in C# Visual Studio 2005.

Member Avatar for Kusno
0
347
Member Avatar for techgenie

Hi guys I am working on a Lottery program to generate 6 unique numbers. So far I have the following: CLASS LOOKS LIKE THIS: [code=cplusplus] #include "stdafx.h" #include <string> #include <ctime> #pragma once #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers class Lottery // Lottery class definition { public: …

Member Avatar for skatamatic
0
285
Member Avatar for minas1

Hi. I made some headers I want to include in every project from the include directories. So I'll be able to do [I]#include <hello.h>[/I] instead of [I]"hello.h"[/I], and I won't need to place them in the same directory every time. So I did this: [IMG]http://i38.tinypic.com/2n1bdj8.jpg[/IMG] [IMG]http://i34.tinypic.com/33a4d1g.jpg[/IMG] but it doesn't work. …

Member Avatar for cikara21
0
235
Member Avatar for saneeha

I have made a data table and want to display its content on the crystal report viewer. My data table has 2 columns but the report only shows one column... <code> DataTable dtRecords; dtRecords = new DataTable("Records"); dtRecords.Columns.Add(new DataColumn("Name", typeof(string))); dtRecords.Columns.Add(new DataColumn("FullName", typeof(string))); dtRecords.Rows.Add("aslam", "zia"); dtRecords.Rows.Add("hamad", "anwar"); CrystalReport1 cr = …

Member Avatar for saneeha
0
53
Member Avatar for dougfalk

Hi, i have been wasting to much time i don't have trying to figure this thing out and hope somebody can help. I am making a project for school in VB.NET. I have SQL SERVER 2005 installed on my machine. I can access the database just fine thru Visual Studio …

0
62
Member Avatar for invisal

I am trying to make a simple engine with WinAPI and I encounter this problem: [code] class Window { .... public: [COLOR="Red"]static HINSTANCE hInst;[/COLOR] .... }; .... .... .... int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MSG msg; [COLOR="Red"]Window::hInst = hInstance;[/COLOR] .... .... } [/code] The …

Member Avatar for invisal
0
245
Member Avatar for rmlopes

Hi all, I was developing my app under Linux, using the Loki library. No I am trying to work on it using visual c++ under windows XP. I can compile without errors both my project and the loki library, which created a loki_D.lib. I include this .lib through the makefile. …

Member Avatar for rmlopes
0
205
Member Avatar for coachHinesfan

Hello everyone, I had a simple question about the Microsoft Visual Studio software. I don't understand what ASP is or rather ASP .NET ? And also what exactly in crash course style is CLR ( Common Language Runtime ) ? And how is it all different to developers ?

Member Avatar for Rashakil Fol
0
74
Member Avatar for Icebone1000

I don't knof if that's the right place, since it's not c++ specific but a windows development doubt... (and sorry my english) My problem is kinda stupid, but i don't know whats happening, im tryng to show a popup menu when user press the righ mouse buttom, in the cursor …

Member Avatar for Icebone1000
0
1K
Member Avatar for semsql

Hi everyone, Pertinent info: SQL Server 2005 Visual Studio 2005 I am having a major problem with my C# application when inserting about 250 records into a table. The entire table is locked and no other user is able to update a record. Any idea on how I can prevent …

Member Avatar for semsql
0
138
Member Avatar for murderotica

Hello there, I've been haunted by this problem for a couple of days. I'm installing Visual Studio Tools for Office and one of it's requirements is Office service pack 1. I've already installed the update and it still prompts that the sp1 is not yet installed. Please help. Thank you.

Member Avatar for murderotica
0
94
Member Avatar for meddlepal

I am having a problem with a class I am writing. I have defined a whole bunch of methods defined that the compiler is telling me in the implementation are different. The errors are: [QUOTE] 1>------ Build started: Project: prog6a, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp 1>c:\users\philip\documents\visual studio 2005\projects\cs211\prog6a\prog6a\avltree.h(186) : …

Member Avatar for meddlepal
0
191
Member Avatar for minas1

Hi, I'm making a matrix class and I'm currently trying to overload some operators. [B] +=[/B] [code=C++]#ifndef MATRIX_H #define MATRIX_H #include <iostream> #include <ostream> #include <string> #include <sstream> class Matrix { Matrix& operator = (const Matrix &m); Matrix& operator += (const Matrix &m); public: Matrix(int x, int y); Matrix(Matrix &m); …

Member Avatar for minas1
0
722
Member Avatar for doel.jangkrik

I have problem with datatypes. When I use the text datatype on SQL Express, I get "The data types text and nvarchar are incompatible in the equal to operator." error. Wwhen I set my variables to "varchar" or "nvarchar", I don't get an error, but my update command does not …

Member Avatar for dickersonka
0
91
Member Avatar for julseypart

Hi, i am trying to find a good final year project to do which is relevant to the modules im studying and course (bsc software development). I've thought of making an Online Backup Application / Manager which would facilitate the storing of files online with various other functions such as: …

Member Avatar for peter_budo
0
134
Member Avatar for songkok

helo guys! i need some quick help... now i doing an internship and apparently i need to program a window application for my employer. at first i didnt think it was so bad because i already learned c++ in my university. But as i got deeper into the project, it …

Member Avatar for ddanbe
0
74
Member Avatar for college.student

[code=cplusplus] #include <cstdlib> #include <iostream> #include "stdafx.h" using namespace std; int main() { char YorN; cout << "This Program Calculates Job Earnings\n\n"; cout << "Would You Like To Use The Pay Calculator Program: "; //With while loop the 2 previous cout statements are not //read cin >> YorN; while ( …

Member Avatar for vmanes
0
102
Member Avatar for Yamachi

I'm currently writing a program in vb.net 2008, that is split into the main program and several DLLs (of which the user can select 1 to use). In the DLL, I have a function that reads data from a filestream into a structure, then returns the structure. While trying to …

Member Avatar for Yamachi
0
134
Member Avatar for minusone

Hi folks, i'm relatively new to this area of things although i have been using C# for many years. I have been trying to find a starting point for organizing my code for medium sized projects. What i am after is a relatively detailed example of how a software application …

Member Avatar for LizR
0
227
Member Avatar for blackhawk9876

[code=cplusplus] // SPECIFICATION FILE (sList.h) // This file gives the specification of a sorted ADT // The list components are maintained in ascending order of value //****************************************************************** #ifndef SLIST_H #define SLIST_H const int MAX_LENGTH = 50;// Maximum possible number of components needed typedef int ItemType; // Type of each component …

Member Avatar for William Hemsworth
0
138
Member Avatar for andyT

Hello, I am having trouble determining why this C++ code breaks when using dynamic arrays with new / delete (C++ style), and why it does not break with malloc / free (C style). Specifically, when using Visual Studio 2003 and the new / delete commands, I am getting the error …

Member Avatar for andyT
0
180
Member Avatar for gp04lch

hey guys, was having a great time with SkyBound's FreeStyle when i ran into a very funny problem. On removing a tabpage from the tabcontrol which is using the FreeStyle component, i get an error when executing the following line: [CODE]this.Controls.Remove(this.TabPages[SelectedIndex]);[/CODE] exception thrown is: System.ArgumentOutOfRangeException was unhandled Message="InvalidArgument=Value of '0' …

Member Avatar for LizR
0
146
Member Avatar for amby

hi there can anybody please help me out....i just start learning asp.net and have downloaded visual web developer 2008 Express Edition....and it opens my .aspx file.....but i want to check its contents on my browser.....i wrote the simple program that prints Hello world in the center with the yellow background.....first …

Member Avatar for jbennet
0
148

The End.