132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Brick Wall

Hi everyone, Im building a website for a client but they requested it in umbraco and Ive got an xslt query that has been bugging me for days. I have built a search form user control which has three drop downs and i want to build an xslt macro that …

Software Development xml
0
139
Member Avatar for netisland

i have 2 database (access,SQL) with 2 different connection string i want to select a table from the first database insert it to the second database any help

Software Development vb.net
Member Avatar for ryanjayson
0
184
Member Avatar for Sreya_1

can some one help me with this question.. "The name of students are sorted in an array of strings.Write a program to prepare alphabetically sorted listing of names.."

Software Development c++
Member Avatar for Banfa
0
146
Member Avatar for butterfingerss

I am using Qt5.2.1 I made a program that stores some values(like name, number, other details...) in a text file. I want to arrange this information according to the name. Something like this. A Alan 24140239 some_other_info Avril 64376334 some_other_info B bob 532523 some_other_info And so on

Software Development c++ qt
Member Avatar for David W
0
215
Member Avatar for PHANI BHUSHAN

Dear members, I am new to this site, I want to learn VB From the bigining. Kindly suggest me how to start. what is the basic requirements to learn VB. suggest me the best web site/books/links/material for me. Kindly do the needful.

Software Development visual-basic
Member Avatar for IconKana
0
119
Member Avatar for m_1

hi can someone answer my problem , at first my vb6 is working with my windows 7 32bit but i need to create a project now , everytime i copy label , textbox , checkbox etc.. it always stopped from working.(Not Responding) .. any help please?

Software Development visual-basic
Member Avatar for IconKana
0
135
Member Avatar for Mart_webber

A hardware merchant sells steel bars at a flat rate of Kes 1000.00 per meter, and has announced the following discounts: Quantity of steel bar bought (per meter) Discount (%) <20 0 21-40 5 41-60 10 61-80 15 81-100 20 >100 25 Implement the following programs: a) Using if..else statement, …

Software Development c++
Member Avatar for David W
0
227
Member Avatar for mystycs

I have a string and i want to conver the part of it to an int. I want to convert the part of the string `input[1]` to an int. But my compiler cant use atoi, or stoi.. I saw a ifstringstream option i think can work, but i tried implementing …

Software Development c++
Member Avatar for tinstaafl
0
330
Member Avatar for SkyCross

Why I can't update data in my database MSAccess? though, it's already working, but no changes. Pls help me... Here's my code for Update I have 10 Fields in my table Personaldata try { Records f1 = new Records(); BlockNo = textBox1.ToString(); LotNo = textBox2.ToString(); Numberofoccupants = textBox3.ToString(); Firstname = …

Software Development
Member Avatar for Jan-Willem
0
195
Member Avatar for ahmedsa

Recieve Data From Serial Com Port C# In One Line And Convert To int Posted A minute ago Hi guys i have problem i make code that take data from serial com port for weighting machine it is ok working but it recieve data in more lines.I try to make …

Software Development c# open-source visual-studio
Member Avatar for ahmedsa
0
1K
Member Avatar for shaneetra.graham

Trying to implement a history function in C, I know my array size for the history is 100 and i have a max of 9 arguments. I just wanted a little help or advice on where to start! I also know that i need my history initialized before i start …

Software Development c
Member Avatar for L7Sqr
0
2K
Member Avatar for natsume57

hi good day, i am having a problem about my program (VB 6.0) i want to save data from my program to the access database (mS Access 2003) the problem is that when i try to run the program, and click the button, theres an error about insert into syntax …

Member Avatar for jhai_salvador
0
214
Member Avatar for abelingaw

I'm having trouble connecting to a database file on another PC. In this case, my PC is the client. Using: 1. Windows 7 32-bit on both PC's. * Same Workgroup * Connection verified using cmd (PING) * Connected using hub (straight through) * Workgroup status: Joined 2. MS Access 2007 …

Member Avatar for jhai_salvador
0
193
Member Avatar for MikeBah

I have been asked to build a group of functions that carry out set theory operations such as intersection and union. The functions below that I must complete are set_intersectWith, set_unionWith, set_minusWith, set_powerset, where: > set_intersectWith = A ∩ B > set_unionWith = A ∪ B > set_minusWith = complement …

