199,114 Archived Topics
Remove Filter ![]() | |
I have been working with web traces and i need to change a particular format of the web trace to another. for example from cs21 793468639 122791 173 icons-html/HomePageIcon.gif ALT=" 0 0.0 cs21 793468639 122791 173 icons-html/HomePageIcon.gif ALT=" 0 0.0 cs21 793468639 122791 173 icons-html/HomePageIcon.gif ALT=" 0 0.0 to cs21 … | |
Im fairly new, and am wondering, how to make lets say website.com/about into about.website.com | |
I'm having trouble with this: Option Explicit Dim hold1, hold2 As String Public LoginSucceeded As Boolean Private Sub cmdCancel_Click() LoginSucceeded = False Me.Hide Welcome_Scrn.Show End Sub Private Sub cmdOK_Click() With Adodc1.Recordset hold1 = "[Username] like'" + txtUserName.Text + "'" hold2 = "[Password] like'" + txtPassword.Text + "'" If .EOF <> … | |
Hello All, I am new to this so I am not sure if this is going to post correctly. I am trying to create a rock, paper, scissors game. My issue with my code is I only want the code to repeat if the computer picks the same choice as … | |
Hi there, I'm doing a simp,e wav player as a school project. I know how to load, play and stop the audio but I don't know how to pause/resume it. Here is my code Public Class AudioPlayer Dim snd As Media.SoundPlayer = New Media.SoundPlayer Dim theFile As String = Nothing … | |
Hi Experts, I would like to seek your help, I need to create an application which can extract the current Active Tab and URL of any browser (i.e Chrome, IE, FireFox). I had googled around but there no samples had satisfy my needs. Sample: I would like to get the … | |
Hi! I just learnt to use the "Parameters.AddWithValue" to prevent harm of sql injections.However, I have only been able to do this with the INSERT, but I have trouble using that with SELECT and UPDATE. Please Look at my code with UPDATE Try ConnectionSettings() con.Open() Dim SqlUpdate As String SqlUpdate … | |
Is there a way we can decrement a file pointer. I searched online and I found the ungetc() function but what if we want to decrement the file pointer to point to the last string in the database? Also, how does ungetc *put back* a character?? Explain. Thanks in advance!! | |
Morning Guys.. Have a Monday Morning Blank out here! I have the following Debug code setup: //XML Load of Document. This loads the XML Document and the value of a Single Node then inputs this to a text box// XmlDocument doc = new XmlDocument(); doc.Load("C:\\twDB.xml"); XmlNode node = doc.SelectSingleNode("/DataBases/DataBase/Connection"); this.textBox1.Text … | |
I am trying to open a text file which contains a dictionary of english words. Each word and it's definition are on the same line and the entries are delimited by a newline. Now, my question is that if you open a text file using fopen() in "rt" mode then … | |
Hi Members, I would like to seek your expert advice. Is there a way load an application before the windows logon appear and shutdown windows when the executed application was closed? I am creating a project which needs to filter all the application that the user can use. Hoping there … | |
Hello Im having problems with the OS's FTP server so I want to write my own with its own possibilities. The processor is x86 so it wont be for ARM or anything. The IDE is I imagine VS (2012). Some questions: 1) Where can I even start? 2) I choose … | |
Hi, can anyone please tell me how to create a array of 20 crore (200000000) elements. I tried, but getting runtime error, might be that much memory is not available. Thanks | |
I'm trying to write a web server but with the code I have but I'm getting the GET/ht.html can't be opened. The html document (ht.html) is supposed to be opened in the browser. What can be added or changed so it'll work properly? The code I have is: #include <sys/types.h> … | |
I've spent the better part of two hours going over my code line by line and I cannot find the problem for the life of me. #include "stdafx.h" #include <iostream> using namespace std; class NumberList { struct ListNode { int value; ListNode *next; public: ListNode(int val, ListNode * nextp = … | |
HI i have this script that insert values to 2 tables .. when i use only 2 insert it works but more than 2 does not please find my code <?php error_reporting(E_ALL); $db=mysql_pconnect("localhost:3306","root","root"); mysql_select_db("campion",$db); $d='DELETE FROM net'; $m=mysql_query($d); $d1='DELETE FROM net_lib'; $m1=mysql_query($d1); $q2="SELECT serial_no,UnitName,pulser1_name,pulser2_name,pulser3_name,pulser4_name,pulser1_input_type, pulser2_input_type,pulser3_input_type,pulser4_input_type FROM net_watch_units"; $res2=mysql_query($q2); while($r2 = … | |
Hi, I don't know if this question makes any sense, but i need to get some answers. I am working on a project, where i am using a file encrytion/decrytion program.Now i have this .java program which is working perfectly from the command prompt and encryting/decryting files Now , the … | |
I'm trying to hide the excel grid on the screen view by making all borders in the worksheet white. I can't figure out how to get it working though. My attempts so far: $objPHPExcel->getDefaultStyle()->applyFromArray(array( 'borders' => array( 'allborders' => array('style' => PHPExcel_Style_Border::BORDER_THIN, 'color' => array('rgb' => PHPExcel_Style_Color::COLOR_WHITE) ) ) )); … | |
Hello. I'm Having this problem since yesterday. My professor wants us to create a VB.net Program connected with MS SQL. The problem is when i put my VB.net Project to other pc, i need to change the current connection String. Currently im using this code for my Connection String. Data … | |
the page show Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'test2','test3')' at line 3 my php code <?php require 'config.php'; // Insert data into mysql $sql="INSERT INTO content (title , discription, … | |
Hi All, Can I show input cursor in a non-focused RichTextBox? In my project, I have a RichTextBox and a ListView control. The focus should be on ListView control. I could handle the KeyPress and KeyDown events of ListView and re-directed to RichTextBox to enable typing. But how can I … | |
I am writing a program about sorting an int array. What I have to do is to just modify the pointer array so that the original content of the array will not be changed. Noted that it is not allowed to creat an new array. So what should I do … | |
Hi all, i'm very new in this programming world..so i hope i can get some help here to understand more about C#. my task is to extract out the data from specific column and row in text file. i do found 1 post from this from regarding this matter..but there … | |
hie friends, it is possible to get a hostname or computername in C# but, further is it possible to get a hostname and passed that name to a databse table when we press a button in forms alongwith other fields update. | |
i need a prog in java by which if u type any num u can get the corresponding alphabet in circular manner,eg:1=a,2=b.....26=z,27=a...,29- c.so on,plz do help...tnks in advance | |
I created a stored Proc: Create PRocedure InsertTBL_Supplier ( @SupplierNumber nvarchar(50), @SupplierName nvarchar(50), @Address nvarchar(50), @ContactNumber nvarchar(50), @ContactPerson nvarchar(50) ) AS BEGIN INSERT INTO TBL_Supplier (SupplierNumber, SupplierName , Address, ContactNumber , ContactPerson ) VALUES ('10000','JenRoses Shop','Pasig City','09159675567','Dara Lim'), ('20000','Lawren FlowerFave','Makati City','5564818','Aiden Lee'), ('30000','FLowers&Scents','Marikina City','7280823','Dennis Park'), ('40000','Pretty Flower Spot','Pasay City','09276543789','Joshua Tan'), … | |
Good day, I am having trouble on how should i clear the value of my controls in the modalpopupextender. Assume the i have 1 textbox in it. oce i clicked the button with any name. all i want is to clear the value of the control.. thanks | |
Hi, I am (still) converting an old asp web app / vb6 dll to aspx / vb.net I am now biting on a fairly simple function in vbscript: the execute() function What the vbscript does is the following: It reads in a variable name and its (string) value from a … | |
hello programmers . I have a question not a syntax one but I need it for speed in contests we have a 3x3 array and when we call a number it add to itself and around him +1 but in many casses like [0][1] when we want to add around … | |
i need help with simple tile map. i have 2d array as map. so i want to replce numbers in array with rect's. 0 = green rect 1 = red rect 2 = black rect and i want it so that the all tile are same size. when i run … | |
Good day, I wish to print out the content of the files uploaded by the user from a input file type. It is passed to backend using post method. I have done some research but unforturnately I still haven't found a solution that satisfy me. The answer that are close … | |
Hi every one ! i need to generate a key generator program any one help me. there is one Label and one Button on my Form. e.g i want to generate a random number on Button_click Event like this i.e. g12tu-7bhg5-khd9k-kh88f kdj44-jk73n-khjk6-88dkg | |
public string generateEmployeeid()*//here i am getting this error 'objdataclassname.generateEmployeeid()'.' not all code paths return a value'* { objDataBaseClass = new DataBaseClass(); if (Designation == "Student") { int id; int count = 01; string typ = "SID-"; objDataBaseClass = new DataBaseClass(); Table = objDataBaseClass.GetDataTable("spGetEmployeeID");// passing storerprocedure name if (Table.Rows.Count > 0) … | |
Hi., I'm developing a web application,in this application using a gridview data control and show Employee details like Empid, EmpName, designation like that. i need when i click the "Empid" field, to show popup window and list that Employee all details in child window. how to do this? please Anyone … | |
Hi friends i have used autocompletextender in my C# asp.net form . but it's not working fine. i have used following code. <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <asp:ScriptManager ID="script" runat="server" EnablePageMethods="true"> </asp:ScriptManager> <asp:TextBox ID="txtServiceCityLocal" runat="server" Style="width: 292px; margin-left: 150px; border: solid 1px #747474"> </asp:TextBox> <asp:AutoCompleteExtender ID="AutoCompleteExtender2" runat="server" TargetControlID="txtServiceCityLocal" ServiceMethod="GetCountries" … | |
Hey, I'm writting this topic to ask you guys if there is an alternative to findall in Prolog that allows me to search not for all solutions but for a X number of solutions instead. I'm kind of new to this language so I'd like to ask for your help. … | |
I have created login application using spring in my local machine using Apache + Eclipse. I exported WAR of the same without setting the target server as i am deploying the same on sun web server. Application successfully deployed on sun web server. Successfully opens welcome page when click on … | |
Hi, All, Good Day! I would like to ask if this is doable. I am instructed to create a program/service that will log all user's activity. Like for example, the user opened internet explorer and navigate to www.google.com, the log will be: Time Started--------Time Ended---------Activity 8:30AM --------8:45AM ---------User opened Intenet … | |
Hi All, I have the following statement which is intended to have a Year over Year Percentage change: select CurrYear.Variable_Date,CurrYear.Variable_Value,cast(100*(CurrYear.Variable_Value-PrevYear.Variable_Value)/PrevYear.Variable_Value) AS Percentage_Change from dbo.tblCPISC as CurrYear left outer join dbo.tblCPISC as PrevYear on year(PrevYear.Variable_Date) = (select MAX(Variable_Value) from tblCPISC where year(Variable_Date) < year(CurrYear.Variable_Date)) order by year(CurrYear.Variable_Date) For some reason, I … | |
I want to create a method that is meant to protect against entering a wrong value for gender. The method **fineGender** below, will return true if the correct gender is entered and false otherwise. // postcondition: fineGender returns true if argument g equals M, m, F or f // and … | |
hi i want to add two dropdown boxes one for the make of the vehicle and one for the model of the vehicle. first the user need to select a make of the vehicle and then when he selects it only the models relevent to the make should display in … | |
hi i have a method which display a list of customer id's. the method is customerService.getAllCustomersID() how do i check whether this method returns a null list or list or customer id's appreciate a reply thanks | |
(I am being honest, it is another assignment that I have attempted and failed to succeed on) I have a question/assignment that requires me to generate 50 random numbers out of 10 numbers using a for loop. But for some odd reason I can't set it up nor does google … | |
Hi, I'm using the big cartel framework to build a site, and am trying to make an AJAX call - currently without success. My code is as follows: jQ('body').on('click','#closeDetails',function(){ // If necessary condition met if (jQ('#productDetails').attr('class') != undefined){ // Store appropriate category var destCategory = jQ('#productDetails').attr('class').toLowerCase(); // Attempt to alert … | |
Hello friends did anybody have implemented the ant based clustering algorithm in C.If so can u pls pass me on the coding.It would of great help to me. | |
Hi Hope someone can help with this as I dont really know where to start. I am trying to automate a quite large txt feed I get from an external url to import into database. I currently do it manually through database software, but it takes too long each day. … | |
I have a videos protal system that I just udated and I am getting this error: [24-Feb-2013 02:48:44] PHP Fatal error: Call to a member function portalIndex() on a non-object in /home/user/public_html/admin/applications_addon/other/videos/modules_public/display/index.php on line 152 The line that is on contains ths: $this->output .= $this->registry->output->getTemplate('videos')->portalIndex( $categories, $memberVideos, $featuredVideos ); This … ![]() | |
#define StackLimit 50 // ôï üñéï ìåãÝèïõò ôçò óôïßâáò, åíäåéêôéêÜ ßóï ìå 50 #include <stdio.h> typedef int StackElementType; // ï ôýðïò ôùí óôïé÷åßùí ôçò óôïßâáò //åíäåéêôéêÜ ôýðïò int typedef struct { int Top; StackElementType Element[StackLimit]; } StackType; typedef enum { FALSE, TRUE } boolean; void TraverseStack(StackType Stack); void CreateStack(StackType *Stack); … | |
I'm having trouble solving this problem in C++: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? I have … | |
Its all in the title, i want to get 2 dates from user then view them in a data report text labels so we have idea what the report is displaying |
The End.