64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Susan.LK

Hi All, I have a table with retrieves an image from the database table item, and displays it in a column within a table(for each product-ISBN). I want to be able to show additional images for each row in a table. For example, i would like a hyperlink under the …

Member Avatar for Susan.LK
0
126
Member Avatar for SoulMazer

Ok, I really hated to resort to threading, but it seems like I have no other choice. I am writing a client script for the "instant message" server I just finished writing. Sadly, I am having a slight problem with threading. What I would like to do is have two …

Member Avatar for SoulMazer
0
156
Member Avatar for nandakv4

hello, i am trying to store some values in an array dynamically. doing this as i dont want to over allocate memory to my array. so the code goes as follows:: [code] #include<stdio.h> #include<stdlib.h> int *p; main() { int i; for(i=1;i<6;i++) { p= (int *)malloc(sizeof(int)); *p++ = i*i; } printf("\n …

Member Avatar for nandakv4
0
96
Member Avatar for Tekkno

I have tried several combinations and just can't get this right. I am getting "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM bookmarks WHERE bid = 11' at line 1" when …

Member Avatar for Tekkno
0
82
Member Avatar for itisnot_me

ok i have been trying to really find out how to do this but with no help. i got this script to work but the problem is that it is not getting the file from the directory that it is stored in. it is just trying to find it in …

Member Avatar for itisnot_me
0
92
Member Avatar for palavi

Hi All, If i protect a sheet then I am getting this runtime error stating Run time error '1004' Application-defined or object-defined error Its not highlighting where is the error .. can anybody help me please i have deadline by today evening.. thanks

Member Avatar for palavi
0
135
Member Avatar for Phollos

[B]What it is now:[/B] I'm working on a personal blog because I'll be visiting Sweden for 4 months. I've found / hacked a script that allows the user to mouseover swedish words and have a static translation box show the translation. Working site at [URL="http://sverigejourney.tumblr.com"]http://sverigejourney.tumblr.com[/URL] The current code I use …

Member Avatar for Airshow
0
226
Member Avatar for Stefano Mtangoo

