132,725 Archived Topics
Remove Filter ![]() | |
Hi all. I need your help. Iam using vb.net 2010 and sql server 2008. I have problem when retrieve multiple rows from database to datagridview. All rows have the same identification number(patient registration number).I have problem in loop to show the all rows in datagridview. Pleaase anyone knows that help … Software Development vb.net | |
Friends , I am new to VB.NET I know something about VisualBasics 6 Ther we have a DataManager to create new database and tables. In VB.NET Is ther any facility to create new database and tables,If so how to use it?If there is no such facility how can we make … Software Development vb.net | |
i want to convert numbers into following pattern if i input `.33` then should produce `1/3` here i am not asking for the exact answer but i just need a good logic to solve this problem. Software Development | |
I need to make a program that will tell me if the user entered a vaild email, phone number, or social security number. This is what I have so far. Sub Main() Dim num As String num = InputBox("Please enter your number!!!", "What was the number you were given?") MsgBox(num) … Software Development vb.net | |
Hi, Is there any way to not allow private construction in friend function, In case we do have private constructor with friend function in our class.Only Static method should be responsible for object creation and other than this compiler should flash error message. #include<iostream> #include<memory> using namespace std; class a … | |
I think that my problem is quite easy to be solved by hard coders like you :-) Its a conversion of binary number to decimal and hexadecimal. I cannot find why i am keep having errors in my two classes. Here is the code: **Main :** public class Times { … Software Development java | |
Good morning community, Can someone help me with the IndexOf method to reverse the name: Don Paul to Paul, D Software Development vb.net | |
Hi. I'm working on this project where I'm supposed to make a simple online store using ASP.net, MVC4 and Entity Framework. I'm on this part where I want to add some products to a database everytime I run my project, and these products are the one I'm going to list … | |
I have a form with 30 textboxes which I want to function as if they are only 1 textbox. # **Why Do this instead of substring the string from a single textbox?** # I have them separated for user friendly appearance purposes. Each box is paired with a checkbox so … Software Development vb.net | |
1. Define a class Car which: ï‚· Stores the name, type, price, model year, number of color, and names of available colors ï‚· Includes a default constructor. ï‚· Includes a parameterized constructor. ï‚· Group of available colors is allocated dynamically in the parameterized constructor based on received number of color. … Software Development c++ | |
In C++, extern "C" { __declspec(dllexport) int test(char* data); } __declspec(dllexport) int test(char* data) { string str = "wassup"; strcpy(data, str.c_str()); return 1; } In C# [DllImport(dll, CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)] static extern int test(StringBuilder faceData); static public void testDll() { try { StringBuilder ASMData = new StringBuilder(500); … Software Development | |
Dear all, I cant get any result set back, when issuing a simple Select statement through VB.Net and MYSql Data provider, to a Mysql table searching for some Greek string. MYSQL Ver:5.5.32 VB.Net: 2010 Do I need any special encoding for the passed string? Thanx | |
Hi Team, I have been trying to understand the concept of RMI by writing a simple classes for 1. RMIInterface 2. RMIServer 3. RMI Client I have written three classes in eclipse and started RMIRegistry by running start rmiregistry command. When i tried to compile RMI server class im getting … Software Development java | |
The following is my homework assigment. I have it more or less complete. I would like feedback from the community on what I can improve in the program. Basically, before I hand it in to my professor, I want a fresh pair eyes to take a look at it. There's … Software Development c# | |
Write a program that clear the difference b/w increment & decrement operators using binary & unary operators. can anyone help me out in this program ??? Software Development c++ | |
I NEED HELP! (please and thank you). I have an assignmet for extra points. I'm lost. Out profesor is not explaining anything and the assignments are NOT what we covered so far (which isn't much). I could use any help I can get. I've been trying to google it and … Software Development python | |
I've been assig to do the class rectangle, the class has two instance variables: length and width of the rectangle, and the methods methods setLength(), getLength(), setWidth(), getWidth() and computeArea(). Do you have any idea to do this. Anyway i'm to to python. Software Development python | |
Good morning, Can someone help me code this instruction? Place student names and final mark into two, one- dimensional arrays. One array will be of String (for names), the other will be an array for real numbers (for marks) Use the array to display: Class Average The number of students … Software Development vb.net | |
Hi, I would like to load the data from a SOAP response XML file to a MySQL table. Sample SOAP XML would be http://data.gov.in/sites/default/files/Ashgourd_2012.xml. I have to write a program to populate the data. I'm not very familiar with Java Web Services. I've worked with Struts2 and basics of Spring. … | |
Hi all,please help me out,how to find occureces and scale in this situation?And what is wrong with diplay option,once it displays,the numbers are not in the same column. Thank you kindy. #include "stdafx.h" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int list[12]; cout<<"Enter 12 values:\n"; for(int i =0;i<12;i++) … Software Development c++ | |
I have a String which has been splitted like this String companyinforstring ="Company name.:Company profile no 1.:Company profile no 2.:Company profile no3.:---------------------------------------------------------------:Company address, :Street number, :Area,Area no2, :City. "; for (String retval: companyinforstring.split(":")) { System.out.println(retval); graphics.drawString(retval.toUpperCase(), 250, 200); } The Problem is that String which has been splitted, overlaping each … Software Development java | |
Hi When I tried to compile like g++ -std=c++11 -W -Wall it gives this error error: ‘stoi’ is not a member of ‘std’ #include <string> #include <iostream> #include <fstream> class Grade { public: // Default Constructor Grade() {}; // Functors // If the given course and the score matches the … Software Development c++ | |
how to bind a datagridview to a list of custom classes?? pls i need your help guys, tnx. | |
Greetings People of Daniweb! I'm trying to add a 3rd party control to a form and I'm getting the following message: **Unable to cast object of type 'Microsoft.Practices.EnterpriseLibrary.Data.Configuration.SyntheticConfigSettings' to type 'Microsoft.Practices.EnterpriseLibrary.Data.Configuration.ContainerModel.ITypeRegistrationsProvider' ** Does anyone have any idea why this could happen? Any searches I tried on google brings back nothing … Software Development vb.net | |
hi, i dont know how to solve it can you help me please??? Create a java program that will do the following: # read 3 inputs from the keyboard # • two input numbers each being a single digit (0…9) • one character representing one of five operations : + … Software Development java | |
hi i want the selecte columns count in datagrid for ex if i select the first column than i want that first columns count i tried it datagrid selection change event but i can't able to get the particular column count. if anyone knows how to do it give some … Software Development asp.net | |
I tried using a solution to a very similar question here but it doesnt work for large files like the one I'm using. http://www.daniweb.com/software-development/vbnet/threads/320160/visual-basic-reading-text-file-into-array The code from that question: Dim OpenAnswerFile As New OpenFileDialog Dim strFileName() As String '// String Array. Dim tempStr As String = "" '// temp String … Software Development file-system vb.net visual-basic | |
I am completely lost in my C# class and need some help. Here are the program specs, i just don't even know where to start. Thanks Create an application containing a large wide List box control, a Read button, and an Exit button. Selecting the Read button shall cause the … | |
Hello, i'm currently trying to write some code to find the integral of exp(-x*x). I have been given code for one trapezium rule (trap0) which is imperfect, and a second set of code for a new trapezium rule (trap1), which uses the old code and some new conditions to 'perfect' … Software Development python | |
I have to fix programme where the programme asks the user for an input of a random text. When the text is written in the programme will change specific letters like a to be c so I am a man would be I cm c mcn public static void main(String[] … Software Development java | |
Hello, guys I'm hoping that you can help me. I'm having a problem coding w/ this problem. I find it hard to do this bcoz when I run the program the result always be like this. #include "stdafx.h" #include <string> #include <iostream> using namespace std; int main() { for (int … Software Development c++ | |
I have 7 textbox entries and I would like to add them to a listbox and when I close my application it would save them, I have the code for the 7 texboxes and everything like that has been done, but I just dont know how to add multiple textboxs … Software Development vb.net | |
[CODE]dim H, M, S, AMPM as strings DTPicker1.Hour = H DTPicker1.Minute = M DTPicker1.Second = S DTPicker1.?????? = AMPM [/CODE] im having a problem on how i can change the DTpickers AM/PM in codes im trying to load a time from a database to DTPicker, ive Split the (field loaded … Software Development visual-basic | |
hello there. in order to gain experience I started a small python project. it is an more or less simple, collaborative address book (Snow Leo and Python 2.6.1). the final step is to create a standalone programm. to create the address book I used PyQt4 and MySQLdb. since py2app chokes … | |
I'm not able to get the printout. here is the code public class Billing extends Frame implements ActionListener,Printable { JButton printbtn = new JButton("Print"); } public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException { if (pageIndex > 0) { return NO_SUCH_PAGE; } // User (0,0) is typically outside … Software Development java | |
I have created an uninstall list that is populated when a form loads. I want to add the ability to right click on the item and have an uninstall option. Below is the code that I'm using to show my Uninstall Manager so far. [CODE] Private Sub UninstallMgr_Load(ByVal sender As … Software Development listview microsoft-windows vb.net | |
Hi All, I want to develop an application in which I want to record a video in **silverlight** and send it to the server. I have the following questions in my mind. 1. In which format the video will be record in silverlight using Webcam ? (Raw format OR WMV … | |
hi in my application i want the user to select only time from the datepicker i don't know how to display only time in datetime picker if any one have any idea give some code sample | |
I have an issue with some code im writing. I have a Datagridview object that always has two columns, but could have any amount of rows depending on many different scenarios. I would like to be able to take the values from the DatagridView and put them into an array, … Software Development xml | |
I' sorry but i need some help, i cant find the error. I want to add a new record to the database (access 2010), but although the dataset is updated, the added information does not save do DB. THe code bellow is the code that i run when press the … | |
Hi.here is a question I got for assignment.I am stuck in this for hours and couldnt com up with any logic.Any help will be highly appreciated.Thanks Depth-First-Search Q.No.1 The undirected unweighted graph with one selected vertex is given. Find the number of vertices in the connected component where the selected … Software Development c++ programming-construct | |
Hello, The program below has two JPanels. The first JPanel, panel contains the labels, buttons and combobox. The second JPanel, panel_1 has the image.I am using BoxLayout to line up the belows vertically. The issue I am having is when I run the program, the compoments of the panel do … Software Development gui image java java-swing | |
Hey guys, I am desperated right now. Im my application i want to export some data from an entityset to excel. So far so good. But i want to exclude some properties. So i thought creating a custom attribute for those properties is might a good idea to make things … | |
how to get only the edited row and save the date as modified date? i have 6 fields in sql server: dtl_id = int cost = decimal startdate = datetime enddate = datetime status = varchar modified_date = datetime (modified_date is declare in sql as getdate) . this is my … Software Development | |
This is the prototype I was provided with for my Person constructor: Person(const char * their_name, const char * email, int day, int month, int year); In making my constructor I have tried to use base member intialization, but I am having issues, this is what my constructor looks like: … Software Development c++ | |
Hi All, Well I've been stuck for a while here. I'm trying tp write a function called TransfertoSwingID which will transfer a line of data held in a struct contained in a vector to a new vector of structs. Basically as I'm iterating through the vector of structs called "prices", … Software Development c++ | |
Hi All, I have doubt in my mind regarding declaration of cin and cout object . As per my understanding cin and cout both object are accessible in main then they shouldn't have protected.in below code snippet i have overloaded both input and output operator and while giving new name … Software Development c++ | |
Hi i have an assignment to do in C language but i have no idea where to start with....could anyone give me a headstart where i should start?? i dont have much experience in C programming. i was given these information: (a) It was Monday on the 1st of January … Software Development c | |
#ifndef POINT_H #define POINT_H class Point { public: Point(); Point(int, int); int getx(); int gety(); void setx(int); void sety(int); private: int x,y; }; #endif //POINT.CPP #ifndef POINT_H #define POINT_H class Point { public: Point(); Point(int, int); int getx(); int gety(); void setx(int); void sety(int); private: int x,y; }; #endif #ifndef … Software Development c++ |
The End.