|
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
|
|
|
|
|
Hey all..
i'm sort of new to this..but please help me on this one...
i'm trying to find a program that can handle a three way connection between 3 or more laptops. more specifically, i need every node to be able to receive messages from other node and then forward them to the nodes that havent received it yet. the case that i'm trying to handle is the hidden station problem in the case of a wireless ad hoc network between 3 or more laptops or nodes. if a node sends a message to another node, i need the receiving node to forward that message to the nodes that its connected to that are not in turn connected to the original sending node.
if no such application exists...which i doubt..but i cant find one anyway...at least tell me what i should be looking for.
thx!
Ghassan.
|
|
|
|
|
|
1>I have to retrive and display images that are present in a MS Access Database.
2>The images have been inserted in the database by the user by using the Insert Object Functionality of MS Access so the Image is displayed as Bitmap Image for .BMP and Package for .JPEG in the DataBase Image Field.
3>I have tried reading the data in a Byte Array and then display it but it dosent work that way.
//Obtain Image in a byte array
byImageArray = (byte[])Command.ExecuteScalar();
//Read the byte array to memory stream
MemoryStream memStream = new MemoryStream(byImageArray);
//Read Image from the memory stream into picture box.
picImage.Image=Image.FromStream(memStream);
An exception is thrown is Argument Exception:Parameter is not valid.
This code works fine if we store image in DataBase Programmitically by using Byte Array,but not when we access a image that had been directly in the table by user by using Insert Object Functionality of MS Access
|
|
|
|
|
This[^] could be useful.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Insert object "wraps" the image with an object 'container'. You'll have to work out how big the header is, and skip over the header bytes. You might also need to ignore some trailing bytes. You should be able to tell if the image was wrapped or not by looking at the first few (dozen or so) bytes - I think the header is reasonably consistent.
|
|
|
|