|
hi
i wrote a chat aplication . it works for cliens that use diffrent internet account , because they have two diffrent IPAddress in that way.
but my problem is when clients use a share internet (for example they are in cafenet or catenet) my aplication couldn't RECOGNIZE the true client ,
because it found sevral clients with same IPAddress . could you help me how i can get real IPAddress of each clients? thank you .
|
|
|
|
|
Is your chat application installed in client's machine? If yes, I think it's possible to get the real IP Address.. but if your application is web application, I don't think it's possible..
|
|
|
|
|
No ,the server of chat install and run in server of one website , and client just have the exe of client chat
|
|
|
|
|
Hi All
I Create new activex control by using C#.Net
the new activex control is New textBox By Name SmartTextBox
i add to this control new properites as Type(int,Decimal,String....).
and i wount to add new proper to this control the proper is language as a combobox have 2 items or mor as Arabic ,English .....
but i dont know how i can add this items to combo bx as a propertes
the ConboBox Is the same as the proper for the TextBox .Net
(ComboBox)AlimgentText (Left ,Center, Right)
(I wount to add language as proper have (Arabic,English......))????.
Who I Can Do This Option ?
Thanks For any body hellp me
Thaer
|
|
|
|
|
i need to record and reply the action on a browser.
could any one help me .in addition i want to get the control ids from the html page.
with regards
Balagurunathan.B
|
|
|
|
|
balakpn wrote: i need to record and reply the action on a browse
You mean, like macro recording?? if yes, there is one firefox addon that can record the user inputs..
|
|
|
|
|
not simple macro like . i want to do like how a testing tool does.
with regards
Balagurunathan.B
|
|
|
|
|
Hi all Friends how i can Show the Record Like this
1
2
3
4
5
6
7
8
//////////////////////////////
i want to show the Record in this manner
1 2 3 4
5 6 7 8
How i can do this plz any body tell me
wasim khan
|
|
|
|
|
Hai i have a doubt were can i draw 2D lines rather than bitmap and window form,can any one suggest me the better way to draw and save them
|
|
|
|
|
The best way, is just to draw to a new Bitmap / Image, and then use its save method. And there's only 2 places you can draw: The Screen, and an offscreen image.
My current favourite word is: Bauble!
-SK Genius
|
|
|
|
|
If you want to conserve space you could create a vector file.
That is a file that saves the coordinates of the line (start point, end point, line thickness, line colour, anti-aliasing etc) and then just read the file each time you need to a draw the line(s) according to the vectors in the file.
Regards
Guy
You always pass failure on the way to success.
|
|
|
|
|
hi,
My aim is to deploy a c#.net desktop application
I know two ways to make a setup
1. creating a setup project
2. Simply publishing it
now in my project i am using a DLL .i want to make a setup of this project by the Way 1.. when i tried with publish it woked ..i dont have any idea how to do it by using a setup project ...
***In simple words how can we add dll file to the GAC of the Client System using a msi **
Plz Plz ....do let me know
Sindhu tiwari
Merry Xmas
|
|
|
|
|
|
thank u for replying ..
i have searched on google b4 also as i dint find the solution i posted this question .......i want to know how to deploy a dll in the clients system and regestering it to GAC .....?
i know deploying
this thing is working fine wid the publishing but not wid the setup and deployment
regards
sindhu tiwari
its me sid
|
|
|
|
|
Actually, there are two deployment options in VS. You can create either ClickOnce setup or normal setup... If you are using ClickOnce, you won't be able to registry the dlls to client's GAC..As you were saying about publishing things, I think you are using Clickonce that isn't possible to install dll to GAC..
|
|
|
|
|
|
Ummm,, with code behind when you add data to the datagridview. Can't really give an example since we have no idea what your database structure looks like.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
I am looking for an help in the best way to accomplish a sync between two dataset of the same type. Meaning I have a LOCAL and REMOTE version of the database and I'm needing to sync them nightly. I have a web service that will accept a dataset and update the REMOTE version but because of a large amount of data I have a LOCAL copy that represents the REMOTE version.
I first parse in data from flat files into a RAW virsion and need to sync data between the RAW and LOCAL versions, ( RAW will trump the LOCAL).
I then use a web service to pass ONLY the changed data to the REMOTE version of the database.
Overall I'm looking of and easy, processor and memory friendly way to sync this data. Any and all ideas on the topic would be helpful.
I'm listening but I only speak GEEK.
|
|
|
|
|
foreach ( dsLogPro.CompaniesRow row_Raw in ds_Raw.Companies.Rows )
{
dsLogPro.CompaniesRow found_Local = ds_Local.Companies.FindByCompanyCode( row_Raw.CompanyCode );
if ( found_Local != null )
{
if ( !found_Local.Equals( row_Raw ) )
{ // raw will trump local
foreach ( DataColumn col in ds_Local.Companies.Columns )
{
found_Local[ col ] = row_Raw[ col ]; // update local with raw
}
}
}
else
{ // this must be a new row
found_Local = ds_Local.Companies.NewCompaniesRow();
foreach ( DataColumn col in ds_Local.Companies.Columns )
{
found_Local[ col ] = row_Raw[ col ]; // update local with raw
}
ds_Local.Companies.Rows.Add( found_Local );
}
}
This is the direction I'm currently moving towards. I don't believe the tables will change but the columns might change in the future so I'm really trying to keep this flexable.
I'm listening but I only speak GEEK.
|
|
|
|
|
private void CompaniesCompare()
{
rowsAdded = 0;
rowsDeleted = 0;
rowsUpdated = 0;
start = DateTime.Now;
// This will update and add the rows
m_parentProcess.OnPostMessageEventHandler( this, new MigrationEventArgs( "\tcomparing company data." ) );
foreach ( dsLogPro.CompaniesRow row_Raw in ds_Raw.Companies.Rows )
{
dsLogPro.CompaniesRow found_Local = ds_Local.Companies.FindByCompanyCode( row_Raw.CompanyCode );
if ( found_Local != null )
{
if ( !found_Local.Equals( row_Raw ) )
{ // raw will trump local
foreach ( DataColumn col in ds_Local.Companies.Columns )
{
found_Local[ col ] = row_Raw[ col ]; // update local with raw
}
rowsUpdated++;
}
}
else
{ // this must be a new row
found_Local = ds_Local.Companies.NewCompaniesRow();
foreach ( DataColumn col in ds_Local.Companies.Columns )
{
found_Local[ col ] = row_Raw[ col ]; // update local with raw
}
ds_Local.Companies.Rows.Add( found_Local );
rowsAdded++;
}
UpdateProgressBar();
}
// This will remove un-needed rows
foreach ( dsLogPro.CompaniesRow row_Local in ds_Local.Companies.Rows )
{
dsLogPro_Live.CompaniesRow found_Raw = ds_Raw.Companies.FindByCompanyCode( row_Local.CompanyCode );
if ( found_Raw == null )
{ // was not present in the raw so remove it.
ds_Local.Companies.Rows.Remove( row_Local );
rowsDeleted++;
}
UpdateProgressBar();
}
}
This is what I have ended up with and would like someone elses opinion on the code.
I'm listening but I only speak GEEK.
|
|
|
|
|
I'm trying to fill in a text box then hit the submit button using httpwebrequest.
Here is a sample using googles home page. I just cant seem to get it to work. Thanks for the help.
string Uri = "http://www.google.com";
string requestString = "q=test&btnG=Clicked";
byte[] requestData = Encoding.UTF8.GetBytes(requestString);
HttpWebRequest request = null;
Stream stream = null;
HttpWebResponse response = null;
// set up request
CookieContainer _cookies = new CookieContainer();
request = (HttpWebRequest)WebRequest.Create(Uri);
request.Proxy = null;
request.CookieContainer = _cookies;
request.Method = "POST";
request.ContentType = "application/x-www-form-urlencoded";
request.ContentLength = requestData.Length;
// make form post
stream = request.GetRequestStream();
stream.Write(requestData, 0, requestData.Length);
// get response
response = (HttpWebResponse)request.GetResponse();
|
|
|
|
|
You may find this[^] article useful.
/ravi
|
|
|
|
|
See Here. It shows how you can fire button click event.
Be Good Have Good
|
|
|
|
|
I just want to join a couple of short wmv-files captured from a webcam.
I've googled for a while and I'm no wiser.
The only lead I found is wmvappend from windows media sdk samples, but it's VC++ and couldent even get it to build.
Any pointers?
|
|
|
|
|
Hello,
I would suggest you to please browse to the following link which gives more information on the same:
http://www.codeproject.com/KB/graphics/ConvertVideoFileFormats.aspx?print=true
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|