User Profile
Collapse
-
Thank you Rob for your answer... it's been a while since I posted this :) -
Socket reconnect problem
Hello everybody
I am working on a client application that connects to a C# server using the Socket class. I am trying to handle the case in which the server goes offline, and I would like the client to try to reconnect after the previous connect times out.
Currently I try to re-connect on the IOErrorEvent.IO _ERROR event handler. The issue is that it seems like the socket is not trying to make another connection.... -
Variable table name for cursor
Hello all
What is the appropriate syntax for declaring a cursor for a table name that is passed as a parameter to a procedure? I tried several combination and it doesn't seem to work.
CREATE PROCEDURE PROC(tableName varchar(50))
BEGIN
DECLARE cursorName CURSOR FOR SELECT column1,column2 FROM tableName;
END
The select statement can not be a variable, also it's not working with PREPARE... -
I don't want the enter key to trigger _btn_Click
Code:void _btn_Click(object sender, EventArgs e) { ..... }
Leave a comment:
-
Enter Key triggers onClick event
Hello
I have designed a control that consists of a textarea and a button. When the user writes text in the textarea and the Enter key is pressed then the onClick event of the button is triggered. Is there any way I can make the Enter key not trigger the onClick event of the button. Or in the buttonclicked event handler to determine if the button was clicked or the enter was pressed?
Any help would be very appreciated... -
how to use 2 computers in a network for processing...?
Hello
I am trying to write an application that uses 2 computers in a network to perform image processing. I found on the internet the MPI.NET for communicating between processes on different computers, but this requires for me to have a compute cluster and to install the Microsoft Windows Compute Cluster Server , so I would like to use a different approach if possible...
Please tell me if there is any way of achieving... -
I think you should be able to do something like that
Code:protected void Page_Load(object sender, EventArgs e) { foreach (string s in stringArray) { LinkButton something=new LinkButton(); something.Click+=new System.EventHandler(LinkButton_Cancel_Click); // set attribute for identifying the button was pressed for something.Add("someId",s);
Leave a comment:
-
Html special characters are not displayed correctly in email attachment
Hello!
I am sending an email with attachment and html special characters such as ® is displayed "®". Also the ™ characters is displayed "ââ".
What can I do to make these characters display correctly?
Thank you... -
-
HELP!! problem running .net application from mapped network drive
Hello
i have a .netapplication that runs with no problem when launched from the local machine, but when i try to run the same executable from the network the applications doesn't start. I suppose that the .exe.config file has something to do with it. Here is the content of the configuration file
[CODE=xml]
<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>
<configSections >... -
Cookie lifetimes ends sooner than setted
hello
in the web.config
<authenticati on mode="Forms">
<forms loginUrl="Opera torLogin.aspx" name="Login" protection="Enc ryption" slidingExpirati on="true" timeout="1440"/>
</authentication>
but after 1 minute of inactivity i get redirected to the login page
why? -
can't see email BODY when sending email with attachment
Hy all....
I tried several functions found on the internet and i don't seem to figure what the problem is... this is one of the example i tryied
[code="php"]
function sendMail($sendt o, $subject, $message, $from, $filesToAttach= NULL)
{
$i=0;
$mime_boundary = md5(time());
$htmlalt_mime_b oundary = $mime_boundary. "_htmlalt"; //we must define a different MIME boundary for this... -
-
select ALL data from two tables
hello
I have to mysql identical tables that contain different data. I would like to select all values from table1 and all values from table2 using the same query
if i use
SELECT table1.*, table2.* FROM table1
LEFT JOIN table2 ON table1.id=table 2.id
then i only get all the values from table1 and the corresponding values from table2, if any. I would also like that if there are rows in table2 that don't have an id... -
I was deleting y variable at the end of the function, that is why the list was truncated in other functions. Now I have another problem... I have pieces of code similar to this one:
[code="c"]
p2=new Node(x->getComponentNa me(), cVal, cVal);
p1->setNext(p2);
p1=p2;
p2=NULL;
delete p2;
[/code]
and in the output window I find the following message signaling i have a memory...Leave a comment:
-
problem updating linked list
Hello all
I have a linked list and a method that inserts certain elements in the link. When going trough the list in the method I make the changes the list is changed as i want, but when i use the list in another function the list is not updated, it contains null components. What can I do in order for my list to remain changed?
this is the functin that modifies the list
Code:BYTE CheckComponents() { Node *comp=components,
-
Well, I can not do anything in the second page for I wasn't the person who wrote the code, and is on onther serverLeave a comment:
-
no
I send some information to a page.... the page interpretes the informatin and outputs something ( i don't know what and how my data affects it) and i need to read what it outputs
for instance in the first page i fill in Tommy. The second page can output "Hello Tommy" "Good morning Tommy" "yes" "no" ... can output anything... and i need to read what it outputs based on my input (in this case...Leave a comment:
-
Grabbing form values from an external page
Hello all,
I have a page that submits to another page
Is there any way of retrieving the output produced by the second page in the first page?
For instance if I have in the first page a form in which you fill in a name, submit it, to a second page that produces "Hello Tommy", i want to read from the first page what the second page outputed. I have no control over the second page. If there's any way to read its content... -
Read output from script called using loadVariables
Hello all
I would like to send some variables from flash to a php script and then to import the output created in flash. The output is in xml format
<xml version="1.0">
<root>
<response>appro ved</response>
</root>
is there any way of doing this? I cannot format the output
thank you
No activity results to display
Show More
Leave a comment: