my problemis that when i want to use socket.connect( ) to connect to a remote pc i can only do it if i have the name(local network) or ip address of remote computer, however the computer that i want to connect to is within a network and i cannot work out how to connect to that pc.
thanks for any help
User Profile
Collapse
-
nvm i've already worked out what i was after.
since it doesn't matter if the window closes
Code:import os os.system('start script.py') -
New Instance of script
first of all you may wish to know im using python 2.5 and windows vista & xp
i have a script that when run from the command prompt needs to run its self again in a different command window and remain open, however i have only been able to find ways of running it within the same command window.
Any idea's,
thanks -
However if you provide us with what code you have produced, and where you are having problems we will provide help just not a full code solution for you.
Chris...Leave a comment:
-
If you were to use the div tag it would ensure the text is always visible if it is black not matter what the background is, however you would lose part of the background image.Leave a comment:
-
im not entirly sure what you are asking here but this maybe able to help
[CODE=cpp]
timeFunc(){
return time;
}
timeFunc2(){
return time;
}
compareTimes(ti meFunc(), timeFunc2());
[/CODE]
ChrisLeave a comment:
-
Could you please supply use with the code you are currently using to help to see what is going on, thanks. Also if you could supply use with the site if possible this would be helpful (not hyperlinked)
Chris...Leave a comment:
-
Be sure to add it to the correct startup folder. If you wish it to only launch for 1 specific user then place it in their user startup folder. However, if you wish it to run for everybody who logs onto the computer then place it in the All Users startup folder....Last edited by Killer42; Dec 21 '07, 12:38 AM.Leave a comment:
-
could you not use a command prompt argue ment to launch the defrag exe file on the other pc?Leave a comment:
-
Yes indeed, AdAware SE Personal is a good piece of anti-spyware as it happens this is normally what clears problems up for me. However from time to time with certain things it will be unable to remove them but it normally provides enough information on its location for you to be able to delete it. I would also recommend running Spybot - Search and Destroy as this will pick up other things that AdAware SE misses....Last edited by Killer42; Dec 20 '07, 09:12 AM.Leave a comment:
-
Hmm every time i have seen this before it had been due to a download trojan, i suggest that you try disconnecting yourself from the internet and seeing if you still have the same problem.
Also if that is the case then run anti-spyware software rather than anti-virus as it has an increased chances of detecting a download-trojan you may find that if you do have one you will have ro remove it manually.
Hope this helps...Leave a comment:
-
SendKeys does not allow for the processing of keys inputted, however it is possible to detect keyboard actions using keydown/keypress events on different objects. The example below demonstrates how.
[CODE=vbnet]Private Sub textBox1_KeyDow n(sender As Object, e As System.Windows. Forms.KeyEventA rgs) Handles textBox1.KeyDow n
If e.KeyCode == 65 Then
' Whatever you wish to do, note you can convert the key code to...Last edited by Killer42; Dec 20 '07, 01:46 AM.Leave a comment:
-
if i have understood what you are asking is it not just a case of adding the required html <a> tags to the string "view" and so you have
[CODE=html]"<a href='http://www.thescripts. com'>view</a>"[/CODE]
or does each one need a different url to load depending on which cell it is in?
ChrisLeave a comment:
-
i would suggest readin some online guides and tutorials, as nobody here is going to do your work for you. If you attempt to write the code yourself and provide us with the code you have written then many of the expert's here will be glad to help.
Jus another question is it just retrieve the location of the files, or actually upload them to a server. As if you have to upload them to a server then you will need to use PHP.
...Leave a comment:
-
Your welcome, i know that feeling myself.
its quite often i have memory laps' and forget some of the simplest things in the world.
ChrisLeave a comment:
-
If this is the purpose of this post then may i suggest that you use the help function of visual basic and try using google. As the Syntax for an IF statment is about the easiest peice of information to get your hands on, and it would of saved you a fair bit of time.
ChrisLeave a comment:
-
I'm not too sure what you are asking here, are you asking how do I get 'Visual Basic 2005 Express Edition', or are you saying that you know about the Express Edition but are wondering if there actual is a normal Visual Basic 2005?
I would consider making it more clear in your post and not just remaining on the bare minimum, however Visual Basic Express Edition is the individual release of the application. No standalone program called...Last edited by Killer42; Dec 19 '07, 09:00 PM.Leave a comment:
-
Thats not a problem, if you are still having problems after looking into it further then feel free to PM me and ill try to help you out.
Also im sure another suggestion will be made before long as another solution which you may want to look into if someone does post another suggestion.
ChrisLeave a comment:
-
Hopefully im not missing the point here. OK here goes,
Firstly i would use a div as my method of displaying the image. Set up a div tag that is positioned absolutely in the center of the screen at the desired size, set its z-index to something like 999 to ensure it remains on top and set its visiblity to hidden. Also on the div place an image (just plain) as a place holder.
Once you have done that then you can use a...Leave a comment:
-
I see where you are coming from matt and i thank you for pointing that out. Readin the file line by line would be more appropriate and in that case could you not use getline, to return an entire line to a variable then use the length of that to declare an array of that size then begin to iterate through the text and store each character to the array.
No doubt i have missed another error, but that is proberly due to my lack of experience...Leave a comment:
No activity results to display
Show More
Leave a comment: