# **OLD** # [URL=http://s127.photobucket.com/user/yoda3ddd/media/codemap_zps4115ff7e.jpg.html][IMG]http://i127.photobucket.com/albums/p158/yoda3ddd/codemap_zps4115ff7e.jpg[/IMG][/URL] The Data Namespace Core Friend Module Func Public OkButton As Button Public CancelButton As Button Public ProgBar As ProgressBar Private Sub ProgressLoop() Do Func.ProgBar.PerformStep() Threading.Thread.Sleep(1) Loop End Sub #Region "Constants" Public Const DataRoot As String = "C:\AFormData\" Public Const IMG_PATH As String = "C:\AFormData\img" Public Const LoadImage As String = "C:\AFormData\img\codemap_zps4115ff7e.jpg" Public Const LINE_TERMINATOR As String = ">>" Public Const LoadImageX As Integer = 0 Public Const LoadImageY As Integer = 0 Public Const LoadBarFailedMessage As String = "Loading Bar Denied" Public Const ResizeMessage As String = "Current Form Resizing" Public Const NoCommandMsg As String = …

Member Avatar
Member Avatar
+0 forum 6

0 down vote favorite So you have these Microsoft KB support articles. Example: https://support.microsoft.com/en-us/help/871122 My goal is to be able to iterate through a list of these pages and see if the articles actually exist. As you can imagine, it's hard to do it manually, so I need a program to do that for me. I have tried loading a page with .NET HTML Agility Pack and also some PHP code posted below. Both result in a broken and useless page. Namely, this is what I get: https://i.stack.imgur.com/mKoED.png Any ideas on why this is happening and what's something I can …

Member Avatar
Member Avatar
+0 forum 2

Hello everybody, so, I realized that when I try to load some XML into a MySQL table through the `LOAD XML LOCAL INFILE ...` statement, if there is a parent with the same name of the child, MySQL will insert an extra row. Here's the example to reproduce the issue: <fruit> <fruit> <name>Orange</name> <variety>Valencia</variety> </fruit> <fruit> <name>Apple</name> <variety>Fuji</variety> </fruit> <fruit> <name>Lemon</name> <variety>Eureka</variety> </fruit> </fruit> And the SQL: CREATE TABLE IF NOT EXISTS `tmp_fruits`( `name` VARCHAR(50) NOT NULL, `variety` VARCHAR(50) NOT NULL ) ENGINE = MEMORY; LOAD XML LOCAL INFILE 'data.xml' INTO TABLE tmp_fruits ROWS IDENTIFIED BY '<fruit>'; SELECT * FROM …

Member Avatar
+0 forum 0

Hi al you wonderful daniweb peoplez :) I am currently on a mission to write some cool javascript / jquery / ajax controls and now i realised that if I call the control multiple times it seems to lose scope. I realise that this is a small design flaw, and would lie to know how I can correct this? I would like to create new instances for each call. Here is the javascript that would create the control: var testProperties = { testControlId: '', defaultText: 'Hello World', }; $.fn.watermarkInput = function watermarkInput(newProperties) { // Make sure that all settings have …

Member Avatar
+0 forum 0

Hello. There is a button in the page when i click it, a div will appear or disappear by toggling to the left and right. I want when the page loaded, user can only see the button and have to click to appear the dive. But the problem is that when the page loads, the dive is appeared on the page and user doesn't have to click the button to see the content of the hidden div. What can i do for that? I want the div to stay hidden till user click the button to make it appear, not …

Member Avatar
Member Avatar
+0 forum 9

I am new to the edgerouter and I know zero CLI which is hurting me quite a bit right now because I do not understand most of this, so here goes. I am running an Edgerouter ERLite running 1.6.0 FW and I have 2 modems from the cable company each putting out 50X5 dynamic plugged into eth0 and eth1. eth2 is the lan at 10.0.0.1/8. I ran the load balance wizard and I am online, but only through eth0. eth1 is only running a couple of kbps if at all. I did set up load balance and failover on PFSense …

Member Avatar
+0 forum 0

Title should be load ajax inside ajax because facebook comments load via ajax I am building an all AJAX site for a Facebook iFrame page and am having an issue. All the pages and what not load up dynamically just fine, but some pages use the Facebook commet system. After the AJAX has loaded the page though, the JavaScript inside does not load. This is the Facebook comment script that I need to load inside the ajax'd content. How would you eval that? (or whatever it is you would do?) [CODE]<script>(function(d){ var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;} js …

Member Avatar
Member Avatar
+0 forum 2

Two third party Python modules imageio and visvis make it easy to load and view images. The modules come with the pyzo scientific package or can be downloaded separately. Module imageio can read many image file formats as shown in http://imageio.readthedocs.org/en/latest/formats.html You could also replace your image file name directly with a URL containing an image, for example image_file = "Lake2.jpg" could be changed to image_file = "http://i.imgur.com/3MnBqHh.jpg" and your picture would simply come from the internet.

Member Avatar
Member Avatar
+4 forum 2

I'm new to mobile development. I'm using html5,php,cordova,phonegap for the development of mobile application. I have done everything which i need.But i need to populate the dropdowns dynamically based on the previous dropdown selection. i.e., Based on the state the cities to be populated and based on the cities the locations need to be populated. Please help me out how to solve this problem. Thanks in Advance.

Member Avatar
Member Avatar
+0 forum 1

Please how do I implement a load balancer for Java RMI servers

Member Avatar
Member Avatar
+0 forum 1

Hi, IS there any way to load a `*.dll` file at run time into PHP project. For instance I want to use the functionality for encrypting the a string using `MCRYPT` module without installing the module. I found on internet that with the usage of `COM` class I can achieve this but don't know how implement this.

Member Avatar
Member Avatar
+0 forum 2

Hello i need to save score on application close and when will start up to show the last score is entered... i have not idea how do i start i have searched on google but nothing found which can help me, please show me some ways/codes of doing it. Thanks ! :)

