|
hi,
for textbox I used multithread to insert words for autocompletesource. control is flickering while the thread is running. how to avoid the flickering? Suggestions please.
Thanks in advance.
Have A Nice Day!
Murali.M
Blog
|
|
|
|
|
|
|
Hi
I am planing to develop desktop application game for multiple players online and as idea to archive this i plan to use webservices to communicate players between them.
Does webservices are good for manage multiple players or is any better way to do this?
Thanks and regards.
|
|
|
|
|
|
Web services will be too slow for real-time video games, but could be OK for something like a chess or checkers game.
See Here[^] for a networked version of asteroids tutorial
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
Thanks Max
The game will have max 4 palyers so webservices are good choice to use for communicating between players?
|
|
|
|
|
Without knowing what type of game it is I can't comment
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
The game will have very simple graphic interface so all what the game will process that are few data rows and keeping updated some statuses which are stored in SQL Tables.
|
|
|
|
|
Connections via Web sockets would offer a more real time environment,
|
|
|
|
|
Thanks a lot Abhinav S I will check this too before i start developing project
|
|
|
|
|
Yes, you are right. Deploying web socket will increase your web communication speed.
|
|
|
|
|
Real time no, slow (the kind of thing that you get as browser games) yes as it means you don't need any custom central server, just a HTTP server set up with the service endpoint.
|
|
|
|
|
My Project is Windows Application C#
i Use in Connection String
connStr = String.Format(@"Data Source = {0}\{1};Mode = Read Only;Temp Path={2};",
System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase),
sdfName,
System.IO.Path.GetTempPath());
My Project is Windows Application C#
i Use in Connection String
connStr = String.Format(@"Data Source = {0}\{1};Mode = Read Only;Temp Path={2};",
System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase),
sdfName,
System.IO.Path.GetTempPath());
But Write in dvd Application Not Working
Error is :
The file name is not valid. Check the file name for the database
please help how project runing in cd-rom with sdf file (project is autorun)
|
|
|
|
|
If you break out that code and look at what it generates, it's fairly obvious what the problem is likely to be:
Assembly a = System.Reflection.Assembly.GetExecutingAssembly();
AssemblyName nm = a.GetName();
string s = nm.CodeBase;
string p = System.IO.Path.GetDirectoryName(s);
AssemblyName.CodeBase returns a value of the form:
file:///D:/Folder/Application.EXE Which GetDirectoryName truncates to:
file:///D:/Folder
The chances are that the SqlCeConnection class does not like that. Try:
System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) instead.
|
|
|
|
|
hi
the code not Working
Error
Format of the initialization string does not conform to specification starting at index 0.
|
|
|
|
|
So check the generated string and copy and paste it in here so I can see what it is.
|
|
|
|
|
Kindly Check Screenshots first
http://i.stack.imgur.com/VcKux.png[^]
http://i.stack.imgur.com/jSPwD.png[^]
Hi All,
I want to have a single project which holds the DataSchema files like EDMX files.
The problem which i am facing is if i create a reference of the PRJDataSchema Project project and try to query the EmployeeEntity i get a "type used in a using statment must be implicitly convertible to 'System.IDisposable'"
How can i resolve this problem.
If i create a class file in PRJDataSchema , like i have created a Test.cs file then i get no problem.
I want to fix the problem in screenshot 1.
any help would be appreciated.
Exploring the Unexplored.
|
|
|
|
|
Issue solved by manually adding reference of "System.Data.Entity" to PRJDataAccess and then add it as using System.Data.Entity to the EmployeeDAL.cs.
Stupid me.
Exploring the Unexplored.
|
|
|
|
|
Have an upvote for posting your own answer.
The admission of stupidity is something we all have to make at some time.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I can't tell you the number of times the answer to a vexing problem has come to me the instant I clicked on the submit button!
I don't speak Idiot - please talk slowly and clearly
"I have sexdaily. I mean dyslexia. Fcuk!"
Driven to the arms of Heineken by the wife
|
|
|
|
|
True
Exploring the Unexplored.
|
|
|
|
|
how to add autocad tool box items to my wpf application?
|
|
|
|
|
|
Hi,
Imam using this to close the connection but I feel after many entries that the system will be slow and it will take a very long to run the process.. so is this enough:
if (sql_reader != null) sql_reader.Close();
if (sql_connection != null) { if (sql_connection.State == ConnectionState.Open) sql_connection.Close(); }
Technology News @ www.JassimRahma.com
|
|
|
|