Software Development c data-structure printer
Member Avatar for rubberman
0
586
Member Avatar for trantran

I want to optimize a directory listing input iterator so that the WIN32_FIND_DATA can be written directly to a vector (via emplace) instead of being first written inside the iterator. This is an idea of the code: /* std::vector<WIN32_FIND_DATA> vwfd; struct listing_it:std::iterator<std::input_iterator_tag, WIN32_FIND_DATA>{ HANDLE handle; WIN32_FIND_DATA wfd; auto operator*()->wfd&{return *wfd;} …

Software Development c++
Member Avatar for mike_2000_17
0
180
Member Avatar for SkyCross

I got an error, "Syntax error (missing operator) in query expression ''Blanco, Familyname='Grace'." in my code, near ExcecuteQuery(); I am performing Update from MSAccess, I can retreive data but when I used to click my update button, I got error. anyone can help me? Heres my code `private void button1_Click(object …

Software Development
Member Avatar for cgeier
0
505
Member Avatar for Aljaz

My programm wont let me input all the data I need. And when I try to display them it won't even use the data that I could input. Please help me and sorry for my bad English it is not my native language, that's why all the data is in …

Software Development c
Member Avatar for Aljaz
0
227
Member Avatar for baba g

#include<stdio.h> #include<conio.h> #include<dos.h> void print(char c,int x,int y); void main() { char a[3]={'A','L','I'}; int i=0,x=1,y=1; while(i<3) { print(a[i],y,x); i++; } } void print(char c,int x,int y) { int s=1,a; if(c=='A') { while(!kbhit()) { clrscr(); gotoxy(x,y); printf("*****"); gotoxy(x,y+1); printf("* *"); gotoxy(x,y+2); printf("* *"); gotoxy(x,y+3); printf("* *"); gotoxy(x,y+4); printf("*****"); gotoxy(x,y+5); printf("* *"); …

Software Development c++
Member Avatar for baba g
0
154
Member Avatar for Curious Gorge

Hi again guys this time I have a question about computer security that's related to my programming hobby. I hope this isn't against the rules. I am asking this out of curiosity and concern, not because I want to do evil. However thanks to some knowledge I gained from a …

Software Development c++ cybersecurity
Member Avatar for mike_2000_17
0
205
Member Avatar for newbie14

I have UDP socket as below. I need to send back data to the client. I tried to capture both the ip and port but it shows me as Port is : -1 and InetAddress : null. What can I do to rectify on this? class ReceiverThread implements Runnable { …

Software Development java
Member Avatar for JamesCherrill
0
313
Member Avatar for Labdabeta

Hello, I have a `HWND` for a window. I have double checked that it is a 100% valid window by using `SetActiveWindow()`, `SetFocus()`, and `SetForegroundWindow()` on it, successfully bringing it to the frontmost window. However whenever I try to use `GetPixel` on it it returns -1 (0xFFFFFFFF). What am I …

Software Development api c++ microsoft windows-api
Member Avatar for BobS0327
0
1K
Member Avatar for nitish.mohiputlall

i have to add two matrices and i am having this error: "error array subscript is not an integer" line 24 here are my codes: #include <stdio.h> void inputarray(int arg[][3], int rows); void printarray (int arg[][3], int rows); void inputarray2(int arg[][3], int rows); void printarray2(int arg[][3], int rows); int main …

Software Development c
Member Avatar for Schol-R-LEA
0
2K
Member Avatar for Shodow

how to make this print fit to page my listview data doesn't fit in the page help please Private Sub PrintDetails(ByRef e As System.Drawing.Printing.PrintPageEventArgs) Static LastIndex As Integer = 0 Static CurrentPage As Integer = 0 'Getting the current dpi so the textleftpad 'will be the same on a different …

Software Development listview vb.net visual-basic
Member Avatar for oussama_1
0
366
Member Avatar for mark103

Hi all, I need your help, I have got a problem with my python script. I'm using XBMC media application which they are using python 2.6v which they works the same way as the other version for python. When I'm pressing on the enter button of the keyboard, the code …

Software Development open-source python
Member Avatar for mark103
0
319
Member Avatar for sandeepxd

Hi i am new with C++, i just need a little bit help with this. please reply code compatible with orwell dev C++ I want an application that uses windows RegisterPowerSettingnotification function for the events of GUID_ACDC_PowerSource.... i tried like below but my dev C++ compiler was not able to …

Software Development c++ gui
Member Avatar for Ancient Dragon
0
1K
Member Avatar for pooja28

Hi to all, I have following two Applets . import java.applet.*; import java.awt.*; import java.awt.event.*; public class buttonDemo extends Applet implements ActionListener { String msg=""; Button one,two,three; public void init() { one=new Button("One"); two=new Button("Two"); three=new Button("Three"); add(one); add(two); add(three); one.addActionListener(this); two.addActionListener(this); three.addActionListener(this); } public void actionPerformed(ActionEvent ae) { String …

Software Development gui java
Member Avatar for pooja28
0
353
Member Avatar for lrw0831

Could someone please help me out. I have an illegal start of an expression error at line 8 in the following code. [code]package untitled5; public class Untitled1 { public static void main(String[] args) { public static void main(String[] args) { int start_system, add_modify, add_modify_animal_data, report, exit_system; int check = menu(); …

Software Development java
Member Avatar for stultuske
0
1K
Member Avatar for Yozuru

Hello good people, I wanted to talk today about auxiliary functions. I have a brief understanding of what it is, however, I am still rather confused on what it actually does. Lets say for example I have a function that calculates leapyear as TRUE or FALSE, how would I use …

Software Development python
Member Avatar for slate
0
5K
Member Avatar for yamini222

Hi, I hope there will be a suitable function or easy way to enable/disable save button until something is really changed in the GUI(frame). My frame consists of several panels, textboxes, Jtable,Jtree e.t.c. How can I design some function until some infomation is manually chnaged by the user to enable …

Software Development gui java
Member Avatar for JamesCherrill
0
1K
Member Avatar for butterfingerss

I have used Qt to create GUI program in C++, but i have given up in trying to statically compile Qt. i have moved on to microsoft visual studio 2013, the question i wanna ask is does the same problem occur in visual studio ( creating static programs ). if …

Software Development c++ gui qt visual-studio
Member Avatar for butterfingerss
0
264
Member Avatar for julie.macfarlane.73

I am building a support application (VB.net 2010) for a device that will attach via USB. Most of the end users will not be geeks. In starting the app I need to discover available ports on the machine, which I can do with this code. myPort = IO.Ports.SerialPort.GetPortNames() 'Get all …

Software Development vb.net
Member Avatar for julie.macfarlane.73
0
328
Member Avatar for janith.amarawickrama

I rote this code in my program JSONNode::const_iterator iter = root.begin(); for (; iter!=root.end(); ++iter) { const JSONNode& arrayNode = *iter; std::string type = arrayNode["type"].as_string(); if(type == "node") { std::string id = arrayNode["id"].as_string(); double lat = arrayNode["lat"].as_float(); double lon = arrayNode["lon"].as_float(); Node node; node.SetId(id); node.SetLatitude(lat); node.SetLongitude(lon); nodesMap.insert( std::pair<std::string, Node>(id, node) …

Software Development c++
Member Avatar for Banfa
0
514
Member Avatar for sanchaki

How can i make a list of value window in asp.net 2.0 with c# and how i get value from GridView of Child Page to a server control [TextBox] in a Parent window.

Software Development asp asp.net c#
Member Avatar for bansgaon
0
81
Member Avatar for john.kane.100483

Hi everyone my Binary2Decimal is okay now because it can now hold 16 digits. But how come my Octal2Decimal and Hexa2Decimal can't hold 16 digits to convert to decimal it can only up to 5 digits. Can anyone correct this problem? #include<conio.h> #include<stdio.h> #include<string.h> #include<ctype.h> char base; char key; void …

Software Development c
Member Avatar for David W
0
182
Member Avatar for mystycs

I want to create a queue that holds certain information. I want it to hold multiple peices of information like below. Name, Age, Race, Sex. How can i create a queue FIFO. that holds multiple pieces of information like this that i can access or add into? Thanks!

Software Development c++ queue
Member Avatar for David W
0
898
Member Avatar for glamiex

How do I change this code so that the user can choose a math operation and determine have that type of operation(either add sub mult or divide) run as much as a user wants it to? Say, if the user wanted 5 addition questions only. And how do I keep …

Software Development c++
Member Avatar for David W
0
158
Member Avatar for anku83

How can we detect redundant rows.and maintain their count. if the rows are like 11111 11111 10101 11111 the result i want is 11111 4 10101 1

Software Development java matrix-multiplication
Member Avatar for gon1387
0
250
Member Avatar for Gregd3rd

Anyone please help me., how to display selected data from database to listview using vb6, data with checkmark field. check data will be display and the not checked data will not display

Software Development display listview visual-basic
Member Avatar for Gregd3rd
0
58
Member Avatar for janith.amarawickrama

I created following classes in my program. Way.h class Way { private: std::string id; std::string name; public: Way(); Way(const Way& orig); void SetName(std::string name) { this->name = name; } std::string const & GetName() const { return name; } void SetId(std::string id) { this->id = id; } std::string const & GetId() …

Software Development c++
Member Avatar for rubberman
0
177
Member Avatar for cazmere
Member Avatar for rubberman
0
89
Member Avatar for uDevv

So i have small problem. Idk how to explain so we will go like this. I have 2 projects. 1. MyLib its compiled .dll 2. MyApp its compiled .exe Okay now Mylib has form, and MyApp has form. So there are 2 forms. Mylib form is login form with 2 …

Software Development vb.net
Member Avatar for tinstaafl
0
247
Member Avatar for Junz_1

Hi guys, need help here. I would like to check the registry key is exist for this code: Sub main() Dim regKey As Object = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D75F38ED-E49A-48F3-9B72-D4BC5FE73B44}", True) ' Check if it exists If regKey Is Nothing Then MsgBox("Registry key does not exist!") Else MsgBox("Registry key is exists.") End If End …

Software Development microsoft-windows vb.net
Member Avatar for Junz_1
0
1K
Member Avatar for overwraith

So I am working on an old project that uses libnet, actually it is a book example, and I cannot find a version 1.1 or 1.0 of libnet. I am going to somehow have to track the depreciation of certain functions and I have never done something like this before. …

Software Development c
Member Avatar for L7Sqr
0
112
Member Avatar for toll_booth

Hello everyone. I am trying to teach myself the very basics of the Brian neuron simulator before attempting to modeling realistic networks. Any of you guys know how to use it? Specifically, the first exercise I am attempting is: dx/dt = 1 + x - y - x^2 - x^3 …

Software Development python
0
139
Member Avatar for romil.agrawal.1

I just now installed python 3.3.4 on my mac os 10.9.1 mavericks. I am developing through the Wing IDE for mac. When i tried to change the python excutable from default to python 3.3.4 and restarted the program, a dialog box appeared thta said that the interpreter for python 3.3 …

Software Development ide python
Member Avatar for Alex_20
0
250
Member Avatar for cppgangster

Hi there, I am having a problem of passing arrays to functions, here is my code: void zeroMatrix(float **arr); void main() { float e[2][2]; zeroMatrix(e); } void zeroMatrix(float** arr) { int i,j; for (i=0;i<2;i++) { for(j=0;j<2;j++) { *( *(arr +i)+j) =0; } } } The problem is I want to …

Software Development c
Member Avatar for David W
0
343
Member Avatar for 21345570

Hello, I would like to know if it was possible to use a time limit on my application and log out the user after that time has expired?

Software Development
Member Avatar for 21345570
0
129
Member Avatar for shaneetra.graham

would like some ideas of how to acutally create my own cd function from scratch using C programming.I'm building a shell program in C.

Software Development c
Member Avatar for Ancient Dragon
0
500
Member Avatar for LucyLogic

I need some assistance with a program I wrote and had to alter. Here are the initial instructions and what I initially had then my reworking and what I have now and any assistance would be helpful. Write a C++ program to help you balance your checkbook at the end …

Software Development c++
Member Avatar for David W
0
3K
Member Avatar for Gen_2

I'm wondering if there's a way to cut the long statement and make it shorter as possible. the case is i have 5 radiobuttons each questions. thanks in advance.. =) If Q1.Visible = True Then If q111.Checked = True Or q112.Checked = True Or q113.Checked = True Or q114.Checked = …

Software Development vb.net
Member Avatar for Reverend Jim
0
176

The End.