64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
I'm trying to create a class that holds a 2D string array to be used by another class. For some reason, my IDE gives me a bunch of errors when I try to compile. Here's my code: [CODE]public class Lists { String[][] ListArrays = {"Why, Hello there!","Welcome.","blah blah blah","more useless … | |
If this should be posted in another area, such as, layout and design please let me know. A person who post's as Ardav on this board has gotten me this far. I have a relational database that pulls by brand and descriptive keyword. I wish to search and display on … | |
need help with this one. I need to create a php code to see the items i've selected[CODE]<html> <body> <form method = "get" action = "new.php"> <center> RANDOM IMAGES<br> <table> <?php $images = array('2010 BMW M6.jpg','2011 BMW 750 Li.jpg','2009 BMW M5.jpg','2010 BMW 650 i.jpg','2010 BMW X6 ActiveHybrid.jpg','2010 BMW 550 I … | |
Hi guys, I have on my server some images. I want people to be able to select the images they want to download through a form then hit download. Then the regular download prompt appears. Can anyone help me this or show me where to begin looking to achieve something … | |
iv seen the line 'halt' in some pascal programs after readkey or readln. what does halt do exactly? | |
Hi all, Im wokring through NEHE's tutorials at the moment and building a cone approximation class to play with the code and learn from the examples but iv reached a snag. I cant get texturing the top curved part of the cone to work (i have called it a pyramid … | |
i have textboxes that needs to have a value before passing it to database. How to do this? I'm new to windows form validation.. I know of something [CODE]if(textBox1.Text=="") { //do something }[/CODE] is this the right valdiation for windows form? | |
How do you allow the controls of an application to go back to the cursor of the textbox after checking that the textbox has an empty input? what i want is just the cursor back to the textbox to allow easy user access. thx :) [CODE]txtReminder.?????[/CODE] | |
Hi, how can i check the existance of email address on a web? | |
Exact Message: [CODE="plain"]Error 1 error C3861: 'SHOWERROR': identifier not found[/CODE] My Includes: [CODE]#pragma once // Exclude rarely-used stuff from Windows headers #define WIN32_LEAN_AND_MEAN #define SAFE_RELEASE(x) if( x ) { (x)->Release(); (x) = NULL; } #define SAFE_DELETE(x) if( x ) { delete(x); (x) = NULL; } #define SAFE_DELETE_ARRAY(x) if( x ) … | |
There is a easier way and more efficent way to do this with a for loop I believe...I can't put the nail on it can anyone help me out? I want to move a character around in a array...right or left or up and down with md arrays. [CODE] #include … | |
I have a curius problem with my bitmap writing function, it takes a char array and writes a 24 bit BGR bitmap. It was working fine using an array captured from a camera, I printed out the content of the first couple of bytes: 132 135 131 132 135 131 … | |
![]() | Hi all, I'm having a bit of trouble trying to convert a string which represents hex, to a byte. Logic below, something like this: [CODE] String hexString = "0x5C"; Byte myNewByte; myNewByte = Byte.Parse(hexString); [/CODE] [B]Error: "The input string was not in a correct format"[/B] I know I can have … ![]() |
Hello everyone. Does anyone know if a database has a maximum capacity to much data can be stored inside of it? Someone told me that the max info a given database can hold is 4 gigabytes. Also, if there IS maximum capacity per database, does anyone know how to INCREASE … | |
I am trying to get the following functionality working which requries some SQL. The need is to be able to produce a list of general staff who are not on holiday or on other sessions on a given day. I have two sql statements that will give me the information … | |
This is my current code [CODE] SqlConnection con = new SqlConnection("Data Source = .\\SQLEXPRESS; Initial Catalog = Library; Integrated Security = True"); string query = "select author_name from author"; SqlCommand cmd = new SqlCommand(); cmd.Connection = con; cmd.CommandText = query; SqlDataAdapter da = new SqlDataAdapter(); da.SelectCommand = cmd; DataTable dt … | |
I have created a string in (e.g. Button1_click) Call that string "textboxtext" now for some basic text to assign to the string I did the following [code] public void button1_Click(object sender, EventArgs e) { string textboxtext; textboxtext = textBox1.Text; textboxtext += textBox2.Text; textboxtext += textBox3.Text; //Some other code later on … ![]() | |
I am having a tough time in vb.net to make the scrollbars to work of the contents of a panel.... here is my code Private Sub HScrollBar1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles HScrollBar1.Scroll Panel122.Left = HScrollBar1.Value now, i want to change .Left to .Right, but it won't … | |
hey anyone, what is the meaning of while(!correct) ? when correct = 0, what is the meaning of it? i have to trace the output but i dont understand it. please help me (: thanks alot... | |
Hi guys! I wanna ask how to code to make a button make a sound out when pressed? Can you add sound files to it, like a mp3 file? Any suggestions? Thank You! | |
Hello, How do i select or set the focus of a particular cell in a datagridview? Actually, this problem is simple but it is hard for me to solve it coz i'm only a beginner in c#. So here is my sample list of students as shown below: [COLOR="Green"]Ann[/COLOR] Antoinette … | |
So, in advance, I have to admit that this is not quite as "good" a question as what is otherwise found here. It's not about a weird error, or something I can't figure out to do. I just get weird output. I've spent around 2 days simplifying the code, trying … | |
cold fusion and mysql error: I think?I posted this in a MySQL forum, but was told they thought it might be a Cold Fusion error instead. Sometimes when I view my webpage, which has a search form on it and then search for records in my database, and I let … | |
Hello everyone. I am trying to make a simple, one lined text field, which permits users to enter text into it. The text field I am reffering to is the type that has a carriage return blinker to signify that a user can type there. I have looked up "text … | |
Hi, What i want is: I have a textarea. When user selects some text and presses a button "[smth]" is added to the begin and end of selected text. How can i do this? It must work on all browsers. The same thing makes daniweb when you format a text … | |
[code] int x[] = { 1, 4, 8, 5, 1, 4 }; int *ptr, y; ptr = x + 4; y = ptr - x; [/code] why y is coming 4 in this code i think that it should be 8 | |
My school assignment is to use browser detect to get the name and variation of a browser. I have been looking for detectible features, but the codes are way long. Document.all is good for seeing if this is explorer 4+, but what is a good thing for finding explorer 7? … | |
I am experiencing a problem with turbo c while I execute odd loops. The compiler doesnt wait till I give a yes or a no. It just jumps out of the loop. Can anyone help me?Is it a problem with the compiler or my program. The latter is not possible … | |
Hey guys I'm having a little problem with unsigned char and reading a file of integers into the array. 1. What the program is suppose to do: It's suppose to dynamically create an array of unsigned char that is the correct size to read in the array of numbers. The … | |
hi, i have a site which is secure with a username and password combination with mysql backend database. the encryption is sha1 for the password. what about securing the url? at the moment it displays for example: page_name.php?ID=24 if you modify the ID other users can see other pages they … | |
Im brand new to programming, ive only been doing it for couple weeks. Im having trouble learning functions(or methods) and classes. I really need some problems i can work towards myself to learn this stuff, but there is nothing like that anywhere. Its all just the same tutorials and them … | |
I need to get an output like: 1 1 11 11 111 111 1111111 I tried a lot and came to the following program. But i'm getting output like: 1 1 11 11 111 111 1111111 Please help me correct this program. The preview of the shape was not coming … | |
My code gives me an error only the first time when i press the checkbox. If i press it for the second time or just to uncheck the checkbox and it gives me the right answer. Can you please help me, i tried almost everything. I use IE7, xampp with … | |
I am getting this error even though a) the header file does exist and is located in the directory and it's not somehow been switched to read only. Also, my #include statement uses "" like "test.h" so the compiler knows to look in the project directory first. I've read that … | |
Hi How can I transfer some tables created in a database in MySql on my computer to a friend's computer. I have sent to my friend the tables stored in C:\ProgramData\MySQL\MySQL Server 5.1\data\mydatabase folder via email. But when it is pasted in the same location in another computer, it isn't … | |
I am trying to write a char array to a bitmap in c++. I (think) i know what values I need in my file header and bitmap info header, and i have looked at some examples but I cant seem to solve this problem (i'm sure its something stupid) In … | |
![]() | Hi All. I am having some trouble with a script which allows a user to upload a photo. When the page first loads it checks if the user has reached their maximum photo capacity. If they have then it will redirect them to another page. If they can upload more … ![]() |
Is it possible to access a TCP server running outside our LAN through internet? I thought we could use the router IP Addess(which I got from whatismyip.com) in the class Socket Constructor[CODE] Socket(InetAddress address, int port) [/CODE]. But client wasn't able to find the server. Has anybody successfully achieved this … | |
Is there a way to determine what control I clicked using a global click event. I would like to be able to click a form text box table I created for my access app to enable to enable and unlock it without have a million on click event handlers | |
hi guys, I found this code on the web but unable to integrate it into my code, can any1 help?. The problem is, it doesnt read till the eof, instead it stops when the condition is erroneously made. [code] #declare Line_Char_Buffer_Size 4000 #declare INPUT_FILE_NAME "Countries.txt" void readData () { FILE … | |
Hi all, I am trying to check a record in database before inerting a new record here is my code but problem is when i enter a names first alphabet it imediatly populate massage please help me i want to check it after entering whole name thanks in advance. [CODE]Private … | |
Hey, all Java & JSP gurus, i'm developing a website using JSP and MS SQL. Can you please tell me the code to invalidate a session object i.e. the code for logout (to be written in JSP) Following is my code for creating session object, on login: [code=java]HttpSession ses=request.getSession(true); ses.setAttribute("Name",name);[/code] … | |
Hi! how can I convert words into numerals... for Example we enter "One crore twenty lakh thirty four thousand seven hundred eighty four" , then its corresponding numeral should be "12034784". What will be the C# code for finding corresponding numerals for range 0 to 999999999 ..... | |
This is the partial codes i wrote for an alarm clock application but why the counting down time don't worked? Thanks in advance :) [CODE]int intTimeDelay = 10; private void mnu5Sec_Click(object sender, EventArgs e) { intTimeDelay = 5; //intTimeDisplay = 5; } private void mnu10Sec_Click(object sender, EventArgs e) { intTimeDelay … | |
Hello! I need to extract a custom shape from a given image. That custom shape can be, for example, a triangle. For example, if source picture is 100px width and 100px heigth, I need to define a triangle with points: (x=0 y=0) , (x = 50, y = 50), (x … | |
Hi there.... I was looking to add Jqzoom in a php page... there are different calls in the page and I got stucked with them..... Though I am a learner and want some one to help me with this..... My Page Shows this code [CODE]require('includes/application_top.php'); $navigation->remove_current_page(); $products_query = tep_db_query("select pd.products_name, … |
The End.