4,928 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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) … | |
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 … | |
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? | |
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 … | |
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! | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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. | |
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: … | |
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. … | |
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 = … | |
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 … | |
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 … | |
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. … | |
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 ? | |
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 … | |
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 … | |
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. | |
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) : … | |
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); … | |
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 … | |
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: … | |
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 … | |
[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 ( … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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' … | |
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 … |
The End.