132,726 Archived Topics
Remove Filter ![]() | |
:?: Hi all I'm trying to import data from an exel sheet to a data grid but I keep on getting the following error "The Microsoft Jet database engine could not find the object" Here is my code Thanks [CODE]Imports System Imports System.Data Imports System.Data.OleDb Public Class ExellFrm Private Sub … Software Development dataset microsoft open-source vb.net | |
Mucking about (should say practising what I've learn't), and made my version of the rabbits practice program. It's not totally finished but it's my first draft and it's working. Before continueing, I'd like a code review please to tell me whats not correctly done or how I could improve my … Software Development c++ | |
I have the following code, [code] import csv w=csv.writer(file('newfile.csv','wb'),dialect='excel') some_values=[[1,2,3],['A','B','C'],[4,'"5"','ab,c']] w.writerows(some_values) [/code] When I run it on my computer (a mac), newfile.csv is created. However, when I open newfile.csv, it is empty. Any ideas why? Software Development python | |
I have my class in 2 different files(header and source-file) and i have 2 variables which is a const but the only way to give the const variable a value is to do it trough an constructor initializer. But how do i implement an constructor initializer in my class ? … Software Development c++ | |
![]() | [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Call Open_database() XSQL = "Select stock from item where itemcode like '" & Trim(TextBox2.Text) & "'" CMD = New OleDb.OleDbCommand(XSQL, CONN) CMD.ExecuteReader() If [COLOR="Red"]Missing Code Here[/COLOR] MsgBox("Alert") Else XSQL = "Update item set Stock = Stock - … Software Development vb.net |
Hi , I am trying to insert the arraylist to database using sql .I have my code below.Can anyone help me with .My issue is that my insert statement doesnt work. Thanks [code] using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using … Software Development dataset web-server | |
i have *.exe file which is written in C.....when i run this exe file, console window opens even though i have not given any thing to print on console...the .exe file performs file reading and writing operations....now how to i close the console window automatically....i dont want to hide....i am … Software Development c | |
I have tried to start this program but I am so confused with dealing with strings. If any one could take a look and tell me if im on the right path it would be greatly appreciated. Heres the problem and what I have so far: An organization wants to … Software Development algorithm c++ encryption | |
hello can you please help me and please correct my code if this is wrong. please also check my cursor type if it is correct..hoping for your positive responds... [CODE] Option Explicit Public con As ADODB.Connection Public user_rs As ADODB.Recordset Public cmd As ADODB.Command Public m_user As String Public m_pass … Software Development open-source visual-basic | |
I have made the following code to find a string in some lines of text But it always mentions the error: no matching function for call to 'strcmp(std::string&, std::string&)' [CODE]#include <iostream> #include <string> #include <fstream> #include <sstream> using namespace std; int main(){ cout << "Please enter some text" <<endl; string … Software Development c++ | |
Hello all I am a beginner in image processing and would like to know how i could get the coordinates of an image which is displayed in a window. I work on the visual studio platform to implement my c++ codes. Could someone help me with this please Thanks in … Software Development c++ image visual-studio | |
Hi, So, i have a list that contains some words. I need to read a text file and cross reference it with each word in the list. if that word occurs in the text file, i need to filter it out with "*". How would i go about doing that. … Software Development python | |
Hey Everyone, This is my second post so bare with me. I am trying to get some format exceptions to the following text boxes. It's starting to get on my nerves. I just hope I'm somewhat close to the solution but here is the code. I feel like I could … Software Development | |
I want to print out the letter B, instead I get a blank line. Any tips would be great [CODE] #include <iostream> using namespace std; void add(string n); int main() { string B; add(B); } void add(string n) { if(n.length() <= 1) { cout<<n[0]<<endl; } }[/CODE] Software Development c++ | |
Hello everyone, I'm having a hard time figuring out what is wrong with my codes. I have a set of arrays and I have to sort them in order to find the median. I made the function to find the median and I tried recalling the function but it keeps … Software Development c++ | |
I need help when i run the app. and enter the wrong answer "No. please try again " continues to loop forever . I want it to say it only once and repeat the same question. Any ideas? I thought maybe the braces were off somewhere but I'm not sure. … Software Development c++ | |
I have my program with my amoritization list in it, but I need to remove it and replace it with an array, which I also made up. The problem is that i am not sure how to remove the list, and add the array. Can someone tell me what the … Software Development java | |
[CODE]//Form1.h (Windows Forms Application) //.... //.... #pragma endregion cli::array <String^> ^sum; private: System::Void BtnComp_Click(System::Object^ sender, System::EventArgs^ e) { nocarrystate n; carrystate c; char a; states * curstate; states::init(&n, &c); String ^text1 = TxtBin1->Text; String ^text2 = TxtBin2->Text; curstate = &n; int i = 0; int len1 = text1->Length; sum = … Software Development c++ | |
Hello, I am attempting to write a program that will disable the Local Area Connection while leaving the Wireless connection enabled. My company is using net-books in our stores to demo air-cards and we need to keep them off of the LAN. I'm new to VB and VB.net, and it's … Software Development vb.net | |
Hi I'm new to databases under vb.net although I've used them extensivley under VB6. I have a main form with a DataGridView on it. Thats connected to the following bits- _TWC_Viewer_SubmissionsDataSet, ViewerDataBindingSource, ViewerDataTableAdapterm and TableAdapterManager. All this was etup by the VB wizard. The database table is named ViewerData. This … | |
hi!im a student and we have an exercise where we are asked to search for a client of our "bookstore" with interpolation search.The codes are saved in a Code[1000] matrix.The type of each code is like that: for example: AY568UTH or MLK1211 etc. Im new at programming and i dont … | |
def info(object, spacing=10, collapse=1): """print methods and doc strings. Take module, class, list, dictionary, or string.""" methodList = [method for method in dir(object) if callable(getattr(object, method))] processFunc = collapse and (lambda s: " ".join(s.split())) or (lambda s: s) print [B][U]"\n".join(["%s %s" %[/U][/B] (method.1just(spacing), processFunc(str(getattr(object, method).__doc__))) for method in methodList]) if … Software Development python | |
I am having trouble with generaetOutput function the void part is throwing me off. I tried to do it like the genrateQuestion function but the void part has me confused. Also my while statement is missing something because the error message continues to loop and if the user enters a … Software Development c++ | |
Hello, I'm trying to create a routine that processes the input from a 12 digit keyboard input and then display it on a 16x2 LCD display. I'm testing the reading routine with a simple output to an HEX display. Problem is that the value doesn't hold, it changes immediately back … Software Development assembly | |
I am writing code for homework. It is an inventory program using a stack class and a inventory class. When I complile I get the following error: Below is my code thus far. Error 2 error C2512: 'InventoryItem' : no appropriate default constructor available c:\inventory.cpp 17 chapter18 Here is my … Software Development c++ | |
[B]############################### [COLOR="Green"]# PROLOG SECTION # hangman.py # Program to play the traditional game of hangman. # The computer picks a word and the player # has to guess it before he has made 7 wrong # guesses of letters in the word. # Each time the user makes an incorrect … Software Development python | |
hi there, i have two forms in my project, what i want is when i cilck the close icon on top of the form the login form should be displayed, how can i do this in C#?? Software Development display | |
I need to take 2 char strings (6 character date) (and (8 charachter operatror id) convert to uin32 to send over a bus to store by another processor. That processor later sends them back as uint32 and I need to conver back to char strings. Two files need access to … Software Development c | |
Hi All, I am using microsoft nmake tool version 6.00 for my project. when I make changes in any of the .h files, the C files which includes the header file is not getting compiled automatically. Can anyone give some suggestions please? Thanks in advance!! -Karuppiah Software Development c | |
Ok so I'm a casual VB6 programmer and now I'm VBA for Access. In VBA I am trying to determine if whether an option button has been pressed. I used the 'Option1.Value' procedure yet it throws a 'You entered and expression that has no value' error. Here's my code: [CODE]Dim … Software Development visual-basic | |
I'm looking for code that would help me check the user's internet connection. For example, when Button1 is clicked a MsgBox appears that displays either "Connected" or "Disconnected" based on whether they are connected to the internet or not. Software Development visual-basic | |
struct start { int* i; int* j; }p; p.i = new getValue(); when i am printing the value of i it is giving address not the value. Please tell how to get the value. Software Development c | |
I think I may have bitten off more than I can chew with this. I'm writing a program that will figure out the last position standing by continuously counting the positions using prime numbers till only one is left. [url]http://acm.uva.es/p/v100/10015.html[/url] is a link to the original problem. the code I … Software Development c++ | |
Hello, I am trying to connect a VB.NET 2003 Oledbdataadapter through the wizard to a SQL Server 2005 Database, but i get an error message during the wizard. These are my steps: New Connection, Select provider (Microsoft OLE DB Provider for SQL Server), Select Connection: server name, log on: use … Software Development microsoft-access sql vb.net visual-studio | |
i neez help manz. here is what i have so far: ------------------------------------ Dim x As Integer Private Sub cmdexit_Click() 'this will end the program End End Sub Private Sub picmario_KeyPress(KeyAscii As Integer) 'this will allow the user to use various keys to 'move mario 'this will move the mario up … Software Development gaming visual-basic | |
Any Java Gurus out there, I am now down to the wire on two projects and need assistance. I posted one of them yesterday and here is my final one. :eek: I need to figure out why I can not get the number of digits to count in my program. … Software Development java | |
Hello! I'm planning to make an online program, actually it would only be a login system with GUI and a chat window after login. The client program would recieve some data from the server (like names, ages, etc). I don't want to use C++ for sockets, I want to use … Software Development c++ python socket-programming | |
I'm writing a game where I create a map using ncurses. What I want to try and do(if possible) is make the map the size of the terminal, in other words in the main program I have: [code=C++] // Create a game on an 80x30 map Game gameInstance( 80, 30 … Software Development c++ | |
Hi, I need to find p,q and e values for RSA. Here is a simple & short description of RSA. [QUOTE]Your enter a word (actually it is a sentence but for now a word) then program will convert letters to numbers (like a=1 m=13 etc.) and group them. Use with … Software Development c | |
I'm haveing trouble with this program I don't know what the problem is because my compiler says that their isn't one but the console says their is but it wont give me lines my code is very long too. [ICODE] #include <iostream> #include <fstream> #include <vector> #include "Clear.h" namespace fun{ … | |
Hi, I have written a program for reversing a digit but I get "error C2664: 'strcpy' : cannot convert parameter 2 from 'std::string' to 'const char *' Which I don't get since strcpy is supposed to change a string to a char array. Any clues for whats going on here? … Software Development c++ | |
I'm trying to use the web request class in vb.net to post some xml. On the reciving end, I keep getting an internal server error with the message: Missing Soap action header". I did some reasearch and saw that a firewall can strip out the soap action header so I … Software Development api vb.net web-server xml | |
I came across a design in which there are different projects for the methods and data. [B]Example 1[/B] What I meant is normally, if we have a USER class then [code] class user { int userid; string username; //methods public void Adduser(int id, string Name) { } public void RemoveUSer(int … Software Development user-interface | |
hi i have to finish my assignment by tonight and am stuck when trying to make a regular expression that splits a big slab of text into sentences. I am using the .split() function and want it to split on '.' , '?' , '!' , and '\n' but also … Software Development java | |
OK not the greatest title but this one is not too easy to put in a few words i have a jpg file for example with a custom file extension of jjj for example now i associate .jjj with my application so that when i click a .jjj file my … Software Development display file-system vb.net | |
![]() | Hello, i was just wondering how i could make these buttons appear on the screen in the same position, but so the code is simpler and easy to use. [CODE] ## Screen design draft for major project ## Filename: majorProjectDesignDraft20090222.pyw ## import os from Tkinter import * import tkFileDialog class … |
Hi, my app creates some components at runtime such as a PictureBox. Because they are only created at runtime I have no way of setting the ErrorImage through the properties section. I thought I could just add the images I required to the programs resx file but found out that … Software Development assembly file-system | |
Hi... How can i call a c function for e.g say rounding decimals in Netezza.As it is possible in Netezza with a external C routine but don't the way to proceed.Can anyone please help me out.....?? Software Development c | |
hi guys, here's the deal i want to create a java program that will record a voice through a microphone and then save it in a reusable format.........only problem is i dont know how its very urgent that i get help for this much appreciated!!!!!!!!!!!! |
The End.