|
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
|
|
|
|
|
Thanks.
I'll take a look at it.
|
|
|
|
|
Hey ya'll,
I want to retrieve an image from a web page using the clipboard.
The question: I am trying to use the MemoryStream returned by GetData("DeviceIndependentBitmap") and create a bitmap for viewing from this.
I've googled and can't find squat so am asking the pros...I'm currently trying to do it this way;
MemoryStream stream = (MemoryStream)data.GetData("DeviceIndependentBitmap");
Bitmap bmp = new Bitmap(stream);
and I get the following exception: "Parameter is not valid"
Thanks,
Mike
Life is not measured by the number of breaths we take, but by the
moments that take our breath away. "George Carlin"
|
|
|
|
|
Hi,
I got a code where I move the mouse around the screen... Everytime the mouse moves a pixel, i have an action.
In that action, i want to find the color of the pixel there are in the screen position: 395,247...
Just need the color in HEX (#xxxxxx) or RGB (xxx,xxx,xxx).
Can anyone make an example for me to do that?
Thanks.
|
|
|
|
|
|
Thanks works perfect..
|
|
|
|
|
You're welcome
Kristian Sixhoej
"Failure is not an option" - Gene Kranz
|
|
|
|