|
That's the one, and I got bored at that point. I was tempted to link Colemanballs for him.
|
|
|
|
|
OK, why was this reported as a "spam or abusive message"?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Try playing Championship Manager, Football Manager etc and seeing the type of messages they give you.
Typically a comment is associated with an 'event' in your simulation: a shot, save, corner, tackle, pass etc (what level of event you choose to associate comments with is part of your design and depends on the speed and detail of the game). A single event can have several possible comments associated with it, for variety, and a single 'comment' can be a chain of parts (e.g. 'Suarez receives the ball from Sterling', 'he turns', 'Suarez shoots towards the far post', 'He hits the post!').
|
|
|
|
|
Yes i need sth like this but it seems something complicated. Do you have a simple code snippet?
|
|
|
|
|
No sorry all my experience in this sector comes from playing games, not writing them
|
|
|
|
|
Hello guys;
The code below returns an empty records but gave records from SQL+.
DbProviderFactory factory = DbProviderFactories.GetFactory("Oracle.DataAccess.Client");
DbConnection connection = factory.CreateConnection();
connection.ConnectionString = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Simplex-IT-02)(PORT=1521)))
(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=Simplex))); User Id=User_Test;Password=password;";
DataTable table = new DataTable();
DbCommand command = connection.CreateCommand();
command.Connection = connection;
command.CommandText = "SELECT text FROM user_views WHERE (view_name='ACCOUNT_BALANCES_BY_PERIOD');";
DbDataReader dataReader = command.ExecuteReader();
table.Load(dataReader);
dataReader.Close();
Meanwhile, when I replaced the command.CommandText with "SELECT DISTINCT view_name FROM user_views" it gave me list of all available views for the given schema.
Why can't I get the sql text of a given view?
Thank you in anticipation.
|
|
|
|
|
Just a suggestion what if you give the "text" column name an alias?
Oracle Column name as alias example[^]
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
Simon_Whale wrote: Just a suggestion what if you give the "text" column name an alias?
Thank you for the suggestion but I have already done that and it didn't work.
|
|
|
|
|
|
This could be related to ANSI Code Settings.
Ray Yagubyan
|
|
|
|
|
|
awedaonline wrote: The code below returns an empty records but gave records from SQL+.
That isn't clear.
Are you saying it returned zero records or that that returns some records but there was no data in the records?
What values are returned by the following properties?
dataReader.FieldCount
dataReader.HasRows
What is the data type of 'text' in the database?
|
|
|
|
|
My first thought is to remove the semi-colon from the end of the statement. Many ADO.net providers don't like executing a batch of statements.
P.S. I get the following when I try to execute "SELECT * FROM dual;"
Oracle.DataAccess.Client.OracleException: ORA-00911: invalid character
I hope your classes aren't swallowing Exceptions.
modified 23-Nov-12 15:26pm.
|
|
|
|
|
Hi
i need to run an vb.net exe builded on VS2010 express edition. Can i run the exe to Run on any pc ?
DO that need framework installed in that machine ?
Please give inputs.
Thanks,
Krish
|
|
|
|
|
If you need to run your application on a separate machine, then you really need to have the .NET framework installed on that machine. There were some commercial applications that allowed you to bundle everything you needed for your application into one single executable but, in general, these were very expensive and also meant that clients wouldn't benefit from enhancements to the underlying framework while they used your app.
One small point - you said a VB.NET application. You do realise that this is the C# forum don't you? The people who answer questions on the VB.NET forum are no less clever.
|
|
|
|
|
I would suggest that you in future place all VB.NET question in the VB.NET Forum[^].
But to answer your question all you need to do it make sure that the machine has the correct .net framework installed.
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
Iam sorry, iam a c# developer, so in the same thought process
i placed here. here afterwards, i will take care.
Thanks,
Krish
|
|
|
|
|
Not a problem
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
Hi, I got a project where I need to filter the data from SAP by passing input values from .NET and bind that result with GRid.
Using VS2010, C#-Asp.net 4.0, SAPdotnetconnector3.0.
I am new to this So i need guidance
|
|
|
|
|
I'm sorry, but rather than you wasting your time waiting for an answer here, I'd suggest that you aren't going to get an answer here. Your best bet for an answer on this would be to search the support forums on SAP, and to try searching through Google.
|
|
|
|
|
Difficult to say without more info.
You'd probably need to get the info from SAP somehow (with the SAPdotnetconnector3.0 I assume), but you should check the documentation and/or sample code of that tool for more info. It could push the info or it could pull the info.
If you finally receive the info you can build "object classes" of the info you received and bind the properties of those classes (which you put in collections) to the grid.
You'll need to be more specific and give more specific problems if you want an answer. If I would answer this one best I could I'd need to research several hours or longer and write quite a lot of text.
|
|
|
|
|
Hi All,
I have an "Acount" and my Acount has multiple "users" .
And my user have three settings like App,Web,Key
So we have to write XML on this behalf of tree.
Structure like -
Acount
User1
Acount Setting
web
App
Key
User2
Acount Setting
web
App
Key
I have create XML like same as structure.
|
|
|
|
|
Have a look at the XmlDocument class here[^].
Basically you'd create a XmlDocument object and add XmlElement [^] instances.
For example:
XmlDocument document = new XmlDocument();
XmlElement root = document.CreateElement("Account");
root.SetAttribute("SomeAttribute", "42");
document.AppendChild(root);
XmlElement child = document.CreateElement("User1");
root.AppendChild(child);
XmlELement grandchild = document.CreateElement("AccountSetting");
child.AppendChild(grandchild);
document.Save(pathToMyXmlFile);
2A
|
|
|
|
|
Markovl's suggestion is good and I use it for small amounts of data. For large amounts of data I tend to use an XmlWriter -- I keep thinking of writing something about it.
|
|
|
|
|
Hi
I used Moles to replace the method but not able to send a ReturnCode of 0 since it is a Read Only Property
MLdapConnection.AllInstances.SendRequestDirectoryRequest = (rqst, rsponse) => { return direcResponse; };
Is there any way to send a 0 return code in the return of the Mole delegate?
Thanks for you time.
|
|
|
|