|
Hi ,
I am creating setup for windows application using VS2008. In custom action I popup Windows form which will get some key value from user and return status.If the key is invalid ,i want to Rollback all actions and setup should not allow to install. Anybody know how to handle RollBack event in setup deployment in VS2008.
Regards
a2111
|
|
|
|
|
How to Use ADODB.Stream object.open();
it needs 5 parameters and I have like this but it's not working.
adodbstream.Open(adodbstream,ADODB.ConnectModeEnum.adModeUnknown,ADODB.StreamOpenOptionsEnum.adOpenStreamUnspecified,"","");
Error:Com Exception was Unhandled
and Arguments are of wrong Type, are out of acceptable range, or are in conflict with one another.
help me to get the solution for this.
mail_id: bishu_473@yahoo.co.in
Thanks
Bishwajeet
|
|
|
|
|
Why are you trying to use ADODB? .NET provides much more powerful objects for managing streams.
|
|
|
|
|
I can use stream by using .Net but the problem is that U cannot get the images while saving file.
I need to save a file in real pattern.
|
|
|
|
|
Hello world!
I developed an application using crystal reports but my users can't use my application. Does my users need to install anything? I installed Crystal Reports 12 on my users pc but they still have problem.
Thanks
|
|
|
|
|
What kind of message or error you recieved ?
|
|
|
|
|
Tanx mr Muhammad, I my problem solved.
taNx ..
|
|
|
|
|
Hi all
I want to pass a command from a Windows Form program I created to a Unix Machine remotely. Then I want to recieve the output of the command fro the unix machine, and be able to view it form my application.
How can I do that?
Regards
Mbu
|
|
|
|
|
|
Sorry i'm not following here. I'm a new member.
Giorgi Dalakishvili wrote: Here you are: Data sender and receiver[^]
|
|
|
|
|
|
|
You are welcome
|
|
|
|
|
I've searched around CodeProject and the boards but haven't found a solution to my problem.
I have a DataGridView that is unbound.
Based on selections in the first column from a ComboBox, other cells in that row may be set to ReadOnly.
What I would like to do is skip over any ReadOnly cell when the user presses Tab (or Shift-Tab).
I can get the selection to go where I want it to go, but the input focus still goes to the next cell even if it is ReadOnly.
Example: The current cell is [0, 0]. Based on what I selected, the next cell ([1, 0]) is ReadOnly. I press Tab. What I want is for the selection and the input focus to move to cell [2, 0].
If I set the .CurrentCell to [2, 0] and then set .CurrentCell.Selected = true, I get the selection to highlight in the right spot, but the input focus still goes to cell [1, 0].
How do I completely skip over a specific cell? As an added bonus, it would be nice if when the user clicks on a ReadOnly cell, that the selection and input focus goes to the next cell instead of the ReadOnly cell. Can it be done? If so, how?
I hope what I'm describing makes sense.
Thanks.
|
|
|
|
|
listen,
i don´t know if you can set a cell to readonly (or not) like you do in datagridview.
Did you considered in setting values not in the DGV? i set dgv to readonly and get/set values in textboxes, comboboxes from dgv currentrow, i have 20 columns in dgv but only 14 textboxes or whatever, the ones i want to edit.
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
Hi all,
I want to add a TimeSpan, in milliseconds into DateTime variable. I've try this.
DateTime da = dtStart + new TimeSpan(0, 0, calTimeStamp));
For different calTimeStamp give the same value, that is dtStart as the output. No time is added there. Can you someone tell me where I'm going wrong.
Thanks
I appreciate your help all the time...
CodingLover
|
|
|
|
|
1. There is an extra closing bracket.
2. As DateTime is struct dtStart will not change but da will store result of the addition.
|
|
|
|
|
Ya, that bracket is added by mistake. Sorry about that.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Glad to help you
|
|
|
|
|
Two things:
1) Make sure calTimeStamp does not equal zero because the following works fine for me:
int calTimeStamp = 30; //so that I know I have a value
DateTime dtStart = DateTime.Now; //I need a start time
DateTime da = dtStart + new TimeSpan(0, 0, calTimeStamp); //this adds 30 seconds to dtStart
2) Using TimeSpan(0, 0, variable) gives you seconds not milliseconds.
For milliseconds you have to use TimeSpan(days, hours, seconds, milliseconds);
|
|
|
|
|
David Fleming wrote: 1) Make sure calTimeStamp does not equal zero because the following works fine for me:
Yep, this is the issue. I'm doing this process in a loop and each time calTimeStamp set to zero.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Is calTimeStamp the number of milliseconds , seconds, or minutes? It looks like it's seconds based on the constructor overload you used. (Your variable names kinda suck.) I always use the last overload so that there's no question about what the value represents.
DateTime da = dtStart.Add(new TimeSpan(0,0,0,calTimeStamp,0));
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
How can I disable print job notification for all users in windows xp sp2
programmatically in c#?
|
|
|
|
|
|
You forgot joke icon for your post.
|
|
|
|