Member Avatar
Member Avatar
+0 forum 5

Not sure if it's just me but the home page doesn't work. It's just presenting the background colour but no content. The following is received by the browser: <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en-US" lang="en-US"> <head> <!-- CSS --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:300,400" /> <link rel="stylesheet" type="text/css" href="/articles/article_css/nogroup4637896363" /> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <!-- Javascript --> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript" src="/articles/js_article_scripts/nogroup995122999598"></script> <script type="text/javascript"> // Add a script element as a child of the body function downloadJSAtOnload() { var element = document.createElement("script"); element.src = "/articles/js_deferred_scripts/nogroup109951229995600"; document.body.appendChild(element); } // …

Member Avatar
Member Avatar
+1 forum 4

Hello, I am experiencing a very unusual problem. If an exception occurs within my Frm_Load method which handles MyBase.Load, the method simply ends, a nice message is printed to the debug windows explaining the error, and program execution continues. The problem is, I want an error in the Load method to crash the program. VB simply decides to ignore the rest of the code after the exception but continues program execution; this causes many initializations to never be performed in my program. How can I make my load method halt execution when an exception is thrown? Thanks, Patrick

Member Avatar
Member Avatar
+0 forum 1

Hello,I wanna decrese the size of my windows application projesct.Actually i'm using many animated pictures in my projects so that might be the reason for larger size. Is there any other way to reduce the exe file..will it get reduced if load the pictures dynamically from outside folder??if it is how to do that?? can you tell me what are all the ways are there to solve out this??

Member Avatar
Member Avatar
+0 forum 2

I have this code which loads 10 divs from an external file into the main file. There's also a next / previous function to skip back and fourth between the divs. Demo: http://goo.gl/RFBN2E (Click load content to load the content via ajax, then the next / previous buttons will skip between the divs) My question, what's the best way to load a text string in the divs into a different part of the main file? Here's an example. How it works at the moment: <!-- External File Divs --> <div id="div1"> <h1>DIV 1</h1> </div> <!--Main File --> <div id="projects"> <!-- …

Member Avatar
+0 forum 0

