199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for agnair

Hi, I am new to VB, and still learning. Please help me. I am developing a simple VB application, in Visual Studio 2010, where in we have to enter values in the fields given. I need to add a REFRESH button, which should act like a clr screen command. When …

Member Avatar for Netcode
0
278
Member Avatar for apanimesh061

There is a list urls like "http://books.rediff.com/categories/travel/general/2288" I wish to find out whether they start from "http:/" or are relative urls starting from "/", if true store them in an array ! ... if (strpos($html->href, 'http://') <= 0) { array_push($urlarray, $link->href); } ... This does not work .... How should …

Member Avatar for apanimesh061
0
159
Member Avatar for Zagal

Hi, I have some jQuery code which checks whether capslock is on, but it works only with .keypress(). I want to alert when document is ready, not when im filling input. Is it possible to check status of capslock and alert the user without filling the input?

Member Avatar for ssantoshreddy
0
107
Member Avatar for b.shravanirao

Hi, I have page1.aspx with a calender control with multiple selection of dates with confirmation button below calender which displays selected dates in grid view below. Everthing worrking fine upto now. Now i want to send the gridview data to nextpage.aspx using session. Please see below code for gridview to …

Member Avatar for hericles
0
381
Member Avatar for glao

Hello , i am trying to understand how periodic boundary condition works.Of course, i understand what it is and how it works,just i am trying to implement it in c++ and i have some problems.( for now i want to make it work in 1d but i want it for …

Member Avatar for glao
0
3K
Member Avatar for *sharath*

Can anyone give a simple example for GCM server and how to use it. Thanks in advance

Member Avatar for peter_budo
0
81
Member Avatar for Gaving30

Hi, Using ASP.NET 2.0 C# I am looking to get some idea how to reduce the quantity as the user buys a product. In my database i have a quantity column and when the user buys an amount of a certain product i would like it to deduct this from …

Member Avatar for M.Waqas Aslam
0
125
Member Avatar for pallas_athena

Help! I need to run my function every 5 mins but I don't know how and what to use. I tried using Restart but my whole application ill restart too.

Member Avatar for M.Waqas Aslam
0
114
Member Avatar for MasterHacker110

By C++ game engines i mean the language that the game is programed in is C++. I know irrlicht but it aint good for very big games becuase you have to code where everything is. At the moment i am using Unity but the language looks like C#. So what …

Member Avatar for mihbd1207
0
487
Member Avatar for maxpaine69

Good Afternoon, Im new here so Hi All. I having a problem doing a thing in c# asp, trying to get data, when updating the db trough the datagrid, using c# on the code behind and im havin troubles, can anybody help. The code that im using is this: protected …

Member Avatar for maxpaine69
0
181
Member Avatar for rajesh1158

Need an Hello world example of how to add an item in the context/pop-up menu in eclipse plugin development. (menu should pop-up when we right-click anywhere in the workspace).

Member Avatar for JamesCherrill
0
309
Member Avatar for salii

Hello. I'm trying to upload a logo to my website. I have to replace <h1 id="logo"></h1> to <?php theme_logo(); ?> The code is: ?> <<?php echo $tag; ?> id="logo">> <a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo.jpg" alt="<?php bloginfo('description'); ?>" /></a></<?php echo $tag; ?>> When I change it the code …

Member Avatar for salii
0
197
Member Avatar for triumphost

Hey all. I'm having a problem with a DLL being loaded. In codeblocks, if I don't export Main + ALL the functions in my DLL, they cannot be used by an external program! Yet in visual studio, I exported nothing and external programs are able to load the DLL. Example: …

Member Avatar for triumphost
0
527
Member Avatar for deepthought

Hi Guys, I have managed to connect to a laser sensor and get data back from the unit into python however i think i need to decode this data. Below is what i have sent and get back. Console Result:- UDP target IP: 192.168.60.3 UDP target port: 9008 message: FF …

Member Avatar for deepthought
0
134
Member Avatar for aabbccbryanmark

print "enter a number: "; $in = <>; chomp $in; print &prime($in); print "\n"; sub prime{ for($i=2;$i<($_[0]/2+1);$i++){ if($_[0]%$i ==0){return "not prime\n"} } return "prime\n"; } is this code for c++ language?..

Member Avatar for WaltP
0
301
Member Avatar for ariez88

Hello, I have published version 1.3 of an smart client application on my intranet. The deployment goes fine. However, when I try to install the application on my system from intranet I encounter following problems. A. "The publisher can not be verified. Are you sure you want to install this …

Member Avatar for danielgr
0
186
Member Avatar for lloydy76

Hi there, im new to c# and have been trying to create a calculator without a switch statement, using the operator 'op' as a variable, but i cannot get it to work, here is my current code: [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; …

Member Avatar for samsylvestertty
0
6K
Member Avatar for jjjmikalord

hello there, is there anyone who can tell me hwo to actually check whether an an int array element is a null or not? in java, I tried (array[i]==null) or (array[i].equals("")) but it seems that the compiler will tell me that int is incomparable to null or string everytime I …

Member Avatar for stultuske
0
732
Member Avatar for Raakesh399
Member Avatar for danielgr

I'm trying to figure out how to use a class. I have created a class: Public Class bicluster Public Property Vec As String Public Property left As String Public Property right As String Public Property distance As Double Public Property id As String Public Sub New(ByVal Vec As String, Optional …

Member Avatar for danielgr
0
133
Member Avatar for 47pirates

In my desktop application whenever execute the code to backup my database from java application the app goes on waiting state may be for password , which we have to enter while backing up from command line. But i've provided the username and password of database in the code. Why …

Member Avatar for rajesh1158
0
3K
Member Avatar for brad.ward.33

In this assignment, I am having to insert user information to tables that we have created and I am having this error that keeps on telling me " Code No: 80040e14 Code Message: IDispatch error #3092 Error Source: Microsoft OLE DB Provider for SQL Server Error Description: The name 'Br' …

Member Avatar for brad.ward.33
0
374
Member Avatar for vizz

What can be written in **private message** on **www.freelancer.com** to get project work? people are not replying on bid. how to **get reply atleast**?

Member Avatar for vizz
0
220
Member Avatar for Labdabeta

I have two bounding boxes defined by the following values: m1.min.x;//the min x value of model 1 m1.min.y;// " " y " " " " m1.min.z;// " " z " " " " m1.max.x;// " max x " " " " m1.max.y;// " " y " " " " m1.max.z;// …

Member Avatar for Labdabeta
0
667
Member Avatar for gem.gonzales.9

#include <stdio.h> #define p printf #define s scanf main() { int q,num[2000],sum,i,a,b; float mul,t,grade,quiz,d; { p("enter the the total quiz:"); s("%f",&t); p("enter the no. quiz:"); scanf("%d",&q); p("enter five no sepeerated by enter :\n"); for(i=0;i<q;i++) s("%d",&num[i]); sum=0; for(i=0;i<q;i++) sum=sum+num[i]; p("the sum of array :%d",sum); mul=sum/t; p("\ntotal:%f",mul); grade=mul*100; p("\n total is: %f",grade); …

Member Avatar for Vish0203
0
116
Member Avatar for riptide355

Hi, I have a database program that creates URL's that look like this... http://www.mywebsiteDB.com/admin.php?toDo=module&module=RESERVATIONS&modsub=reservations or this http://www.mywebsiteDB.com/admin.php?toDo=module&module=RESERVATIONS&modsub=upcoming etc. I need to make a page that inserts fields into the database AJAX style, which I managed to do outside of the database program. However, when I put the code into a …

Member Avatar for riptide355
0
190
Member Avatar for bohm13rit

I can't seem to figure out how to reverse the order of the letters in a string. This is what i have so far... [code] [COLOR=Blue]public String reverse(String normal) { //reverse the letters in string char last; //last letter of string int leng = 0; //length of string int i; …

Member Avatar for teachMyself
0
957
Member Avatar for HasNor

Dear experties, I want to display data from Mysql by keyword but my code doesn't work. Maybe you have suggestion for this environment. please...

Member Avatar for ryantroop
0
171
Member Avatar for zeroflee09

## Sub-Heading Here ## > im working with time in and time out app which compute all of the hours that you've been working. > and i got this error.! i dont know how to fix these. plss help me im a beginner. > > error: variable th1 might not …

Member Avatar for zeroflee09
0
307
Member Avatar for laetitia--

Hello, I am newb with php I got a strange message error, that is: [U]Notice: Use of undefined constant y - assumed 'y' in /home/www/healthforum.uib.no/htdocs/ohcsurvey/survey/sp1.php on line 139 [/U] I am making a survey where the user , by cliking radio buttons, can choose between yes or no to a …

Member Avatar for ryantroop
0
1K
Member Avatar for Zeref

Hi guys. I'm trying to access some User interface files (.glade) which are in a subdirectory. from gi.repository import Gtk import os path=os.getcwd+'/ui/main.glade' def hurr(): builder=Gtk.Builder() builder.add_from_file(path) # get UI file window=builder.get_object('winlet') window.show() hurr() Gtk.main() This works if i use only 1 glade file, but i have multiple .glade files …

Member Avatar for solivier
0
159
Member Avatar for triumphost

How can I iterate a buffer with a stride? For example, I saved the pointer to a vertex buffer for later use. I've got the stride, the pointer, and triangle count for vertices. I want to iterate my pointer using this info to get the vertices. I'm doing it wrong …

Member Avatar for triumphost
0
312
Member Avatar for Pyler

#include <iostream> #include <string> using namespace std; double distance(double x[],double y[]){ return sqrt((y[0]-x[0])*(y[0]-x[0])+(y[1]-x[1])*(y[1]-x[1])); } int main(){ double d; double x[]={1,2}; double y[]={4,3}; cout<<distance(x[2],y[2])<<endl; //cout<<d<<endl; cin.get(); return 0;} why wont it work I also tried d=distance(x[],y[]); cout<<d<<endl; but it wont work either

Member Avatar for NathanOliver
0
84
Member Avatar for umesh T20

Hi All, I want to develop search engine for torrent search from variuos sites. I seen many search engine on web e.g torrent-finder,torrent harvester . which can seach fortorrent file which matches with given keyword .These sites search for torrent file from many sites. I want to developed program same …

Member Avatar for john61484
0
178
Member Avatar for letterG

Hi again, I ran to some problems in input some codes but i'm quite sure that my code is correct but the output is not what I expect it to be, this is my code: #include<iostream> #include<string> #include<sstream> using namespace std; struct movie{ string title; int year; }; struct info{ …

Member Avatar for letterG
0
162
Member Avatar for KasmIR

Hello, I try to compilate this progam! It return "Error 4 error C2664: 'LoadLibraryExW' : cannot convert parameter 1 from 'char *' to 'LPCWSTR' c:\users\andrei\documents\visual studio 2010\projects\test\test\test.cpp 282 1 test Error 3 error C2664: 'LoadLibraryW' : cannot convert parameter 1 from 'LPCSTR' to 'LPCWSTR' c:\users\andrei\documents\visual studio 2010\projects\test\test\test.cpp 200 1 test …

Member Avatar for deceptikon
0
244
Member Avatar for phanisk

I have a php web service returning json data. My problem is that when i call the json data from url returns nothing but when a call a local file with exactly the same data (copy from the url) works fine. The json data i receive are for example {"ResponseData":[{"Code":"91010001","Description":"ISADORA …

Member Avatar for ko ko
0
299
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> struct data { int n; }**value; int main() { int m,c=0; printf("enter the number: "); scanf("%d",&m); value[1]->n=m; for(value[2]->n=0;value[2]->n<=value[1]->n;value[2]->n=value[2]->n+1) { c=c+value[2]->n; } printf("%d",c); } it takes the value and compiler stops working

Member Avatar for WaltP
0
516
Member Avatar for SHASHWATH

I have used queue but I cant figure out how to write code to display horizontal(bfs) and vertical binary search traversal

Member Avatar for WaltP
0
209
Member Avatar for shkr

i have the log file with byte dump and also structures.. using byte data as input i need to print the values of structures in user readable format..can anyone post the code.. here is txt file.. 002c2a54:00000000 00001389 11950000 00000000 00000000 00002b74 0000011c 00000000 002c2a74:01010100 01000000 0e600384 00000000 00000384 00000000 …

Member Avatar for Sokurenko
0
295
Member Avatar for saranyak
Member Avatar for Geonith

from a string that's pulled from a mysql database? i know stripping new lines is [code] $d = str_replace("\r\n","",$d);[/code] but what about tabs and extra spaces?

Member Avatar for mnelson4
0
6K
Member Avatar for newbie1234
Member Avatar for gordey wilson

1 down vote favorite You can't vote for your own post. (click on this box to dismiss) I have a very big problem with my website. I have a form, more like a text box used in submitting comments, that not the problem. The problem is displaying the comments. I …

Member Avatar for Taywin
0
132
Member Avatar for minbor

Hello, Is there a way to create a user using Membership.CreateUser for another application? I have tho websites (A and B) and when I create a user for website A I need a user to be created B also. I can't link them to use the same database. Is there …

Member Avatar for minbor
0
170
Member Avatar for Vish0203

Is there any way to create an installer using C programming..? I want embed all the files of a software created by me in an exe file, which will extract all the things to a desired folder or drive. I heard that we can make batch file(package).. but how to …

Member Avatar for Vish0203
0
253
Member Avatar for MashaM

trying to develop a system to assign grades to students. The system reads marks from my database, and assigns a grade after getting average of scores. Used case statements, keep throwing errors. So i tried if statements but its giving me issues. Someone know a better way to do it? …

Member Avatar for Taywin
0
133
Member Avatar for showman13

This may be a no brainer, I'm not sure, but just wondering if it is causing problems. Is it acceptable to use both GET and POST for transferring data in the same script? Here is what I have, and I seem to be getting eratic results, so trying to pinpoint …

Member Avatar for showman13
0
107
Member Avatar for phorce

Hello, I'm trying to write the Cooley Turkey algorithm for an FFT. Now, The algorithm works well, but, only for 2 numbers - Nothing else. For example, I have used an online FFT calculated, entered the same data and got the same results. Here is the code for the algorithm: …

0
126
Member Avatar for AquaNut

Hi All, Wondering if anyone can point me in the right direction.. I have looked at various snippets but nothing seems to be what I need. I have a tab delimited text file in the form of: Title: Ms Forename: Fred Middle Name Initials: Surname: Bloggs Employment Type: Permanent Employee …

Member Avatar for razree
0
2K

The End.