|
Ok i think i missed this, what i want do is this:
Application A: User, Client, this app will be the one distributed & will ask App B for strings
Application B: The app that is contacted using the webpage url instead of an IP, Server, this app will create a connection to the App A & send back some strings.
Basically i just want to do strings communications using a webpage url to make the Apps to make a link & comunicate.
btw im not used to web/network apps, where do i start?
|
|
|
|
|
Fumudeir.Hack.Cota wrote: this app will create a connection to the App A
Your server connects to the clients? Normally the client connects to the server. Is there any particular reason for this?
|
|
|
|
|
*sniff sniif* :'( i think ill have to do a massive random search in google to get use to metwork apps lol, thx for the help btw
|
|
|
|
|
Hi
i've noticed that the Enable Property does'nt exsits in the datagridviewcell obj
so how can i disable it????
Thanks
Have Fun
Never forget it
|
|
|
|
|
what do you mean by disable? you can hide it so no one sees it.
|
|
|
|
|
DataGridViewCell is a ButtonCell and i'm looking for :
Obj.Enable = false
Have Fun
Never forget it
|
|
|
|
|
Take a look at this[^].
I didn't know the answer to this, I found it.
Do you know how I found it?
I damned well googled for it, it was the third item in the list. Just how lazy are you?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
|
hi all,
when i try to view any pages on a .NET website i just created, it gives me this error below:
Parser Error Message: Could not load type '_Default'.<br />
Source Error:<br />
<br />
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" >
What do i do, pleeeaase?
He who goes for revenge must first dig two graves.
|
|
|
|
|
Creamboy wrote: What do i do, pleeeaase?
Ask in the ASP.NET forum, perhaps?
|
|
|
|
|
Error 1 The type or namespace name 'ApplicationName' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Rajagurur\My Documents\Visual Studio 2008\Projects\LoginVaidation\LoginVaidation\Properties\AssemblyInfo.cs 18 12 LoginVaidation
wat can i do for this error? in component deployment
Thanks....
Regards....
R RajaGuru
|
|
|
|
|
Search on google [^]like first step.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
hi,
i already search in google... i can't got
R RajaGuru
|
|
|
|
|
Please show the code that is broken. We are not mind-readers.
|
|
|
|
|
Hi ,
I need sample link for digital clock for a windows application which is applied and set as per the system timing.If Somebody knows plz help me out.Thanks in advance.
Thanks and Regards
Ch.Gayatri
|
|
|
|
|
See the text box above? Yes... good. Now, type in the work clock. In the combo box to it's right, select Articles. Then click the Go button. WOW!
Always search CP articles before posting questions of this type.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Thanks for your awesome suggestion.....
Thanks and Regards
Ch.Gayatri
|
|
|
|
|
|
hey Ch.Gayatri Subudhi
just put a timer and label in ur windows form
name them as tmrTime and lblTime
in form's load event set
tmrTime.Interval=1000;
tmrTime.Enabled=true;
following is timer's tick event and here we update time in label
public void TmrTimeTick(object sender, EventArgs e)
{
lblTime.Text = DateAndTime.Now.ToLongTimeString();
}
akhilonly007@gmail.com
|
|
|
|
|
Thanks for your concern.My code is working nice now.
Inform1.cs:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace clock
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
getTime();
}
private void timer1_Tick(object sender, EventArgs e)
{
textBox1.Text = DateTime.Now.ToString("HH:mm:ss");
}
public string getTime()
{
string TimeInString = "";
int hour = DateTime.Now.Hour;
int min = DateTime.Now.Minute;
int sec = DateTime.Now.Second;
TimeInString = (hour < 10) ? "0" + hour.ToString() : hour.ToString();
TimeInString += ":" + ((min < 10) ? "0" + min.ToString() : min.ToString());
TimeInString += ":" + ((sec < 10) ? "0" + sec.ToString() : sec.ToString());
return TimeInString;
}
}
}
and
in design of form
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Timer timer1;
working fine
With Regards
Ch.Gayatri
|
|
|
|
|
I'm looking for a tool which can help me to generate specific barcodes like those enumerated in the subject.
I must be able to create this type of barcode, but despite my long googling I never found an open source library who allows me to generate this type of barcodes. I can't also have any source about the way used to generated this kind of barcodes (encoding).
Sorry for my poor english. I wish you will help to find a way...
Thanks.
|
|
|
|
|
Nobody can help me? Is it really too specific?
|
|
|
|
|
I have a collection of controls (many PictureBox es that display a source image) that the user can select.
He can select up to 25 at a time.
Now, I want the user to be able to select them like in Excel (without using the ctrl key).
So, when you hold the mouse button down, you can select up to 5 horizontally and up to 5 vertically.
When the user moves the mouse first down to select more PictureBox es below the first and the moves the mouse up to select more above the first, like in Excel he unselects the previously selected PictureBox es below the first and only select the ones above the first.
Horizontally the same should happen.
Preferrably the user should only be able to select a rectangle, i. e. when selecting 4 PictureBox es down, he shoud not be able to select only 3 PictureBox es in the second column and when he selects 5 PictureBox es down in the second column, the first column should also be extended to 5.
So far I have a Selection class that has a 2 dimensional array of Bitmap s at its core.
But I think this only really works if the user doesn't change selection as mentioned above.
I also check the location of the selected PictureBox es and set an up and left bool to true or false.
But I don't think this is sufficient.
Is there maybe an article about this somewhere?
Thanks a lot.
|
|
|
|
|
Hi,
IMO, assign a unique id or number to each picture box.
declare two variables namely StartPB, and CurrentPB.
in the mouse down event, get the id of the StartPB and in mouse_over event set the CurrentPB with the current id.
now just use general comparison to arrive at your logic....
say you have selcted the nth picture box
then a
b
c
g h i n j k l
d
e
f
you can easily create your required functionality by some simple mathematics with the selectPB and CurrentPB values......
Good Luck and leave a reply if you find some better solution.....
Have a Happy Coding.....
|
|
|
|
|
Hi all,
Can you please help me out or advice on how to solve the following problem.
I'm reading files line by line from a folder and I'm saving the file content into the database. Now, my problem is that some of the lines from the file are the same. I can read the first line and when I reach the other line that has the same name as that first line my 'line' variable becomes empty and nothing got saved in the database (for only those lines that are the same). I need to save all the content of the file into the database, even those lines that are the same (numbering and heading).
my file looks like this (taken some content of the file)
1. This Report Concerns :
an individual
2. Surname :
Nkwanyana
3. First Name :
Nonti
4. Other Initials :
Z
5. Identifying number :
7200506586321
6. Type of Identifier :
_ID Book
7. Country of Residence :
South Africa
1. Transaction was conducted by :
the person referred to in Part D
2. Surname :
Phungo
3. First Name :
Hendrica
4. Other Initials :
M
5. Identifying number :
8695421345789
6. Type of Identifier :
ID book
7. Is there a photograph or other image of the person available?
NO
my code looks like:
if (line != null && line.Contains("2. Surname :"))
{
line = reader.ReadLine();
Surname = line;
line = reader.ReadLine();
}
if (line != null && line.Contains("3. First Name :"))
{
line = reader.ReadLine();
FirstName = line;
line = reader.ReadLine();
}
if (line != null && line.Contains("4. Other Initials :"))
{
line = reader.ReadLine();
OtherInitials = line;
line = reader.ReadLine();
}
if (line != null && line.Contains("5. Identifying number :"))
{
line = reader.ReadLine();
IdentifyingNumber = line;
line = reader.ReadLine();
}
if (line != null && line.Contains("6. Type of Identifier :"))
{
line = reader.ReadLine();
TypeOfIdentifier = line;
line = reader.ReadLine();
}
if (line != null && line.Contains("7. Country of Residence :"))
{
line = reader.ReadLine();
CountryOfResidence = line;
line = reader.ReadLine();
}
if (line != null && line.Contains("2. Surname :"))
{
line = reader.ReadLine();
SecSurname = line;
line = reader.ReadLine();
}
if (line != null && line.Contains("3. First Name :"))
{
line = reader.ReadLine();
SecFirstName = line;
line = reader.ReadLine();
}
if (line != null && line.Contains("4. Other Initials :"))
{
line = reader.ReadLine();
SecOtherInitials = line;
line = reader.ReadLine();
}
if (line != null && line.Contains("5. Identifying number :"))
{
line = reader.ReadLine();
SecIdentifyingNumber = line;
line = reader.ReadLine();
}
if (line != null && line.Contains("6. Type of Identifier :"))
{
line = reader.ReadLine();
SecTypeOfIdentifier = line;
line = reader.ReadLine();
}
Will really appreciate your help.
Thanks.
|
|
|
|