132,726 Archived Topics
Remove Filter ![]() | |
I created a Save button and I also have made the code for the Save button But why the error message like this: Run-time error '-2147217913(80040e07) convension failed when converting the varchar value '28/08/2013 10:11:01 to data type bit mohon bantuannya, thanks, V Software Development visual-basic | |
It's just a simple code but I don't know where I'm missing quotations or etc My error lies here: case "000\"; Any help is appreciated! Thanks! MatchCollection matches1 = Regex.Matches(strFields[3], @"\d{3}\\"); string range = matches1[0].Value; switch (range) { case "000\"; strAdType += "A"; break; case "001\": strAdType += "B"; break; … Software Development regex | |
how to solve pattern given below using nested for loops.. * * * * * * * * * *********** somebody please help me with the logics. Software Development c++ | |
I have a directory with hundreds of CSV files in it. Many of the files have synonyms for words that I no longer want. I want to replace all of the synonyms with approved words. For example some CSVs have synonyms like `vial` `jug` `canteen` `urn` etc and I want … Software Development file-system python | |
Hi. I'm actually making this very basic password manager and it has 2 listboxes and when i click the Add button it adds the name on the 1st listbox and all the rest on the 2nd listbox. The problem is that when i make more items in the first listbox … Software Development vb.net | |
Some good online tuts for Data Structures and Algorithms in C ?? Software Development c | |
I have a spreadsheet that has many columns. I want to search the titles of the columns and copy all the content in the column that satifies the search criterion and paste it in different worksheet. Copying these columns manually is very time consuming and I wanted to create Macro … Software Development visual-basic | |
can any one help me on this .what does this two for loop means 1.for(; x<9; x++) 2. for(;;) Software Development c | |
So I am trying to get these radio buttons to respond to input but I have searched the internet and can find no code examples to show me how to do this. I also want to get the spinners to function in conjunction with them so when a product is … Software Development java java-swing | |
I made this program this morning, the problem is that when I go to run it it says: > Traceback (most recent call last): > File "C:/Python33/Test random number creator.py", line 4, in <module> > print (x)('x')(y) > TypeError: 'NoneType' object is not callable > ` Here is the program: … Software Development python | |
hi all !! i am new on that forum, and i have just started C++ programming, i know some basics. now i would like to start developping a program, i need some idea that could be evoluted everytime, so i work on it while i improve my programming skills. thanks … | |
I have a text file which contains the data of an image (path, latitude and longitude). the textfile is place in a listview and the data in textfile is place in textboxes. if i click one item in listview then click save. it will create an image containing the data … | |
good day everyone! i am currently working for an information kiosk, all the data needed to be displayed is in an existing database. to avoid data tamper, since the system is a network based one, data migration is needed. so my question is, is there any codes or sample projects … Software Development vb.net | |
the basic idea is that i have a config file where i need to take entries in different formats(the key is always a string and the value could be any type: int, float, string etc) from and the file has the following style: firstentry 1.5 secondentry 35 thirdentry somestring and … Software Development c++ file-system ios visual-basic visual-studio | |
Question Presented: Write a program that computes the following summation series using the rational class: 1/2+2/3+3/4+...+98/99+99/100 You will discover that the output is incorrect because of integer overflow. Evaluate the sum using doubles, the Rational class, and the BigINteger Rational class. So far this is what I have come up … Software Development java | |
I got the problem. I want to update the data to the database, but the database won't update. Here is the code: else if (firstForm.textBox1.Text == "Seranne") { string query = "SELECT [Quantity], [Description], [Price] FROM [Seranne] WHERE [Code] IN ("; OleDbConnection conn = new OleDbConnection(connectionString); conn.Open(); if (int.TryParse(this.textBoxCodeContainer[0].Text, out … Software Development | |
Hi I am new to this forum and i was just wondering if the following scenario is implementable. Suppose a thread is reading a file and dividing it into chunks of data(lets say in the form of arraylist, where each line corresponds to a value in arraylist). Each chunk of … Software Development java | |
I am trying to write a method that accepts the array of houses and a price, priceLimit. The method will return an array of houses for the houses whose price is less than or equal to priceLimit. I want to make a pass over the data to determine how big … Software Development java | |
Ex. You have a file in excel. In excel file they have 3 Rectangles namely Rectangle 1, 2 and 3. Then in my program I open that file, then I want to add text inside the Rectangle. Thanks! Software Development vb.net | |
Duplicate occurance of the same value has to be removed. If the (linked)list traversed from head contains sequence 3,2,8,8,8,5,2,3 after calling last = Node(3) head = Node(2, last) head = Node(5, head) head = Node(8, head) head = Node(8, head) head = Node(8, head) head = Node(2, head) head = … Software Development linked-list python | |
I am very new to python and I just created a program: a = input('10x2= ') if a==20: print ('Correct!') if a!=20: print ('WRONG! Try again') a = input('10x2= ') if a==20: print ('Correct!') if a!=20: print ('WRONG! Try again') a = input('10x2= ') if a==20: print ('Correct!') if a!=20: … Software Development python | |
hi all, i install java application with socket server that connect to access database inside the server and i create a client application that connect to the server and send sql statement to be executed by the server . i install the client application on 5 computers the first entry … Software Development java | |
So i've been working on this little program which is meant to detect internal or external harddrives and show file sizes etc. All that is fine but the problem is that if i take the program to another computer and run it it shows "E:\" in the combobox when it's … Software Development vb.net | |
how can i keep track of new users to my website. for ex: X is visiting my web-site regularly, so for per week count, i have to count him only once and if Y has visited as new user, then up the count by one. so how can i keep … Software Development c ![]() | |
Hi everyone, i have a problem where i cannot solve it. So, i decided to post here my problem is, probably you guys can help me out. Well, here is my case: 1. i already can make a new table based on the username that user type in the registration … Software Development | |
My code works it does extract links, but these links are not what i expected to be extracted. My program would extract links inside the <a href tag which contains a specific word which i can set manually. Here is my complete code: Private Sub Button1_Click(sender As Object, e As … | |
i am using the below code for creating the connection to database. connectionURL = "jdbc:oracle:thin:@//testdsfsdfgs:1521/TEST"; conn = DriverManager.getConnection(connectionURL, userName,Password); i want to set the transaction time out. How can i do that. Please some one help. Thanks in advance | |
Im trying to create a Log in system, Using VB.net 2010, im having a hard time creating a query for the username and password, and also how to make it case sensitive. please help me,...thanks. | |
hi guys , i am buliding the application using vb.net vs2010 ,mysql server workbench 5.2 . it works fine about the database connection and inserting and all sql operation with the mysql but now the problem is that unable to make the crystal report using that mysql it not supporting … | |
I get error #91 at line 114 (Object reference not set to an instance of an object). What do I need to do to correct that. (I get the error either pre-declaring X or as it is now) Thanks Dim iterAAA As Single = 1 54: 55: Dim arraydciP(3) As … Software Development vb.net | |
I am working on a simpler version of the following question: http://www.cs.ucf.edu/courses/cnt4714/spr2011/prog1.pdf and have simplified the problem in the following manner: SO: input pipe is PIPE4 and output pipe is PIPE0 S1: input pipe is PIPE0 and output pipe is PIPE1 S2: input pipe is PIPE1 and output pipe is … | |
I have a project I currently working on. It's a management system that has forms for Sales, purchases and deaths(poultry birds). I place a menu strip on the main form and every thing seems to be right. But when try to load the purchase form, it doesn't load. I said … Software Development vb.net | |
hi am having problem to deploy my java web application. I'm using myEclipse for spring 10 and tomcat 7. am having these errors: org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/projectname] startup failed due to previous errors Anyone know how to solve this issue? | |
Hello, I have one DateTimePicker and two textbox (txtHour and txtMinute) I want insert the value of datetimepicker (date) and textbox (hour and minute from two different textbox) to DateTime data type on my table, example: 2013-08-28 12:30:00 PM --> the value of 12 got from txtHour, the value of … Software Development vb.net | |
What is the best and efficient way of redirecting streams from a parent process to child process. There are a number of ways i found out like boost.process, fork() and createprocess(). But what is the best way for windows? Software Development c++ | |
How to apply graphics in Microsoft Visual Studio C++ Express 2012? Software Development c++ microsoft visual-studio | |
actually what i want to do is to take birthday as input from the user,taking 3 variables for date,month and year.what the probelm raised here is i what - or / to come automatically after the user has given his date and similarly between month and year without his special … Software Development c | |
I want to calculate the formula in C++ program. Put all 5 formula inside the program but just run 1 formula only. For example, run the current ratio formula only. If you want another formula then just adjust the coding. Then the second formula will run. Just adjust inside only. … Software Development c++ operating-system | |
hello; how to access to a control of a form from another form? example datagridview Software Development c++ | |
Write a program that converts numbers to words. For example, 895 results in "eight nine five." here are my codes: #include<stdio.h> #include<stdlib.h> int main() { printf(">>This program converts numbers to words :)\n"); int value; printf("Enter value: "); scanf("%d",&value); switch(value){ case 0: { printf("zero"); break;} case 1: { printf("one"); break;} case … ![]() | |
Hello everybody. I am seeking help on how to save 3 output images into a specific path after filter by 3 different mask size e.g. 3x3, 5x5 and 7x7 mask. My program is in C:\Cpp\Project\, I wish to save those output images inside "filter" folder with path in C:\Cpp\Project\filter. Thus, … | |
Hi all, I'm struggling with a simple little program which I would use for a test to (for example) sell footbal tickets. So I have a for on which user selects a game from combobox (combobox populates from text file) and number of tickets in a numericupdown field. On "Save" … Software Development data-structure vb.net | |
edges.txt is used.it is the input adjacency list. 1 3 1 5 2 3 2 6 4 5 5 6 #include<stdio.h> #include<stdlib.h> #include<conio.h> int **adjL; int v,*arr; void dfs(int **adjL) { int j,i=0,temp,dfslabel=1,s=0,k=0,top=0; int stack[v]; int *flag; flag=(int*)calloc(v+1,sizeof(int)); for(i=0;i<=v;i++) flag[i]=0; stack[++top]=1; flag[1]=3; stack[top]=1; while(1) { if(i==arr[stack[top]-1]) { printf("examination of %d … Software Development c | |
How do i minus data from the program to the database? I have quantity and description in my database. The quantity will be 100, and the description of it will be A. When i type in my program like this (after run the program): The quantity is 50. and the … Software Development | |
Hi I am adding comboboxes dynamically in a panel in windows form application. At run time, when I select any one of the comboboxes, all the comboboxes changes. i.e they dont retain individual selected item values. here is my code. for(int i=0;i<20;i++) { Label l = new Label(); l.Text = … Software Development | |
Inline Code Example HereHi guys, below is a function which converts ebcdic to ascii and it works for a buffer, i need to modify it in accordance to a file,which i am unable to do as i am not very good with C, tried my luck everywhere but did not … Software Development c++ | |
I am writing a very simple boot and kernel in asm and c++. The thing is my development system is windows and I cannot use cpu interupts on windows, or can I? I dont think that my newly created kernel will be able to understand invoke ConsoleA or an of … Software Development api assembly windows-api | |
Dim startdate1 As String = DateTimePicker1.Value.Date Dim enddate As String = DateTimePicker2.Value.Date myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim insert As SqlCommand = New SqlCommand(" INSERT INTO Client_Details (Contract_Name ,Client_Name ,VAT_No ,Cilent_Address,Start_Date,End_Date ,Contract_Value,Telephone_No) VALUES('" & TextBox1.Text & "','" & TextBox2.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "','" & … Software Development vb.net | |
Hello how can i check the divisibility of a number without using % / +... I am new at coding so hope someone can help I think my code sucks ..i read forums and this is the best i can do import java.util.Scanner; public class Divbythree { public static void … Software Development java | |
hi i'm working on a project that requires a search code in visual basic to find data from a different table in ms acess..any help? Software Development visual-basic |
The End.