132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hirenpatel53

Hi All i am filling dataadapter by using query which contains joins Means Retraive data from Multiple Table and fill that data into datatable code shows as follows [CODE]_problemAdapter = new MySqlDataAdapter("SELECT xr.ID,vw.ID view_ID, vw.DX, vw.DisplayName, xr.Active,xr.Preferred FROM vw_Dignosis vw LEFT JOIN diagnosisXref xr ON vw.ID=xr.View_ID ORDER BY vw.DX;", SupraClasses.SupraConnection.Instance); …

Software Development
Member Avatar for abelLazm
0
220
Member Avatar for tikoti

Hi all, I am really new in bash scripting and I can't even make simple tasks What I am trying to do is executing a command (ls -l for this example), over a double leap ssh. [CODE] #!/bin/bash ssh -T myuser@entrypoint ssh -T myuser@targetpc<<EOI ls -ltr . exit EOI [/CODE] …

Software Development shell-scripting
Member Avatar for thekashyap
0
251
Member Avatar for maii_18

Hello, I want to know how can I call VB.NET (Server Side) function to Javascript (Client Side). I want to insert function here in my Javascript code; [CODE]function ConfirmSave() { var Ok = confirm('Proceed to Save?'); if(Ok==true) return true; else if(Ok!=true) return false; }[/CODE]I want to exefcute the Save() function …

Software Development asp.net client-server java javascript vb.net
Member Avatar for twiss
0
383
Member Avatar for jeff4L

Code runs perfectly. I can enter the parameters and quit the program but when I try to calculate the number of cycles and print out the instructions it crashes. I looked over the nested for-loops and changed the condition (whether it should be [ICODE]<[/ICODE] or [ICODE]<=[/ICODE]) and it still crashes. …

Software Development c
Member Avatar for jeff4L
0
152
Member Avatar for blackcorona

Hi, I'm kinda new to VB.net programming and now I'm get stuck in one simple problem, plz help if you can. I'm trying to create a simple program that display a list of game(from database) according to user's input. The input is core, clock, ram, vga. How I make the …

Software Development vb.net visual-basic
Member Avatar for Jx_Man
0
180
Member Avatar for lovelyrose26

i need help because i have an error on line 28 of OrderingCustomer that it says cannot access Customer? what did i make wrong in this program.? thanks the product and customer method it complied properly. my only concern is the line 28 of the OrderingCustomer. import java.util.*; import Product_.*; …

Software Development java
Member Avatar for lovelyrose26
0
263
Member Avatar for Gibran

Hey everyone, When i try to write any new c++ program and run it, it doesnt even build and a different one runs(the same one runs all the time). I use Quincy. However, any of my old c++ programs work fine, just any new ones that i try to run …

Software Development c++
Member Avatar for sergent
0
172
Member Avatar for Derek Elensar

I have another problem... Let's start with said code: [code] #include <iostream> #include <fstream> //I have tried using fstream.h like my teacher instructs me to do/ #include <cstdlib> //but it gives me another error: see below, in actual post. using std::cout; using std::cin; using std::ios; using std::endl; //using namespace std; …

Software Development c++ ios
Member Avatar for Derek Elensar
0
1K
Member Avatar for lexusdominus

Id like to have my console program stopped and code executed if a timer runs out. does this mean i need another thread? can anyone point me to some functions i may need to use as ive never forked a program before. im using visual c++ on windows.

Software Development c++
Member Avatar for Tellalca
0
517
Member Avatar for imperialguy

