132,726 Archived Topics
Remove Filter ![]() | |
What are advantieges of Ruby over Python and vise versa? Then in your opinion wich one is better for all around programming on linux and windows? | |
Hi guys, Could you teach me how to read CSV in listview using OpenFileDialog? I'm using VB 2010 Thank's a lot | |
Hello, I am trying to write a program that reads in a string of numbers. I am only allowed to use ReadChar (not ReadString, ReadInt, ReadBin, etc). The program reads in this string of numbers (2-16) which is a base number. Then the user enters another string of numbers. I … Software Development assembly | |
-->>Hope all is well,I've Managed to write code to Open Folders/Browse Folders using Common Dialog... -->>The name of Common Dialog is Folder... -->>But now as I've the Open Button when the Browse Windows Show up,I was wondering how can I... -->>Open the Selected File when User Click the Open Button … Software Development pdf visual-basic | |
So I've FINALLY gotten my code to work but unfortunately my code's sooo messed up that its displaying something else! As you can see in the picture below, the Flex Grid is displaying the data of "Service" http://i213.photobucket.com/albums/cc228/rose_408/receiptform_zps1a66f838.png http://i213.photobucket.com/albums/cc228/rose_408/service_zps5e886a12.png When its actually supposed to show the data of "Receipt Service"! … Software Development open-source visual-basic | |
Hi, I have a custom combobox (say ComboExt). I need to host this control in datagridview. In MSDN (http://msdn.microsoft.com/en-us/library/7tas5c80.aspx), they are saying, to host custom controls, my own column types with cells should be created. That is, I need to create a custom ComboExtColumn derived from DataGridViewColumn and all properties … Software Development vb.net | |
Let's imagine you are taking a lot of pictures and modify them with one of those fancy image editors. You burned the image files to a CD, and decided to purge some of the outdated files because your hard drive is getting full. This Python code allows you to set … Software Development hard-drive python | |
Has anyone worked with C# and OAuth 2.0? Documentation/examples is VERY poor on how to do a simply login. Thank you Software Development c# | |
I am trying to work out how to remove files from a directory the files will always have a given extention e.g .txt I want to remove the filesfrom a specific directory that are older than say 14 days. Noob to Python sorry if this has been answered elsewhere, all … Software Development python | |
Hello everyone, i need small help since im stuck, and im not that good with php and vB.net connections... So here is the problem, i manage to get connected to db and php script shows me if im connected or not, grab if user/pw is correct everything works fine, but … | |
Hi Expert, my Option1.value is not save to databse while Option2.value is saving. Pls help me check my code. Thanks Private Sub cmdSave_Click() Set rs = New ADODB.Recordset rs.Open "select*from Employees", cn, adOpenKeyset, adLockOptimistic On Error GoTo err rs.AddNew rs!Employees_IdNo = txtSearch1.Text rs!Lastname = txtLastname1.Text rs!Firstname = txtFirstname1.Text rs!Middle_Initial = … Software Development visual-basic | |
Hello, I want to convert a plain text string to binary data so that the readable text is no longer visible, however certain programs can interpret the binary data properly. Something like when we compile a program into a class, the code is no longer readable, but JVM can still … Software Development java | |
MY code doesnt saves the data entered through dropdown box into access database Software Development visual-basic | |
Hi, I have inherited a pair of applications: a client.exe and a server.exe. They run on different PCs and communicate through TCP/IP. The server comes with an OCX file: server.ocx. The client has its own OCX file: client.ocx. (I suspect there could be a mismatch between the two ocx files.) … Software Development c++ client-server | |
Does anyone know how to call a binary executable file from another program. I have a simple binary file which can take command line arguments called **InputProgram.exe**. I have made another program of which I want to call InputProgram from and pass it an argument. Not this is going to … Software Development c++ | |
Hello guyz, I am trying call oauth/request_token in order to oauth_token and oauth_token_secret. First here's the code string url = "https://api.twitter.com/oauth/request_token"; SortedDictionary<string,string> sd = new SortedDictionary<string,string>(); sd.Add("oauth_callback",oauth_callback); sd.Add("oauth_consumer_key",oauth_consumer_key); sd.Add("oauth_nonce",oauth_nonce); sd.Add("oauth_signature_method",oauth_signature_method); sd.Add("oauth_timestamp", oauth_timestamp); sd.Add("oauth_version",oauth_version); string base_string = String.Empty; base_string += "POST" + "&"; base_string += Uri.EscapeDataString("https://api.twitter.com/oauth/request_token")+"&"; foreach (KeyValuePair<string,string> entry in sd) … Software Development api c# social-media | |
Hello everyone! I'm currently having a problem with my program it doesn't loop properly please help me with it. The code is below. Thanks in advance! import java.util.Scanner; import javax.swing.JOptionPane; import javax.swing.*; public class Wewe{ public static void main(String[]args){ Scanner inp = new Scanner(System.in); boolean tryAgain; do{ System.out.print("\nInput username: "); … Software Development java java-swing | |
I want to count the number of times the button is clicked using GUI. I did this code: private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { int clicked = 0; clicked++; System.out.println(clicked); } But it showing the output "1", each time I click the button. I want every time I click the button … | |
Guys..My task is to convert for loop c++ to asm....and the speed shoud be fast....i managed to convert to asm the loop part but when i run and enter 2000 it shows 33 second is it possible to be lower the 5 second.... #include <iostream> #include <ctime> using namespace std; … | |
Hi people. I wonder how I can free the pthreads' allocated memory? #include <pthread.h> #include <stdio.h> #include <stdlib.h> #define NUM_OF_THREADS 10 void* print_thread_id(void* tid) { printf("Greetings from thread %d\n", (*(int*)tid)); pthread_exit(NULL); } int main(int argc, char* argv[]) { pthread_t threads[NUM_OF_THREADS]; int status, i; int* n_thread; for(i = 0; i < … Software Development c | |
I have a custom combobox as below public class ListViewCombo : ComboBox { ToolStripControlHost listViewHost; ToolStripDropDown dropDown; public ListViewCombo() { ListView lstView = new ListView(); lstView.BorderStyle = BorderStyle.None; listViewHost = new ToolStripControlHost(lstView); dropDown = new ToolStripDropDown(); dropDown.Items.Add(listViewHost); } public ListView TListView { get { return listViewHost.Control as ListView; } } … | |
Hi everybody I need some professional help from experienced people. I am writing a program in C++ about a game. I have to specify a class Questions with attributes question, answers and difficulty. In the program i should have methods add, edit, select, search, print and remove. The problem that … Software Development c++ | |
for (a=0; a<=y; a++) for (b=0; b<=y/2; b++) for (c=0; c<=y/3; c++) if ((a + 2*b + 3*c) == y) count++; | |
package tamirnfasle2; import java.util.Scanner; public class Tamrine4 { private int number; Tamrine4(int n) { number=n; } public void Calculate() { float sum=0.0f; for(int i=1;i<=number;i++) { i=1/i; sum=sum+i; } System.out.println("Sum Reverse Number Between [1," + number + "] Is :" + sum); } public static void main(String [] args){ Scanner inputNumber … Software Development java | |
I have the following code that hyperlinks the file to a cell in excel when you type in the file name. I need to alter this code and not sure how. I need for the code that when you type in file name it also finds the filename path and … Software Development pdf perl visual-basic | |
Hello again, Group! I'm creating a panel with multiple TextBoxes, labels, buttons, etc., within it. One of these buttons will end the entry of info and is intended to recreate the panel at a location further down the form. To this, I believe I need a loop. But this loop … Software Development vb.net | |
Hi All, I would like to seek help from you guys out there. I am using visual studio 2010 under WIN7 64Bit. The question is how could I possibly create an installer that can run to 32Bit or 64bit with operating system of WINXP to latest. Hoping that there would … Software Development operating-system vb.net visual-studio | |
hallo master .. I have a problem, how to make encryption and decryption using the Vigenere cipher in vb.net.? I hope someone can help me the problem. thank's before .. Software Development encryption vb.net | |
Hey everyone, I just need a little help with a lottery program I have to make or class. I have to generate a 7 digit number and then using that number compare it to a guess the user enters. I need to award prizes for the following conditions. 1. if … Software Development java | |
How to generate auto id like PA-01-07-2012-0001. Where 01 is the Date of a month,07 is the Month, 2012 is the year, and 0001 is auto generate id and it will be increment. after that it will check The Generated id in database.And create a new id Software Development c# | |
Hello, How to create a crystal report in vb.net 2008? | |
Please I'd be thankful if someone could very kindly edit the following code for me. Currintly, the code doesn't enable the user to save a new record; but, it's supposed to allow insertion of new record as well as prevent insertion of duplicate record. Try cmd2 = New SqlCommand("select count(*) … Software Development vb.net | |
int sel = int.Parse(0+dataGridView2.CurrentRow.Cells["invoice_ID"].Value.ToString()); string sql = "DELETE FROM invoices WHERE invoice_id="+ sel +""; DBConnection myCon = new DBConnection(); myCon.EditValues(sql); //mycon.EditeValues(sql) has all the sqldata reader,executenonQuery cmd the error's arrow points out to the first line which is "int sel............". Software Development c# | |
I want to encrypt the data based on user time. Is there any algorithm based on timestamp value for encryption and decryption? Pls give some suggestion Software Development algorithm encryption | |
`Hello and thanks for reading my post. I am trying to develop a program that will select a file for opening based on user input. I did have this code working at one point but no longer. I am a beginner at C++ so I am trying to learn from … Software Development c++ | |
Hi, I have trouble in video streaming and I spent few weeks in researching on how to display video while receiving video file (H.264 format) from server continuously. I am writing by using VB.net The server would send me video file in encrytion, what I need to do on client … Software Development streaming-service vb.net video | |
Hello I'm using the book C++ Primer 5th edition and in the beginning there is an exercise to change a sum into a prodcut. #include <iostream> int main() { std::cout << "The sum of " << v1 << " and " <<v2 << " is " << v1 + v2 … Software Development c++ | |
Hi I have a little C-program and when I run I discover alot of page fault?! How can I improve my C program to have it faster? Software Development c | |
Okay, so pretty much I have to use structs to print out information about 4 dogs. However, I can only get the first dog, Smokey's information to print. Any advice on how to get the other four to print? #include <stdio.h> #include <stdlib.h> #include <string.h> #define pause system("pause") #define SIZE … Software Development c | |
i want to split the power value ex:11 pow 10 = (11 pow 7)(11 pow 3) like that i want to split the value please help me Software Development | |
Im thinking about making a little system for an imaginary retailer, Im going to have a section for the employers and there sales figures, Was just wondering If there was something like an import function for graphs? Im a bit of a noob so go easy Software Development business-entrepreneurship python | |
If the prototype of my function is void sell_item(store **head,store **tail). In main i've passed sell_item(&head,&tail), where head & tail where both pointers of store(struct) type. Now I want to access the the content where head is pointing to. How shall I access it? Like *head->next??? But this is not … Software Development c++ linked-list | |
Hello i have a problem on connecting my database. i have this kind of code which would get the item in the combobox and use it as my connection Dim ConFunnelLocation As String = "C:\Database\Funnel\" & Form_Funnel_Report.Combo_Funnel_EBU.Text & ".xls" and a table Dim TblFunnelCon As String = Form_Funnel_Report.Combo_Funnel_AM.Text & "$" … Software Development open-source vb.net | |
I was attempting to recreate the fibonacci sequence and I made a working code but my code will refuse to use a number above 12. any ideas what is wrong? #include <stdio.h> #include <stdlib.h> int main() { const int user = 1; long int fib[user]; int i = 0; int … Software Development c | |
I am developing a text based rpg, but do not know how to go to different def statement, but it says it is not defined. Help? Software Development python | |
#include<iostream> #include<string> #include<vector> #include<algorithm> #include <cstdlib> using namespace std; int main() { char s[5]; string g; int p=345; sprintf(s,"%d",345); g=s; g+=".mp3"; cout<<g<<endl; getchar(); return 0; } I have a very small doubt about strings. this is code snippet i have shown. when i have called sprintf(), then it has changed … | |
Hello everyone, I am trying to make a chat application. For this i have made two programs-SERVER and CLIENT. But these are connecting. import java.io.*; import java.net.*; public class SimpleServer { public static void main(String args[]) { ServerSocket s=null; try { s=new ServerSocket (6666); } catch(IOException e) { e.printStackTrace(); } … Software Development java | |
![]() | am using dev c++ updated version for my project am using myql c api problem is when i run my application it stop and says that mysql.dll is missing , currently when i place mysql.dll in the app folder it cant give me the error , so i want to … |
Hi, I am very week in design and program to interface. I have a task to design few classes. I have some simple interfaces like below. Sample interfaces. public interface IParameterValue { string ParameterName { get; set; } string ParameterValu { get; set; } } the above interface is a … Software Development | |
The End.