Does anyone know of an easy way to have an image switch to another image when the cursor hovers over a completely separate image? [Here](http://lonnyfoster.com/temp/daniweb/replace_image.png) is a diagram that hopefully illustrates more clearly what I'm trying to say.

Member Avatar
Member Avatar
+0 forum 7

Cannot get FXMLLoader to load this fxml. Error: Feb 19, 2014 11:25:01 PM com.github.geodox.goldminer.GoldMiner start SEVERE: null java.lang.NullPointerException: Location is required. at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2825) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2809) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2795) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2782) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2771) at com.github.geodox.goldminer.GoldMiner.start(GoldMiner.java:24) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:219) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:17) at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:67) at java.lang.Thread.run(Unknown Source) Code: package com.github.geodox.goldminer; import java.util.logging.Level; import java.util.logging.Logger; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.layout.VBox; import javafx.stage.Stage; public class GoldMiner extends Application { public boolean running; public static void main(String[] args) { Application.launch(GoldMiner.class, (java.lang.String[])null); } @Override public void start(Stage primaryStage) { try …

Member Avatar
Member Avatar
+0 forum 1

hello.. i have problem load two data from different table and column.. for example, each data from product table into product combobox and brand table to brand combobox..i succussfully load data to combobox but got multiple same data into combobox.. Dim conn As New OleDbConnection("Provider=Microsoft.Jet.OleDb.4.0;Data Source=" & Application.StartupPath & "\mydatabase.mdb;Jet OLEDB:Database Password=admin;") Dim cmd As OleDbCommand = New OleDbCommand("SELECT product.productN,brand.brandN FROM product, brand", conn) conn.Open() Dim sdr As OleDbDataReader = cmd.ExecuteReader While sdr.Read() product.Items.Add(sdr.Item("productN").ToString) brand.Items.Add(sdr.Item("brandN").ToString) End While conn.Close() End Sub

Member Avatar
Member Avatar
+0 forum 4

Hello, I suspect that this is an elementary question but maybe I don’t understand how to search for it. I am a programmer, but having a small company and we can’t afford yet a system administrator, so I play this role as well with my limited practice on it. Currently we use CentOS 5.10 but I suspect the answer should also apply in other versions or distributions. We use a really small PHP core framework , less than 100kb , and we run many applications and sites using that and few of them with really heavy traffic. The question is …

Member Avatar
Member Avatar
+0 forum 6

Hi there, I've just finished designing a new website - http://www.rjthompsonmusic.com It looks quite good, but I'm a little concerned with the speed at which the homepage loads. I've ran Google Page Speed and it suggests Deferring the Parsing of Javascript elements, but I have no idea what that means or how to do it. How would you go about speeding the site up, especially when viewed on a mobile device? Many thanks, HT

Member Avatar
Member Avatar
+0 forum 6

I'm trying to make a program that saves images in a database. I've pulled together some info on the net and wrote up code that I think is supposed to work, but fails in a completely unique way on either side (the saving and the loading). Here's my code, could you tell me what I'm doing wrong? Load from Database, gives me a memory address access violation error: procedure TfrmMain.btnOpenProfileT4Click(Sender: TObject); var S : TMemoryStream; ikode : integer; begin S := TMemoryStream.Create; ikode := cbxDeelnemerT4.ItemIndex + 1; S := TMemoryStream.Create; ADOQuery1.Close; ADOQuery1.SQL.Text := 'SELECT * FROM DEELNEMERS WHERE Kode = …

Member Avatar
Member Avatar
+0 forum 3

I have 2 forms. One is a typed list having 3 controls (fields) loaded from access database (copied to project as part of .xsd). The values in this list represent recommended values of items and will also be applied to another 3rd form eventually. In the 2nd form there are 3 values which are populated (a) from dropdown lists, (b) with required input or (c) can be taken from form 1. Can anyone offer some help as to how to do option (c) without losing other two options? I hope this makes sense.

Member Avatar
Member Avatar
+0 forum 8

Plz someone help. I have a sony vaio and has stopped loading and every time i go to repair it. it dosent load and when it does it just searches for promblems and other else it stays like that for hours. i have even tryed to start it in all the safe mode and doesnt load it just takes me back to the start. i dont have the recovery C.ds

Member Avatar
Member Avatar
+0 forum 6

Forgive me if this is something obvious or a simple question. I am having issues with my date field when loading data into my database. I am having it load using a python script using the below command and once complete the date is 0000-00-00. the file I am loading is a CSV file and I am using the following command LOAD DATA INFILE 'myfile' IGNORE INTO TABLE `mytable` COLUMNS TERMINATED BY '\t' LINES TERMINATED BY '\n' IGNORE 1 LINES In Mysql the date columns type is date Any direction or help is appreciated.

Member Avatar
Member Avatar
+0 forum 1

Hello Everyone, I have a problem and looking forward for your kind help. I need the <select> tags option value to be set selected on the page load. The problem is that everytime the value which is to be selected may change on each page load. Thank you.

Member Avatar
Member Avatar
+0 forum 5

hello guys. i want to add a button in php wich loads a document and includes it into the text area. sample we have a file called document.txt and if we load this file by pressing the button load, the textarea then is filled with the text that was in the file. can this be possible?

Member Avatar
Member Avatar
+0 forum 4

Hi All, I need to load varying Custome controls to one page with differnt panles,I have to load Custom control page according to selection of Criteria. Thanks

Member Avatar
Member Avatar
+0 forum 3

Hi everybody, I am kind of new to vb.net and have some problems with images. Problem: I want apply an algorithm into 7500 images I need auto way if there any suggestion. after apply the algorith, each image should be saved back into same folder or any place else automatically. Note: the whole process shold be automatically like following (Read Image --> apply my algorithm --> save the image) I am stuck at this stage, any help would be appreciated. Thank you very much

Member Avatar
Member Avatar
+0 forum 4

For a couple of weeks now, sometimes facebook is the only page that IE or Firfox will load. This can usually be resolved with a reboot, but that's just a pain. Does anyone know what's going on? HELP!

Member Avatar
Member Avatar
+0 forum 1

The End.