|
There is a number of pc connected in LAN.
I want to run my Application on remote PC and also need the acknowledgement for the clicked button.
For e.g.
In my application there is form with "YES" and "NO" button.
I want the acknowledgement for which button user has been clicked?
|
|
|
|
|
You cannot do that. A process launched remote cannot be launched as an interactive process. The users will never see the form, even though the app will be running.
The process has to be launched by the user on their own machine in order to be visible. I think you need to rethink your design... perhaps using a web forms-based solution and an internal web server.
|
|
|
|
|
Have any of you come across, or, more interestingly, found a work-around for the bug in ListView, where doing multi-select in a multi-column control, with check boxes and full-row select enabled, causes the check state of already selected items to change? It's really annoying, as I'd like to keep full row selection, and multi-select. (edit : more detailed description below)
I found a message from MS admitting there was a problem, dated 2002( ) so it looks like they're not in any hurry to fix it.
The alternative is to track all the select and checked states myself, and do my own updates in the selection changed handler, which is just extra work and extra code.
I'm hoping somebody has a quick and easy solution, but none of the searches I've done has turned up anything useful...
edit : a more detailed description of the problem :-
Create a multi-column ListView, set to "Details" view mode, with checkboxes enabled (they appear in the first column), as well as multi-select and full row select.
Try selecting, and checking the checkboxes. When multi-selecting (ctrl+click) and clicking in any except the first column, the check boxes for rows already selected will nearly always toggle state.
There are three kinds of people in the world - those who can count and those who can't...
modified on Friday, June 5, 2009 2:10 PM
|
|
|
|
|
I recently answered this in another thread:
http://www.codeproject.com/Messages/3417741/Re-how-to-disable-multi-select-of-checkbox-in-list.aspx
HTH - hground
|
|
|
|
|
Hi,
While working with crystal report in winform, I found that the printer settings can be set using the report designer itself. And depending upon the paper size (that I set) the report canvas (designer view) size also adjusted itself.
Do we have some similar setting in Microsoft Report (rdlc) in VS 2005? I see no matter how many columns I add in the report its width goes on increasing and during printing or exporting (in PDF) the results are horrible with the table getting split in an ugly manner. Can't the page size be set in the report designer?
If not in the designer, have we some way to do it through code?
Any replies will be appreciated.
Best Regards,
Sid
|
|
|
|
|
How windows Operating System remember the windows sizes.
For example if we open word document and resize that document and close the document. Now reopen MS word we see the window with last changed size. This is applicable for Internet explorer, explorer, MS Office and any window in Microsoft Operating System.
Thanks & Regards
Ramesh Babu Peddapalli
|
|
|
|
|
That information is saved by the individual applications, not Windows. Each app gets it's own window sizes and saves that information to the registry, or some other store. When the app launches again, it just reads the stored information and recreates the windows with the proper size.
|
|
|
|
|
If an application (eg: a form in VB 6.0) is developed by the programmer that form size will be stored in registry (under [HKEY_CURRENT_USER\Software\VB and VBA Program Settings])with the form name.
But what about Internet explorer, Explorer, MS Word, MS Powerpoint ... i don't see any registry entry for these applications.
Please give me the path for one of the above mentioned apllications.
Thanks & Regards
Ramesh Babu P
|
|
|
|
|
You just have to know how to look for them and what tools to use to find them.
For Word 2003, it's in:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Data\Settings
For Excel 2003, it's in:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Options\Pos
There is also a couple of other values that changes for both apps, called MTTA and MTTF.
|
|
|
|
|
Sorry to go a little off-topic here, but why is everybody so fixated on using the Registry to store such information?
It's so much easier to use Settings like, create 2 Settings entries and then use:
Form Load:
this.Size.Width = Properties.Settings.Default.SizeWidth;
this.Size.Height = Properties.Settings.Default.SizeHeight;
then, Form_Closing:
Properties.Settings.Default.SizeWidth = this.Size.Width;
Properties.Settings.Default.SizeHeight = this.Size.Height;
It works flawlessly for me, and there's no need to go digging into the registry and spending 75 years trying to find the right place to get/set information. Can someone please explain why virtually everyone prefers or needs to use the registry?
|
|
|
|
|
Yeah, but his point was that he thinks Windows stores this information and not the app itself.
|
|
|
|
|
IMO you are right, most of the things present in the registry would be better of somewhere else.
The registry is fine for storing paths, so system objects can be located easily.
It is not the ideal place to keep app settings.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
Can any one help,
I am developing the crystal report(salary report) for emp salary details application using c# .net 2.0 version window application.
In "salary report" have following field object and text objects are there.
field objects
************
1)modeofpayment1
2)VoucherNumber1
3)AccountNumber1
4)ChequeNumber1
5)BankName1
text objects
**********
1)txtmodeofpayment
2)txtVoucherNumber
3)txtAccountNumber
4)txtChequeNumber
5)txtBankName
Requirement
***********
If modeofpayment1 field object value is "Cash" then
1)txtAccountNumber
2)txtChequeNumber
3)txtBankName
text objects is invisible.
If modeofpayment1 field object value is "BankDeposit" then
1)txtVoucherNumber text object is invisible.
I have tried following code
CrystalDecisions.CrystalReports.Engine.TextObject temp = ((CrystalDecisions.CrystalReports.Engine.TextObject)cr1.ReportDefinition.Sections["Section3"].ReportObjects["txtAccountNumber"]);
temp.Text = "";
the above code is ok for only one record.
How to do for multiple record.
Thanks,
Bruze.
|
|
|
|
|
i hav written an vb code in windows forms
it is abt 700 lines,
the code is building successfully
but on updating
i.e; i had deleted and panel and added 3 buttons
and it also skips the break point kept
plz help me
DOT NET
|
|
|
|
|
Help you with what? You haven't asked a question, at least, not one that anyone can answer.
What do you mean by "and it also skips the break point kept"??
|
|
|
|
|
When this happens, it usually means that the line where you set the breakpoint is not being reached.
As you have made changes, it is possible that an event handler has become detached from its control, so use the Events tab in the Properties Window, to make sure all your controls are connected to the events you want.
If this does not cure the problem, try this:
1) examine your code, step through it in your mind, or use pencil and paper, to see if you can spot why the line is not reached. Then fix it, if found.
2) if the line is inside a conditional code block, set a new break-point on the line before the conditional test (If, While or whatever), then single step to see why not. If not in a conditional block, set the new BP on the first line of the method containing the original BP.
If the BP from 2 still skips, set a breakpoint on the line that calls the problem method. Continue back up the calling chain until you get a bite.
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.”
|
|
|
|
|
I suspect this isn't possible but before I completely abandon the idea I'd thought I'd post and ask. I have two database tables structures as follows:
Table1
AreaID
CategoryID
Amount
Table2
AreaID
AmountTotal
I need to display the share that each category has of the overall area total, each area has many categories. The easy solution (and maybe the correct one) is to have a datatable which looks like this
DataTable
AreaID
CategoryID
Amount
AreaAmountTotal
and bind the Share column to an expression of Amount / AmountTotal. However this means the AreaAmountTotal is stored for every record that has the same area id and this struck me as inefficent. I'd thought to use a relational dataset with two datatables structured the same as the database tables and bind the share column to an expression across both tables but this doesn't seem possible (or at least I find no examples of it anywhere).
It looks like I could achieve this by not binding the datagridview to anything and programmatically populating the grid but development speed is an issue and we were hoping to minimise writing very much code.
Thanks in advance!
Robert.
|
|
|
|
|
No, not really, but you can build a DataView object using the multiple tables and bind the DGV to the DataView.
|
|
|
|
|
I've had a look at DataView and it doesn't seem to support more than one table, can you point me at an example of that?
I did stumble across the JoinView http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B325682[^] which does support mulitple tables so I'll have a look at that (written in VB .Net though I guess that doesn't matter).
|
|
|
|
|
Hi,
Can you please give me some idea of how to use the sqlprofileprovider in windows forms application.
with regards,
Anand
|
|
|
|
|
hi
actually i have build wix aplication which i want to installed from flash
drive to other machine but i want installation should not copy files to
target machine it should run only when the flash drive is plugged ,after
setting all the feature and component run-from-source , msi installtion
copying file in target machine. and in the verbose log it shows all featur
and compnent run-from-local.
it is not runing from source why?
|
|
|
|
|
Hi all,
Do you know any library (free or commercial) that is for programming Adobe illustrator file (*.ai).
Thank you very much.
VietTH2004
|
|
|
|
|
Hi Vietth,
I have read that the latest Expression Blend can read Adobe Illustrator and PhotoShop fles, but I have not tried this myself.
Hope that's relevant to your question.
best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844
|
|
|
|
|
Windows 7 Application Compatibility labs are available around the USA. These half-day labs help you overcome any issues in getting applications ready for Windows 7. The labs are free. Lab times are available during the week.
This offering will give you the opportunity to test your application on Windows 7 to determine compatibility and performance characteristics. You will have the opportunity to work with Microsoft while gaining an understanding of how to manage and optimize your product in a Windows 7 environment.
City | Start | End | Mt View, CAT | June 1 | June 5 | Reston, VA | June 8 | June 12 | Alpharatta, GA | June 15 | June 19 | Waltham, MA | June 22 | June 26 |
Sign up at http://www.msregistration.com/Win7USA[^]
|
|
|
|
|
how to save data from excel sheet and want to store in sql database
DOT NET
|
|
|
|