|
|
Hi,
Im using C# to create a clinical information system(data management) what i would like to know is on what OS will the app run...some guys told me that .net apps are not able to run on win98 OS...this worries me alot...im at the point of no return...i heard that there is a framework or something to solve this...pls tell me
2. i want my software to send certain information from one form to a different form(in the same app) on a diff. workstation...is there anywhere where i can get resources for networking codes...maybe u guys could gimme some initial/crutial points...thx alot
Arvinder Gill
|
|
|
|
|
ASGill wrote:
some guys told me that .net apps are not able to run on win98 OS
That's incorrect - the .NET Framework is not supported on Windows 95.
ASGill wrote:
i want my software to send certain information from one form to a different form(in the same app) on a diff. workstation
.NET Remoting is your answer. This is the de facto way of marshaling and transmitting data between two different AppDomain s. See Accessing Objects in Other Application Domains Using .NET Remoting[^] for topics and examples. Also visit http://www.ingorammer.com[^] for arguably one of the best sources for .NET Remoting information. He also has a book.
And speaking of books, there's also Microsoft .NET Remoting[^] from the Microsoft Press. It's a good intro and intermediate book on .NET Remoting.
You can also search the CodeProject site for information on .NET Remoting as well.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
well thats a big relieve abt .NET apps not working on WIN 98...and also thx for the resources abt .NET Remoting i dint had any cllue abt it until you told me...great help friend!...thx a mil.
Arvinder Gill
CODER
|
|
|
|
|
I've flat out forgotten how to make my class accept [] notation, as in:
myClass[0] = 7;
any help appreciated....
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
|
|
|
|
Christian Graus wrote:
myClass[0] = 7;
What is referenced with myClass[0] ?
- Nick Parker My Blog
|
|
|
|
|
It's OK, I figured it out:
public object this [string key]
{
get
{
etc.
Thanks though.
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
|
|
|
|
Hi,
I am relatively new to C#. I am trying to implement a system which locks the user out from all Windows functions such a the 'Start Menu', shortsuts such as CTRL-E and CTRL-ALT-DEL. Basically I have designed a database for the public to search for emigrant records from the 19th Century between Europe and US. But as with all things I am getting 'fiddlers' who seem more interested in trying to mess up Windows settings. So what I need to do is have a splash screen which will display the shortcut or link to the database and nothing else. The program will then lock out any attempt to access any other Windows functions. Is this sort of functionality available in C# and if so does anyone have any suggestions,
Regards,
John
|
|
|
|
|
You're using the wrong language - you need to set up some system hooks, which I believe requires C++, although it may be possible using some sort of funky interop stuff.
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
|
|
|
|
|
Ctrl+Alt+Delete is not something you can hook, though. This is by design. One can hook Ctrl+Tab and similar key combos.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
One thing you can do that fairly easy is to set your app as the shell, this will stop access to Start menu and the entire desktop, but not Ctrl-Alt-Del.
|
|
|
|
|
Is there anyway of blocking or diabling the CTRL-ALT-DEL option then in windows using C# or anything that can run with C# as shutting down my app will allow them back in to mess around with the settings and unfortunately defeats the purpose of doing it Any ideas?
|
|
|
|
|
|
Hi,
I am implementing a custom control which has a listview as one of its sub controls. I am able to populate this list at design time through the control properties. The populated list then appears as expected in design time.
Once I run the application, the list appears empty. Terminating the application and re-opening the form (in design time), shows the list as empty!
How can I retain the values of the properties provided by the user at design/runtime!??!!
Thanks in advance,
Victor
phpWebNotes is a page annotation system modelled after php.net.
http://webnotes.sourceforge.net/demo.php[^]
|
|
|
|
|
You probably have to save the values to a file
|
|
|
|
|
thomasa wrote:
You probably have to save the values to a file
There must be another way of doing it. For example, if you have a form with two edit boxes, the first is set to TextBox1 and the second is set to TextBox2. I am sure these design time values will not be saved to files, however, they will be part of the form or something.
Regards,
Victor.
phpWebNotes is a page annotation system modelled after php.net.
http://webnotes.sourceforge.net/demo.php[^]
|
|
|
|
|
I'm not shore what you meen, but if you still have your Main application open, and it is a sub application you close and reopen, then you can tranfere the values from your sub application to your Main application, and vica versa. A preferd item to store the values is an ArrayList or something like that.
On cration of your sub application you could write something like
(in Main)
MyListViewLib.MyListView myListView = new MyListViewLib.MyListView(myArrayList)
(in Sub(a constructor))
MyListView(ArrayList anArrayList)
{
for(int i = 0; i < anArrayList.Count; i++)
{
theNewListView.Add(anArrayList[i])
}
or something like this...
If you close all your applications then you have to save it to a file.
Hope it helps
|
|
|
|
|
Your properties mite need to apply the DesignerSerializationVisibilityAttibuteThatPerhapsIsMisspeltAttrribute
leppie::AllocCPArticle("Zee blog"); Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.
|
|
|
|
|
Hi
I'm trying to do a batch manager, and I use a CheckedListBox to display the status of the jobs, but I want to change the color of every item, there is a way to do it???
Thanks
----
hxxbin
|
|
|
|
|
Extend the CheckedListBox control and override OnDrawItem . In the DrawItemEventArgs passed to the method (and don't forget to call base.OnDrawItem when done), set the DrawItemEventArgs.BackColor to a color based on the checked state of the item (which you can get the index for in DrawItemEventArgs.Index ).
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Aright, I'll try to do it
Thanks
----
hxxbin
|
|
|
|
|
Is there anyway to remove/hide the vertical scrollbar in a listbox control?
|
|
|
|
|
You mean ScrollAlwaysVisible property ?
Mazy
No sig. available now.
|
|
|
|
|
no, that property does not remove the scrollbar. I never want to see the vertical scrollbar, even when i have allot of elements.
|
|
|
|