132,728 Archived Topics
Remove Filter ![]() | |
okay so i have Form2 which has a db table named Car using LINQ with four attributes(Make, Model, Year, Price). Now Form1 has 4 textboxs using ReadLines to acquire the make,model,year,price). How do i get them to insert into the table on Form2. thanks in advance for the help. Software Development | |
In fact I had a logfile, that I decoded, by reading his contents byte after byte and save it in a Byte Array. And there after I converted my array of byte in hexadecimal value, and Save it in a stringbuilder. But now my problem is the following, how to … Software Development | |
Hey first of all, im sorry if the title is a little misleading Im creating a private program for myself and some friends, and i want to make a login form, but i was wondering what would be the best way to host the usernames and passwords? I used to … Software Development | |
Hello im makin a program in C tht will query my database when i use the following code i get an error "segmentation fault" [code] //retreive configuration items from the mysql database mysql_query(conn, "SELECT callcost FROM imds.testset Where callcost BeTWEEN 900 and 1000;"); results = mysql_store_result(conn);[/code] even when i use … | |
Hello everyone Can anyone help me with codes to calculate sum of numbers in the diagonal of a 2 dimensional matrix array. Please help. (a b c d e f g h i j j k l m n o p q r s) Software Development | |
Is there a more efficient way to do this? [CODE] vector<int> myvec; vector<int>::iterator it; /////// // Count # of iterations int i = 0; while ( it != myvec.end() ) { ++it; ++i; } [/CODE] Just seems expensive to me. Software Development c++ | |
Here's the problem. I'm designing a worksheet for very young children and what they need to do is type a number into a cell and then click a button to run the macro. However, in order to click this button they first must either press ENTER or TAB or click … Software Development visual-basic | |
Hello, I'm building a generic [B]Class Library[/B] that I will use it in all my projects. However, I want to know how can I access Resource file from a Class Library ? I will appreciate if you can send me a code sample! Thank you for your help Paul Software Development | |
hello everybody, I am having problem with logout of a Users Account in Firefox because whenever the user presses the Back browser button, the personal page was displayed, showing their personal details. Is there a way to logout successfully in firefox and chrome i;e when user click back button after … Software Development session | |
[code] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace FileApp { class Program { static void Main(string[] args) { Console.WriteLine("***** Simple IO with the File Type ******"); string[] myTasks = { "asdf", "qwerty", "awdx", "1234" }; // Write out all data to file on C drive. File.WriteAllLines(@"C:\tasks.txt", … Software Development | |
i am a new programmer trying to make a program, which askes the user for a string input and searchs for the string in an array, and prints "Found: ("string") and the position of the string in the array. this is what i have done soo far: [code]import java.util.Scanner; public … Software Development java | |
hi all, I have this minor problem which is making me go cranky at the mo.. Can't think straight, need some insights to what I can do... Below is the code which I am working on which takes the test sample values stored in my test 2D array subtracts the … Software Development c++ programming-construct | |
Hi ALL, I HAVE AN XSD FILE WITH NEEDS TO BE CONVERTED TO HTML FORM. WHAT ARE THE STEPS TO BE FOLLOWED ? PLEASE EXPLAIN... MAY BE XSD TO XML ? IF SO ? HOW ? | |
okay so i have to make a windows form app in c# for a car catalog company as an assignment for school. i was about half way done, and i simply dont have time. i could email you my half done app if you would like. i have all the … | |
Hi.... I am a C# language beginner.Could someone explain me about CLS(Common Language Specification or Common Language Subset). I would like to know about CLS is used in which conditions and what is the job of CLS. Please help me... Thanks Software Development | |
hey acctually i want to retrive data from text file nd save it to sql database bt i just have to implement some conditions like if there are 3 entries exists in text file with the same ID but i just have to get only 2 of them so in … | |
Hey there. I've been programming in Python for about a month now. I've created simple programs for myself, such as games and e-mail applications. Still getting GUI down, I'll post if I need help there. Anyways, here's my problem: Running: Windows XP Python: Python 2.6 I installed the newest version … | |
when i run my project in java. i keep getting this stuff. No Console ..... I dont know how to get console in eclipse. here is my code. [code] import java.io.*; public class WordGame { public WordGame() { } public static void main (String args[]) { String WordGuess; WordJudge gm … Software Development java | |
I have an application which use SqlBulkCopy to copy data from csv to respective table in SQlserver which works fine but the same i have to do to dump to oracle which cant be done by sqlbulkcopy class Is there any similar way to dump into Oracle table Software Development oracle | |
Hi all, i have different modules developed so far, and a main script needs to call the modules based on user's choice. will doing like this work?? using raw_input(), i wait for user choice, and once a choice is made, corresponding module is called. if main.py, does an 'import xxx.py' … Software Development python | |
Guys, Have a look... [CODE] File.Delete("C:\\hi.txt");[/CODE] This function is used for deleting a specific file right? But I m unable to delete it? Is there my little mistake? Software Development | |
first of all, thanks for the suggestions lately where im asking to avoid flicking of the ball.. now its working smoothly :)) but i want now to add some more balls.. like 2 - 3 balls.. how can i do that ? i dont have an idea.. thanks guys.. Software Development java | |
My application has 19 datagridviews In the Designer I added the datagridviews bound to my data table and set the columns I use the following to filter what information is to be shown on each. This is on a timer and runs several time a minute trying to keep it … Software Development vb.net | |
Hi I am new to python programming,please explain me how to install external modules written by other python users,please mention names of such modules.. Thanks Mukthyar Software Development python | |
hey can anyone convert this c code into c# [CODE] #include<stdio.h> //Assume following return types while writing the code for this question. int output1; void GetBuildingCount(int marineCount,int marinePositions[][2]) { int x,y,i,j,temp; for(x=0; x<marineCount; x++) { for( y=0; y<marineCount-1; y++) { if(marinePositions[y][0]>marinePositions[y+1][0]) { temp = marinePositions[y+1][0]; marinePositions[y+1][0]=marinePositions[y][0]; marinePositions[y][0] = temp; } … Software Development | |
When I began the programming for [snipped link], I quickly noticed that Asp.net does not support the MessageBox class that I was familiar with in windows forms. Since Asp.net runs on the server it doesn't have access to produce a modal dialog box on the client. However, by using a … Software Development asp.net c# client-server javascript programming-construct web-browser web-server windows-server | |
hey, i am developing a booking system and i want to check whether user check in dates are within booked dates. for an example. user wants to book 12/03 to 14/03,but some body has already booked 10/03 to 15/03. For this scenario, we just cant check for 2 days,what i … Software Development asp.net | |
hi all, In my page i need to get the system ip address. i used this code. [CODE] string myHost = System.Net.Dns.GetHostName(); string myIP = System.Net.Dns.GetHostByName(myHost).AddressList[0].ToString();[/CODE] this is working fine when i run application in local system. Now i hosted that application in server say(10.20.7.63). so now when i access … Software Development dns | |
Hey :) So i got a picture on a site, and it does not want me to download it from c# :( when i inspect the element in c# i get a link to the cache picture and not the picture on the site [CODE]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK8AAAAtCAIAAABXiKzxAAAPFUlEQVR4nO1caXBb13U+bwHew76TAiFxX63NEiNLihZqsWXLaWwpyXiR41g1nU7jcaedxtOZzqQzbtN/TdJkmqTjhYnjeGmd1EtiKYstyZQsWZRHtCiZ4i5xESiRWIgdeMB79/YHSJB47wIgJZpkL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dYujYMR1u2gQz72Wn9IXxY58B3J7MB6MwC877aWzpgYQlnd+8u2xrlrmo+PAIBkdvx28z8/UiOfgm8/rpwXq/nO6j135LD20fVczG1c7/x8D+bRdhWaxQwNB4WPfyK/M6K1LsVjAgp7A5Ia+o9nHn3Dat5jcGlWGJHJJpkdyGQ/G6uurJIAAJkdYml9j9u63TWHI19o3IssRZrWt7Caj2rMAFl1TP7sUeW9bMyqY3c/GuJWpAPMQmL0PMtex8PDqtg4PXhSrdJhamOBc9ZSLpVsTI22ZyUmWvtfoDdw7cfpgEcjlkTveQyZ7chkx7zu3ew4E3ebbnFXUpVrU6tquYsf7Tv9X+q1talVtVijo4O+pnNv8+5TMzUxzYhl9fFtDyCzA9y3MudNwrFaRBhYCrM8djamYuM0/xruaOBtVZJjtcjpyZ5R/4Aw/hkrJqdZwpL1hlmxyAWDKXS92D9gCl03Rj3qVFwlCimWS6o0QX2x37zKXXSHwOWg6YuIJKb9gPWQp9KsOo3Vp6bXWdhHiRuXHIUEAGr5V8AWoCmJcPbH2uFhtYmRAOCuv43Z66RFt0rZvE3/GXmBwbCw7dlY9zD3VS4a89KmsiX6owDL3rCAYCh9MdIXL1HSAF/4X/NYxpywtFjkMhYXyyxyuTndXD4pljGNZW9YxjT+H3MNlt1ZyI74AAAAAElFTkSuQmCC[/CODE] like this :( ive been … Software Development | |
Hi, Does anyone know how too solve this: I want to delete a row from database and I keep getting this error: [B]The ntext and image data types cannot be used in WHERE, HAVING, GROUP BY, ON, or IN clauses, except when these data types are used with the LIKE … Software Development sql | |
OK, so I already program is C#, but I am taking a C++ class. I want to create a windows forms application and have other classmates create some classes that we can all put into the windows forms application to create a final project. Well the entire book only takes … Software Development c++ | |
Hi I have a problem with some code. Basically what the program is supposed to do is to take in a minimum exponent and a maximum exponent and a base. Then its is suppose to create a table displaying the base to the power of the minimum exponent to the … Software Development c++ | |
when i run this code an icon for the image is created but when clicked it says that no preview is availeble any help would be grately apretiated. heres the code. [CODE]from Image import * import ImageDraw z=1 win=new('RGB', (400,400), 'rgb(255,255,255)') win.save('c:\\Documents and Settings\\bradley\\desktop\\python programs\\frac.png') while z < 100000: x=(z**+1) … Software Development python | |
I have counter increase by one every once (round in loop) when the counter equal 100 am need it to go back and count down from 100 to 0, how i can make counter count down again ? [CODE]int i = 0; if(i<=100) {i-- ;) // that false else {i++ … Software Development java ![]() | |
Hey, Is there any code that will hide the icons on my desktop? Thanks in advance Software Development java java-netbeans ![]() | |
Hi ,programmers! Please tell me why it's possible to use such condition - [CODE][U]if (!fork ( ))[/U] return 1;[/CODE] as I know the fork() returns pid_t-type but at the same time "if" needs boolean.. big thanks in advance) Software Development c | |
whats the advantage of implementing runnable over extending thread Software Development java | |
Hi, I was wondering what libraries there are out there to do some simple sound generation. For example sine waves, square waves etc.. I'm on Linux, so no Microsoft stuff please. Software Development c | |
![]() | Hi I have a problem with a code I made, some save editor for some game. The code suppose to write 2 bytes to a specific offset in some file. The file's short integers are saved as little endian. everything works fine, but when one of the integers equal 10, … ![]() |
Hey everyone! Well I'm sooo close to getting the names to align BUT there is 1 slot that is skipped in the non-smoking section and a few in the smoking section and i can't figure out why. The Data needs to be displayed in a 10 row x 3 column … Software Development c++ | |
I have a class that looks like this [CODE] //the mem_data class======================================// class mem_data { public: mem_data(int,int,std::string); ~mem_data(); private: std::vector<reader> mem_store; int complete; friend class model_base; }; [/CODE] Now, I would like to let the class model_base access mem_store My main code will contain the following: [CODE] mem_data test_data(20110601,10,"test_file.csv"); model_base … | |
Hi.. I have a query regarding accessibility of top level class from member inner class. I have just read the reason why local or anonymous inner classes can access only final variables.The reason being JVM handles these two classes as entirely different classes and so, if value of variable in … Software Development java | |
[CODE]class A{ void method(){ System.out.println("Hello world"); } } class B{ void myMethod(){ A.method(); } }[/CODE] Can anyone tell me why I am getting this error.( non-static method method() cannot be referenced from a static context).Reffering context is not static.:?: Software Development java | |
I read some of the threads on calculators, but couldn't find anything related with what I need. We have this swing calculator project, that uses buttons and/or a textbox for input, and a different textbox for output. I have done most of it, and is working ok. The problem I … Software Development java java-swing | |
I posted a similar thread back in Nov and got some great help. I'm modifying the code to be useful to not only compare multiple columns from two separate files, but also to classify each line from @hairpin to determine if the parameters fall within any of the ESThits, outside … Software Development perl | |
Please tell me how bad this code segment is. I figured I would share this horrible code. If it's not as horrible as I think it is, please let me know. Thanks! [CODE] /* Purpose: Create a function to check the input from user. Only valid integer should be returned. … Software Development c++ | |
Hi Am new to this and was wondering if anyone knew a solution to this problem. I am wanting to get information from a text file into different arrays. My current text file has a new line for each driver but I would like it to look something like this: … Software Development file-system vb.net | |
Hi. I'm trying to make a simple question program, my first question doesn't work (if you enter the wrong answer/an answer that isn't an integer, you get stuck in an infinite loop). However, my second question works fine even though the code is quite similar. Sorry if I'm being a … Software Development c++ | |
It is OK, if you write like this below : [CODE] delegate void mydelegate(); public class testing { mydelegate d1; string str ; public void btnStart_Click(object sender, EventArgs e) // Click Event { ThreadStart ts = new ThreadStart(StartServer); Thread t = new Thread(ts); t.Start(); } public void StartServer() { str … Software Development | |
In the below snippet,Rewind() wraps up the file but still the no of records exceed the MAX value set. if(no_of_msg_records >= MAX) { rewind(fp_msg); no_of_msg_records=0; } ie the no_of_msg_records in the file exceeds MAX value. Software Development c |
The End.