199,114 Archived Topics
Remove Filter ![]() | |
hi ! i have made some code for a checkboxlist the items if are selected or not,and then to put them in my database.but im having a problem.even if i select my items they always apears unselected . [code] Dim ckbox As ListItem For Each ckbox In chbl.Items If ckbox.Selected … | |
| |
Hello : How can I by programming, change the encoding of the text file,, I want to open a text file but I couldn't because it's encode in ANSI I want to change it to another encoding type??? Thanks | |
![]() | Hey guys, I have some trouble understanding global variables, threading, and functions... Code: [CODE] import threading a=1 class myThread(threading.Thread): def run(self): global a print(a) a+=1 t=input("Specify the number of threads: ") for b in range(t): myThread().start() raw_input() [/CODE] [I][B]#1 doubt:[/B][/I] [CODE] class myThread(threading.Thread): def run(self): global a print(a) a+=1 [/CODE] … |
Hi, I am working with payment system for that i want to implement Credit card read system. I am using Magtek Intellistripe-65 (Magnetic Stripe Card) Card. I have write code for Opening Port & it is working. I am not able to open or access device. Please help me. I … | |
I m creating columns at runtime,I want to know how add delete & edit buttons in each row & to create them at runtime..Foll code create columns at runtime - [code] protected void Page_Load(object sender, EventArgs e) { try { if (!IsPostBack) { DataTable dt = new DataTable(); dt.Columns.Add("SNo"); dt.Columns.Add("First … | |
hi How to Upload PDF, Zip, etc into a MS SQL Server Varbinary(max) then how do I get it back out un corrupt? I have some code which works for jpeg, doc, xls files. However if I upload Zip, mpeg or PDF it does not work. It looks like the … | |
hi...I've tried to think about this for 2 days but I can't really find the solution. Hope anyone can help. What statement should I write for this:There is a table of Parcel. In the table there are ParcellId and the timestamp. I have to select parcels that have the time … | |
hi again!:) when i use urllib.urlretreive(somthing,local_somthing) it crushs cpu,comp. what can i do? sorrry for my english that is code: [code] class UPDATE(wx.Frame): def __init__(self): pass def Download(self): wx.Frame.__init__(self,None,-1,"Downloading",(0,0),wx.Size(500,500)) panel=wx.Panel(self,-1) self.gauge = wx.Gauge(panel, 57, 100,(100,100), size=(250, 25)) wx.StaticText(panel,-1,"downloading please wait..",pos=(0,0)) self.Show() self.geturl("http://vpython.org/contents/download/VPython-Win-Py2.5-5.11.exe","hoho") def _reporthook(self,numblocks, blocksize, filesize, url=None): #print "reporthook(%s, %s, … | |
i have integrated subtext blogs in my project.. every thing works fine... When ever i post multiple blogs with different users, editposts.aspx and other blog pages works fine.. But whenever i click one users blog homepage link from editposts.aspx it shows the following error [B]The resource cannot be found.. Description:HTTP … | |
Hey, I have read windows API tutorial now but I am wondering how I can add things to main window itself, I know how to add things to dialogs and such but I just wonder how to add to main window, For example add button to main window? Sorry this … | |
I am trying to populate another combobox based on the text selected in the first combo box...however , the event protected void ddlcity_SelectedIndexChanged(object sender, EventArgs e) is not firing ? here is my code snippet : [CODE] protected void ddlcity_SelectedIndexChanged(object sender, EventArgs e) { SqlDataReader dr1 = null; SqlCommand command … | |
hi i got problem in ma program. in my pro i got main window when i click on "Maze 1" button it create maze. it worked fine. when maze is created i slove maze. then i close to return main window. now when i hit the "maze 1" button it … | |
Hey, I'm having a problem with one of my newest programs. When you run it, it stores a .txt file with nothing in it just so that it can tell if you've run the program or not. If you've never run the program, the .txt file won't be there, so … | |
Hi guys am new on VB6 and would like your urgent help, i have created my POS half way and have created a form for sales, now what i want is when i enter an item code all the other information related to the item diplays at the respective text … | |
I have a worker thread, and when the worker is done I want it to show a popup dialog. The sample application below demonstrates this. There are two buttons: a "Show dialog" button which immediately displays a dialog, and a "Do work" button which launches a worker thread. The worker … | |
I am working on STL(map) in shared memory. How can it be implemented. I am successsful in creating the two process process1 : writing a text to the sahred memory process2 : reading the same text from shared memory. But now i am planning to implement the shared memory for … | |
I am using dataenvironment for generating datareport using the following code Unload DataEnvironment1 DataEnvironment1.Connection1 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\htm.mdb;Persist Security Info=False;Jet OLEDB:Database Password=pushhtm" DataEnvironment1.Command1 Trim(op) datareport1.Show it is working well. I am using a form to input a record and use a print button with above code to … | |
i have 3 tables Category, CityMaster and Data Next, i Have 2 comboboxes For City and Category. In my Category Table i have Two columns Category and Category ID which is unique for each Category. In my CityMaster table i have 2 columns CityName and CityID wherein each CityName has … | |
i delete a row of data from this [code] ........ <a href="delete.php?id=<? echo $rows['id']; ?>">delete</a> [/code] delete.php [code] <html> <body> <?php include 'recipe2db.php'; // get value of id that sent from address bar $id=$_POST['id']; // Delete data in mysql from row that has this id $sql="delete from recipe where `id` … | |
hi...... i m making a window application in which i want to divide my form into 3 panels(left,right, and top) in left panel i have tree view(with some nodes n childs), in top panel i have some pics now i want that when i click on tree view node, so … | |
hi freinds in my form i have a datagridview and dataGridView1_CellDoubleClick events and dataGridView1_CellEnter event i want when i click in rowsheader do something for me but at first dataGridView1_CellEnter event run what should i do? | |
Hi all, i ve a function which is responsible for some validations, disabling and enabling of some text boxes and a group of radio buttons .... now i want to generate the function name to be called from another function using a for loop and then appending the for loop … | |
Hi, I need to compare MySQL, MS SQL 2008 and Oracle. Do you know of any link where this comparison takes place? I found a few comparign MySQL and MS SQL 2000 but not with MS SQL 2008 and Oracle too. Can you please help? Thanks Josh | |
Hi All! I have this Button_Click event. I want it to create as many set of the specified below controls as User clicks. For example: If the user clicks one the button then only 1 line set of these controls will appear on the PlaceHolder but if the user clicks … | |
Sup guys? i need help finding tuts and articles on using Jet for manipulating a MS Access database file in VB2008. Everywhere i look, i only see stuff about using SQL server. I just want to code a program to manipulate MS Access Database files. I found 1 link, it … | |
Hi all Can anybody help me with this. I want to access cfdocument.currentpagenumber outside the cfdocumentitem tag. I tried the following ways : 1) [code=coldfusion]<cfdocument format="pdf" orientation="landscape" unit="cm" margintop="4.0" marginbottom="2.0" marginleft="2.2" marginright="2.2" scale=99 filename="c:\test.pdf" overwrite="yes"> <cfoutput> <cfdocumentsection> <cfdocumentitem type="header"> <cfset Page = cfdocument.currentpagenumber> </cfdocumentitem> <cfdocumentitem type="footer" > FOOTER !!!! </cfdocumentitem> … | |
I'm trying to figure out how to attach a class with pure virtual <</>> operators to other classes for the purpose of saving/loading the application state. So I started off with: [CODE]class IWriteable { public: IWriteable(): pCls(NULL) {} IWriteable(void *p): pCls(p) {} virtual ostream& operator << (const void * &p) … | |
add.php [code] <?php include 'recipe2db.php' ?> <div align="left"><img src="Cookie Banner edited.jpg" width="1100" height="200" /> <form name="form7" method="post" action="add_process.php"> </p> <p> </p> <table align="center" border="3" cellpadding="2" cellspacing="2"> <tr> <td>catagory :</td> <td> <?php include 'recipe2db.php'; $query="SELECT id_category, category_name FROM category"; $result = mysql_query ($query); echo "<select name=category value=''></option>"; // printing the list box … | |
Hi, I'm trying to include a Intellisense in my Rich Text Box, but i'm having problems. I'm trying to implement the one from: [url]http://www.codeproject.com/KB/cs/diy-intellisense.aspx[/url] Can someone please point me to a much more simpler open source intellisense for C#, importing methods from a DLL file? - Thanks! | |
Well as the title ... example: [code] string ss="this is an encrytpion program"; unsigned char temp[32]; //={0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09,0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f}; temp=ss //that's what i need ! [/code] Have converted the string to it's hex representation .. [code] char string1[64]="yeah … | |
Hi I want to show a crystal report in my windows application.In my Access DataBase I have a column called Payment type and its type is number.(ie data in that column is stored as 0 or 1).If payment type is 0 I want to show it as a string called … | |
Good day! I am having problem inserting records to sql server. I have ten records to be inserted in database that is stored in an arrays(). When it reach to a value that has a quote or double quotes in returns error. Please help. What will be the best solution … | |
hi, im building an app where im tryin to upload an image to my database through file upload dialog box. my problem is, when i select a file thru the Fileupload dialog and save the path to a string variable n try to save it, the app takes the connectionstring … | |
Hi frnds... from last 3 days i am struggling on same errors...i tried my level best..still i cant get it....this is my code... [CODE] $bottomline=stripslashes($_POST['bottomline']); or if(!file_exists($dir)) mkdir($dir)or die("Filename all ready exits"); [/CODE] when i inserting the data into table or creating directory i am getting error... [CODE]You have an … | |
i am a beginning student in java programming and I have to make an inventory application. I was able to compile my class but I cant get the sub class to compile and execute. can someone tell what to do. public class Cars1 { private String productName; private String itemNumber; … | |
Hi everyone, I have a bunch of radio button with same group/name so only one selected from them which is required, i want selected value on my .cs page but i am unable to do this, please help me. [code=html]<table> <tr> <td class="FourtyOfTr">Self Plan Only</td> <td class="TwelveOfTr"> <input ID="Radio1" type="radio" … | |
I am trying to create a retirement calculator. I have finished my design and coded my calculate button. Now I am trying to use the validating event procedue to ensure that data entered into the text boxes is numeric. Here is what I have, the program builds successfully however when … | |
I'm making a program that was created to send text as you set it at a certain delay with a stop and start button etc. I finished my GUI first, then went on to creating the controls and functionality portion of the program, and I've come to a halt. Theres … | |
Hi , In my application, there is a view page to show the table of Attributes name as the header and its value filled by many people below. Like Name Age salary a 22 18912 b 23 89972 c 23 781273 i want it like above .. But i am … | |
Hi all. Is there any collection object that will let me create a list of items which I could call by name, instead of by number? so instead of soing this: [code=c#] //Create List List<ClassType> list = new List<ClassType>(); //Assign values to list list.add(new ClassType(params, [params, [params]])); //Call list items … | |
Hi How can I check whether a listview has text in a particular row?Is there a method like if(istviewname.Items[row no].Text ==" ") {code} else if(istviewname.Items[row no].Text !=" ") { code} Can anyone help me? Thanx | |
Well I am a PHP fan, (HAIL OPENSOURCE) Its just so happen I will have a ASP.NET PROJECT, In short I need to run MS VISUAL STUDIO and MS SQL SERVER in my machine together with XAMPP. I just want to confirm first If I will have a problem installing … | |
Hello, I got the following code: [code] #include <iostream> #include <cstdlib> #include <ctime> using namespace std ; // Function Prototypes void pause(void); /** defines an abstract class */ class Jukebox { public: virtual void play() { cout << "Record unknown\n" ; } } ; /** defining subclasses */ class NewAge: … | |
Hi, Currently have a working solution in displaying data from the database to listview through specific dates selected, however the problem lies with it sometimes selecting the right data for the dates and sometimes it doesn't. Just would like someone to check whether the code i have is correct or … | |
hi to all genius, i am making invoice form in vb6, i have to make grid like view so that user can add item details in row just by clicking on it and new Grid is open to select record from it. hope u r understanding.. example: this is the … | |
Hi everyone, I have a database that looks something like this: [CODE] [B]Name Week1 Week2 Week3[/B] user1 10 15 7 user2 3 24 2 [/CODE] I need to write an sql select statement that returns 2 columns: the Name column and a Total column which totals that users points for … | |
I have been using just SDL for alot, but it really olny does 2d things well. So I started learning OpenGL from the tutorials at [url]http://anomtech.uuuq.com/[/url] I was fine using Dev-C++ until the textures tutoiral, where the program would immedently crash as soon as I compiled/started it. So the maker … | |
well this a parallel array and also be able to process the arrays but it doesn't do so can some one give me a hint of what i might be doing wrong. Thank you before hand. ------------------------------------------------------------------------- [code=cplusplus] #include <iostream> #include <new> using namespace std; int main () { int … | |
Hi all. I'm writing a little program that paints and animates its own form in response to the user's mouse gestures. The weird thing is: Whenever the [B]BDS Delphi 2006 is running[/B] and I run my application, I get a framerate of about 25 FPS. If I terminate BDS but … |
The End.