199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mesbahuk

I have a Java code block like following: Vector<NameAddress> route = dialog.getRoute(); for ( Enumeration<NameAddress> e = route.elements(); e.hasMoreElements(); ) { // some more to copy route to another Vector<> } I am trying to convert it in C# and here is my code: List<NameAddress> route = dialog.getRoute(); for ( …

Member Avatar for C#Jaap
0
309
Member Avatar for Haquo

> 8086 Interpreter: This program should allow the user to type in 8086 assembly language programs, syntax check them line by line, and run them. This is my summer project for this year, I just want to better understand, what do I have to do. Is a interpreter the same …

Member Avatar for Assembly Guy
0
690
Member Avatar for Louie_Rave

Hello. I uhh... I just want a sample code for the Exceptions: SecurityException and StackOverflowException. I'm still new to handling exceptions. Please, just a sample code that is about those two will do.

Member Avatar for |-|x
0
210
Member Avatar for Sebastian_1

I have made VB populate Hostname and IPv4 on a Form. However, need help getting Gateway, DNS and DHCP on same form. Here is code... Private Sub Getip(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Shown Label3.Text = ("Address: " & GetHostIP(Net.Sockets.AddressFamily.InterNetwork)) ' Show IPV4 End Sub Private Function …

Member Avatar for tinstaafl
0
268
Member Avatar for mody1983

Hi, I want to program a SMS gateway site, which sends sms messages and provide API for using it.. I want to make a site like [url]http://www.clickatell.com[/url] ... Can any one helps me, I want some resources to start with, but I can't find anything useful yet, please I want …

Member Avatar for aruhat
0
533
Member Avatar for Dani

Maybe I'm just being dense, but I'm using [this documentation](https://developers.google.com/accounts/docs/OAuth2Login#sendauthrequest) to use Google OAuth 2 login. I'm able to successfully retrieve a JSON array that consists of the access_token, id_token, etc. The id_token is encrypted in what google calls a JWT (JSON Web Token). From what I understand, they're base …

Member Avatar for Dani
0
1K
Member Avatar for 3e0jUn

So I have this piece of code in a socket server: def process(self, request, client_address): input_file = request.makefile("rb", 0) output = request.makefile('wb', 0) remote_input = input_file.readline().strip() + b"\n" self.log(remote_input) self.proc.stdin.write(remote_input) self.proc.stdin.flush() self.proc.stdout.flush() while True: line = self.proc.stdout.readline() line = line.decode() if line: line = bytes(line.rstrip() + "\n", 'utf-8') output.write(line) else: …

Member Avatar for Gribouillis
0
516
Member Avatar for lloydsbackyard

for printing php in pdf with which is advisable to use dompdf or fpdf? do i need to install a pdf reader first so for hte php code to work? i tried with fpdf but it will not work if no internet since it will download some files to open …

Member Avatar for |-|x
0
130
Member Avatar for garyjohnson

I have a mysql query that seperates an array of variables and uses each variables to compare inside the database. The query uses a OR clause and I want to make it so it can also use an AND clause. The trick is I want the left side of the …

Member Avatar for garyjohnson
0
253
Member Avatar for sanbhu2105

hello, i have below code and i need to change the status to inactive when i press the delete button. it happens that when i use the code below, the status does not change at all. can anyone tell me where am having an error in the code? <?php session_start(); …

Member Avatar for diafol
0
240
Member Avatar for daino
Member Avatar for rubberman
0
349
Member Avatar for dbalas

Hi! I have a question about pop up windows. I am making a website for adult toys store. I need to add pop up window to the site which will ask visitor to confirm their age. If they are older than 21 thay can proceed to the site. If they …

Member Avatar for dowskee
0
4K
Member Avatar for earlcools

I am using C# in VB 2012 I want to know how to print the contents of a textbox. Example if someone types "John" in a txtFirstName.text I want to print "Thank you , John " on a new page which will get print. A second problem I have is …

Member Avatar for BMXDad
0
114
Member Avatar for ram619

The output of this snippet is 4 and 1. 4 is ok but why this 1 ???? #include<stdio.h> int main() { printf("%d %d",sizeof(NULL),sizeof("")); return 0; }

Member Avatar for ram619
0
111
Member Avatar for Alice_Blue

Hi all! I'm at work - newly hired:) - and I'm given this mpeg2 video codec [URL="http://www.mpeg.org/MPEG/video/mssg-free-mpeg-software.html"]http://www.mpeg.org/MPEG/video/mssg-free-mpeg-software.html[/URL] and in particular the decoder that exists in the folder mpeg2v12.zip. It is code c written for gcc, so I decided to download MinGW and DevC/C++. I add all the files to the …

Member Avatar for Laszlo_1
0
1K
Member Avatar for cssweb

hello guys, i have spent one week on this problem but untill now my proplem does not soloved. my code is about rating system and i can not insert vote for question that i voted for, throught this code vote will insert for the all displays question. note that i …

Member Avatar for cssweb
0
140
Member Avatar for SaRa Ahmad

hi every body , i am finishing the design of crystal report that connected to data base and i have an Project in vb6 how i can add these report to the project ??

Member Avatar for SaRa Ahmad
0
87
Member Avatar for 2384443

i need help in this program. The program question is: A function power which will calculate a number m to the power n (m^n). You will pass two parameters float & int. If the parameter n is omitted then it should taken as 2. i hope u all got the …

Member Avatar for 2384443
0
132
Member Avatar for Zababa

Hey there guys :) I need to create a page (HTML) which contains some static content, and an `iframe`. The `iframe` is used to contain an external page, so I am trying to 'inject' the source of the page into the document element of the` iframe`. You would ask me, …

Member Avatar for asmira
0
251
Member Avatar for davy_yg

Hello all, I am looking for a free upload class script and I find this: [upload class](http://www.verot.net/php_class_upload.htm) Yet, I still do not know how to use it. When I try to upload pictures file in the browser they show me bunch of codes instead showing me the file pictures and …

Member Avatar for Squidge
0
333
Member Avatar for yvrej17_1

Hi, I'm just confuse about this.. I am making a form with 2 datetimepicker controls which are the Start and End date and when I click the action button it displays all the departments covered with the start-end date and it works fine but the problem is it loads all …

Member Avatar for yvrej17_1
0
157
Member Avatar for yogeshsinh.chauhan

Private Sub CommandButton1_Click() Dim rowCount As Long 'Range("A2")=UserForm1.TextBox1.Value 'Range("B2")=UserForm1.ComboBox1.Value 'Range("C2")=UserForm1.TextBox2.Value 'Range("D2")=UserForm1.TextBox3.Value 'Range("E2")=UserForm1.ComboBox2.Value 'Range("F2")=UserForm1.OptionButton1.Value 'Range("G2") UserForm1.OptionButton2.Value 'Range("H2")=UserForm1.OptionButton3.Value rowCount = Sheets("Data").Range("A2").CurrentRegion.Rows.Count With Sheets("Data").Range("A2") .Offset(rowCount, 0) = Now .Offset(rowCount, 1) = UserForm1.TextBox1.Value .Offset(rowCount, 2) = UserForm1.ComboBox1.Value .Offset(rowCount, 3) = UserForm1.TextBox2.Value .Offset(rowCount, 4) = UserForm1.TextBox3.Value .Offset(rowCount, 5) = UserForm1.ComboBox2.Value If UserForm1.OptionButton1.Value Then Sheets("Data").Cells(nextrow, 6) …

Member Avatar for Reverend Jim
0
185
Member Avatar for D016
Member Avatar for D016
0
112
Member Avatar for sidim

Hi, I can't seem to find the answer I'm looking for online (maybe keywords are too common?). Is my code only verifying whether my directory is created? Or is it actually validating? I need it to validate, but I'm unsure whether or not it's doing that. $dirPath = $_POST['company']; $result …

Member Avatar for sidim
0
328
Member Avatar for entropic3105
Member Avatar for Ismatus3

hello , I use Tkinter , at the line : `print modelidvar ` in Interface3() function , it prints "" , nothing , without any error message , can i know why plz , here is all the code : # -*- coding: cp1252 -*- # -*- coding: cp1252 -*- …

Member Avatar for vegaseat
0
202
Member Avatar for Ritesh_4

Hello, I would like to learn android programming, but have no knowledge in java whatsoever. Do I need to go through a java course first before starting with android, or is there a way to start programming directly with the latter?

Member Avatar for DarkLightning7
0
190
Member Avatar for PixelatedKarma

Good morning everyone, So I have come across an interesting request that I have never dealt with and was wondering what everyone kind of thought of where I should take it. A company I have been working with is updating their website. The company uses VPN internally already, what they …

Member Avatar for JorgeM
0
638
Member Avatar for karthikav

sir i have three sheet in excel..first sheet i have many colounm with filder option..in second sheet i have same coloum with filder option .IN third sheet also same ..sheet name only varying ..what i want is in first sheet i have one colounm name is form with filder( C,F,S)..IF …

Member Avatar for Stuugie
0
152
Member Avatar for davy_yg

<a class="topLink" href="input_image.php"><input type="submit" name="productbaru" value="Product Baru"/></a> If I press Product Baru why they do not take me to input_image.php ?

Member Avatar for crescendo
0
107
Member Avatar for cgull

Hello, This is my first time trying to make an ajax call with JSON. I am developing a site with CodeIgniter 2.1.4. I am on the verge of throwing my computer away and find a job selling flowers.... Here's the story: In my view I have a dropdown box: `<?php …

Member Avatar for paulkd
0
2K
Member Avatar for ganesh wadkar

/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, …

Member Avatar for ganesh wadkar
0
136
Member Avatar for nmakes

How to make a pointer to class and how to use it? Like, what would the cout statements show on screen? #include <iostream.h> void main() { class CLASS { public: int INT; char CHAR; }; CLASS OBJECT; OBJECT.INT = 10; OBJECT.CHAR = 'A'; CLASS *POINTER = &OBJECT; cout << POINTER …

Member Avatar for deceptikon
0
154
Member Avatar for lloydsbackyard

im using wampserver and i want to put password in the database. i check some video tutorias but when i try it it is not working in my case. can anybody please help me give some ideas. thanks

Member Avatar for lloydsbackyard
0
192
Member Avatar for pedal123

Hello, I have a members area on my website. I'm trying to check if a user with a specific username and id has logged in, and then echo a string of text on page B (members area page) if its them. The user logs in on page A (login page). …

Member Avatar for pedal123
0
211
Member Avatar for anil14353

Hello, i got a problem with $_GET[]. please see the below code and help me. <?php if(isset($_GET['_rp'])==1) { echo '1'; } else if(isset($_GET['_rp'])==1) { echo '2'; } ?> when i'm changing the value of _rp=2 it was showing the result as '1' but not '2'. Why this was happening please …

Member Avatar for anil14353
0
1K
Member Avatar for Nandomo

I am trying to decimal format a group of numbers into a 2D array and I keep getting an Error in Netbeans. It says where I have the d.format(0.0); that I need a double and have a String when then input present is 0.0. This is driving me insane and …

Member Avatar for jwenting
0
236
Member Avatar for davy_yg

Hello, How to create a body background like : [website](http://id.gateway.com/gw/en/ID/content/home) See the background seems to adapt to it's size, 1366 x 768 or 1024 x 768 or some other size the only scroll down that appears is vertical scroll. What image size picture do I have to create ? and …

Member Avatar for davy_yg
0
113
Member Avatar for MasterHacker110

I am trying to write a simple text file translator, will translate the text into morsecode. I need something like this to be done: for(i = 0; i < list.size(); i++) { if(list[i] == character_from_file) { translatedLine = list[i_the_second]; } } I am wondering if I can use the "list" …

Member Avatar for MasterHacker110
0
150
Member Avatar for Liam_1

I'm making a simple text based game in python, which works fine until I activate "debug" mode (in game, with /debug), which is supposed to change this: # # # # # # # # # # # # # . . . . . . . . . . …

Member Avatar for TrustyTony
0
707
Member Avatar for Franze

Hi, I have never used SpinWait. I am waiting for a lockfile to be free, so we can lock the file with below code (FileShare.None) This lockfile will always be avaliable in approx. <= 50 milliseconds. I will be needed to react as fast as possible so I beleive it …

Member Avatar for Ketsuekiame
0
202
Member Avatar for wavsyntax
Member Avatar for Franze

Hi, I have a backgroundthread where I in this moment is using: while (runsomeCode == false) { Thread.Sleep(1); } to wait for "runsomeCode" will turn to: 'true' from another thread, which is button9_Click in this example. However, using Thread.Sleep(1) doesn´t seem to be a very effective way. I wonder if …

Member Avatar for Ketsuekiame
0
13K
Member Avatar for kanoy83

hi guys, 1. i use this script from w3schools it works with real escape string. But my problem is it is slow displaying the table and i dont know how to check the problem. assuming password and table is correct. 2. can i change the "ajax_demo" value or delete? reference: …

Member Avatar for kanoy83
0
2K
Member Avatar for riahc3

Hello http://www.hotel-oxford.ro/en I am VERY intrested in making a webpage like this, with one page only showing and when I click a button it goes to the next page (or scroll, however you want to call it). What plugin is used here? Thank you

Member Avatar for riahc3
0
136
Member Avatar for shenn.to
Member Avatar for shenn.to
0
248
Member Avatar for shenn.to

How to maximize forms? What i mean is that, if i maximized my form. The objects inside will be maximized too and will be on the same position. Objects such as Tab Control, Tree View, List View and other objects. Thanks.

Member Avatar for shenn.to
0
176
Member Avatar for bigdawg22
Member Avatar for bigdawg22
0
676
Member Avatar for nnayram

please help run this program in 3 times\cases. **case 1:** it will only display the following: Employee Name: Employee Code: Salary Level: Salary Rate: **case 2:** Employee Name: Employee Code: Salary Level: Salary Rate: ------------- Date Covered: Total Number of Work Hours: Overtime hours: Regular Income: Overtime income: Gross income: …

Member Avatar for hericles
0
156
Member Avatar for dougsix

Here's the problem: Like most, I'm developing on an office network server, "localhost", and migrating pages to a live server on the web. I have several layers of folders with pages that refer back to "localhost/incudes" and "localhost/images" for example using "../../../includes/key.php" for example. I have coded the following to …

Member Avatar for dougsix
0
214

The End.