132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for xfrolox

I need to kill a specific process, i got ListBox1, and Button1 and Button2 Button1 Gets Process which is notepad, When Button1 is clicked in the ListBox1 it shows the Main titled of the windows, Example Notepad is running and his title is Untitled - Notepad in Listbox1 will show …

Software Development vb.net
Member Avatar for xfrolox
0
304
Member Avatar for IDC_Sharp

Well, I did two windows The First Windows for the game And the secend window for the name of the game, CANCEL button PLAY button accidentally done now in FORM1 the game and the FORM2 post opening which of course does open before the FORM1 So I ask if There …

Software Development
Member Avatar for Lusiphur
0
210
Member Avatar for vivri

Hi, I've looked all over the web for several days and seem to find no answer to this issue. I would appreciate any leads. Thanks in advance for your time! I need to find the underlying disk capacity (total size) of an unmapped network share in windows (Win7, XP, Server …

Software Development c# hard-drive microsoft
Member Avatar for vivri
0
220
Member Avatar for sadhawan

Hi Guys , i dont know if this the right place to ask this question bt can anyone tell me what the heck SCORM is.I was trying to read some stuff on internet which does not make any sense to me.I also want to know that if i have an …

Software Development data-structure xml
Member Avatar for sadhawan
0
92
Member Avatar for shaynerossum

Thank you for reading my thread. I am experiencing an issue using struct tm and I can't figure out what I am doing wrong. I have looked at several examples and read up on the structure, but to me it all looks right. I would appreciate some fresh eyes on …

Software Development c++
Member Avatar for shaynerossum
0
431
Member Avatar for johndoe444

[CODE] set_element* make_set(int key) { set_element* node = (set_element*) malloc(sizeof(set_element)); node->parent = node; node->rank = 0; }[/CODE] In the above code there was no return statement and the function was used like this [CODE]elem1 = make_set(f1);[/CODE] And the code was working as expected. This is very funny. I am not …

Software Development c
Member Avatar for gusano79
0
103
Member Avatar for largedimples

What compiler can I use to build/run an flex scanner? I tried mircle and visual studio 2010 neither one would run the program. I have until mid night tomorrow to workout all the bugs and submit them. Thanks in advance

Software Development c visual-studio
Member Avatar for gusano79
0
88
Member Avatar for bettersaid

im a newbie to python, still learning as of today. as a part of my 'self-training' i listed some topics to practice every week but i was not able to run it successfully and im stuck. what i wanted with my activity is for it to read a .txt file …

Member Avatar for woooee
0
180
Member Avatar for bnasah

