199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NEVETS22387

Hi Everyone I've been looking for a solution to this problema for a while, ive searched the net but still can't get this too work. if i put my code in the default asp template( http://i1.asp.net/asp.net/images/whitepapers/aspnet40/ASPNET4B1-image13.png?cdn_id=2013-05-08-001 ) it will work, but when i use my template i always get the …

Member Avatar for NEVETS22387
0
235
Member Avatar for Labdabeta

Hello, I only have a basic knowledge of ASM because every tutorial I have found (including Narue's) is based on using some kind of high level library or another. However when I look through disassemblies of pretty much any program I notice that all such library calls are gone. My …

Member Avatar for Labdabeta
0
559
Member Avatar for Cameronsmith63

I created a service that watches a folder, processes the files that gets dumped into it, then after processing, it moves the files to another folder. So i copy a number of files to this folder, and every now and then, i get an exception stating that i cannot gain …

Member Avatar for Ketsuekiame
0
215
Member Avatar for phfilly

Hi! I have a problem with the unlink() php function. What I try to do is to delete a certain file in a directory. Now the function works fine. But when I call it then it deletes ALL the files inside of that directory. What I want is for it …

Member Avatar for phfilly
0
2K
Member Avatar for farheen

Can anyone be kind enough to explain the difference between asp & asp.net? I am only conversant with PHP, but am very interested in these two.

Member Avatar for annaharris
0
1K
Member Avatar for NyQii

Hey there Im buzy with a asp.net c# application and using sql server as my database and using stored procedures i have a gridview with a page name and a column with checkboxes witch will aloow the user to access that specific page. My question is , is that after …

Member Avatar for annaharris
0
2K
Member Avatar for Jorox03

I am trying to add a comma to the end of each line ('\n') of a text file til the end of the file is reached. I am opening the file in append mode but am unsure as to how to go about identifying when the end of line is …

Member Avatar for Jorox03
0
4K
Member Avatar for dina85

after press submit button to upload the image, the information will display at new window, i need the information will be display below submit button. my code: <?php if($_GET['action'] == "upload") { ?> <div id="upload"> <br/><br/> <form action="upload_image.php?action=upload" method="post" enctype="multipart/form-data"> <label for="file">Gambar yang ingin dimuat naik:</label> <input type="file" name="file" id="file"><br><br/> …

Member Avatar for minitauros
0
263
Member Avatar for Papa_Don

Group, I've written a short stored procedure in SQL Server 2008 to create a new Order Number. The code looks like this: INSERT INTO ORDRNUMBERREC(OrderNo,UserId,CreateDate) SELECT MAX(OrderNo)+1,'system',GETDATE() FROM ORDRNUMBERREC WITH (TABLOCKX) In VB2010, I've written the following code to execute the stored procedure: con = New SqlConnection(sConnection) cmd = New …

Member Avatar for G_Waddell
0
11K
Member Avatar for McLaren

I was writing unit tests for half year or more at my work, hoping that I do good job. But the problem is I rarely see the benefit of them. So I don't understand, why it is good. Many of the test functions look like this - they test model …

Member Avatar for davidkroj
0
510
Member Avatar for dina85

can't download file from database, got error, help me please.. <?php require("conn2.php"); $sql="select image from images where id='$_GET[id]';"; $result = mysql_query($sql); $row = mysql_fetch_array($result) $name = $row['image']; // the name of the file that is downloaded $FilePath = "upload"; // the folder of the file that is downloaded , you …

Member Avatar for minitauros
0
270
Member Avatar for Nubitol

anyone can help me? i have a task from my teacher. He asked me to make a simple image processing program that can process 2D image with this feature: -the program can make a translation, rotation (an angle of rotation with arbitrary), scaling, and shearing. -the program can make an …

Member Avatar for JamesCherrill
0
334
Member Avatar for riahc3

Hello I want to make a dynamic searchable scrollbox using a textbox..... Lets say I have the following options..... Ant Alroy Antlers Antldo Zoo When I click and open the scrollbox, it should show all options. In the textbox, if I type A it should show Ant Alroy Antlers Antldo …

Member Avatar for riahc3
0
150
Member Avatar for jason.angeles.75

public class homework8_2 public static void main(String [] args) { Scanner keyboard = new Scanner(System.in); int selections = 0; DecimalFormat formatter = new DecimalFormat("#0.0000"); do { showMenu(); selections = keyboard.nextInt(); System.out.println("please input the amount of meters"); double meters = keyboard.nextDouble(); if (selections == 1) { double kilometers; kilometers = showKilometers(meters); …

Member Avatar for stultuske
0
253
Member Avatar for rabbikhanbd

Hi I am Mohammad Fazle Rabbi a new blogger. I am always try to make some unique design on my blog but every time others are copying my design by viewing blog source code through Firefox. So is there any way to disable source code in Firefox browser only. Because …

Member Avatar for diafol
0
613
Member Avatar for Jephor

17 May 2013 | I am trying (with no success) to connect an Access 2010 Table (.accdb).to a Vb6 ADO data control and having no luck at all. I have downloaded and installed the Microsoft.ACE.OLEDB.12.0 (as i read that this would solve the problem) and to be honest had expected …

Member Avatar for Jephor
0
408
Member Avatar for LeNenne

Hi How to kill a file in this format kill App.Path & "\backup\backup\PhoneTel.mdb" & Format(Now, "yymmdd_hhnn") & ".mdb" Lenny

Member Avatar for LeNenne
0
151
Member Avatar for ndeniche

Lately I have been very interested in augmented reality applications and the many uses there can be for this kinds of apps, but there is very little information on the existing engines for object or image target recognition. As far as I've managed to investigate, the best (free, since there's …

0
108
Member Avatar for igabc
Member Avatar for LeNenne

Hi Again I have a file list with 2 backup library For i = 0 To File2.ListCount - 1 If File2.Selected(i) Then min = Left$(File2.fileName, 12) ' here I got the file name from PhoneTel.mdb130513_2014.mdb '********** min is Phonetel.mdb Kill App.Path & "\phonetel.mdb" sourcefile1 = File2.Path & "\min" ' The …

Member Avatar for Jx_Man
0
210
Member Avatar for jaejoong

I got this error from another computer, without visual studio. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at PAMS_Upload.frmMain.Validate_OtherDimensions() at PAMS_Upload.frmMain.btnLoadOther_Click(Object sender, EventArgs e) …

Member Avatar for jaejoong
0
290
Member Avatar for MRehanQadri

Suppose my file a.txt has "ABC" written in it. Now I want to write a small b before capital B in the file. How will I do it? I've tried to do it but i'm having problems. 1. When opened in app mode seekp doesn't work. 2. When opened normally …

Member Avatar for MRehanQadri
0
231
Member Avatar for TuteePink

I have a header file, but I don't know how to do it: I am new to templates. template <class T> class Array { public: Array(int l, int h); Array(int s); Array(const Array& other); ~Array(); T& operator[](int index); const T& operator[](int index) const; int get_size() const {return size;} private: int …

Member Avatar for TuteePink
0
101
Member Avatar for spowel4

I am trying to set the value of cells in an Office 2010 worksheet using this code in Visual Studio 2012: for (int i = 1; i < 5; i++) { xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(i); int columnCounter = 1; foreach (string s in columnNames) { range = ((Excel.Range)xlWorkSheet.Cells[1, columnCounter]); range.Value = …

Member Avatar for spowel4
0
243
Member Avatar for VasquezPL

Hi all,\ I have small issue. I wrote the code which check logon times of user on every domain controller, after that, it return the latest one. The problem is that if any of domain controller is off/faulty - I get an error "server is not operational" and the function …

Member Avatar for VasquezPL
0
259
Member Avatar for anisha.silva

hi, where can I download the C# code for the Porter Stemming Algorithm. Appreciate a replly, thanks you

Member Avatar for sally ja
0
98
Member Avatar for amrita29april

[code] #include<stdio.h> #include<conio.h> #include<string.h> void main() { char str[80],temp[80],word[20]; int i,j=0,c=0; gets(str); gets(word); strcat(str," "); for(i=0;str[i]!='\0';i++) { if(str[i]!=' ') { temp[j]=str[i]; j++; } else { temp[j]='\0'; if(strcmp(temp,word)==0) c++; } } printf("%d",c); getch(); } [/code] now my problem is that it is counting only the first word.. what's wrong with the …

Member Avatar for jephthah
0
268
Member Avatar for mrvijayakumar

Friends, Kindly suggest me best PHP Open Source for Social Networking website. Looking forward your best suggestions. Thanks in advance...

Member Avatar for diafol
0
536
Member Avatar for nitin1

can anyone explain me the all precison and exponent, significant bits which double can handle ? i am not getting it. wiki says it has 53 bits significant bits and 11 exponent. am a little bit confused. can anyone explain me ? (in their own way) thanks alot. although i …

Member Avatar for jephthah
0
165
Member Avatar for geneh23

Hey everyone, I don't have any code but I was wondering if it was possible to have a list of houses or properties for sale and have it connected to google maps to show the location. Is there anyway to do this in php? Sorry for the lack of knowledge. …

Member Avatar for geneh23
0
133
Member Avatar for while(!success)

Hi guys, I have php code that generates a table based on the results of a mysql query. My questions is how do I update edit the html table row and push the changes to a mysql table? I am using this example: http://bootsnipp.com/snipps/table-with-users The thing I am trying to …

Member Avatar for while(!success)
0
776
Member Avatar for taekiewzz

Windows Application Form: I have a problem with filtering winform datagridview by listbox items (multiselect). For example: My listbox items have guest name of 'Lim', 'Jack' and 'May'. I would like to filter my gridview data by these 3 guests. Which each guest has their own entry. This is my …

Member Avatar for uis
0
378
Member Avatar for breezett93

Hi Everyone, I have a program that takes data in a two dimensional array, performs simple calculations, and then writes the data to a file. When I call the function that calculates and writes, I get an error on the two dimensional array stating: "argument of type 'int' is incompatible …

Member Avatar for Labdabeta
0
3K
Member Avatar for chrispitt
Member Avatar for dbalas

Hi! Ok, I have tried every pssible way to make this possible but it looks like im running in to cercles... My script simply doesnt want to send embaded logo... It wants to send it as an image like `<img src="http'//..." />` but than i have problem with viewing the …

Member Avatar for paulkd
0
498
Member Avatar for dhani09

I'm reading data from my DB and displaying it in a table like this while($row = mysql_fetch_row($result)){ $_SESSION['edit'] = $row[1];//it says undefined index 'edit' echo '</tr>'; echo ' <td class="product"><a href="manage-products-2.php?prod_id ='.$row[0].'">'.$row[1].'</a></td>';//it says undefined index 'prod_id' echo'<td class="quantity">'.$row[5].'</td>'; echo '<td class="item_price">'.$row[4].'</td>'; echo '<td class="item_total">'.$row[6].'</td>'; echo '<td class="item_unsold"><a href = "manage-products.php?prod …

Member Avatar for minitauros
0
1K
Member Avatar for Avneet1993

I recently got a question by my tutor to wite a program in C++ and the question is as follows so can someone else try out with it by writing another program in C++ since i have already written it in 2 ways and would like someone else to try …

Member Avatar for tinstaafl
0
177
Member Avatar for NyQii

Hey Im trying to figure out why my code doesnt enter the second foreach loop?? am i missing something? public void LoadPageAccess(int intRoleID) { Roles role = new Roles(); List<CRMDocLib2012Model.GetPageAccess_Result> GetPageAccess = role.GetPageAccess(intRoleID); foreach (CRMDocLib2012Model.GetPageAccess_Result lst in GetPageAccess) { foreach (GridViewRow Item in gvPageAccess.Rows) { var chkbox = ((CheckBox)(Item.FindControl("cbPageAccess"))); var …

Member Avatar for tinstaafl
0
165
Member Avatar for akkbkht

Hello. I am having a bit problem with the insert query, Every thing is fine but don't know why its not inserting the queries. Have a look onm code; function insert() { var table=document.getElementById("myTable1"); var table=document.getElementById("myTable"); <?php $con=mysqli_connect("localhost","root","","bsc_db"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: …

Member Avatar for EvolutionFallen
0
213
Member Avatar for PF2G

Hi, i have this bas_facebook.php to login with facebook on my website, but it gives me error with the exception: if (!function_exists('curl_init')) { throw new Exception('Facebook needs the CURL PHP extension.'); } if (!function_exists('json_decode')) { throw new Exception('Facebook needs the JSON PHP extension.'); } /** * Thrown when an API …

Member Avatar for pritaeas
0
251
Member Avatar for davecoventry

I'm trying to run a file called configure.bat which contains the following: echo off mkdir Platforms mkdir Platforms\bb2010wm FOR /F "tokens=2* " %%A IN ('REG QUERY "HKLM\SOFTWARE\CodeGear\BDS\7.0" /v RootDir') DO SET BCB2010_ENV_ROOT=%%B cd Platforms\bb2010wm ..\..\build\cmake\bin\cmake.exe -G "Borland Makefiles" -D CMAKE_C_FLAGS:STRING="-g0 -tWM -WU -x -xd -w-8012 -w-8027 -w-8026 -w-8066 -w-8022 -w-8004 …

Member Avatar for gusano79
0
555
Member Avatar for rude_god

Hi all I've been messing about with this bit of code. Basically what it's supposed to do is create these six buttons, which when clicked pass a parameter to a function and then call that function. The function basically removes one condition from a larger list depending on which button …

Member Avatar for Lardmeister
0
4K
Member Avatar for otengkwaku

Hi guys i have created a python 2.7 application using PyQt4 and Pyttsx. PyQt4 is a crossplatform GUI library and pyttsx is a text to speach library the code can be found [here](https://github.com/Oteng/timeTracker) Pleace if you have a comment of imporovement let me know thanks

0
101
Member Avatar for RockJake28

So I'm starting to learn python as it's an awesome language from what I've already done in it. I came across an exercise to learn lists and it was basically as follows Create a list of first names and a list of second names and use a for loop to …

Member Avatar for Lardmeister
0
328
Member Avatar for adityamadhira

Hi This is my pdf file upload code [CODE]<html><head> <title>Upload a .pdf to a database</title> <h2>Please select your .pdf</h2> <form enctype=multipart/form-data action=test.php method=post> <input type=hidden name=MAX_FILE_SIZE value=1000000> <input type=hidden name=completed value=1> Please choose a .pdf to upload: <input type=file name=imagefile><br> Please enter the title of that document: <input name=whatsit><br> then: …

Member Avatar for TonyG_cyprus
0
147
Member Avatar for ppajak

Hey guys, I wrote a program that reads a file and then displays its 8, 16 and 32 bit checksum as well as the XOR values. I've managed to do it and it works fine under windows(using qtspim) but on centos(using mars) I get the following errors: Line 7 column …

Member Avatar for Schol-R-LEA
0
5K
Member Avatar for Tinnin

Hi all, I have the following query: SELECT A.Name, MAX(B.VisitDate) AS 'Last Visit Date', A.Active FROM B INNER JOIN A ON B.NameCodeB = A.NameCodeA GROUP BY B.NameCodeB HAVING MAX(B.VisitDate) < DATE_SUB(CURDATE(),INTERVAL 2 MONTH) AND A.Active = 1 This selects a list of all people in the database who last visited …

Member Avatar for Tinnin
0
200
Member Avatar for ak47carbon

i want to redirect my query base url to pretty url,i am trying this on local host, i want if any one try to access http://localhost/something/index.php?page=zen it will redirect to http://localhost/something/zen.html, ie http://localhost/something/index.php?page=zen => http://localhost/something/zen.html RewriteEngine On RewriteCond %{REQUEST_URI} ^/index\.php$ RewriteCond %{QUERY_STRING} ^page=([a-zA-Z0-9_-])$ RewriteRule ^(.*)$ http://localhost/cmsmadesimple/%1.html [L,R=301]

Member Avatar for ak47carbon
0
286
Member Avatar for RT00220489

Hi, My question goes as follows : I need to replace an existing image, with another one, but without using jquery ie using javascript and using the id of the image as it is <asp:Image> tag and hence does not support name. The image supports the functionality of toggling the …

Member Avatar for RT00220489
0
3K
Member Avatar for nomorelogic

so i have a mini text adventure game where i can go through the rooms and have made a start trying to implement a inventory, i can type things in and store them in a text file, but i want to be able to find an object in a room …

Member Avatar for Moschops
0
2K

The End.