Hi, I want to Load .dll library on my program. I was using LoadLibrary and GetProcAddress which is tedious work. I saw somewhere Idea of using .lib files but have no clue. I have used google but I got lost. Please help me :( Codeblocks 8.02 MINGW 3.4.5 Windows Vista

Member Avatar for Stefano Mtangoo
0
231
Member Avatar for itisnot_me

ok something went wrong and i cannot for the life of me figure it out. my login script which also logs out will not unset the name and admin i set for it. also on top of that if i do use a session_destory and login again it does not …

Member Avatar for itisnot_me
0
103
Member Avatar for zachabesh

Hi all, I'm trying to mimic an html form that calls a script on the web. When I put the form together on a page, it works, and I was wondering if there was a way I could "scrape" this post request and see what I'm missing when I try …

Member Avatar for zachabesh
0
99
Member Avatar for PatMcC

Hi Everyone I am not a full time programmer. I had been using Python for everything and then went to PHP to build my website. I really love PHP now but surely it is the wrong tool for many offline tasks. I know Python is strongly typed but after using …

Member Avatar for xeolabs
0
236
Member Avatar for willygstyle

Hello, I'm working on a new little project that moniters a configuration file. Everything seems to work great except for when I attempt to do some error handling. The configuration file simply looks like this. # third sets the lights # 0 = off, 1 = on, 3 = lights …

Member Avatar for willygstyle
0
114
Member Avatar for Schoorsteen

Hello everyone, I am dealing with this problem that I receive a buffer from a client, and when I try to output what the client sends to my program, it only shows everything till the first zero character. [code=C++] #include <cstdio> #include <winsock2.h> #include <iostream> #include <string> using namespace std; …

Member Avatar for Schoorsteen
0
342
Member Avatar for tig2810

Hi all I'm literally begging for help here. I have a program that as part of other things, executes a batch file. In visual studio 2008,it works fine either either as debug or release. If I execute it fro the debug/release directories it works fine. if I copy the debug/release …

Member Avatar for tig2810
0
205
Member Avatar for snakay

Hi All, I know c# has limitations on assigning null values to datetime and integer value types. But is there any trick I can utilize. I'm converting my appl. from another dec. tool wher I have no null issue, to c#. What I want to do is ; I populate …

Member Avatar for snakay
0
92
Member Avatar for 666kennedy

i have this code ... [CODE] namespace ConsoleApplication1 { class watchmove { private static string myString = string.Empty; static void Main(string[] args) { myString = System.Configuration.ConfigurationSettings.AppSettings["DestDir"]; Run(); } [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public static void Run() { string[] args = System.Environment.GetCommandLineArgs(); // Create a new FileSystemWatcher and set its properties. …

Member Avatar for sknake
0
501
Member Avatar for ashish2234

i AM really new at java and i have just created a very simple diesign of something that is static but should play mp3 files, loaded the required jmf as well ...I want when i click on the jtable and then play song starts playing ..its is not happening here's …

Member Avatar for ashish2234
0
105
Member Avatar for lotrsimp12345

and how i would go about fixing it? main [code] #include <iostream> #include "Format.h" #include <fstream> using namespace std; int main() { Format format; //string word; char in; ifstream infile; bool a=true; bool b=true; bool c=true; while(b==true) { cout<<"to quit type 'q'\n" <<"enter 'c' to get from console\n" <<"enter 'f' …

Member Avatar for lotrsimp12345
0
142
Member Avatar for agent154

I don't get this.. I was able to use it the other day without issue, but now when I use it, the "message" that I put into the paramater doesn't get printed out to the console, and I get an error box saying "Program has stopped working. Windows is checking …

Member Avatar for agent154
0
165
Member Avatar for atch

Hi, Just wonder is there any way to display enum as enum not as integer? Thank you.

Member Avatar for wildgoose
0
96
Member Avatar for Piya27

Hi All, I need to change the style of the first row in an excel sheet(that is created dynamically) in VS 2008. I tried using Excel.Style in vb.net but cudn't seem it working. any help?

0
72
Member Avatar for goody11

Hey, I'm having some troubles with my hangman game i'm making. I want it to display dashes for the number of characters that there are in the word which that part works fine. but then if they guess the right letter, I want the dash to be replaced with the …

0
72
Member Avatar for Salem

This is a catalogue of some experiments on just two aspects of undefined behaviour. This was inspired by yet another long bout of explanation in a recent thread, so I thought it was time to dust off a bunch of compilers, and compare. This is the test code. [code] #include …

Member Avatar for frk
4
585
Member Avatar for Ana D.

Hi, I'm trying to bind a DropDownList in the code behind using the following code: [CODE]Dim DatabaseConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("myServer").ConnectionString) Dim selectCMD As String = “SELECT name, id FROM Clients WHERE name LIKE @name + ‘%’” Dim selectCMD As New SqlCommand(selectSQL, DatabaseConnection) selectCMD.Parameters.Add(New SqlParameter("@name", SqlDbType.VarChar)) selectCMD.Parameters("@name").Value = name Dim adapter …

Member Avatar for Ana D.
0
86
Member Avatar for FJones

I have been trying this for days now and I am not even sure if I am going about this right. I've got errors errors errors everywhere. What I am trying to do is write a windows app that maintains a contact book that can hold up to 20 entries. …

Member Avatar for DdoubleD
0
219
Member Avatar for f_atencia

Hi peoples, I have a textbox: [code=asp.net]<asp:TextBox ID="TextBoxFirstName" runat="server"> </asp:TextBox>[/code] I need to make sure that it captures data for a first name allowing letters from a-z, A-Z and special characters like - (dash) and the space characters. The validator will block all other characters. How do I go about …

Member Avatar for chithrasujith
0
110
Member Avatar for darkocean

I have a excel file and I want to find what I need the ID which is first colomn. The excel file is 4 sheets and fisrt colomn is ID on them. Problem is this : I know only and only ID but I dont know this ID which sheet …

Member Avatar for darkocean
0
652
Member Avatar for solahere

Hello Everyone, I had a small problem in my page. There are some select menus that the user can select and there is a download button which on click should allow the user to download a file based on the selected options...I used the following code under the onclick event …

Member Avatar for solahere
0
111
Member Avatar for muusa

this is the code #include<stdio.h> void main() { int i; printf("%d, %d",++i,i++); } and following is the output 8429558, 8429556

Member Avatar for muusa
0
119
Member Avatar for hello1231231
Member Avatar for wildgoose
0
168
Member Avatar for nkarvi

Hi everyone! I have a program in C#, which doesn't resize and adjust the contents of the app-window when I maximize it. I know that in Java, one can use JFrame and this problem is eliminated. Is there an equivalent in C#?

Member Avatar for sknake
0
78
Member Avatar for group256

Hello everyone, I'm writing a code and in there and I need to convert a char which contains any of "+", "-", "*", "/" into a real operator. As an example let's say I have: [code] char myOp = '+'; int op1 = 10, op2 = 20; cout << op1 …

Member Avatar for group256
0
5K
Member Avatar for Venom Rush

Hi all I'm having a strange array problem. I'm pulling variables from a database and putting the values in arrays. One set of values are pure numbers. This array works fine. My second set of values are a mixture of numbers and letters. This second array just returns values of …

Member Avatar for Venom Rush
0
124
Member Avatar for Cheeki

Hello guys, I don't know if there is already a solution for this but I'm having a lot of problems with re-loading the Ajax div tags. At the moment I have two div tags in my main index.php file, called "flowchartDiv" and "buttondataDiv". Now what I'm trying to do is …

Member Avatar for essential
0
214
Member Avatar for kralco626

I have a grid view and I have a drop down list in several of the cols. A couple have their own data source, and a couple are hard coded. So when I click edit the labels turn to drop down list. BUT, i need to access the drop down …

Member Avatar for kralco626
0
817
Member Avatar for Jostra

Hi guys please help with this i am trying to write my data from a table in a lis box but a always get the number of items inside the table. can some one come thru please. lstData.items.Add(dataAdapter.fill(dataset,"MyTable") all kinds of help will be appreciated

Member Avatar for Jostra
0
717
Member Avatar for user98

I'm a .net programmer so forgive me if this is a stupid question, but here goes. I'm working with a vendor to interface our system with theirs. We are sending text data via modem. The protocol specifications they have given us require a checksum value to be appended to the …

Member Avatar for Salem
0
294
Member Avatar for drabsch

hi, How do you make a exe open and run in a different directory in vb6? so my exe is in the directory D:\test.exe and want it to run in the directory C:\ without copying the file there

Member Avatar for drabsch
0
100
Member Avatar for number87

what's wrong with this line when I try to compile in C++?? The src code was originally in C. It gets an expected identifier error with my c++ compiler [CODE]typedef enum {false, true} bool;[/CODE]

Member Avatar for wildgoose
0
377
Member Avatar for Alibeg

Hi guys....i have a problem and I hope you can explain me where am I wrong... I am doing some kind of Breadth First Search (BFS) ("some kind of" because this is my first program to use this algorithm) I have an array of size 4^9 (262144 for those of …

Member Avatar for Alibeg
0
182
Member Avatar for agent154

This is a continuation of a previous problem I had with a "dir" like program. The previous solution actually *doesn't* work as I'd hoped. the Path class works, as far as I can tell, when the paramater is passed in a very specific way. It doesn't work if I don't …

Member Avatar for agent154
0
152
Member Avatar for gretty

Hello I am reading a text file & I want to make a for loop, loop repeatedly until the end of the file. Is my code below correct, in terms of syntax? Is this possible to do. [CODE=cplusplus] #include <cstdlib> #include <iostream> #include <fstream> #include <string> using namespace std; // …

Member Avatar for gretty
0
2K
Member Avatar for kako13

Hi, I have a table in MySQL that I want to update it if the row exist or insert the record does not exist. [CODE=php] mysql_query("REPLACE INTO `$it` (file_name, directory) VALUES ('$insert','$dir_http')"); // or die ("Insert query failed"); [/CODE] I was following this: [URL="http://dev.mysql.com/doc/refman/5.1/en/insert.html"]http://dev.mysql.com/doc/refman/5.1/en/insert.html[/URL] But every time I run REPLACE …

Member Avatar for almostbob
0
3K
Member Avatar for seebharath

Hello, I have a treeview control and want to add a node to it at a desired location or as the child of a Certain Node X.The problem is I will know nodename[or the Text displayed ] of X only at runtime. How do I Iterate the tree to find …

Member Avatar for seebharath
0
153
Member Avatar for Nathan Campos

Hello, I'm learning Java ME and when i complete the development of an application that uses RecordStore, it's simple a contact book, but when i completed the code i see that my program have an error and i use Eclipse, then it marks wrong codes in the left of the …

Member Avatar for Nathan Campos
0
107
Member Avatar for thanatos1

Hey guys, here's my question. In this text rpg i'm making i'm trying to add a "critical strike" chance, so that the player hits more, i got the hitting more part down right, but my problem is that for example, say the player can hit from 1 to 5 HP, …

Member Avatar for DdoubleD
0
192
Member Avatar for staticvoyager

I did see some other posts on this project, but nothing seemed to help. I just keep getting more confused. =P I coded all my issues into the comments, as this project is already late, and I'm going to have to hand it in - whether it works or not …

Member Avatar for staticvoyager
0
109
Member Avatar for sara9111

Hi There.... # include <iostream> using namespace std; int one (int x, int y); double two (int x, double a); int main () { int num, x, y; double dec, a, first; cout<<"please enter two integers numbers: "; cin>>x>>y; cout<<"please enter a double number: "; cin>>a; num = one (x, …

Member Avatar for sara9111
0
187
Member Avatar for Morika

Hi, I'm a newbie to python and I'm reading a file and trying to split a string every 3 spaces, that is included any whitespace. string.split() will split the string up every whitespace, but is there another way to specify every 3 spaces, whether there is whitespace or not? I'm …

Member Avatar for Morika
0
171
Member Avatar for DdoubleD

Hi, I have a class object that I have created a DataSource on. e.g.: [code] public class TestDataSource { string fld1; public string Field1 { get { return fld1; } set { fld1 = value; } } } [/code] When the DataSource object is created via the wizard, it will …

Member Avatar for DdoubleD
0
136

The End.