Community Member
Member Avatar
I'm using linq on a array and I need to find the index of the linq result. Is this possible? how?
My thanks in advanced.

This is my code:


Vector3[] vertices=mesh.vertices;

var V3=(from cur in vertices
where (cur.x==point.PointX) && (cur.y==point.PointY)
select cur).FirstOrDefault(); Topic by game4tress in Software Development
Member Avatar
When I save an image into the database, the image field has the following information in the field:
<Binary Data>
But when I read the image from the database I get a "X" or a number like "4172726179" and the image is not displayed.
I'm using this code for displaying … Topic by game4tress in Web Development
php
Member Avatar
I need to change the background image of a button that is declared in xaml, like this:

<Button x:Name="btnBorder" Content="Moldura" Width="80" Height="80"
Margin="10,6,10,6"
Click="btnBorder_Click"
>
<Button.Background>
<ImageBrush ImageSource="/Images/arrow-expand.png" AlignmentX="Center" Stretch="None" x:Name="imgSourceArrow" />
</Button.Background>

</Button>

and I'm trying to change the ImageSource of the ImageBrush. For that, I'm using this code … Topic by game4tress in Software Development
Member Avatar
I'm trying to create an ASP .NET MVC WebSite that allows the user to enter the website
without providing any additional information or by specifying an id or a name. Is this possible?
How?
I've tried the following method but it's not working




public void Index()
{
//...
ProcessClient();
} … Topic by game4tress in Web Development
Member Avatar
I've made a rectangle with another 3D point inside. The rectangle is textured with an image. Now, I need to move the point that is inside the rectangle to another 3D position. Does anyone knows how this is possible?
The only way I found, that is no good for what … Topic by game4tress in Software Development
Member Avatar
game4tress Replied To a Post in Best PHP Forum
Topic by game4tress in Web Development
First of all, thank you for your answer

Well, I dot need it to have a lot of features. I mainly need it to be secure. I don't want to have spam in the forum. Reply by game4tress
Member Avatar
I'm searching for a forum for my website http://www.game4tress.com
The only free forum I know is https://www.phpbb.com/
The problem is that I've used this forum in the past and I used to receive false posts (like spam).
One other situation is that I also want to integrate the forum with … Topic by game4tress in Web Development
Member Avatar
I have the Ajax call listed bellow inside a jquery function, and the ajax call is not working. I've used "alert" to debug and its like the jquery function didn't even had the ajax call. Nothing inside it is processed, with no sucess and no errors.
Isn't it possible to … Topic by game4tress in Web Development
Member Avatar
I'm creating a chat system and the problem is that when testing with two users, the secound user (entering the system) can see the first user (already loged in), but the first user will never see the next user(s) entering the system.
I know that the problem comes from the … Topic by game4tress in Web Development
Member Avatar
game4tress Began Watching Security
I know that this question is asked a lot but still can't find the correct answer.
I have a database on SQL Server 2012 Express Edition, that I need to protect the information and its structure.
What's the best way to do it?
Is there any way to protect the … Topic by game4tress in Databases
Member Avatar
game4tress Created Security
I know that this question is asked a lot but still can't find the correct answer.
I have a database on SQL Server 2012 Express Edition, that I need to protect the information and its structure.
What's the best way to do it?
Is there any way to protect the … Topic by game4tress in Databases
Member Avatar
I have fields in a table that are being constantly updated with the current time (each second). First, the controller calls a function to create the record in the database



public function saveEntry($theuser='')
{
$data = array(
'theuser' => $theuser ,
'dateentered' => date('Y-m-d') , //date('d-m-Y H:i:s') ,
'gname' => … Topic by game4tress in Web Development
Member Avatar
game4tress Replied To a Post in ListViewItem
Topic by game4tress in Software Development
Ok, I already found the answer. It's different to use the control in windows forms and WPF.
Here is the web page I found:
http://stackoverflow.com/questions/15865829/add-items-to-columns-in-a-wpf-list-view Reply by game4tress
Member Avatar
game4tress Replied To a Post in Chat system
Topic by game4tress in Web Development
Thank you for your response.
But does the Javascript's unload function work when a computer is abruptly turned off? Reply by game4tress
Member Avatar
game4tress Replied To a Post in ListViewItem
Topic by game4tress in Software Development
Thank you for your response!
Well, about the layout I want to use de "Details" layout, if that's what you're asking, but I'm not being able to define that layout. I'm not finding the proper way to define it.

about tang2:



foreach (TipoAngulo tang2 in ListOfAngles)
{
ListViewItem lvi = … Reply by game4tress
Member Avatar
game4tress Created Chat system
I'm creating a chat system and I need to remove every user that did not properly logout (if for instance the computer was shutdown unexpectedly,...), such as some other tasks.
One possibility is for each user's script check for inactivity (3 seconds, for instance) of every other user, but if … Topic by game4tress in Web Development
Member Avatar
game4tress Created ListViewItem
I'm trying to fill a listview with the code shown bellow, but when the listview is populated, each item is shown as:

ListViewItem: {The information to display1}
ListViewItem: {The information to display2}
ListViewItem: {The information to display3}
ListViewItem: {The information to display4}


My question is, how can I display only … Topic by game4tress in Software Development