199,114 Archived Topics
Remove Filter ![]() | |
Hello everyone, I've been having a problem parsing through a .bin file. Ideally, I want the script to read the .bin file, find the first word in it, write down word 1 somewhere else, and continue on throughout the file, word by word. I've tried similar things such as open … | |
I'm having a lot of trouble finding enough RAM for a program I'm writing on Vista 64 Ultimate system, even though the system has 8GB RAM and only 2GB is used. I tried to see how many 10 million byte blocks I could allocate using malloc(), and the compiled program … | |
I have declare a array variable in module, i need to access this variable to ToolStripMenuItem_Click Event. but i can't, when type that variable it shows "Class 'System.Windows.Forms.ToolStripMenuItem' cannot be indexed because it has no default property" Please anyone help me | |
Hello In many OOP languages "this"(or something similar) is used to point to current object. But i think its an object by itself. Here is what i found" polymorphic object which can point in different times to different object`s types" I like to get some more information about this maybe … | |
Hey all, I had posted this issue previously regarding my Ajax site navigation module not loading correctly. It would load on certain parts of the site and not others. After some research I have discovered that I need to redirect from "www.mydomain.com" and make a call to "mydomain.com" instead. I … | |
I want to get the contents of a particular file on a the web server, and then echo the contents into a text box on a web page. What should I use. I was thinking file_get_contents would probably be the best bet. | |
I need a comments box where users can use a name textbox to input their name and a comments textbox where they can input what they thought about the site or something they need and then a fixed area of text being displayed on the site. An example (Request Layouts): … | |
How can I send a string from php page to c# windows form using socket? Can you give me some example? | |
Help, am a c++ student who is completely stuck. I know that there are some stupid errors in this, I've been working all day on this and I still can't find them. I'm supposed to create a class, copy constructor, and than create an instance in main and then create … | |
I have a slight homework problem that is giving me some trouble. We have to write the algorithm for subtraction using different bases as a possibility in a program that uses calculator registers. The following is the provided prototype: bool subtractRegisters( int registerX[], int registerY[], int registerZ[], int base ); … | |
Please help me, i tried to pass information from detailed view and to another detailed view in another page. I put this code in the first page [code=asp.net] protected void ViewRemuneration_Click(object sender, EventArgs e) { //Button ViewRemuneration = (Button)sender; //string sendID = ViewRemuneration.ID; Response.Redirect("Remuneration.aspx?employeeId=" + DetailsView1.SelectedValue); } [/code] and to … | |
Hi , I am using codeigniter for my project.On admin side i am using spaw editor to add content.On user side i have used a code so that for large content to have read more and close link.For normal text no problem what so ever.But suppose in a content we … | |
Currently I'm creating application to work with PDF documents, just for challenge. I want to know if there is better solution to my idea of possible approach. I broke down application GUI to four main components toolbar with image icons, jpanel for thumbnail preview, jpanel for single page view and … | |
I have a form which allows for the user to pick ZERO or MANY items. I was hoping when I SUBMIT the form, all the values would update in the field. Here is the form code: [code=html]<tr> <td><div align="right">Instruments:</div></td> <td width="116" align="center" valign="middle"> <div align="left"> <select name="Instrument" size="5" multiple="multiple" id="Instrument"> … | |
Newbie post. Please be kind. I am having terrible trouble creating a Audio VU meter user control in VB (Visual Studio 2008), and hoped somebody might be able to help. I need the simplest type of display - just a label on a user control where the width of the … | |
Hi there I have programming background, but I am very much new to the world of PHP. Can anybody tell Which software(s) I should use to write and compile code in PHP. Give me some basic knowledge to start practically with PHP. | |
[COLOR="Red"]The program is given at the bottom[/COLOR] To compile java programs in the command prompt I use the following command: C:\jtemp\MyPack>javac AccountBalance.java -d . Only then are the classes compiled and I am able to run the main() function. When I execute the above command a folder "MyPack" is created … | |
Hi there! With reference to the annoyance of this problem, I've spent some time searching the web as well as on here however, with few ways to extract useful threads from those less useful when typing 'RegSetValueEx int' or the like, posting was a final solution. Apologies if this type … | |
Can anyone give me a qick review about Python Why its good ? Why its not ? What is the most suitable type of project for it ?? (application) And so one Thanks for your help | |
Hello everyone, My file has text like: gnl|dbSNP|rs13484118 gi|62750812|ref|NC_005111.2|NC_005111 95 20 1 0 68 87 31017559 31017578 4.4 32.3 gnl|dbSNP|rs13484118 gi|62750812|ref|NC_005111.2|NC_005111 91.67 24 2 0 63 86 35247737 35247714 4.4 32.3 gnl|dbSNP|rs13484118 gi|62750812|ref|NC_005111.2|NC_005111 91.67 24 2 0 64 87 40549054 40549031 4.4 32.3 gnl|dbSNP|rs13484118 gi|62750812|ref|NC_005111.2|NC_005111 92 24 2 0 63 … | |
Hey all, Got a tricky little problem here: I wrote a bookmarklet and a php script to email the current url of the page I am on to myself. The bookmarklet looks like this: [code]javascript: var url = window.location.href; var user = 'myemail@email.com';window.open(myserver.com/mailurl.php?url=" + url + "&user="+ user);[/code] The php … | |
can anypone explain me string builder and string with good example ? | |
![]() | what do i need to know/use to authenticate users on my login page based upon their gmail/yahoo/hotmail/msn etc. username and password. i.e if they have a valid gmail username and password, they can acess my site..... |
[code=c#] using System; using System.Collections.Generic; using System.Text; namespace selectionsort { class List { public int[] arr = new int[10]; public int[] arr1 = new int[10]; public int n,h1; public void read() { Console.WriteLine("array size should be less than or equal to 10"); Console.Write("enter the array size "); n = Convert.ToInt32(Console.ReadLine()); … | |
Hi, i have one doubt regarding datagridview in windows. i can take one column named "Description". I enter rows more than one for that column. but i want set the size of the column,here my requirement is 500 size for that column. pls help me, how to set the column … | |
how can I use a loop to sum random numbers together? it needs to be able to sum any amount of numbers determined by the user. I can generate the random numbers but adding them is a different story. I tried to make an inner loop (if that makes sense) … | |
Hi all, I am creating a Library Management System. I have used the timestamp to calculate the Date Difference and with the help of date difference I am calculating the Fine also. Now this date difference includes all days in a week. But for a library application fine should be … | |
I often hear the saying that iostream is inefficient in terms of performance, and it is better to use printf family if type-safe is not concern. But as far as I know, the static type checking (is this thing people call the 'type-safe' do?) is done in the compilation, and … | |
Here is a code [CODE] #include<stdio.h> int main(void) { int a; a=f(10,3.14); printf("%d",a); } int f(int aa,float bb) { return (aa+bb); } [/CODE] If I run the code it produces garbage value, but if I declare the prototype of the function before main it produces the correct output as 13. … | |
Hello, I happen to be a novice in the realm of C++, and I'm currently confused due to this error when trying to run my application: "Assertion Failed. Expression 'stream != NULL' ". I've looked it up, and nothing that comes up can answer why it gives me said error. … | |
Has anyone tried to write [URL="http://support.microsoft.com/kb/307398"]this tutorial [/URL]using VC++ 2008 Express? The article claims to be written with VC++ 2005. But I thought 2005 and 2008 used compatible versions of CLR language. I'm getting all kinds of compiler errors -- for example [icode]String* str;[/icode] instead of using [icode]String^ str;[/icode] and … | |
I have been trying to build a Java program to prompt the user to enter the radius of a circle and the diameter, circumference, and area will be output through a "System.out.printf" statement. I can get the program to prompt for the radius and it will display the diameter, but … | |
What is the lifetime of session variables in a asp.net application.. Also can someone give me any links to good articles on session variables in asp.net which give information on advantages and disadvantages of using the same. | |
I need to show a message as a label whenever user selecct To year less than from year. I have created a label "lblYrChk" --doesn't work . what i am doing wrong. Pl. help. [code=asp.net] <asp:ObjectDataSource ID="Srcfmyr" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="HITS.App_code.stateTableAdapters.SOURCE_YEAR_VWTableAdapter"> <SelectParameters> <asp:ControlParameter ControlID="RBl1" Name="myType" PropertyName="SelectedValue" Type="String" DefaultValue="G" /> </SelectParameters> … | |
Good morning I would like to learn C# and SQL for my project that I am doing for my Degree, I am a beginner, Any help wil be appreciated. | |
Dear Sir, I have got a serious problem to understanding of the answer. The question is: Create the first half of a game of rock, paper, scissors. Ask the user for R,P or S. Get the computer to generate 0,1 or 2. Now convert the computer's number to R, P … | |
Hello In my asp page I successfully extracted records from my database. The records are written in Hebrew. I used <% @ codepage=65001 %> and <% Response.Charset= "utf-8" and the display worked ok inside HTML. Inside my asp code i joined all the values to one string using "x = … | |
irealy dont know how to sort my liked list . i should sort it by friends and by name . please try to help me...... i dont know even how to start. here is my structs : [code] typedef struct Person { int id; char* name; struct PersonList* friends; } … | |
Can we compare Data Reports and Crystal reports ? Which one is better ? | |
There is this text file with around 80,000 words, all in lower case, in alphabetical order. How do I read these words into associated arrays? I mean, words starting with 'a' go into $words['a'], those with 'b' into $words['b'] and so on.. The array should become something like [I]$words['a'][0], $words['a'][1], … | |
I'm stumped right now, I cannot figure out how to code something to get information from another form. This is what I'm trying to do: [code=VB] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "01" Then 'TextBox1 is in form 2. PictureBox1.Image = … | |
[CODE]$dgs = new IO::Socket::INET(LocalPort => $lisport, Proto => 'udp') or die "Socket: $!\n";[/CODE] I have a perl script that I want to run on tomato firmware router using the current shell scripting that it supports How would I do the above in shell? In perl you have to use IO:Socket. | |
On [URL="http://www.oxonacf.org.uk/test.aspx"]this test page[/URL] I intend that if you press the Enter key with focus in TextBox1, Button1_Click will fire, whereas in TextBox2, Button2_Click will fire. This is not working in IE8 or FF3.5. Any ideas? [code]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … | |
Hi all, There is a (I assume) simple query i cannot figure out (in a best practice way). Let's say I have three tables: [LIST] Users[/LIST] [LIST] AOI (Areas of Interest) [/LIST] [List]Users_AOI (Simply containing userId and AOIId for all interests for each user)[/List] So far so good. Now I … | |
Hi all, it's my first time in this forum, I hope you can help. I've searched the web for a long time, couldn't find help, yet. I have a listview that displays a list of PDF files. When the user clicks on a row (in the "selectedIndexChanged" event), I display … | |
So I'd like to get rid of the insecure warning I get in IE6-8 whenever I'm on an HTTPS page like this one: [url]https://checkout.netsuite.com/s.nl/c.659197/n.2/sc.37/.f?login=T&reset=T[/url] I can't tell what's not loading, but I'm assuming the two errors I got in Companion.JS v0.5 in IE7 are clues: 1) 'jQuery' is undefined (line … | |
I'm having a dumb moment here... I am trying to search out strings and match user input with what's stored in database. I'm using [code]if($data =~ $user_input){then do something;}[/code] It's important to note that all the "$data" strings are all numbers. So for example, user puts in "1" and it … ![]() | |
Dear mates, I am am frustrated and bored to learn how to get or calculate coordinates data for Java Graphic API. for ex the GeneralPath 's function curveTo() takes 6 parameters namely x1,y2,x2,y2,x3,y3.I put some random coordinates data into these function and got a crap drawing. :( I want to … | |
Helo everyone, Image a website on server 'A' using windows authentication. A user 'Bart' has access to the website and also full access (read, write, delete, execute) on a folder located on server 'B' (\\B\data for example). Will Bart be able to upload files to that folder thru the website … | |
I am having a problem on how to count numbers inside text area. . . example: In my text area I have 10 numbers. 12, 06, 31, 22, 53, 28, 96, 71, 10, 47 the the program should count how many 0,1,2,3,4....9 excluding the comma. I don't know how to … |
The End.