8,298 Topics
![]() | |
I know how to access Server Side Session variable at client side(JS)..But i want to know how to Set Sessin varable at Clinet side(JS) & access its value at Server side..If somebody knows help me out!!! | |
I'm working with Network stream and building a small telnet server, I have two questions: 1) How to implement a backspace, when connected via telnet when it backspaces it doesn't delete the character but just moves the cursor back and overwrites it when you type another character. I've noticed that … | |
Hey Guys I'm kind of a newbie to C#. Now the syntax and the like don't bother me because I love java, so the actual programming is no problem. However, I'm trying to do something I can't figure out. I want to write a module in Visual C# (Visual Studio … | |
Is there any way to copy an entire Visual C# solution in such a way that it works? If you just copy it and rename it, it gives an error message that it's been renamed and therefore it refuses to work. | |
I'm building a telnet server and I need a type of arraylist. I need this arraylist to contain an index 0 - 100 thats how many connections I allow at once, and an Ip address so when I refer to index 0 it will give me the ipaddress. I'm new … | |
i couldnt find the server explorer, where is it, i need to connect to sql express database. | |
I am currently having problems updating a public data member that is a vector of pointers. I have a class called node, that has a public data member called list. list is [icode]std::vector< node<T>*>[/icode] and should contain pointers to other [icode]node<T>[/icode] objects. I am trying to overload the assignment operator, … | |
hei, i want to make sure the user enters an email address in the correct format. eg:it shud contain a "@" , period "." and after period it shud make sure there is only 3 characters.. some one told me thet this could be done using regular expressions ..but i … | |
Ok, so im having trouble with this program and dunno where to start, or end. if anyone is bored and can help out would be great. 1. The regular rate for a call is $0.10 per minute 2. Any call started at or after 6:00pm (1800 hours) but before 8:00 … | |
Hi all, Suppose, I have the following classes B, D1 and D2 as defined below. Also, I have function test which have only pointer to the base class and say key which will tell D1 or D2 to create. void test(B *b, const std::string &key) { ... } I would … | |
I have a task witch need to be done by Dijkstra’s algorithm, but I didn’t have opportunity to learn it. Anybody knows any a good online tutorial in this subject | |
hi, i have a table with customer information(name, date of birth etc) i have created a windows form in c# and binded it with the database. the thing i want is retrieve the DOB from database and calculate the customers current age n display in a label in the form;; … | |
Hi , I'm bit confused, what to use as a base langauage for ASP.net, which one is better and easy to code. Please !! help me out... Regards, Shikeb Ali. | |
I am working on finished up a program using stacks. I am getting some funky errors when I attempt to rebuild&compile, so I am certain something in the code is not right. [B]Program Objective[/B]: Just to brief, I am using main and a .h file with classes. I am supposed … | |
Hi all. Is there any way to extend maximum timer count value above 0x7fffffff i.e. 24.8 days? [code] #include<windows.h> #include<stdio.h> VOID CALLBACK TimerProc( HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime ); void main() { UINT time MSG msg; ::SetTimer(NULL,0,time,TimerProc); GetMessage(&msg,NULL,0,0); } VOID CALLBACK TimerProc( HWND hwnd, UINT uMsg, UINT_PTR … | |
I have the following C++ code: [code=syntax] void f(int* x) {...} void f(char* x) {...} int main() { ... f(0); ... } [/code] I understand that this has a problem interpreting which function to call. I also think I can get rid of this problem by giving it two different … | |
![]() | Hello, my name is Dallas. I'm (obviously) new to the site. I've spent the past couple of days doing absolutely nothing but trying to work on this program. I usually don't like trying to get help, but I've spent so much time on it by myself that I have no … |
So I'm working on a program "Master Directory Control", it gets all the information about all files in a directory (name, location, size, exists, etc.) and puts them into ListBoxes. That all works fine. There's a feature where you right click on selected file in the Name ListBox, and you … | |
Hi, :) Dear Friends i want to run the Windows Calculator when i click on the Particular button in my C# application anybody please tell me that how can i do this... :?: | |
Hi, My Dear Friends, i have created a database and connect it with the C#, now i want to view the Print Preview the reports from the Database and show the preview in the C#, (when i click the perticular button) Now please help me to print and view the … | |
This program needs to create, sort, and search a novel array. Each novel in the collection will have the following attributes: Title Author Publishing Year Number of Pages The novels I will be sorting are in a file called data.txt I need to use bubble sort to sort the array … | |
I have the function AddToText which is located in the Form1 Partial Class [code] public void AddToText(string text) { this.txtStatus.Text = this.txtStatus.Text + "\r\n"; } [/code] I want to call this from a different class so I do: [code] Form1 frm = new Form1(); frm.AddToText("Test"); [/code] I click a button … | |
Hi guys, I have a question regarding C++ classes and polymorphism. I understand the concept of pointers and that polymorphism with respect to operators(+, -, etc...) means that the operators can have different meanings based on "context" (how they are used). My question is regarding class pointers. For example, if … | |
hello, i want to guide dates from Excel to use in C# Form . can you tell me how to do ? or, i should look which books ? thank you | |
I have made a game on c++. Can any one help me to improve it (by adding graphics) and making code short. [code] #include <iostream.h> #include <conio.h> #include <time.h> #include <dos.h> void main() { clrscr(); int i,a=21,b=0, c[5]={0,4,3,2,1},z; char x=15; cout<<"\n\n\n\n\n\t\t\t\t\t\t\tWelcome"; cout<<"\n\n\nRules:\n\n"; sleep(1); cout<<"1. There are 21 match sticks between … | |
Hello, I'm writing a simple C# connectionless UDP application that communicates with a C++ connectionless UDP app. I could send from the C# to C++ using the following sets of functions fine: Send from C# to C++ C#: SendTo() C++: recvfrom() However, I'm having trouble receiving the C++ UDP messages … | |
Hi , is it possible to transform the following code to math [code=cplusplus] int F( int n ) { int r=0; int mid=n/2; for( int i=0 ; i<n ; i++) { if( i<mid) r+=1 ; if( i==mid) r*=2 ; if( i>mid) r=pow(r,3) ; } return r ; } [/code] and … | |
I just started studying structured programming and I was trying to do a If Else then function but the compiler won't let me compile it? #include <iostream> using namespace std; int main (void) { int age; cout << "Enter your age" << end1; cin >> age; if(age > 21) { … | |
I need an xml and HTML based search engine that I can use in my .net application(offline). Help Me ????? | |
Hiii I am developing one window application in c# and .net with sql server 2005 as database. now, i have Four questions: 1] I have one dropdownlist in form and i want to fetch the content/data of table category in to this dropdownlist and when I run this form on … | |
[B]I am new to this coding world. Recently I have started with Turbo C/C++. What next should I go for c# or java? Are their any online tutorials available through which I can start by myself?[/B] | |
I am creating a website using ASP.net with C# 2005 as the language. In my ASP.net page, I have displayed a GridView. I have dynamically populated the GridView during runtime using Dataset and SQLDataAdapter. Since the GridView displays ALL columns at a fixed width, it does not look pretty to … | |
Iam trying to call a C# DotNet 2003 webservice from Visual C++ 6 app (used win32 console, mfc, atl_mfc dll) using Soap toolkit 3. The webservice takes a String input parameter and returns a String. The input parameter I pass through C++ is always recieved as NULL in C# webservice … | |
How can I Lock(set password) to a folder using c#. Please help me Thanks in advance | |
Hi, does anyone knows how can I create POP3 server (not client) in C#. I'm not talking about downloading some commercial solution, but developing new one. Pete | |
Hi everybody i really need your help, this is my problem: I have a c++ dll that use MFC, i need to use it in a c# project I need to end with another dll that to use it in the c# project I just cant find solution all over … | |
Hi, i just need to know is there any method in MFC / C++ which will do the validation for the entered date. ie if the date 12/11/2008 is given as input it should return saying the date is valid.i hope there exsists some standard function. it should also check … | |
Hello, I have a problem where I need to delete any occurrence of "~" from a string. I created a function but in the end, it only deletes half of the "~" and leaves the other half.... [code=c++] string goodstring(string inp) { for (int i = 0; i < strlen(inp.c_str()); … | |
hi I'm new to C# and I didn't have any programming skills. I'm on my third week now and it seems it's quite complex I would like to design a code, where it can determine the word type in the sentence. So, first one must type a sentence and then … | |
If the stack top is maintained at the [B]end of the linked lis[/B]t, i.e. stack top is the last item, accessing the stack top would take a lot of time, since N items of the linked list need to be traversed before we can access the last item, This would … | |
Hi All, I have taken up this home project just for my pastime. My objective is to take a html file and then make a complete new webpage with a specific keyword. It basically is a find and replace type of method where my existing file contains a specific keyword … | |
I'm doing this minesweeper assignment and I need help. I tried to test the findMineValues() function and it completely scrambles up my board. Can someone help me pinpoint what I am doing wrong? [CODE=cpp] #include <string> #include "Cell.h" using namespace std; Cell::Cell(){ label = 0; mine = false; flag = … | |
I am not too sure about c++. I have this program so i can perform a test on it against java. It looks like [CODE]#include "stdafx.h" #include <iostream> #include <math.h> #include <sys/time.h> using namespace std; double generate(int max) { struct timeval start; struct timezone tz; gettimeofday(&start, &tz); bool *sieve = … | |
Hi, Im using 2 radio buttons for male and female as gender. So wat would be datatype for this variable in MS SQL Database. I tried a lot bt it troubled me some where a bit. Whenever im saving the radio button data in DB the problem i find is … | |
help needed..... i trying to write a c compiler in java but im a newbie in compiler design....... i know the phases of compiler is there any classes in java for implementing these phases?????? is there a source code for c compiler written in java?????----open source thanks in advance | |
Hello - I have a question about inheritance and polymorphism in C++. If one is making heavy use of inheritance and using a lot of pure virtual and plain virtual functions, are there any common practices for avoiding having the virtual functions staggered in confusing ways. By that I mean … | |
hi everyone..... how to create a c compiler using c language.... can anyone explain the steps involved..... thnx in advance | |
Hi, I am trying to pass parameters to my program, but I can't seam to get it to pass specific parameters. I want it like [icode]"C:\Age of Empires III Launcher.exe /x=agex.exe /y=agey.exe /z=age.exe"[/icode]. How would I go about doing that? I can't find a good tutorial on it. Thanks. |
The End.