|
Christian Graus wrote: Glad to help
Help with the XML problem or shaming himself?
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
hey my friend made the tic tac toe game and i will add the intelligent part to make it oneplayer Vs computer
i want to find a way to make a prolog dll and to access it using c#or c++
for example i have
predicate : player1(Move,Cpu_response)
so say i did the Dll file of visual prolog 5.1 now i need to access it through the C# or C++
in brief (how to link the prolog to C# or C++ )
FOR ISLAM
|
|
|
|
|
http://www.dcs.ed.ac.uk/home/stg/Psharp/[^]
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
yes i've seen this P# in google ,,and i'll try it ,but i wanted to know if there is conventional way using the visual prolog it self.. cause p# is quite new compiler and i donno if it will help in quite bigger situations?
FOR ISLAM
|
|
|
|
|
Unless prolog creates DLLs that p/invoke can call, the answer is probalby no.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
If your prolog compiler can build a standard c++ style dll you can p/invoke it the same way. If not you're sol without p#.
--
CleaKO The sad part about this instance is that none of the users ever said anything [about the problem].
Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
|
|
|
|
|
fine . it may be do , but could you tell me please what's the p/invoke?
FOR ISLAM
|
|
|
|
|
If there is no other probles you can use other controls.....
eg: C1flexGid is a good tool, in that you can do all these things
My small attempt...
|
|
|
|
|
can you tell me wht's C1flexGid ?? my search on it didn't comeup with benificial info...
FOR ISLAM
|
|
|
|
|
Its a tool. like gridview
i think you can download it from net
My small attempt...
|
|
|
|
|
|
What is your problem ? Your previous requests are still visible. Why do you keep posting them ? Why not spend the time googling for an answer instead ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
You have asked this 3 times in the space of around 2.5 hours! Seriously, you need to learn some patience. If it is that urgent why not take a support call out with Microsoft. For a small feel they'll help you as a matter of priority.
|
|
|
|
|
Hi!
I am developing application in C# (winform).I am reading data from a text file and storing it in a DataTable, then adding that DataTable to a DataSet and making that DataSet as DataSource of DataGridView control.
DataTable contains 5 columns, and one of them contains boolean value. i want to add a checkbox column in DataTable which will represent that boolean column.
i tried to add DataGridViewCheckBoxColumn into DataTable but error occured saying that DataTable can only have a column of type DataColumn.
Can any body tell me how can i add such column in DataTable. I cannot add a checkbox column in datagridview because mostly my datagridview displays more than 100000 records and when i try to add 100000 rows into datagridview it takes too much time.
Thanks in advance...
Regards,
Affan Ahmad Toor
|
|
|
|
|
Try to change the DataType og the particular column
like DataGridView.Clumns[index].. You can change the type to boolean
My small attempt...
|
|
|
|
|
Hi!
Thanks for reply, i tried your mentioned technique but no result...! is there any other way to do it...?
Regards,
Affan Ahmad Toor
|
|
|
|
|
Hi!
I just solved my problem with your mentioned technique. I was missing some thing.....my mistake! Thanks a lot for help..
Regards,
Affan Ahmad Toor
|
|
|
|
|
Hi,
This is kind of something I was trying to do. Can you help me out here. Here is the sample of my code.
DataSet ds = new DataSet();
string sql;
sql = @"SELECT lastName,firstName,MiddleName,LoginName,Passwd,ReadOnly,Updates,Deletes,Inserts,OTCPriviledge FROM Users ";
SqlDataAdapter da = new SqlDataAdapter(sql, conString);
da.Fill(ds, "Users");
//dataGridView1.DataBindings.Clear();
dataGridView1.DataSource = ds.Tables["Users"];
DataTable dt = ds.Tables["Users"];
CheckBox chkbox = new CheckBox();
...
..
------------------------------------------------------------------------------
I want the following columns to be checkbox where loaded into the dataGridView.
ReadOnly,Updates,Deletes,Inserts,OTCPriviledge
|
|
|
|
|
Hello,
I've written an ActiveX for IE in VS2005 C# .Net 2.0.
It supports RfID and GPS via COM-Port.
On my machine it runs great.
Now I wrote a setup with VS 2005.
I think I'm to set "vsdrpCOMSelfReg" for registering.
But it doesn't work.
It accepts only "vsdrpCOM"
After installation I called it in IE. It dosn't work.
When IE is open and I want to uninstall it by setup - Setup say "no, is in use."
I think, I'm not so far from target?!?
Can anyone help me?
I didn't find an good artikel in the internet.
Thanks a lot.
-- modified at 4:34 Friday 13th April, 2007
Additional:
In my IE I see the ActiveX in AddOns, but as File is listed "mscoree.dll"
What's that?
"Herausgeber" / Publisher is emty.
Maybe, it helps you.
Thanks a lot.
-- modified at 6:30 Friday 13th April, 2007
|
|
|
|
|
Hello guys in this forum .
in some programs i download as free trial , i saw some Api(s) calls written in ansi C and in C++ , these Api(s) enable me to get some information from the installed program or inject to it commands to be executed once i refer to these Apis in my application , so the question is:
how can i develop an application and expose some Api(s) like that for other developers to use to communicate with my application ??????
Thank you very much
Human knowledge belongs to the world.
|
|
|
|
|
The best way for people to communicate with your app is through WP_COPYDATA messages, it's simple and it's easy to impliment.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
So please can you give me one example or any tutorial for this my friend , i will be so grateful .
Human knowledge belongs to the world.
|
|
|
|
|
this[^] was the third hit on a google search of C# WM_COPYDATA, and would also have come up if you searched this site.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
How do I suspend and resume all the threads of another process using C# for which I know the Process Name?
--
LPV
|
|
|
|
|
There's a class named ProcessControl. With it you can pause/continue and start/stop the process
|
|
|
|