43,549 Solved Topics
Remove Filter ![]() | |
help guys. im having this error.. i don't know hat to do.. please help..thankss #Region "FillListView" Sub FillListview() lvList.Items.Clear() sqlQry = "SELECT * from book ORDER BY book_id ASC" Dim mycmd As New MySqlCommand(sqlQry, myConn) Dim dReader As MySqlDataReader = mycmd.ExecuteReader() <---- this is the error im getting it says … Software Development asp.net visual-basic | |
My form1 has a checkedlistbox that is being populated by datatable, then there's a button to open form2 that will add records in checkboxlist. Now when the form2 closes, checkedlistbox from form1 will refresh. How to do this? Software Development | |
Hello every one I have referred DLL in my project. I have to handle the event from DLL in VB.net code. Can any one help me out in this regard? I guess we can do using WithEvents. Can you give me complete picture? Thanks a lot. Software Development vb.net | |
hello! i've been trying to create an automated task which it should: 1. open Print 2. choose Printer 3. change Paper Size ( i want to print my doc in all paper size) but i find my code too long and oh i dont know, and i want to simplify … | |
Hi all How can I create a csv file with header. I have a text file with several number of blocks staring from "//" and ending a block with "//". I have attached a sample file. I want to use first column of this text as a header of csv … Software Development python | |
m a newbie to aspx vb.net and need some help...i've got a login form with staff id adn date of birth loging in credentials. m using 3 drop down lists to capture day,month and year(m populating the day month and year in the page load event). below is my login … Software Development open-source session vb.net | |
Hi all I'm having a bit of trouble wrapping my head around exactly what hiding a class method does, can somebody try giving it to me in plain English? I'm going by the [URL="http://download.oracle.com/javase/tutorial/java/IandI/override.html"]Sun Java Tutorial[/URL] but I find the example a bit vague when it comes to the hiding. … | |
I'm working with a java application and trying to modify this code so that it no longer prompts the user with the Dialog box to save a txt file. The user already uses the Dialog box to choose a directory in which to save the file at an early point … Software Development file-system java xml | |
Hello, I have been having a heck of a time using a Listbox with a BindingList object as the datasource. I have finally managed to get the ListBox to update when changes are made to existing items in the BindingList object. When removing items from the list I had to … Software Development vb.net | |
Hi guys, I have a several dozen .ini files from which I need to extract specific lines. The lines I'm pulling are repeated all throughout the code so I can't count on specific strings to pull these lines. My dilemma is that I want lines: 3, 4, 6, 47, 50, … Software Development perl | |
Im using vb.net 2010 express (im new) im learning to develop apps that uses db. what is the best DMBS to use with vb.net 2010? can you gave an example SIMPLE code on how to connect to the database? thank you - i hope is not too much to ask? Software Development vb.net | |
Hello I am attempting to parse multiple lines of text from a text file using regexpressions. I am using vb.net with visual studio 2008. At the moment I am filling my datatable with the text file information and am able to return each line of text and parse the first … Software Development regex vb.net visual-studio | |
Hi, I’ve 3 classes : A, B and C. The class A includes an object from the class B and another object from the class C. In my class B, I’ve a function that returns a vector of struct. This function is called in the class A and after that … Software Development c++ | |
While my program loading, I have a splash screen. After the program is done loading my Splash-screen closes and the main form (form1) shows (all good up to that point). But the problem is after the Splash-screen I cannot close form 1, nor can I move it. here is what … | |
Hi, I have the following code which compiles absolutely fine.. [CODE] using namespace std; #include<iostream> #include<stdio.h> #include<conio.h> struct node { int data; struct node *link; }; void add(struct node **,int); void display(struct node*); int count(struct node *); int main(void) { struct node *p; p=NULL; add(&p,5); add(&p,1); add(&p,6); add(&p,4); add(&p,7); display(p); … Software Development c++ linked-list | |
I have seen in a couple of places that strstream objects are deprecated, but there are also stringstream objects. My compiler has 2 headers <strstream> and <sstream> and I don't know which is which. In light of this, which header should I use to produce more modern code? I suspect … Software Development c++ | |
we were asked to input a number and display the sum of the odd and even integers. eg. number: 10 sum of odd: 25 sum of even: 30 [code]intnum = CInt(txtnum.Text) Dim counter% = 1 Do Until counter = intnum intcompare = counter Mod 2 If intcompare = 0 Then … Software Development vb.net visual-basic | |
So, due to my last question, [url]http://www.daniweb.com/forums/thread303487.html[/url], I am becoming acquainted with the vector template. However, I clearly am not using the commands correctly. Below is a section of code which, eventually, leads to a segmentation fault later in the program. First an introduction of the variables: [CODE] using namespace … Software Development c++ | |
Hi I am creating a DLL which will often make calls to another DLL. I have gone through the procedure of getting a handle to the other DLL and this works fine for some function calls. It seems like the functions which don't modify a parameter work fine. The access … Software Development c | |
Hello Everybody... I am very new to VB.NET coding..My manager assigned me to write a Single Program that uses OOP concepts like Abstraction,Encapsulation,Inheritence and Polymorphism.As there is a time limit plese help me in this.............Thank You all..........CintoJose. | |
I have a perplexing problem which may turn out have a simple solution (hopes!). I am writing a little GUI to allow a user to enter information which will get built into an XML file which is linked to flash-based graphic. One of the fields I have is a Tkinter … | |
I need to use log4j and I have already imported the .jar, and added the necessary code to my project. I get the following warnings when trying to run my program: log4j:WARN No appenders could be found for logger (multithreadsprocessor20.MultiThreader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See [url]http://logging.apache.org/log4j/1.2/faq.html#noconfig[/url] … | |
Hi, I have this following code for watershed algo to segment an image. But I do not know what the error is. Can someone help me out [CODE]namespace watershed1 { public partial class Form1 : Form { public int X; public int Y; public int Height; // labels the pixel … | |
Hi. I'm fiddling around with Python and MySql. I keep getting an error with this little script to try and read the rows in a table. The error is: TypeError: unsupported operand type(s) for +: 'int' and 'tuple' Here is the code snippet. Any help would be hugely appreciated [CODE]import … | |
I have a picture uploaded in the picturebox in c#. What i need to do is to draw a rectangle into this picture and cut the part of image that's in the rectangle and show it next to the image box and then save it with a submit button. Can … Software Development image | |
#include <iostream> #include <cctype> #include <fstream> #include <cstring> #include "ass1.h" using namespace std; const int MAXSIZE = 100; int records = 0; char Menu(); void ReadFile(); void DisplayRecs(); void AddRecord(); void SearchArray(); struct StudentRec { string Number; string GName; string FName; string subjects[4]; int results[4]; int numsubs; }; StudentRec StudentArray[MAXSIZE]; … Software Development c++ | |
helloo, hello can you help me please i want to write to a file using bufferedwriter and bufferedreader but the problem is that i don't know how to use it i get an error please help me,hoping for your positive responds... [CODE] import java.io.*; import java.util.*; class Writefile { public … Software Development java | |
How to pass an array of struct as a function parameter? This is not working: [CODE] struct Person { char* name; int age; Person(char* name, int age) { this->name = name; this->age = age; } } struct XYZ { int count; Person* people[]; XYZ(int count, Person* people[]) { this->count = … Software Development c++ | |
Hi, I have two Pthreads and two named semaphores, the semaphores are created within the threads, is there a way in which i can declare a semaphore in one thread and then open and use it in the other one ? Thanks Software Development c++ | |
I am developing software in which I needed to do more elaborate visual styles to a listbox than usual and I used some sample code online. As a good learning programmer should I tried to understand the code when I edited it and for the most part I did, but … Software Development | |
Hi, Can any one say what is the difference between the implicit and explicit? Thank you, With Regards, Prem Software Development java | |
Would like to be able to replace every [I]nth[/I] word in a text file with a blank space. I'm sure python is so capable. Software Development python | |
Okay so my problem is that the server (accessed through filezilla) wont allow .exe extensions to be uploaded as a result i have added a .new to the end and that allows it to be uploaded. Thus when i download it i simply remove the .file from the end. That's … Software Development vb.net windows-vista | |
[CODE][/CODE]hello can you help me please my program will generate error it says can't find symbol Class Node please help me hoping for your positive responds... here's the error... D:\SinglyLinkedList.java:16: cannot find symbol symbol : class Node location: class SinglyLinkedList private Node head; ^ D:\SinglyLinkedList.java:17: cannot find symbol symbol : … Software Development java | |
I have a program with arrays declared in the main function. However, when I want to use that array in my init() function, it doesn't work. May I know what must be done so that I can use my arrays in the init() function? Software Development java | |
import java.util.*; class Data { int num; String name; Data(String na) { name=na; } public int hashCode() { return 5; } public boolean equals(Object o) { if(o instanceof Data && ((Data)o).name==this.name) return true; else return false; } } public class Sandeep { public static void main(String[] args) { HashMap map=new … Software Development java | |
hi, i want to be able to intercept IE connections and get the URL before the contents are downloaded, either when clicking on a link or entering the address directly in the Addressbar, i found some examples on the web and made some changes but still some things are not … Software Development python | |
I am trying to edit this program to pass two variables to the function call using a passing-by-reference. I need help as to how to modify what I have. Any help would be appreciated. #include "stdafx.h" #include <iostream> using std::cout; using std::endl; int incr10(int& num); // Declare function int main(void) … Software Development c++ | |
Hey everyone, i am new to the Pic 16f877 microcontroller and am having trouble doing analogue to digital conversion. can any one help me or even give me the codes. i would be very grateful. Software Development assembly | |
Hello everyone. I have already read the "MySQL C API Programming" tutorial found at: zetcode.com/tutorials/mysqlcapitutorial. The problem is, the tutorial does not show how a person would display the results obtained from the [u]SELECT FROM[/u] statement in a char * format. Does anyone know if it is possible to convert … | |
Hello, I have started to create an app that through some other things needs to take the text from two text boxes on a form and then post the text on list box that's located on another form. Following is the code with which I've tried doing this... and of … Software Development | |
Hi All, I have a question that I cannot figure out. I have DLL that will export class and some C functions. Should I enclose both definition (.cpp) and Implementation(.h) with extern C? something like below? myfunc.h [CODE=C++] class TestClass{ //some stuffs here }; extern "C" { void myFunc(int x, … Software Development c++ | |
* I meant pointer parameters This function that has two parameters, both of type reference and return reference to pointer. Do I need to fix anything? I have been stumped for days and dunno what I should fix here is my code: [CODE]#include <iostream> using namespace std; double *ComputeMaximum( const … Software Development c++ | |
I am having a problem firing off a DOS app. To run a SQL 'SSIS' package, you use the following syntax: C:>dtexec /f "PACKAGENAME.dtsx", the quotes are required. I have tried os.system, os.execlp, os.execl and none of them seem to work. os.system causes an error with 'dtexec' saying the package … Software Development python | |
I am running SQL 2005 Standard Server. I am using Visual Studio 2010 for development. Let me just say that what I have below works, I would just like to have some constructive critisism. Is this the best way? Is there a better way? Are there any things I need … Software Development sql vb.net visual-studio | |
How do you nudge a message box like the one in msn? Is there a easy method to do it? Software Development c# | |
I have been Out of real pythoning for a while. My favorite Toolkit is wxpython but It have a huge size due to monolithic nature. So even with simple app, it swells! I was looking if I can have any size difference with Other GUI toolkit, PyGTK! Hope someone will … | |
Hi there, I have a question regarding file open in C# , I have the path of the file saved in the database, what I want is when I open the open dialog button it will show the files in the path that I have saved and when the use … Software Development c# file-system | |
so i am designing some software to prompt the user to enter their account number which in turn leads them to have to input their usage of ln. this then is to be displayed in a database file. i have all the code done for this. it reads in the … Software Development app-store c++ file-system ios user-interface | |
I have a FileSystemWatcher, that moves excel data to a database when ever an excel sheet is made. But it keeps closing on the second iteration, and I can't understand why. Can someone please help. Here is the code. [CODE] private void StartWatcher() { // Create a new FileSystemWatcher and … Software Development microsoft-office open-source |
The End.