199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shermags

Hi, I am new with the WPF Browser Application in VB.Net. I would like to know if how can I execute a windows form or a page. I had tried to this code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles Button1.Click Dim Form As New Window1 …

Member Avatar for shermags
0
124
Member Avatar for bazzer14

I would like to know about the following code, could anyone tell me, please? .text:004027A0 sub_4027A0 proc near ; CODE XREF: sub_401010+118-p .text:004027A0 .text:004027A0 var_404 = byte ptr -404h .text:004027A0 .text:004027A0 sub esp, 404h .text:004027A6 lea eax, [esp+404h+var_404] .text:004027A9 push 1 .text:004027AB push eax .text:004027AC call sub_401CC0 .text:004027B1 add esp, …

Member Avatar for bazzer14
0
379
Member Avatar for riahc3

Hello I wish to convert the following jQuery each to fors....This way I can see it a lot clearer.... var draws = this.canvasListener.getDrawManager().getAll(); $j.each(draws, function(index, draw) { var points = draw.getPointManager().getAll(); $j.each(points, function(index, point) { }.bind(this)); } Yes, I know "each" is faster and better optimize but I dont care. …

Member Avatar for riahc3
0
145
Member Avatar for visweswaran28

Hi, I am new to XML. I have doubt. I am updating value of XmlAttributeCollection in XmlElement, whether my XmlElement gets updated or I need to go with some method to update my value in XmlElement. Here my code, XmlElement xntemplate = xmldoc.SelectSingleNode("//TableTemplate//ColumnStateXML//state//colref [@id='" + sPropName[1].Trim() + "']") as XmlElement; …

Member Avatar for visweswaran28
0
78
Member Avatar for silversurf

Hello, As I am building a pos and inventory software in vb 6.0 with Ms-Access as database, I am building the face of the software where I have one MDImain form with toolbar and menus and related some mdichild form holding different informations (I have attached the image). ![main2](/attachments/large/3/main2.JPG "main2") …

Member Avatar for silversurf
0
445
Member Avatar for Motifaithed

Hi Guys, I'm starting on a new project, it's a login page, let say I have a sql column[dateReg], it is the time the user registered or change his password, then everytime he login, I want to compare his login date to the dateReg and if the next time he …

Member Avatar for broj1
0
532
Member Avatar for thanzeem7

I try to insert data from VB.NET form to SQL Database Table. When i press insert Button. It shows Successfully Added. But there is no data in database table. My code is given below. Private Sub BTNSAVE_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BTNSAVE.Click CheckMyControls() If totflag = …

Member Avatar for edensigauke
0
425
Member Avatar for hunterious.latham

I run a text based game and I am having some trouble. I have a hospital section of the game where if you loose a fight you go here for a period of time. Now you see the time is supposed to go down say if you go to the …

Member Avatar for ajbest
0
152
Member Avatar for unikorndesigns

Hi I have modified the dropbox script with the following <script type="text/javascript"> $(function(){ var dropbox = $('#dropbox'), message = $('.message', dropbox); dropbox.filedrop({ // The name of the $_FILES entry: paramname:'userfile', maxfiles: 10, maxfilesize: 50, url: '<?php echo base_url();?>ajax/post_file.php', uploadFinished:function(i,file,response){ $.data(file).addClass('done'); // response is the JSON object that post_file.php returns }, …

Member Avatar for LastMitch
0
387
Member Avatar for RobRTaylor

I'm trying to delete an old desktop shortcut on program startup. Only this code isn't working. ' Get rid of the updater icon on the desktop. Dim DeleteShortcut As String DeleteShortcut = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\Sample Shortcut.lnk" If System.IO.File.Exists(DeleteShortcut) = True Then System.IO.File.Delete(DeleteShortcut) End If Looks pretty straight forward- but just …

Member Avatar for RobRTaylor
0
1K
Member Avatar for dalilice

Hello guys, I'm building a website for tablets and i want o add the ability for the user to swipe down to another div. I've found some jquery plugins for this but only for left/right, and from some blogs that jquery doesn't support this ? Is that true and how …

Member Avatar for <M/>
0
277
Member Avatar for ambageo

HI! I want to write a constructor that will make a window (a frame). I want to be able to insert the height, width, position and window color. This is what I've written: public Window(String name, int height, int width,String c,String isActive,int PointX, int PointY){ setTitle(name); setSize(height,width); getContentPane().setBackground(Color.c); setLocation(PointX,PointY); setVisible(isActive.equals("active")); …

Member Avatar for ambageo
0
204
Member Avatar for barriegrant1

I need to use a <hr> tag under the date based on a condition. however its within a listview template and am haiving issues either finding it or trying to dynamically add it. below is the code that loads the first article and stores its date in a temp location, …

Member Avatar for JorgeM
0
168
Member Avatar for andy91

Hi I have three job interviews coming up in the next week, all of them for PHP developer roles. I am an intermediate level php developer with just under two years experiance. However, I have mainly worked for web development agencies where getting the job done as fast as possible …

Member Avatar for andy91
0
282
Member Avatar for acepeda

Hey guys! I dont know what happend to my app...It doesnt run anything but the code previously saved.For example if I write some new code to button1 it doesnt do anything.Actually I can Erase all lines of code in the whole form and it still someway does run like it …

Member Avatar for TnTinMN
0
136
Member Avatar for Raisefamous

Hey, I want to build some form application for Windows and i have tryed usind VS2010 but because IntelliSense is disabled for C++ i'm not able to work normaly as i'm fairly new to programming and i need to see the drop out menus after i use the "->" operator. …

Member Avatar for tinstaafl
0
299
Member Avatar for Thapsta

I'm new to php and im running xampp and the apache server is running, i created an html (phptext.html) form below which inputs the user's name and sends it to a php file called phptext.php. now the problem i'm getting is the html form sends data to the php file …

Member Avatar for broj1
0
209
Member Avatar for jim.keele.7

Hi there everyone, I am a novice at java and this one has me stumped. This is the beginning of a tax calculator but I am getting irregular output from the getIncome() method. It starts fine, letting the user enter income figures, but on the third income entry or so, …

Member Avatar for jim.keele.7
0
140
Member Avatar for luis_see_me

So, I have a small site for the highschool I'm currently in, a pretty simple site connected to MySQL for a simple HelpDesk app (I used a lot of scripts that I found here to make the site work, thanks for the contributors btw!!), and some useful links for school …

Member Avatar for Shadizon
0
194
Member Avatar for tony75

Hi How can I create a recursive method that counts how many files with a certain file extension, which is in a directory and the directory's sub directories. Exceptions that can be thrown in the search of the file tree should be handled appropriately. The user of the program should …

Member Avatar for tinstaafl
0
191
Member Avatar for thechampp

How List.Sort() indecates where the salaries in the list will be ordered and how to be ordered (asc or desc)? using System; using System.Collections.Generic; class Employee : IComparable<Employee> { public int Salary { get; set; } public string Name { get; set; } public int CompareTo(Employee other) { // Alphabetic …

Member Avatar for tinstaafl
0
346
Member Avatar for GraficRegret

I got everything working on the edit information page even the delete picture and insert a new picture. However when I delete or insert a picture, every field in the details table dissapears, if it turns out to be a field that is editable then it gets replaced with a …

Member Avatar for GraficRegret
0
191
Member Avatar for arupface

Hi, Is there any difference between `inject(:+) and inject(&:+)` ? If `NO` hen how these two kind of syntax with same method? And if `Yes` then why the output are same for both? irb(main):005:0> [1, 2, 3].inject(&:+) => 6 irb(main):006:0> [1, 2, 3].inject(:+) => 6 irb(main):007:0> Thanks,

Member Avatar for L7Sqr
0
144
Member Avatar for hunterious.latham

***Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/crysta21/public_html/hospital.phpon line 53*** <?php /* MCCodes FREE hospital.php Rev 1.1.0c Copyright (C) 2005-2012 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the …

Member Avatar for GraficRegret
0
426
Member Avatar for alpzee

I am a newcommer to java programming. i wrote this which compiles without error. when i put an int value like "5" it runs without any problem but when i puts a double value like "5.1" i get error. What is the problem? package javaapplication1; import java.util.Scanner; // Scanner is …

Member Avatar for alpzee
0
166
Member Avatar for tony75

Hi I try to write this program but how I think math? A general store has the following offer. If you shop for a minimum of 200 $ will receive a 5% discount on the full amount. If you shop for at least 400 $, you get 10% off the …

Member Avatar for tony75
0
200
Member Avatar for riahc3

Ive created a dropdown box dynamically getting datea from a database but when I try to get (or set) the first value, it always says undefined. Ive tried something like: $j("#mydiv").val(1); var somevariable = $j("#mydiv").val(); console.log ("print it out " + somevariable); And it says print it out undefined If …

Member Avatar for riahc3
0
171
Member Avatar for Fame95

I am doing a syntax highlighter (which is my first c# project) and I have some performance problems. Every time I have to color a word, I stop the repaint, color the word, enable repaint and invalidate the richtextbox. This is the richtextbox class: namespace test { class rtb:RichTextBox { …

Member Avatar for Fame95
0
2K
Member Avatar for happygeek

Over the last couple of days the online media seems to have gone crazy for the news that the Google Chrome web browser client has overtaken Microsoft Internet Explorer to become the most popular browser on the planet. This based entirely upon the fact that, for a single week, and …

Member Avatar for scaiferw
0
709
Member Avatar for korathualex

Reorder 5 divs dynamically...Right now i am able to swap between two divs using jquery....I want to reorder divs as per wish...For instance if there are 5 divs as div1,div2,div3,div4,div5 etc i must be able to reposition as any order (div4,div3,div2,div5,div1 etc or div3,div2,div5,div4,div1 etc).....I tried many javascript mentioned but …

Member Avatar for pritaeas
0
2K
Member Avatar for doha786

I have an array having unique 'table_id' that will find 'parent_id' and goes under parent index. My Array: Array ( [0] => Array ( [table_id] => 7 [table_name] => Macro [parent_table] => 1 ) [1] => Array ( [table_id] => 4 [table_name] => Dise [parent_table] => 7 ) [2] => …

Member Avatar for Bachu
0
114
Member Avatar for rev_ollie

Hi, I am coding some python to work with some wireless serial devices. I have 2 devices reading temperatures and other environmental data over an Xbee which then writes the data over serial. The data looks like this when read in Hex: *7e001090007d33a200408b2e0c2db7010016005763* The important character is the 7e at …

Member Avatar for rev_ollie
0
4K
Member Avatar for sudipta.mml

Suppose my long sequence looks like, 5’-AGGGTTTCCC*TGACCT*TCACTGC*AGGTCA*TGCA-3 The two italics subsequences (here within the two stars) in this long sequence are combinedly called as inverted repeat pattern. The length and the combination of the four letters such as A,T,G,C in those two subsequences will be varying. But there is a …

Member Avatar for TrustyTony
0
471
Member Avatar for AARTI SHRIVAS

is it possible in php java scrip and jquery that we give a condition and redirect page to another pages on depending on those condition like if($id==1) { header(location:page1.php); } else { header(location:page2.php); } the value of id comes from database. something like that using jc jquery enything please help …

Member Avatar for AARTI SHRIVAS
0
310
Member Avatar for mumaga

Hello I am looking to make an application that performs basic data analysis techniques. I want to read and write into excel files, any pointers will be much appreciated! thanks!

Member Avatar for stultuske
0
218
Member Avatar for AARTI SHRIVAS

<?php session_start(); include("connection.php"); $id=$_SESSION['id']; ?> <!DOCTYPE html> <html class="beautiful js " xml:lang="en" lang="en"> <head> <link href="120gb_files/index_packaged.css" media="screen" rel="stylesheet" type="text/css"> <title>mackbook_how to find</title> </head> <body> <form method="post"> <div class="box"> <div class="button"> <select id="screen_size" class="fancy" style="border:1px solid #ccc;" > <option selected="selected" value="">Screen Size</option> <?php $sql="select * from `mackbook`"; $result=mysql_query($sql); while($row=mysql_fetch_array($result)) { ?> …

Member Avatar for AARTI SHRIVAS
0
4K
Member Avatar for Yogeshp

Hi, I am working on a java web application using Spring MVC framework. The application is running fine. I am writing some JUnit test cases for some of the pojo classes inside the webapp. I created a separate source folder 'test' which is in parallel to the src folder. I …

Member Avatar for Yogeshp
0
310
Member Avatar for romz

hi everyone. I want to delay the click event in a vsFlexgrid so that the double click event will run 1st. I used a timer for the delay in the click event and managed to get the value of the double click speed in the windows library for the timer …

Member Avatar for romz
0
1K
Member Avatar for earlxph8

hello, i have a basic code, and i want to fetch a data from mysql using PHP, and display in my html page; i just want to have a basic idea so i can add more details later on, like data of birth, nationality, profession etc. im planning to make …

Member Avatar for simplypixie
0
22K
Member Avatar for docgrid

Hi, i want to calculate elasped time in Mintues excluding after 6pm and the weekends. for instance i have a start time on 2013-01-11 2:37:20 PM and need to calculate the time difference with repect to current time(NOW) in minutes by satisfying above 2 conditions. i've been trying to do …

Member Avatar for tinstaafl
0
359
Member Avatar for silversurf

Hello everyone. I am trying to build a inventory and pos software with vb 6.0 and MS-Access as database. In one of my form I have the following code to call my inventory of a certain invoice number to print tag for my products. I am using a MSHFlexgrid with …

Member Avatar for silversurf
0
2K
Member Avatar for riahc3

Hello Im wondering if Thickbox is movable. If not, is there a alternative that I can quick change to (meaning almost no transtition) so I make a modal window movable....Must support iframes.

Member Avatar for riahc3
0
98
Member Avatar for doomsday1216

This is probably a rather simple problem, I haven't looked at any Java in some time and am having trouble with this. First off, here is my program: it's very simple, because I cant even get past here without getting several errors. On Line 6, it says "unreported exception FileNotFoundException; …

Member Avatar for stultuske
0
126
Member Avatar for earlxph8

hello guys, how can i display the data from php mysql with text decoration for example underline or a dotted line css/html? thanks.

Member Avatar for earlxph8
0
733
Member Avatar for harinath_2007

I was working on a project on netbeans and came across a problem with netbeans. The netbeans was showing the error repeatedly as "duplicate class". eventhough there is no duplicate class in the project. After so much frustation , i realized that this is netbeans bug. After doing some search …

0
244
Member Avatar for imti321

'the code is working properly only problem with this code is when the first line ends in excel and data is inserted in next Row "instead of inserting another row it copies the same content which is inseted last time in form "

Member Avatar for tinstaafl
0
382
Member Avatar for lewashby

In the following script I can't get the variable STARTPOINT to increment by 3 each time through the loop. I con't get it because the variable NUMBEROFGROUPS is incrementing by -1 each time and both increment lines look identical to me. #!/bin/bash set -x leading_zeros() { local NUM=${1} local NUMBEROFDIGITS=${2} …

Member Avatar for rch1231
0
167
Member Avatar for sr.senthilnathan

How to write C# Code to Send and receive message through HSDPA Dongle? Currently i am working on a library management project, on this project i need to send overdue details of books to the user via a sms message using HS-DPA Dongle ( HUAWEI 1750). Please someone help me …

Member Avatar for tinstaafl
0
391
Member Avatar for Rahul47

hie people, could anyone tell me what's wrong with following code: Dim cmd As New SqlCommand("SELECT * FROM Security_Ques WHERE Username = " + txtUsername.Text + " and Ques_Index = " + cmbSecurity_Ques.SelectedIndex + " and Answer = " + txtSecurity_Answer.Text + "", con) because it is raising an exception …

Member Avatar for Rahul47
0
400
Member Avatar for Proglearner

Aside from multiple-page access, when is it a better idea to use external js files than to embed scripts in a webpage?

Member Avatar for Shadizon
0
172

The End.