Platform and Python installation info: [b]Platforms: Windows, OS X Python: Active State Python 2.7 wxPython: Version 2.9[/b] Here is a sample code in which I use a wxMessageBox: [code]import wx,os class Frame(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(100, 100),style=wx.MINIMIZE_BOX | wx.SYSTEM_MENU | wx.CAPTION | wx.CLOSE_BOX | …

Software Development os-x python
Member Avatar for vegaseat
0
1K
Member Avatar for Toikkala

Hi! On school we got exercise to calculate how much the length of substance grow when we know original length and temperature change. So,the case goes that i have value temperature coefficient of different substances and i have to multiply them. I'd like to it without doing several condition statements. …

Software Development python
Member Avatar for woooee
0
255
Member Avatar for [V]

For some reason, I can create temp files but I cannot write to them. Nothing is saved, and the file is always empty. What am I doing wrong? I've tried making it in /tmp, Ive specified mode=w+b, they all do the same. (nothing) [CODE] import tempfile def main(): test = …

Software Development python
Member Avatar for woooee
0
238
Member Avatar for sheennave

I seem to have a problem refreshing the data within my JTable. I know the code is being run through. I have a JTable which is populated from a selection in a combo box, on first click within the combo box the table displays the correct data. So basically the …

Software Development apache java java-swing
Member Avatar for sheennave
0
2K
Member Avatar for Feriscool

So far, it's all working great, but all I need left is to get the method WORD1() to go to WORD2() when the person types in the correct letters. The first word is "Java". How would I make it so that when they type in "Java", it will go to …

Software Development java
Member Avatar for NormR1
0
500
Member Avatar for lexusdominus

Hey, ive got a problem. i cant seem to get Playsound() to work. Ive searched google, and alot of people say to go to properties - all configurations - linker - and add winmm.lib to the additional dependencies to link it. ok, so i did that, have included mmsystem.h, but …

Software Development c++
Member Avatar for lexusdominus
0
98
Member Avatar for realoneomer

Hi Perl, I am looking for code where i can calculate a first saturday for all even months and first saturday for all odd Months. Moreover i need a code to find a second saturady for all months of the year. Can you please help me out that how i …

Software Development perl
Member Avatar for d5e5
0
188
Member Avatar for Schol-R-LEA

I am making a last-ditch effort to get Django 1.3 configured to talk to SQL Server (both running on the same Windows 7 system), before I have to make a final decision whether to move on to ASP.NET instead. I am using PyODBC (I had tried PyMSSQL but was recommended …

Software Development python python-django
Member Avatar for Schol-R-LEA
0
861
Member Avatar for gynmd

hello, can someone explain me how this printf inside the function works? [CODE] #include<stdio.h> #define SIZE 10 void function(int [],int); int main() { int a[SIZE]={32,27,64,18,95,14,90,70,60,37}; function(a,SIZE); return 0; } void function(int b[],int size) { if(size>0){ function(&b[1],size-1); printf("%d ",b[0]); } } [/CODE]

Software Development c
Member Avatar for gynmd
0
173
Member Avatar for gcardonav

Hi guys: I created this code to read two file get their input and post certain output. My problem is that C++ is sorting out my output from smaller to greater. Is there a way that I can get c++ not to sort out the output. Thanks: Gus Here is …

Software Development c++
Member Avatar for Sky Diploma
0
268
Member Avatar for SMITA6076

I have a 3x3 array of text fields whose values get transferred to an int array. I need to make sure that integers 1-9 each occur once within the int array. Any ideas on how to go about that? I could do it by verifying that every int is between …

Software Development java
Member Avatar for Ezzaral
0
115
Member Avatar for VIeditorlover

I have a problem with this construction, can not find how to rewrite it properly. [CODE] private SqlParameter op <T> (T? t, string name) { SqlParameter sp = new SqlParameter(); sp.IsNullable = true; sp.ParameterName = name; sp.Value = t.HasValue ? t.Value : Convert.DBNull; return sp; } [/CODE]

Software Development
Member Avatar for gusano79
0
221
Member Avatar for Ephexeve

I am reading a Python book for Pyton 2.5 (But I am doing Python 3). I am at the chapter classes and I got this part; "You can check whenever the function attribute was callable." [CODE]callable(tc,'talk',None)[/CODE] In Python3 we do not have callable anymore, so I checked on the internet, …

Software Development oop python
Member Avatar for TrustyTony
0
278
Member Avatar for tim8889

Hello everyone, tim here. I am trying to use/modify a program to model a material in a 2D space. The shape is not too complicated. Now my thought is, instead of drawing it using the functions(which give me a headache, considering the shape has to be split to many piece …

Software Development c++ image
Member Avatar for tim8889
0
194
Member Avatar for Trepach

Environment: MS Visual Studio 2008. (Please transfer this thread to where it belongs.) Project type: Windows Forms Control Library. Goal: Get the pixel color from a given process' main window. Already achieved: I got the desired process's pointer by using [code]cli::array<Process ^>^ Proc = System::Diagnostics::Process::GetProcessesByName("Notepad");[/code] I believe I got the …

Software Development c++ visual-studio
Member Avatar for Trepach
0
424
Member Avatar for Gsx

Hi, this program is working atm but i suck at loops and such and im just wondering if there is any better way to do it, and if i do not enter a number in 1 of the 3 boxes when showing the results of the networks it just says …

Software Development python
Member Avatar for TrustyTony
0
156
Member Avatar for Acegikmo

I'm trying to make a class called "Sprite", which is supposed to handle spritecards and such. However, I can't seem to be able to get the image height without having an image observer object. Do I have to pass the image observer from the main class to every sprite class …

Software Development image java
Member Avatar for Ezzaral
0
197
Member Avatar for BleepyE

Hey Guys, Ive made a settings form for my latest StopWatch project. The stopwatch also includes a countdown timer. To set the time to countdown from, ive made a settings form in which you can enter a value into a textbox and when you start the countdown, it reads the …

Software Development vb.net
Member Avatar for BleepyE
0
100
Member Avatar for kashif inayat

Can We find any Number through binary search in 33 size array?

Software Development c++
Member Avatar for mrnutty
0
60
Member Avatar for skatamatic

I have been working on a library to interface with a USB-4704 data aquisition module for work. I have it working great, but the last thing that I need to do is add functionality to support updating a status variable when the device is plugged in or unplugged. I thought …

Software Development cybersecurity engineering
Member Avatar for skatamatic
0
306
Member Avatar for extemer

hi guys i wanna known that does Perl support to connect to mobile devices or not

Software Development perl
Member Avatar for roswell1329
0
138
Member Avatar for rssk

hi all i have list like list1=[2,3,4] m = 'ma' [B]m = list1 * m[/B] wen i run the script i'm getting output like [B]TypeError: can't multiply sequence by non-int[/B] i need a output like [B][ma2,ma3,ma4][/B] so plzzzzz help me:(

Software Development python
Member Avatar for TrustyTony
0
222
Member Avatar for Nurder

Hello. I need to help becuase I'm really desperate :( :) ..... I'm trying to program the program just same like the drawing software in the window 7, but not completely same xD xD. Unfortunately I have a problem with drawlines....I can't do that. I want to draw line by …

Software Development
Member Avatar for Nurder
0
183
Member Avatar for skuip

Hi, I'm trying to extract an inner node and place it at the level as the element <para>. However I'm unable to figure it out. Source XML: [CODE] <para> Lorem ipsum dolor sit amet, <i>consectetur</i> adipiscing elit. Aenean vestibulum pharetra metus. <formula altimg="fig1">E = mc^2</formula> Curabitur ac nibh purus, eget …

Software Development xml
Member Avatar for skuip
0
173
Member Avatar for Majestics

I want to embed microsft notepad in my java application.... is there any way... i dont want to use java own made notepad....

Software Development java
Member Avatar for JamesCherrill
0
101
Member Avatar for amithlaxman

Hi, I have a string like this: [CODE] $string ="datafiles/source/main_data_files/content.csv"; if($string=~/main_data_files\/(.*)\.csv/ig) { print "\n matched-- $1\n"; } [/CODE] I want to retrieve the csv file name i.e [CODE] content.csv [/CODE] I tried with the above code i am getting the result but i want some other better performance matching part. …

Software Development perl
Member Avatar for d5e5
0
90
Member Avatar for catcit

I have a table that contains approximately 22000 rows and I used a Boolean Full-Text Search in order to find what I`m interested in. My problem is that I created a 'dynamic search feeling' that consists of a DataGridView that it is refreshed after every TextChanged event. As you might …

Software Development c# mysql
Member Avatar for C#Jaap
0
190
Member Avatar for WolfShield

Hey all, I am working on a calculator program and am using a StringVar() for the Entry widget. What I need is to delete the last char from the StringVar() when the user hits the 'Backspace' button. I have everything bound and all, I just don't know what the code …

Software Development python
Member Avatar for WolfShield
0
1K
Member Avatar for lexusdominus

[CODE]if ( initialize == "off" && Iminor > 20 || Imedium > 10 || Isevere > 5 || Ifatal > 0 )[/CODE] the string type 'initialize' is cout'ing "on" and all of the values right of the AND operator are TRUE. Why is the subsequent code block for the if …

Software Development c++
Member Avatar for lexusdominus
0
130
Member Avatar for zack_falcon

I have a finished program that I want to deploy to another computer. My professors told me an installer is required, so I tried my best to research, and came up with this: [URL="http://www.youtube.com/watch?v=Lcue0jo41AM"]http://www.youtube.com/watch?v=Lcue0jo41AM[/URL] That was a tutorial video, (he used Visual Studio 2008) and I tried to follow it …

Software Development c# visual-basic visual-studio
Member Avatar for zack_falcon
0
257
Member Avatar for aodpreacher

I currently have a Bellman Ford algorithm set up and I am trying to print the path to that node. My current algorithm is like this: [CODE] path = new int[totaledges]; path[source] = source; distance[source] = 0; String st = ""; for (int i = 0; i < totaledges; i++) …

Software Development java
Member Avatar for bibiki
0
420
Member Avatar for jwenting

The question how to create HTML output to the browser from a Servlet based on XML data often comes up. Here's a fully functional example on how to achieve this using Jakarta Xalan 2 and Xerces 2. The system is quite simple, most of the code is concerned with housekeeping …

Software Development java xml
Member Avatar for lemomo12345
0
933
Member Avatar for s.w.a

that code that i have problem with it is only accept 2 input from me y and how to solve it please Scanner keyboard = new Scanner(System.in); String IP = keyboard.nextLine(); String TTL = keyboard.nextLine(); Scanner kb = new Scanner(System.in); String conntype = kb.nextLine(); thanks in advance

Software Development java
Member Avatar for s.w.a
0
100
Member Avatar for b1izzard

Hi everyone, I had designed an application with Java as front end and mysql as back end. The client application uses both local database as well as Remote mysql server's database for login and other retrievals. I don't know how to generalize the database connectivity code?, I need to access …

Software Development client-server java mysql
Member Avatar for b1izzard
0
233
Member Avatar for happymadman

Where are the connections stored, are they in a list, how to I access them? I have a (-messy-) program that will allow the users to set there name and when they send input to the server it will come up with "Received: Blah from username" but I would like …

Software Development python
Member Avatar for happymadman
0
112
Member Avatar for lexusdominus

[CODE]int thetime = time(NULL); string in; stringstream out; out << thetime; in = out.str();[/CODE] that's my code for casting an integer into a string, but im having a little trouble reversing it to change a string into an int. :/ can anybody help me out? you have to include the …

Software Development c++
Member Avatar for lexusdominus
0
70
Member Avatar for EEETQ

Hi guys, I'm working on an assignment for my programming class and was wondering if I could get some help. The problem I'm having is that when I try to access the value of the map, I get a weird debug error. The program compiles fine but when I run …

Software Development c++
Member Avatar for NicAx64
0
230
Member Avatar for leo88

Hi, i am here to ask some button control problem in Visual studio: [CODE] private void button1_Click(object sender, EventArgs e) { Report newMDIChild = new Report(); // Set the parent form of the child window. newMDIChild.MdiParent = this; // Display the new form. newMDIChild.Show(); } [/CODE] In my program, when …

Software Development c# visual-studio
Member Avatar for polczym
0
387
Member Avatar for wenbnet

Hello Sir, I want to perform following action please help!!!!!!!!!! when i click on a item in a listview it would also show in a separate label..... i didn't know how to do this????? please help.

Software Development listview vb.net
Member Avatar for Luc001
0
903
Member Avatar for mklein

Dear all I am making a program which adds lots of jlabels to a frame (the idea, eventually, is that each jlabel will link to a different program on my dekstop) The trimmed down code below shows that I have a script which creates an array of multiple jlabels which …

Software Development java java-swing oop
Member Avatar for JamesCherrill
0
307
Member Avatar for kukuruku

Hi,I have to write code in java and in the description is this symbol u' Can anybody tell me what is the meaning of it Set (u')

Software Development java
Member Avatar for JamesCherrill
0
77

The End.