Jump to content

dman

Member
  • Posts

    708
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by dman

  1. your answer is almost always on the forum somewhere.... http://www.msfn.org/board/index.php?showto...958&hl=KB873374
  2. use the product key from the retail version but do not activate. Then use xppid to change key (or hack the reg, the tool makes it easy though) and replace with legal gateway key. http://ryan.ript.net/xppid/ some gateways are "pre-activated", so hopefully you don't have trouble when you try to activate with good key.
  3. save as text with .VBS extension, like "textreplace.vbs" or something. Then dblclick or from cmd prompt do "cscript textreplace.vbs"
  4. Advantage of limited account is that it doesn't have the authority to install programs... this includes virus. Unfortunately it also means other programs. Most people find limited account too restrictive to be usable. A better approach is to start internet, IM and email through dropmyrights.exe. This will strip admin rights out of process as it is launched giving advantage of limited account, but otherwise computer will behave as expected with admin rights. http://msdn.microsoft.com/library/default....ure11152004.asp
  5. This is quick-and-dirty script for text replacement. Edit to suit... 'set input and output files (can be the same) Const InFile = "C:\test\test.txt" Const OutFile = "C:\test\test.txt" 'set file open mode constants Const ForReading = 1 Const ForWriting = 2 'create scripting object Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile(InFile, ForReading) 'read the file to string variable strText = objFile.ReadAll 'close the file objFile.Close 'do the rerplacements, add one line for each replacement strText = Replace(strText, "http://", " ") strText = Replace(strText, "ftp:", " ") 'write corrected string to file Set objFile = objFSO.OpenTextFile(OutFile, ForWriting) objFile.WriteLine strText 'close the file' objFile.Close
  6. dman

    Hello

    I am jack-of-all, master of none except maybe Visual Foxpro. Thats the only one I had a steady coding gig in anyway. Now I do whatever freelance I can get... VFP, VB6, .NET, HTML, PhP, DB design and SQL. Whatever someone wants to pay me for. I can work with almost anything except could never really get my head around C++ GUI apps. Kinda specialize in Database Apps. I Have been working with Python lately. That is very cool language because it is truly cross-platform. Same code runs on Win32, Linux and mac (well, mac is a little bit of pain) check out link in my sig for Python dev framework "dabo" again, welcome to forum.
  7. Try re-installing Your "un-nLited" copy of XP. You do have it, right???
  8. dman

    Hello

    Ran fine on mine first try with original code. Looks very professional. Nice job zeno. Welcome to the forum It is good to have another coder around.
  9. Glad I could help Fred. You are right, script is useful for all kinds of desktop tasks. I usually do "scripting" tasks with simple visual foxpro programs (.prg files). VFP is perhaps the easiest and most powerful language ever created (you can tell I'm biased). VBS has great advantage though being preinstalled. You also might want to try making a .HTA interface for your script launcher. gunsmokingman has lots of nice examples of this type of code.
  10. It is important to discuss hacking but not on MSFN. There are plenty of hacker forums out there already if you like to discuss hacking. Too many people here (try to) post hacks/cracks even with clear forum rules against. A “hacking” forum would just be an invitation to post cracks and quickly become an embarrassment to MSFN. That is one of the things that set’s MSFN apart, it is “Clean” forum. I’m quite sure your wish will not come true here.
  11. Not sure what's causing it either, but here's a workaround... Trim the crlf from the string returned by clipget() $bak = ClipGet() $bak = stringleft($bak,stringlen($bak)-2) EDIT- Ya beat me to it. Glad you sorted it out. Yeah, needs both cr and lf trimmed.
  12. Maybe in your word processing program, but what if you were in japan, or Russia or anywhere else that uses characters not found in ascii set? That is what Unicode is for. Only 256 chars available in ascii, 65k in unicode... it includes everything. As the name suggests, unicode prevents the need for each language with special characters to have its own 8 bit character set.
  13. No it is unlikely. Unicode would be slower if anything, since it needs 2 bytes to store character instead of ascii's 1. Only thing unicode gets you is universal character set, not performance.
  14. If you can interpret what it is telling you, yes. It will tell you what files need to go along with the selected file, ie what dlls are required by given exe. You can see what functions are exported by the dependent dlls, and check if the versions you are attempting to use export the same functions. You need to know a little about programming and how dynamic linking works to use it effectively.
  15. Dependency Walker works on individual files of type exe, dll, com, ocx, sys, drv & cpl. It will tell you what modules selected module makes function calls to and their version in a "tree" format.
  16. So the HTM page is a launcher for other scripts? And you are just clicking the htm file to run, not using a webserver? You CAN run external scripts with the src tag... Add src="<drive>:\<path>\file.vbs" in your <script> tag. There are limits on what you can run though, nothing that launches it's own windows will execute. Code that works with filesystem will prompt a warning but should execute OK. You should be able to run code that creates a htm page and then use ie.navigate "newpage.htm" to navigate to the new page. I have never seen anyone use a browser and scripts in quite this manner, but it should be possible. If you can make the script do what you want while embedded in the HTML file it will work equally well in external file referenced through src="<file>" here is simple external file code. test.html <HTML> <HEAD> <META HTTP-EQUIV="expires" CONTENT="0"> <TITLE>Test External VBS</TITLE> </HEAD> <BODY> This is a external vbs script test... <FORM NAME="Form1"> <INPUT TYPE="Button" NAME="Button1" VALUE="Run"> <script FOR="Button1" EVENT="onClick" LANGUAGE="VBScript" src="test.vbs"></SCRIPT> </FORM> </BODY> </HTML> test.vbs msgbox "External Script test.vbs"
  17. I don't think you can search a thread, but on search page under "Result Type" you can choose "Show results as posts"
  18. Yes that is MDI Container. All child forms contained in main form. Visual Foxpro has a property "Desktop" to allow you to move child forms outside of the main window, but I haven't found equiv for .NET. I think "AddOwnedForm" may be closer to what you want then. Like the find box in notepad that is not modal but floats over the main form? That is what you are going for I guess. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Me.AddOwnedForm(Form2) Form2.Show() End Sub
  19. DeepBurner is nice, and that standalone version is great for usb drive. But for full-featured free cd-burner you can't beat CDBurnerXP, IMHO. http://www.cdburnerxp.se/
  20. Are you intentionally ignoring my point? THERE IS ONLY ONE REASON WHY HARDWARE IS OR IS NOT SUPPORTED!!!! It is an ECONOMIC DECISION MADE BY MANUFACTURER. If the company thinks it is in their interest to support, they will. Else they will not. It doesn't matter how much you love or hate 9x, support will not be denied just because you think it sucks, nor will it be provided merely because you are a fan. I know this is a tech forum, but this simple example of economics seems easy enough to grasp.
  21. @Link You started this poll allegedly to ask if hardware mfgs. should support 9x. You really seem more interested in bashing 9x than the answer to your poll. Here is example of what I mean by "depends" I bougt a ATI RageXL 8MB card for a customer yesterday. Price was $15.00. What are the odds of that ending up in a 9x machine? Quite high, so if I was mfg. I would be sure to include drivers for 9x. On the other hand, how many GeForce 7800 256MB PCI Express cards end up in 9x machines? Not too many, so if I was mfg. I would not be too worried about supporting it on 9x. You see, it is economic decision, and all the 9x bashing in the world won't change that. It is quite obvious to me that an OS should be installed on appropriate hardware, meaning to me P-II and below always get 9x, P-III is a tossup and P-4 and up gets XP. And on appropriate hardware both perform admirably.
  22. If you slim down the framework you run the risk of removing something that a program will attempt to use. No way to convert a project without source code, and difficult if you do have it. It would require all .net functions to be re-implemented in native language or API calls. basically re-writing program.
  23. OK, the answer to your question is you cannot execute content on the client from within a browser without using ActiveX or Java if that is what you are asking. You did not specify whether the vbs was on the client or server. A VBS on the server generating web pages is ASP. Exactly what are you trying to accomplish, It would help to have more detail in order to provide more appropriate answer.
  24. Microsoft Baseline Security Analyzer will tell about missing hotfixes, plus many other security issues. You need to validate once to download it, but not to install or use. http://www.microsoft.com/technet/security/...s/mbsahome.mspx Here is MSFN Hotfix list http://www.msfn.org/board/index.php?showtopic=31886
  25. I had the same problem with "Download.exe", but got a little more informative error message "Wildcards not supported with HTTP". I think this is the problem. I found ftp sites for some of the things I wanted to download, wildcards seem to work there. If you find solution please let me know. E:\utils>download http://download.betanews.com/download/10804 41198/klmcodec??? File Downloader - Version 1.01 (build 7.4) Downloads a file from a HTTP or a FTP server. Copyright (c) 2004, Noel Danjou <webmaster@noeld.com>. Server: download.betanews.com Port: 80 Protocol: HTTP Wildcards not supported with HTTP E:\utils> ftp://ftp.freenet.de/pub/filepilot/window...klmcodec137.exe
×
×
  • Create New...