64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for judithSampathwa

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 …

Member Avatar for judithSampathwa
0
151
Member Avatar for helpme87

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 …

Member Avatar for helpme87
0
151
Member Avatar for nullSpace

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 …

Member Avatar for nullSpace
1
180
Member Avatar for nocookies92

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 …

Member Avatar for nocookies92
0
132
Member Avatar for Motorider

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 …

Member Avatar for dschuett
0
480
Member Avatar for slap01

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 …

Member Avatar for sourcebits
0
241
Member Avatar for peck3277

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 …

Member Avatar for sourcebits
0
134
Member Avatar for killhha

iv seen the line 'halt' in some pascal programs after readkey or readln. what does halt do exactly?

Member Avatar for Turtle85
0
307
Member Avatar for Kanoisa

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 …

Member Avatar for mike_2000_17
0
487
Member Avatar for AngelicOne

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?

Member Avatar for Geekitygeek
0
401
Member Avatar for imso

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]

Member Avatar for nick.crane
0
138
Member Avatar for Acute
Member Avatar for Acute
0
116
Member Avatar for Ketsuekiame

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 ) …

Member Avatar for Ketsuekiame
0
304
Member Avatar for dadam88

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 …

Member Avatar for Kanoisa
0
108
Member Avatar for hanvyj

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 …

Member Avatar for hanvyj
0
214
Member Avatar for Smithy566

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 …

Member Avatar for Smithy566
0
96
Member Avatar for PixelExchange

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 …

Member Avatar for PixelExchange
0
134
Member Avatar for taylby

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 …

Member Avatar for taylby
0
269
Member Avatar for AngelicOne

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 …

Member Avatar for AngelicOne
0
122
Member Avatar for trippinz

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 …

Member Avatar for saravind84
0
179
Member Avatar for nv136

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 …

Member Avatar for Oxiegen
0
181
Member Avatar for gahhon

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...

Member Avatar for Narue
0
135
Member Avatar for TrueVb.NetNoob

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!

Member Avatar for TrueVb.NetNoob
0
452
Member Avatar for Hardz

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 …

Member Avatar for Hardz
0
959
Member Avatar for miturian

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 …

Member Avatar for miturian
0
353
Member Avatar for teedoff

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 …

Member Avatar for teedoff
0
1K
Member Avatar for PixelExchange

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 …

Member Avatar for PixelExchange
0
116
Member Avatar for Acute

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 …

Member Avatar for Acute
0
300
Member Avatar for daredevil786

[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

Member Avatar for pheininger
0
1K
Member Avatar for baruchM

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? …

Member Avatar for Taywin
0
149
Member Avatar for m_ishwar

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 …

Member Avatar for Aia
0
119
Member Avatar for indigo.8

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 …

Member Avatar for indigo.8
0
2K
Member Avatar for andydeans

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 …

Member Avatar for EvolutionFallen
0
105
Member Avatar for Steve_Jones

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 …

Member Avatar for taylby
0
124
Member Avatar for guru_iyer

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 …

Member Avatar for Adak
0
148
Member Avatar for theheretic1984

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 …

Member Avatar for theheretic1984
0
303
Member Avatar for Jsplinter

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 …

Member Avatar for Jsplinter
0
362
Member Avatar for suhailansari

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 …

Member Avatar for teedoff
0
162
Member Avatar for hanvyj

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 …

Member Avatar for hanvyj
0
668
Member Avatar for doctorphp

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 …

Member Avatar for doctorphp
0
112
Member Avatar for gunjannigam

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 …

Member Avatar for musthafa.aj
0
654
Member Avatar for Talguy

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

Member Avatar for AndreRet
0
135
Member Avatar for watery87

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 …

Member Avatar for zerocool21
0
103
Member Avatar for Naveed_786

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 …

Member Avatar for Naveed_786
0
108
Member Avatar for nikk

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] …

Member Avatar for selvanandhini
0
2K
Member Avatar for avirag

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 .....

Member Avatar for Geekitygeek
-1
3K
Member Avatar for imso

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 …

Member Avatar for Geekitygeek
0
424
Member Avatar for arshiyafatima

i have write a c++ progam psudocode on additon of two numbers and average of two numbers enterd from keyboard

Member Avatar for jasikamarshel
0
98
Member Avatar for eligio

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 …

Member Avatar for eligio
0
1K
Member Avatar for hassancool

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, …

Member Avatar for metalix
0
225

The End.