132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for reallyslick

I have about 50 different tags, each is at most 2 chars in lengnth. depending on the input of the user a combination of tags will be joined together into one large string. Is there a simpler/more efficient way then having 50 different if-statements? for that matter, how is a …

Software Development c++ data-structure
Member Avatar for reallyslick
0
189
Member Avatar for darkelflemurian

Hello everyone: The problems is the following. I'm creating an specific program to upload to FTP on C#. That works perfectly. My problem is that i want to give the user the ability to change folders but so far I don't seem to find anything over the internet. Can someone …

Software Development
Member Avatar for Momerath
0
127
Member Avatar for alfredo11

Dear All, I have textbox in my form .. I enter the student name in the text e.x (vbstudent) I want to sign textbox data to array, each letter in one index. ex array(0)=a array(1)=l array(2)=f array(3)=r array(4)=e array(5)=d array(6)=o How can I do that .. please reply me soon. …

Software Development vb.net
Member Avatar for Reverend Jim
0
129
Member Avatar for fashxfreak

[B]Hi, i just want to know that from where i can download "VISUAL STUDIO 2005" free...[/B]

Software Development visual-studio
Member Avatar for fashxfreak
0
91
Member Avatar for CrankyMero

I had this little project of a POS System, that i've already finished, and i try to retake it again to add more features And suddenly in a Summary Report for the sales of the day i keep getting this error message [CODE]Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)[/CODE] And im cranking …

Software Development dataset vb.net
Member Avatar for CrankyMero
0
377
Member Avatar for adem87

ı created a project in c # and it loaded to data in access but searching button doesnt work every time find the last loaded please find the problem [code] baglan.Open(); veri = new OleDbCommand("select urun,model,adet,boyut,aciklama from ogrenci where 'urun='" + urun + ";", baglan); oku = veri.ExecuteReader(); while (oku.Read()) …

Software Development
Member Avatar for adem87
0
108
Member Avatar for MareoRaft

1. In a for or while loop, if the condition is breached in the middle of the brackets {}, will the code immediately stop the loop, or wait until it gets to the bottom of the brackets {} ? 2. If a function is called in my code, does the …

Software Development c++
Member Avatar for svilla
0
98
Member Avatar for zachattack05

So I'm plugging away at my database design and get to a point where I need to work on the UX (or UI for you old[er] peeps). I have a guide from Microsoft that I refer to very often called the UX Guide. I have all of my forms setup …

Software Development database-design ui-ux
Member Avatar for zachattack05
0
312
Member Avatar for zachattack05

So I'm curious, when you need to store user settings or application settings what method do you normally use? I have been using a class and just serializing it to a file. But there is also the "settings" in the application's properties folder. Does anyone ever use that? Any pros/cons …

Software Development
Member Avatar for zachattack05
0
71
Member Avatar for ericfrank

