199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ShobanaV

I am trying to make a local python application communicate with the python application in cloud(GAE). I am able to send a string from local appn to cloud appn, which invokes the post method in cloud appn and writes some message to the screen. I want to access the string …

Member Avatar for dashing.adamhughes
0
243
Member Avatar for srao1

I am unable to convert my C file to mex file. Here is the C file I wrote to read in a tab-delimited file. The C program in running, but I am not able to successfully convert it to a mex file. I have also pasted the mex file I …

Member Avatar for srao1
0
568
Member Avatar for lulu79

hi, I have a Gridview like below: ![Gv3](/attachments/fetch/L2ltYWdlcy9hdHRhY2htZW50cy8zL0d2My5KUEc%3D/283 "align-left") What I want is: 1) User can click at **LINE** column, for example user click at **M23** and it will redirect to other page. 2) At the other page, it will display something like this: **Please insert countermeasure for M23** where …

Member Avatar for DeepKiran
0
744
Member Avatar for mixelplik

I'm trying to run a binary sort that sorts through a list of randomly generated numbers, but for some reason isn't working. It will usually tell me if the highest or lowest numbers are in the array, but acts like a spaz on the middle ones. I keep fiddling with …

Member Avatar for vmanes
0
214
Member Avatar for kit007

Hi all; I just edited the oci8_driver in codeigniter and added the oci_bind_array_by_name since it was not included. But my codes does not work.. Hope somebody out there can help me. oci8_driver function for store procedure private function _bind_params($params) { if ( ! is_array($params) OR ! is_resource($this->stmt_id)) { return; } …

Member Avatar for kit007
0
430
Member Avatar for scheppy

Hi all. What im trying to accomplish is to get strings from within a string. These strings are seperated with "//*//" an example would be String ExampleString = ("//*//helle//*//goodbye//*//1965//*//this is an example//*//the end"); then I would like to seperated into seperate strings. hello goodbye 1964 this is an example the …

Member Avatar for scheppy
0
291
Member Avatar for dhatsah

Hi there, I am trying to create a simple client/server application. Very basic - Client connects to server, client sends message to server - server receives message and broadcasts to any other connected clients. As I say - it is supposed to be simple and for the purpose of self …

0
211
Member Avatar for flebber

What I am trying to do is delete the key value pairs out of a dictionary if the value is = 0. I seem not to be acheiving that so far. Python 2.7.5+ (default, Sep 19 2013, 13:48:49) [GCC 4.8.1] on linux2 Type "help", "copyright", "credits" or "license" for more …

Member Avatar for flebber
0
430
Member Avatar for srao1

I am trying to read in a large tab-delimited file which has 16 columns and about five lac rows. The first column is a date string. TThe second contains integers and so on. However I am not able to get the arrays correctly. Also how can one ignore three header …

Member Avatar for Ancient Dragon
0
6K
Member Avatar for prakashdeen

I have totally Eight textboxes in my aspx page. When the page loads, disable any four textboxes randomly. Is there any option for doing this simply, If there means, pls let me know. Thanks In Advance

Member Avatar for elsunhoty
0
314
Member Avatar for Murat_1

I can rename pictures name. But it doesn't changes picture name in folder. And i want do it with gridview. How can find the solutions. Thanks.

Member Avatar for elsunhoty
0
85
Member Avatar for asisaf

How to dynamically add div in asp web page ?ie, if mssql server returned n rows from a query, i must place all these n rows in seperate div which has to be created dynamically.!!pls help (d case is when displaying search results in a web page like shopping sites)

Member Avatar for elsunhoty
0
512
Member Avatar for RinzLove

My error msg: <td>@Html.DropDownListFor(model => model.listVendor_Id, Model.listVendor_Id) CS1061: 'System.Collections.Generic.IEnumerable<PWIMS.ViewModel.POViewModel>' does not contain a definition for 'listVendor_Id' and no extension method 'listVendor_Id' accepting a first argument of type 'System.Collections.Generic.IEnumerable<PWIMS.ViewModel.POViewModel>' could be found (are you missing a using directive or an assembly reference?) The listVendor_Id after "Model." wasa underline in red. How …

Member Avatar for elsunhoty
0
135
Member Avatar for pravej

Hi, Is there any way in C++ to select and read the last modified file from a unix directory? Let say the o/p of the ls -t is : abc.txt myfile.txt .... .... last_file.txt I want to select this last file ( can be of any name) and read the …

Member Avatar for iamthwee
0
7K
Member Avatar for Start4me

I'm trying to create a database. After creating the Table [Design], I've went to the Table [Data] to add items to the database, ran the program to check if the database items show up, they do. Then I stopped debugging, went back to the table to add more information to …

Member Avatar for kRod
0
1K
Member Avatar for iamthwee

So I'm creating an online system. Just wondering should I allow for users to have a username or just use their email address as the primary logon? What are your thoughts?

Member Avatar for diafol
0
132
Member Avatar for castajiz_2

I ve always had a problem with this but never coped with it. Let s say I bring a button to a form and click on it two times a event will appeaer in the code section. EXAMPLE: private void button1_Click(object sender, EventArgs e) { } Let s say i …

Member Avatar for deceptikon
0
144
Member Avatar for mpc123

HI Hope somebody can help. My query updates a colomn in tab1 from a row in tab2 but only if a colomn in tab1 is equal to that of a row in tab2. tab 1 has 360000 rows tab 2 has 477 rows The update query runs for ages and …

Member Avatar for Ewald Horn
0
235
Member Avatar for bm42

Hi all, I would like to pose a design pattern to discussion that is achieved in two different ways. Imagine the situation where you have an interface "IFoo" (aka virtual) and implementations "FooA", "FooB", ... that inherit and implement "IFoo". Now you want the user (of the library you are …

Member Avatar for bm42
0
1K
Member Avatar for Geowil

I am in the final stages of testing a text-based game I have been working on for several years but I am running into some major problems with my database access code and some very strange problems at that. What I am attempting to do is loop through a SQLite3 …

Member Avatar for Geowil
0
1K
Member Avatar for sultankhan

i have store an image into my database. but i am unable to display the image what i have done till now is under.... any help will be appreciated. thanks in advance! <? $query="SELECT * from testimonial"; $ret = mysqli_query($mysql,$query); if (isset($ret) && $ret->num_rows>0) { while($row=mysqli_fetch_array($ret)) { $body=$row['body']; $name=$row['name']; $image=$row['img']; …

Member Avatar for sultankhan
0
2K
Member Avatar for boy2534

Hi,i have some error for some help when i try to run this code below i got this error "Syntax error in UPDATE statement." at .ExecuteNonQuery() and i try to solve it for an hours but i can't , Anyone please help me !! and i use System.Data.Oledb ( sorry …

Member Avatar for boy2534
0
160
Member Avatar for parth2911

**i am tring to this way but answer is not write....thx...** #include<stdio.h> #include<conio.h> void main() { float a[10],m; int i,j,n,t; clrscr(); printf("how many number in array\n"); scanf("%d",&n); printf("enter %d number\n",n); for(i=1;i<=n;i++) { scanf("%f",&a[i]); } for(i=1;i<=n;i++) { for(j=i+1;j<=n;j++) { if(a[i]>a[j]) { t=a[i]; a[i]=a[j]; a[j]=t; } } } if(n%2==0) { m=a[(n/2)+((n/2)+1)]/2; } …

Member Avatar for parth2911
0
204
Member Avatar for nagarajfloret

Hi, How to preserve session in subdomain from main domain My domain is example.com. Where i log in and create a session. And i need to access the same in subdomain abc.example.com(which is in same server).

Member Avatar for matrixdevuk
0
60
Member Avatar for ebanbury

Hi I have an 'edit_profile' form. I'm having several issues with this form . There are some fields which are working fine and some aren't. This 1st issue is regarding the textarea fields When the user updates their profile, any field, the textarea adds characters which are bye<br /><br /><br …

Member Avatar for matrixdevuk
0
199
Member Avatar for davy_yg

Hello, How to style my message like : [Login invalid message](http://www.rustoleum-indonesia.com/message.jpg) You see, it appears for a few seconds then afterward it disappears. It also has that red box around it. Thanks before.

Member Avatar for matrixdevuk
0
89
Member Avatar for everton.retweets

Hi everyone, I am looking for someone to help me with a htaccess file / rewrite rule I am working with. At the moment, my url is website/profile?id=12345678 now before I add the htaccess file, the webpage gets the id from the url and searches the database and retrieves the …

Member Avatar for matrixdevuk
0
193
Member Avatar for joseph_7

Write a program that will swap two values stored in location X and Y. For example if the initial values were X=2 and Y=5 then after the execution of your program the stored values should be X=5 and Y=2. in mariesim

Member Avatar for JamesCherrill
0
163
Member Avatar for christinetom

Hi everybody. Hope you are all well in the new year. I'm having trouble with joining two chars and displaying the output. For example Any clues as to how to do this? Thanks so much. #include <iostream> #include <string> using namespace std; int main(); { char a = 'x'; char …

Member Avatar for christinetom
0
466
Member Avatar for neha05
Member Avatar for nhrnjic6

void John_is_3D(int dimx,int dimy,int dimz) { int ***John; // pointer to pointer to pointer John = new int**[dimx]; // array of pointers to pointers for(int x = 0;x<dimx;x++) { John[x] = new int*[dimy]; for(int y = 0;y<dimy;dimz++) { John[x][y] = new int[dimz]; for(int z = 0;z<dimz;z++) { John[x][y][z]= x*y*z; cout …

Member Avatar for Ancient Dragon
0
184
Member Avatar for rgkrish183
Member Avatar for Violet_82

Hello, me again :-). This time I need to build a small calculator-like GUI, like this: ![3c9bdedf8ee9380da461586266ce3130](/attachments/large/2/3c9bdedf8ee9380da461586266ce3130.png "3c9bdedf8ee9380da461586266ce3130") This time I thought I'd ask a few questions before I start building it! 1)In terms of layout, I was thinking to use the GridLayout again: one for the text field and …

Member Avatar for Violet_82
0
3K
Member Avatar for rpv_sen

[CODE]Hi Friends, I have written a code with some example script for generating report in PDF with PHP and MYSQL. But i am unable to fetch the data from my table. So Please help me to solve this issue. Thanks <?php $today=date('Y-m-d'); $hostname = "localhost"; $database = "bdname"; $username = …

Member Avatar for monalia
0
4K
Member Avatar for mavtcr

Hello Dear All, I have a small problem ,though seems very simple,being a newb It is difficult for me. Please Help me I have a message box VbYesNoCancel My code is here If ACRS.RecordCount>0 Then MsgBox"SALARY ALREADY CALCULATED DO YOU WANT TO RECALCULATE ?",vbYesNoCancel,"Pebble" Else CmbNdm.SetFocus End If My problem …

Member Avatar for Stuugie
0
322
Member Avatar for cherrymae.calma

is anyone having an idea on how you going to use ifstream & ofstream without using the header of it.

Member Avatar for deceptikon
0
112
Member Avatar for neha05

I am inserting the csv file into the database but it not inserting in proper way,the coloums are merged into each other,im not getting where im doing mistake .please help me in that my code`Inline <?php //database connection details $connect = mysql_connect('localhost','root','123456'); if (!$connect) { die('Could not connect to MySQL: …

Member Avatar for neha05
0
362
Member Avatar for lewashby

Server #!/usr/bin/python3 import socket from time import ctime HOST = '' PORT = 21567 BUFSIZ = 1024 ADDR = (HOST, PORT) udpSerSock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) udpSerSock.bind(ADDR) while(True): print('waiting for message...') data, addr = udpSerSock.recvfrom(BUFSIZ) udpSerSock.sendto(data, addr) print('...received from and returned to:', addr) udpSerSock.close() #END# Client #!/usr/bin/python3 import socket HOST = …

Member Avatar for JasonHippy
0
356
Member Avatar for rpv_sen

Hi I am trying to convert julian date in to date format. can any one please help me. **For Example:** Julian date - 114021 Output Should be as below 2014/01/21 - (YYYY/MM/DD)

Member Avatar for pritaeas
0
382
Member Avatar for haymen.roth.3

Background: My store procedure 'GetAtdRecord_Sp' to optionally accept parameter 'EmplID' otherwise default value is null. It works in SQl server management studio even if i provide no value as i wanted to do. exec GetAtdRecord_Sp // This works exec GetAtdRecord_Sp 23 // This works too with value. Problem: But when …

Member Avatar for pritaeas
0
174
Member Avatar for utkarshsahu

Hi, I am making a song player in java with playlist functionality. I got my mp3 songs running all right. What i basically do in my player is search a folder for mp3 files and then add all to the playlist. Till here, it's fine and doing good. But the …

Member Avatar for JamesCherrill
0
1K
Member Avatar for zulabc

I am a beginner for shell script, and I want to know how to check the content of file using if condition I have a files content .txt and what I want is if content of file have .txt; then skip else run code fi

Member Avatar for Snadiger
0
192
Member Avatar for rpv_sen

Hi Friend I am trying to connect my MSSql server 2008 R2 server using php. I am getting an error as below `Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs\test\connect.php on line 4` and the code is below <?php $serverName = "servername\sqlexpress"; //serverName\instanceName $connectionInfo = array( "Database"=>"dbname", "UID"=>"us", "PWD"=>"ps"); …

Member Avatar for rpv_sen
0
290
Member Avatar for yann.bohbot.9

I'm new to C and I'm trying to convert decimal to binary. The result is giving me an inverse number of what's required. I tried to apply modulo on the result like I saw on other forums but I still get the same result. Any help? #include<stdio.h> int main() { …

Member Avatar for Banfa
0
147
Member Avatar for kiya ko

write a c++ program generat a fibonacci series using while loop statement .(Hint0,1,1,2,3,5,8,13,21,34,55,...)

Member Avatar for Banfa
0
199
Member Avatar for Sanket_2

My company has Desktop application developed in vb.net using devexpress controls. Back End database is MySQL. Company is in retailing and have 2 retail stores in in same city. Both stores always stay busy and customers are always in waiting at the counter. Basically, it is desktop based CRM application …

Member Avatar for Ewald Horn
0
306
Member Avatar for haymen.roth.3

i am given task to analyze and modify pre written large queries within small time, so please help me understanding it with times as ( SELECT t1.EmplID , t3.EmplName , min(t1.RecTime) AS InTime , max(t2.RecTime) AS [TimeOut] , t1.RecDate AS [DateVisited] FROM AtdRecord t1 INNER JOIN AtdRecord t2 ON t1.EmplID …

Member Avatar for cereal
0
298
Member Avatar for praveencrony

Dear all, In my website admin page.post a new property.the details are posted in my facebook fan page wall. I am using PHP SDK. Some times its working fine. Sometimes redirect to my return url it contains code parameter and stopped i am using this code Anyone help me <?php …

0
231
Member Avatar for mayankjoin
Member Avatar for marin cristina

hello as I could have and I Categories subcategory. PHP For example: Categories - Action / Horror / Comedy series - to be Category Tv Series - Arron / Fringe / and so appear in episodic - Arron / Fringe Help me please thank you Here's what's Codu Category: <?php …

Member Avatar for marin cristina
0
340

The End.