|
faradgi wrote: have a open book exam after 3 hours
|
|
|
|
|
I though about form that have some timer (that auto close after some time) and hidden controls for minimize maximize, but is there some better way of doing this (and easier I guess)?
|
|
|
|
|
There's a splash screen component built in ( although I always just write my own )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
There is, maybe it's not in express ed. must look again.
How you do it like form or?
|
|
|
|
|
Hi TrooperIronMan,
I once did it with a Splash class, basically a simple dialog window, showing some fixed text
(program name, version number) and a listbox reporting initialization progress. Two public
methods: ReportProgress(string) and Close().
The program's static main() method basically consisted of:
using (Splash splash=new Splash(...) ) {
splash.Show();
// check environment, license, whatever
splash.ReportProgress("Checking ...");
// check for singleton
splash.ReportProgress("Checking for another instance");
Form1 form=new Form1(splash);
splash.Close();
Application.Run(form);
}
Main reason for using the splash was when not first instance, main would send command line
to first instance, using remoting; firewall (ZoneAlarm) sometimes needs 30 seconds to provide
the dialog "Application has changed; allow access ?", so the user was left in the dark.
I even added a /noserver switch to skip the remoting stuff while debugging (ZoneAlarm
notices the EXE keeps changing, so asks over and over).
Cheers
Luc Pattyn
|
|
|
|
|
Hello there,
I am developing an online board game using C#. For the starting, the project has 3 different sub projects:
Server , Client , Authenticator. Client connects authenticator and gets authenticated then, authenticator passes to client the filled account object. To do that i have to give reference to Authenticator from client. The problem here is Client wont run without Authenticator.exe on client side which i dont want to let people have the authenticator class.
In other words, i need a solution that Client will have only one application file and the rest will be on remote side.
Anyone can redirect me to a related article or give some advices here?
thanks in advance..
|
|
|
|
|
hi
i have visual c# exam after 3 hour please introduce me exme sample (Beginner)
thanks
|
|
|
|
|
faradgi wrote: i have visual c# exam after 3 hour please introduce me exme sample (Beginner)
At three hours before the exam, don't you think it is getting a bit late to start studying for it?
|
|
|
|
|
But it's not too late to ask over and over, apparently
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
These kids, today! I remember when we didn't even have the Internet, and we had to plead with our roommates to take our open book exams.
|
|
|
|
|
JoeRip wrote: I remember when we didn't even have the Internet, and we had to plead with our roommates to take our open book exams.
Ahhh, the good ol' days.
|
|
|
|
|
Christian Graus wrote: But it's not too late to ask over and over, apparently
|
|
|
|
|
I an writing a Software Automation Human Machine Inteface application in C#. Porting over form Visual basic 6 code. In the VB6 version we used CreateObject("ClassName", "MachineName") to instantiate a class for communicating with the ProcessControl Server. This is not an imperative change but I was wandering if there is a way to do this in C#.
Applicator.CreateInstance doesn't work. Or would it be better to just stick with the vb interop version of the Comms Class?
Thanks in Advance.
Larry
"All of us who served in one war or another know very well that all wars are the glory and the agony of the young."
Gerald Ford
|
|
|
|
|
To interact with a COM object, you import it into your project, and you'll be able to create instances just a if it was a normal class.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I have a report that will be repesented as a tree, with three levels. I have a proc which returns three tables, one for the data at each level. I'd like to generate an XML document that represents the tree, which I guess means I Want to tell the data set how to look into the lower levels to get out the data that pertains to each higher level ? I have a feeling there's support for this, but not sure where it is ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Have you tried:
MemoryStream myStream =new MemoryStream();
myDataset.WriteXMl(myStream);
myXmlDocument.Load(mystream);
I haven't tried this, YMMV
|
|
|
|
|
No, but I was aware of it. Shaping the XML to represent the relationships between the tables is the primary issue here, not saving as XML per se.
Thanks for the suggestion, tho.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
Looks like it, thanks a ton.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi All,
well I am looking for an appropriate project to start up with, i have got around 7 months to achieve that. And i am quite new to .NET environment..
I have got a following idea, please suggest is it possible with C#.NET or not and what else programming tools would i be needing for this application.
Where can i get info about all this....pls help me out....the idea is as follows...
"A local company produces CD-ROM based multimedia software. They require a site which will provide small demonstrations, allow registered users to download updates to appropriate software and possibly allow interaction between different users. There must be appropriate security measures. The project would be to investigate how this can be done using commercial systems and to implement a prototype"
|
|
|
|
|
Cool - someone who asks at the start of their assignment, instead of the end.
The word 'site' means web site, so you're talking about ASP.NET ? How will the site provide 'demonstrations' of CD ROMs ? Overall, I'd say ASP.NET is the best web dev platform, but it depends on what you're actually being asked to do.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hehe.
Atleast he's doing some research in the early stages and not the day before its due.
-Larantz-
|
|
|
|
|
I am deploying a new revision of a windows application with a setup created via a setup project. I want to persist the user settings that were saved in the prior revision of the application. Is there a way to automatically do this via the actual setup project that I am unaware of, or will I have to do this programatically by retrieving those settings from the prior revisions user.config file?
Thank you...
|
|
|
|
|
Never mind. I can do this programatically with the upgrade method.
|
|
|
|
|
We have a .NET 2.0 project which is using wizarded Datasets. There are four stored procedures that return tables (as opposed to scalar values). One stored procedure when wizarded goes into its own datatable table. However, the other ones go into QueriesTableAdapter. I cannot for the life of me figure out what is different about them. I tried verifying that SET NOCOUNT ON was set, it was set on all of them. I tested to make sure that the SPs ran with no errors, they did. Two of the SPs are almost identical. Why are they going into that adapter? I was under the impression that adapter was for scalar-valued SPs or for ad hoc queries.
Is there any way to force the SPs into their own table? I thought about editing the partial class to add them, but it's a lot of painful handcoding and makes it hard to maintain, so I would like to avoid it.
Thanks!
Rebecca
|
|
|
|