I am trying to write a sample program that can call use the main method of "SequenceFilesFromDirectory", which aims to convert a set of files into sequence file format. [CODE]public class TestSequenceFileConverter { public static void main(String args[]){ String inputDir = "inputDir"; String outputDir = "outoutDir"; SequenceFilesFromDirectory.main(new String[] {"--input", inputDir.toString(), …

Software Development apache api java
Member Avatar for NormR1
0
197
Member Avatar for Munnazz

HI, I have a DataSet which returns three rows say A,B,C. Data will be in the Following format. A B C 1 5 9 2 6 10 3 7 11 4 8 12 Now i want to convert this into xml in the below mentioned format.. [code=xml] <chart showValues='0' caption='Cost …

Software Development dataset xml
Member Avatar for Mitja Bonca
0
186
Member Avatar for C#Jonathan

I'm working on some C# code. It's not as readable as it could be because of the formatting used. Is anyone aware of any good code beautifiers that work well and adheres to industry standards? Interested in free ones too - if available

Software Development c c# c++
Member Avatar for ddanbe
0
193
Member Avatar for tmparisi

I have an application that currently operates based on a static password that is hard coded into the application. I would like to somehow have the application look in a text file, say: C:\passtest.txt for a password. The text file will have nothing but the 1 password in it, it …

Software Development vb.net
Member Avatar for djjavo
0
1K
Member Avatar for djjavo

Hi I know there are some posts addressing the same issue but unfortunately I do not understand how to do it and was wondering if someone could help. I would like to cycle through pictureboxes, in this example using the 'n' variable To further explain what I would like to …

Software Development vb.net
Member Avatar for djjavo
0
550
Member Avatar for muthu1802

Unix server - function(). I want to call this function through java program and track the result. help me.

Software Development java unix
Member Avatar for NormR1
0
77
Member Avatar for aman rathi

Hello everyone first of all thanks to daniweb and all users to help me lots of time. now come to problem i am learning java from last one month today i wrote a program to swap two objects it is running but not performing desired task. all instance fields are …

Software Development java
Member Avatar for aman rathi
0
242
Member Avatar for Aviras

Hello everyone. I just started on 'converting' my multiplayer text RPG into a graphical form. What I am trying to do is this: Create a title window, basicly just a JPanel with one image filling the space. To this JPanel I add a MouseListener. When a user clicks the window …

Software Development image java java-swing
Member Avatar for Aviras
0
424
Member Avatar for Prankmore

[code = c][/code] I am trying to write a program that takes a 10 digit phone number and inserts hyphens between the 3rd and 4th digit and the 6th and 7th digit eg. Enter phone number: 5553459875 Your number is 555-345-9876 I've decided that reading the number as an integer …

Software Development c
Member Avatar for Prankmore
0
354
Member Avatar for NEEDHELPINJAVA

Hi, I'm new in this forum and I'm here to ask help on a topic the lecture I didn't turn up. I'm new to creating a search function for my Java application where the user can view the information of the books, such as title, author and the price of …

Software Development gui java java-swing
Member Avatar for Killer_Typo
0
236
Member Avatar for hqt

I'm using DevC++ 4.9.9 and have a problem while I'm debugging: I want to view array C so I will: press F4 and type C. but for my example: if my code is: [CODE]for(i=1;i<=10;i++) for(j=1;j<=10;j++) c[i][j]=10;[/CODE] the left panel (that I saw value) will have 100 line of C. (each …

Software Development c++
Member Avatar for pseudorandom21
0
146
Member Avatar for ba.accounts

Hi, I am fairly new to Java and am about to begin a programming course in the next week. I am preparing by completing exercises and am stuck on this particular one. Basically, i need to read a file in a certain format and calculate some figures and writing the …

Software Development file-system java
Member Avatar for JeffGrigg
0
294
Member Avatar for complete

In C# code I have a floating point variable number that I want presented as a string but I want it formatted in a particular way. if I have a float number, like, 0.532492829839, for example and I want it represented in C# code as "53.24%", how would I do …

Software Development c c# c++
Member Avatar for nmaillet
0
354
Member Avatar for deliezer

Hi I am trying to write something that compiles and runs correctly on both Linux and Windows. I am running bash in Ubuntu on Linux, and I try to set environment variables in the makefile just before the compile lines. I then write something in the code like [CODE] int …

Software Development c++ ubuntu
Member Avatar for deliezer
0
2K
Member Avatar for eoop.org

Hi, i want to make a own linux os. Does someone know where to get the opensoruce?

Software Development c++
Member Avatar for eoop.org
0
135
Member Avatar for JoshuaBurleson

I am having issues finding a way to have the below program search for any given string of "query" in the keys of the dictionary AB and return the value, or the key and value. Thus far I just done what I have preset in the dictionary; Ashley and Joshua, …

Software Development python seo
Member Avatar for JoshuaBurleson
0
300
Member Avatar for tubby123

[CODE]union { int a; char b; char c[10]; }u1; void main() { int l=sizeof(u1); printf("%d",l); getch(); } [/CODE] This gives the output as 10, shouldnt it be 2 + 1 + 10 == 13 ??? Can some1 explain ?

Software Development c
Member Avatar for Adak
0
84
Member Avatar for bluehangook629

I need help with managing my forms. below is a sample code for one of my button that opens a new form on button click. But today while I was testing the application, I found out that everytime I have button click, I get a new instance of the same …

Software Development vb.net
Member Avatar for bluehangook629
0
138
Member Avatar for fonzali

hi guys , I rented a gps from the airport and it had no problem giving me the directions , while using it , I kept wondering how it picks the routes , and can python be used to program these devices and how ? a short code would be …

Software Development python
Member Avatar for fonzali
0
94
Member Avatar for Muralidharan.E

Hi friends If we will override nonstatic methods or if we will overload non static methods means shall we say it is the run time polymorphism? Is that so how to give example for compile time polymorphism in java? If i will override static method means, friends are saying it …

Software Development java
Member Avatar for Zetlin
0
270
Member Avatar for westony

I am developing an application with Visual Studio 2010. my application works fine in 1024 x 768 resolution but it doesn't fit in my laptop's screen which happen to have 1366 x 768. my question is how to make my application automatically resize according to the resolution ? Thanks !

Software Development visual-studio
Member Avatar for westony
0
619
Member Avatar for rotten69

Hey everyone, my if-statements are working as expected. Actually, they are not working at all. The syntax is right but they are never run. The program terminates before it runs them. [code] public static void main (String args[]){ Scanner input = new Scanner(System.in); Display fName = new Display(); // creating …

Software Development java
Member Avatar for aman rathi
0
133
Member Avatar for exicar

Hello, I´m currently developing an application which sends data to my Windows server. I already wrote the following code (server-side) [CODE]namespace server { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Server s = new Server(3000); s.ExceptionReceived += new Server.ExceptionReceivedHandler(s_ExceptionReceived); } void s_ExceptionReceived(exception e) { MessageBox.Show(string.Format("DateTime: {0} …

Software Development client-server tcp-udp windows-server
Member Avatar for exicar
0
358
Member Avatar for Pravinrasal

this is in execute method() { Process p = Runtime.getRuntime().exec(command, env); } System.out.println(r.execute(" C:\\Program Files\\Java\\jdk1.6.0_21\\bin\\javac demo.java” , null)); System.out.println(r.execute(" C:\\Program Files\\Java\\jdk1.6.0_21\\bin\\java demo”, null)); i want to run demo.java from this code i used timer class also. i got the error "Illegal execution time" i dont know why when i run …

Software Development java
Member Avatar for NormR1
0
347
Member Avatar for coroll

Hi all, I want to understand the purpose of .resx file. i konw that Designer.cs is the class for the form. i read that .resx stores resources. 1. But what kind of resorces? 2. where is it used in the form? 3 when i opend it shows only "String1". Why? …

Software Development
Member Avatar for darkagn
0
137
Member Avatar for lrh9

I'm working on a project where I would like to compare collections of words, but I have additional constraints I need to account for. The collections are like a set in that order doesn't matter for the comparison. However, in my problem equal elements are significant. E.g. the collection of …

Software Development python
Member Avatar for TrustyTony
0
141
Member Avatar for Oneryavuz

[CODE] Public Sub imageload(ByVal index As Integer, ByRef imagedescription() As String) Dim da As New OleDbDataAdapter("Select Foto From Images where Photoindex = " & index & ";", Form1.baglanti) Dim dt As New DataTable Dim ms As New MemoryStream da.Fill(dt) If dt.Rows.Count > 0 Then Dim arrimage() As Byte = dt.Rows(0).Item(0) …

Software Development image vb.net
Member Avatar for Netcode
0
2K
Member Avatar for DesignGhosts

Hi Guys, Basically I have an application that reads in a .hex file and I want to be able to then sort the hex values out line by line into a 2D Array ready for further processes. Example of a .hex file [CODE]:10010000214601360121470136007EFE09D2190140 :100110002146017EB7C20001FF5F16002148011988 :10012000194E79234623965778239EDA3F01B2CAA7 :100130003F0156702B5E712B722B732146013421C7 :00000001FF[/CODE] Below code is …

Software Development c file-system
Member Avatar for DesignGhosts
0
239
Member Avatar for hqt

I'm sorry because I think this is a popular fault but I haven't found why it happened yet. this is a code that has that fault: [CODE] void readfile(){ FILE *f; int u,v; f=fopen(fi,"r"); fscanf(f,"%d%d%d%d",&n,&m,&s,&t); for (int i=1;i++;i<=n) for (int j=1;j++;j<=n) c[i][j]=(i!=j)? Oo:0; for(int i=1;i++;i<=m) fscanf(f,"%d%d%d",&u,&v,&c[u,v]); fclose(f); } [/CODE] when …

Software Development c++
Member Avatar for hqt
0
630
Member Avatar for riotburn

I am writing a polynomial class but the code I have written to overload the ostream operator<< goes into a infinite loop for the first term. I tried to step through but Visual Studio 2010 goes into linker(?) code instead of only stepping through my code. (How to change the …

Software Development c++ visual-studio
Member Avatar for riotburn
0
118
Member Avatar for monaiz

So like this Textbox1 has this text [url]http://www.facebook/whatever1[/url] [url]http://www.facebook/whatever2[/url] [url]http://m.facebook/whatever3[/url] [url]http://m.facebook/whatever4[/url] [url]http://m.facebook/whatever5[/url] I want it on a button press it will change any urls with [url]Http://www[/url]. to [url]http://m[/url]. so at the end after button press it will be [url]http://m.facebook/whatever1[/url] [url]http://m.facebook/whatever2[/url] [url]http://m.facebook/whatever3[/url] [url]http://m.facebook/whatever4[/url] [url]http://m.facebook/whatever5[/url] And Also i need it on button …

Software Development vb.net
Member Avatar for Netcode
0
159
Member Avatar for Ronene

Hi guys, I need to create two separate applications in C++ , where the first application is a window , and the second application has a button and it needs to close the first window. Both applications must be two separate programs ! [B]I can't use FindWindow()[/B] therefore , I …

Software Development c++
Member Avatar for JasonHippy
0
230
Member Avatar for blacknred

I have a file of format: BRAND VERSION MODEL OPTIONS BOUGHT ------ ------- ------- ------- ---------- toyota lxi 2007 4 years ago nissan mxi 2008 3 years ago Actually the formatting goes awry when I save- So its Brand(toyota nissan under it) VERSION(lxi mxi under it) MODEL(2007 2008) OPTIONS -this …

Software Development perl
Member Avatar for blacknred
0
161
Member Avatar for muthu1802

How to Load data with refrential integrity in java (Teradata). if I ran the work flow the data should be loaded to final table. so that i need to populate the source tables with proper refrential data. how to populate refrential data to the source table properly. Thanks in advance.

Software Development java
Member Avatar for muthu1802
0
171
Member Avatar for coroll

Hi all, when i execute it gives me this exception. I am trying but i coudnt slove. Plz help me. InvalidOperationException ExecuteNonQuery requires an open and available Connection. The connection's current state is closed. it points to this line -> "int executed = com.ExecuteNonQuery();" this is my code: [CODE] try …

Software Development
Member Avatar for coroll
0
162
Member Avatar for oglatinoloco

I have a project, I was tasked to make an interactive map of the Philippines using vb6. When you click on a certain region/city/town, a window would pop-out showing the notable event, land marks, & info of that location. The problem is i don't know how. Please help me.

Software Development vb.net visual-basic
Member Avatar for slepnot
0
163
Member Avatar for Angle90

Hello everyone, I need help here, using C# 2008 Express i created a mini internet browser that runs perfectly, but i want the mini browser when launched to load a local .html file "welcome.html", so far no joy, can anyone put me through please, I just want a mini browser …

Software Development c c# c++
Member Avatar for Angle90
0
111
Member Avatar for sathya88
Member Avatar for Muralidharan.E
0
15K
Member Avatar for mrbungle

I'm having a hard time understanding this. I get what multithreading is- allowing a program to run more than one thread to improve performance, by splitting up some of it's resources. So I'm at the point in my app where I need to use it. I need to upload some …

Software Development multithreading vb.net
Member Avatar for codeorder
0
159
Member Avatar for MareoRaft

when I... [CODE]double a = 0.00000001; cout<< a <<endl;[/CODE] The computer outputs 1e-07. I want to force the computer to write it as 0.00000001 thanks! ;)

Software Development c++
Member Avatar for MareoRaft
0
201
Member Avatar for rooneey10

Hi I'm trying to read a text file by use a array for an interactive map. In the text file I stored shop names such as: Label2.Tag = "test" Label3.Tag = "House" When I hover over a label it will display the name in another label such as "lblShowName". So …

Software Development file-system vb.net
Member Avatar for codeorder
0
105

The End.