PLEASE HELP. Hi I get the following error when I compile my java code and I have been trying to resolve this for past 4 hours without a solution. Java code import java.util.*; /**********************/ /* Class Subscriber */ /**********************/ public class Subscriber implements Runnable { String phoneNumber; String name; Integer …

Software Development java
Member Avatar for NormR1
0
93
Member Avatar for damirin

My projects aim is to create an application that do syntax checking of javascript and html. I am using Microsoft.Jscript reference to help in the checking. Here is the code that I used to get the .js file and do a compilation so that it can generate errors if there …

Software Development c# microsoft-access
Member Avatar for nick.crane
0
179
Member Avatar for ZlapX

I posted an earlier question and got no answers, which really is BS. so ima try again... I am trying to make a console program that can create a text document, and send it over ftp. thats it, I would like it if someone could point me in the right …

Software Development c++
Member Avatar for ZlapX
0
147
Member Avatar for Jamesbch

Hello everyone, I'm working on a program that reads a PNG and extracts a custom chunk from it (using libpng). But now I've got problems to actually register my callback function to handle unknown chunks. According to the official documentation I have to declare which chunk is "unknown" (by their …

Software Development c image
Member Avatar for Jamesbch
0
812
Member Avatar for Kanoisa

Hi all, Im working on the design of a function at the moment and im not sure if the if statement i want to do is safe. Ill start with the data structures i have as this is where the problem could come from. (simplified with relevent bits only) [code] …

Software Development c++
Member Avatar for Kanoisa
0
118
Member Avatar for Rickay

For a program I am working on, I need a way to use an if function for a variable, if the variable is within a certain range of numbers. i.e. [CODE]if(x == 1-5) // meaning if x is from 1 to 5 //do something... if(x == 6-10) // i.e. if …

Software Development c++
Member Avatar for jonsca
0
135
Member Avatar for AngelicOne

I've tried reading through [B]datareader[/B] from the database. Tried dataadapter, reading from dataset and datatable. All of them generates an error when reading empty rows. Yes, I have used try and catch statements but the error still generated, that is transforming only in a messagebox. What I want is to …

Software Development dataset
Member Avatar for Lusiphur
0
315
Member Avatar for Mattisc

Hello, I have created a timer for my Winforms to tick down from 300 to 0 and then refresh my form. I have used this.refresh when it hits 0 but it doesn't seem to do anything as the label is still the same when it has completed it's timer function. …

Software Development
Member Avatar for Mattisc
0
208
Member Avatar for Mattisc

Hello, I am trying to send files from one directory to another and then renaming them to a ordered list of numbered files. The only problem is when you do it once and then do it again the file numbering goes back to 0 so is unable to move as …

Software Development file-system
Member Avatar for Geekitygeek
0
108
Member Avatar for group256

Hello Everyone, I have been thinking about an assignment for couple of days and tried some methods but none works really perfect; I certainly don't need code, I just need some problem solving assistance. The question is, I'm supposed to read a text from a file, and then put them …

Software Development c++ linked-list
Member Avatar for vijayan121
0
163
Member Avatar for G_S

Hi, a simple question: how do I enable deleting inside a python program? I have a python program that asks for user input, users write some words and then press enter. The problem is they can't use backspace or supr to delete anything, instead, the program prints ^? each time …

Software Development python
Member Avatar for G_S
0
205
Member Avatar for akilank

Hi.. somebody help me to implement c++ in Wifi development.. you will thankful..

Software Development c c# c++
Member Avatar for Kanoisa
0
240
Member Avatar for kshw

I'm writing a code that should extract tags from an HTML code (I'm skipping parts about parsing and stuff). I'm testing it using a simple fixed string however, it doesn't remove this <div> tag and I have no idea why... Thanks... [CODE]import re RegExpression_Tags = r"<.*?>" html = """ <div …

Software Development python regex
Member Avatar for kshw
0
101
Member Avatar for Oxiegen

Hello. I'm having a bit of difficulty implementing Drag and Drop. The scenario is this. I have a project with an MDI child where I want to drop documents from Windows Explorer. The code is all in place (this is just for debugging purposes) and I have set AllowDrop to …

Software Development vb.net visual-studio
Member Avatar for Oxiegen
0
216
Member Avatar for ashwiniku

hi, i am getting below error plz help java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer at com.kotak.autoblocknb.transaction.Transaction.main(Transaction.java:38) [code]ArrayList<Integer> db2Crns=new ArrayList<Integer>(); ArrayList<Integer> oracleCrns=new ArrayList<Integer>(); ArrayList<Integer> leftOverCrns=new ArrayList<Integer>(); db2Crns=testDB2Connect.getDb2LoggedInCrns(); oracleCrns=testOracleConnection.getDataFromPartyAuditInfo(); for(int i=0;i<db2Crns.size();i++) { int x=db2Crns.get(i).intValue(); int y=oracleCrns.get(i).intValue(); if(x!=y) { leftOverCrns.add(db2Crns.get(i)); leftOverCrns.add(oracleCrns.get(i)); } else if(x==y) { leftOverCrns.add(oracleCrns.get(i)); } } int lastIndexOfOne=db2Crns.size(); for(int i=lastIndexOfOne;i<oracleCrns.size();i++) …

Software Development java
Member Avatar for ~s.o.s~
0
4K
Member Avatar for namritha rajesh

I am doing my final year of undergraduation and I need a java simulator that simulates a parking lot. Can anybody provide me with a simulator or suggest a open source simulator? I have no backgroung in building simulators. Is it easy? If I had to build a simulator on …

Software Development java open-source
Member Avatar for jon.kiparsky
0
239
Member Avatar for kishore sy

how to read 25 digit number in java???? i want to write a porgram to perform addditon and substraction between 25 digit numbers

Software Development java
Member Avatar for kishore sy
0
557
Member Avatar for realheaven

Hi all, i have a trouble convert Text (have form of Hex already e.g 05 07 3F 04. ..) to Hex then i can calculate those number to draw graph with them. many thanks for any help or instructions!

Software Development visual-basic
Member Avatar for vb5prgrmr
0
95
Member Avatar for wolfje

I'm trying to make the following: Step one : Check if the values have been stored more then x time, if so delete them. Step two : Check if current value has been used before Step Three : If used return False (and write value to arraylist), else return true …

Software Development
Member Avatar for Geekitygeek
0
97
Member Avatar for selle05

In MDIParent, in my formload in MDIParent, one form is load. And i want the form when i click a button, there is another form will be loaded INSIDE the MDIParent? how is that? Can somebody teach me the code? Thank You!

Software Development vb.net
Member Avatar for selle05
0
102
Member Avatar for buddy87

Button[] mybutton = new Button[6]; for (int i = 0; i < mybutton .GetLength (0); i++) { //mybutton[i] = (Button)this.Controls[Class3.buttonid + (i + 1)]; Class1.navigate_url(mybutton[i], TextBox1); } the commented line above is not working in system.web.ui unlike `system.windows.forms`...... why???? and wt to do now....please help me out with it....thnks for …

Software Development
Member Avatar for ddanbe
0
73
Member Avatar for Mattisc

I am trying to move Txt files from one folder to another but I keep getting an error message stating "illegal characters in path". I think it's because of the * in the file name but how do i change it to except it? string sourceFile = @"C:\\new1\*.txt"; string destinationFile …

Software Development file-system
Member Avatar for swagerr
0
1K
Member Avatar for gurupts

How can i change my vb exe file in to a installable file. That contain the ms access database as back end. Anyone can help me.. Thank you for any help

Software Development visual-basic
Member Avatar for vb5prgrmr
0
124
Member Avatar for Mattisc

I am trying to move Txt files from one folder to another but I keep getting an error message stating "illegal characters in path". I think it's because of the * in the file name but how do i change it to except it? string sourceFile = @"C:\\new1\*.txt"; string destinationFile …

Software Development
Member Avatar for Geekitygeek
0
83
Member Avatar for virusisfound

Hi, I have create a program for multiplication of two numbers. when i run the proram it give me an error message that [B]input string was not in correct format[/B]. But whatever data i enterd its saved in database properly. Here is my code. private void textBox11_TextChanged(object sender, EventArgs e) …

Software Development
Member Avatar for Geekitygeek
0
137
Member Avatar for lolwtf

We want to use a licensing system for our new software, so we know that our customers are using the same amount of apps that they paid for. The general idea is to get their processor ID and HDD serial number and combine them to make our license string. I …

Software Development encryption vb.net
Member Avatar for ghimangi
0
360
Member Avatar for noktasizvirgul

Today I found 2 distinct program which can takes .exe's and gives sorce code exactly, same method names, same class names, same variables also. I am trying to find a solution which can stop this decompilers. I found solutions but they just make the decompiling job harder. I need to …

Software Development asp.net
Member Avatar for ghimangi
0
140
Member Avatar for JohnDove

Part of the app I am writing allows users to create an encrypted, password-protected output file that they can email safely to a central store. I can't have the users choose their own password for the encryption as the central store needs to access the contents of all the output …

Software Development app-store encryption vb.net
Member Avatar for ghimangi
0
147
Member Avatar for benhowdle89

Hi, I'm developing a data logging application using VB for the actual logging to a MySQL database. I'm reading a value from a device and then running an insert query every minute. This is great but if the value doesnt change all day then my records are going to all …

Software Development vb.net
Member Avatar for benhowdle89
0
191
Member Avatar for Hardz

I have 3 computers connected to each other, pc1 is the server while pc2 and pc3 are clients. I created a windows application using c# and MS sql server as database at pc2 where in the sql server was installed, anyway, i didn't installed sql at pc1 server coz of …

Software Development client-server sql
Member Avatar for Hardz
0
175
Member Avatar for Kingcoder210

I can use following codes to change resolution but problem is that when I run my program it changes resolution(1280*1024) & show form which doesnt fit the screen though its width is 1280 & height is 1024. But when I close that program & run it again then it works …

Software Development vb.net
Member Avatar for Oxiegen
0
308
Member Avatar for tanvirahmad

Hi Experts I m using vb .net2008. I want to skip read-only columns, for this I use these codes But their some error, how is it possible???? [CODE] Private Sub DataGridView1_CellEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellEnter Dim y As Integer = DataGridView1.CurrentCellAddress.Y Dim x As Integer …

Software Development vb.net
Member Avatar for Oxiegen
0
264
Member Avatar for bhavna_816

hi all, i want to run the slide show say ten slides and then close it programaatically , but in my code given below it opens the slide show and closes immediately ... .. please give me a solution to this problem [code]Microsoft.Office.Interop.PowerPoint.Application ppApp = new Microsoft.Office.Interop.PowerPoint.Application(); ppApp.Visible = MsoTriState.msoTrue; …

Software Development c# microsoft-office
Member Avatar for Geekitygeek
0
312
Member Avatar for trippinz

Can someone "shortcut" this code for me? I want this code to run from textBox1.textchanged to textBox170.textchanged (so this code should affect textbox1.textchanged/textbox2.textchanged/textbox3.textchanged....[e.t.c]....textbox170.textchanged): [code] string l_text; l_text = textBox1.Text; l_text += textBox2.Text; l_text += textBox3.Text; l_text += textBox4.Text; l_text += textBox5.Text; l_text += textBox6.Text; l_text += textBox7.Text; l_text += textBox8.Text; …

Software Development
Member Avatar for Geekitygeek
0
149
Member Avatar for ashwiniku

i wanaa compare 2 array list and find the uncommon data in 3rd arry list i have written below code ArrayList db2Crns=new ArrayList(); ArrayList oracleCrns=new ArrayList(); ArrayList leftOverCrns=new ArrayList(); db2Crns=testDB2Connect.getDb2LoggedInCrns(); oracleCrns=testOracleConnection.getDataFromPartyAuditInfo(); int array1Size = db2Crns.size(); int array2Size = oracleCrns.size(); System.out.println(db2Crns.size()); System.out.println(oracleCrns.size()); for(int i=0;i<oracleCrns.size();i++) { String val=oracleCrns.get(i).toString(); int k=0; for(int j=0;j<db2Crns.size();j++) …

Software Development java
Member Avatar for masijade
0
112
Member Avatar for th3learner

I have 3 textboxes..textBox1,textBox2,textBox3.I want that when user clicks on submit button all data should go to e-mail address.. Any one here can please help me to get through code? Thanks very much

Software Development
Member Avatar for darcee
0
133
Member Avatar for lotrsimp12345

I was wondering how you do this. Would you have to use delegates and event handlers or can you do it through application.Run(object) and call that in the clickevent but I need to keep a reference to previous form. but that doesn't seem possible.

Software Development
Member Avatar for Geekitygeek
0
238
Member Avatar for Nivass

Hi, Have resize the image to fit the picture box (for other purpose). now i tried to zoom in the image and i succeed on it. but my problem is when i zoom the image the image get zoomed and image moves toward right. How can zoom the image without …

Software Development image
Member Avatar for nick.crane
0
245
Member Avatar for mabshell

Hello community, I'm trying to create a form with the sort methods (Bubblesort and shell). The Sort algorithms work fine but my problem is that I want to specify the length of the array and add the values. For this I have 2 textbox and a button (insert), the first …

Software Development
Member Avatar for Geekitygeek
0
95
Member Avatar for peermohammed

am working in vb.net platform.I want to convert input value integer to word during at runtime

Software Development vb.net
Member Avatar for DhananjayPandey
0
264
Member Avatar for Nfurman

Hello. I am developing simple exercise formapp and I need to detect internet connection every 2 seconds. #1. I do check internet connection like this [CODE] public static bool Connection() { bool connection; try { System.Net.IPHostEntry objIPHE = System.Net.Dns.GetHostEntry("www.google.com"); connection = true; } catch { connection = false; } return …

Software Development dns
Member Avatar for Nfurman
0
942
Member Avatar for DaveTran

I have a ResourcePool class that uses generics. [CODE] public class ResourcePool<T> where T : class { bool isWrappable; int wrapIndex; int numberOfInvalidObjects; ValidateObject objectCheck; T[] objects; [/CODE] If I have multiple ResourcePool classes. [CODE] private ResourcePool<PlasmaAmmo> poolPlasmaAmmo; private ResourcePool<LazerAmmo> poolLazerAmmo; private ResourcePool<HappyAmmo> poolHappyAmmo; [/CODE] How can I store these …

Software Development
Member Avatar for DaveTran
0
136

The End.