Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. patrician

    Writing to a text file

    You could try saving the results as a cookie file. However, there are very important security reasons why a browser script should not be allowed to write to the local file system. Think about them for a moment or two and they will become quite obvious.
  2. patrician

    VB6 &OS/390

    Hi You need to read the documentation on HLLAPI. This will allow interaction between OS/390 and VB. Do a search on google for HLLAPI or EHLLAPI or WINHLLAPI. Microsoft also provide a PDF on HLLAPI.
  3. patrician

    is visual studio.net really good?

    If you are determined to buy VB.NET get the book Microsoft Visual Basic .NET Deluxe Learning Edition isbn:0735616345 at about $83.99 from Amazon( or any other bookseller) its expensive for a book, but cheap as VB.net(standard edition) is thrown in free.
  4. patrician

    is visual studio.net really good?

    It is really the only choice you have for developing in VB.net. You could program using notepad and cmd, but I'd bet that would not be much fun. or You could try sharpdevelop, the free IDE at http://www.icsharpcode.net/OpenSource/SD/default.asp However, VB dev is not its strongest point...
  5. patrician

    Problem with converting string to hex

    Not sure if this helps, but is this what you want to do? hexNo = "4A696D" 'Value read from registry assigned to string for x =1 to len(hexno) step 2 partNo = mid(hexno,x,2) 'chop up string strName = strName & chr("&h" & PartNo)...
  6. patrician

    Is It posible convert a VBscript into an .exe file???

    Easy solution: Start notepad Type name and path of script (vbsript.vbs) save as filename.bat doubleclick on bat file and your vbs prog will run.
  7. patrician

    how to submit a form without pressing a submit button in vbscript <%%>

    If a reply helps, a good way to show appreciation of it is to award a star. Its just a matter of being courteous to someone who has helped. :o)
  8. patrician

    how to submit a form without pressing a submit button in vbscript <%%>

    well give the man a star then :o)
  9. patrician

    update problem

    This might be a silly question, but at what size did you dim the array?
  10. patrician

    automating scripts + writing vb without vb6

    Hello Damian In answer to your questions: 1 Yes VB is capable of this. However, as far as I know, you can not write and compile VB without the IDE. 2 Schedule the jobs using your NT scheduler of choice. VB is not particularly good at running as a service. VBScript is really much better for...
  11. patrician

    Select Case with variables

    Try this: Public sub Select_case() Dim strSelect As String strSelect = "Property_HELP" Select Case strSelect Case "Property_A" To "Property_zzzzzzzzzzzzz" msgbox "property_selected" Case Else msgbox "nothing...
  12. patrician

    how do i detect which operating system is running

    For the api use this: Public Const VER_Processor_WIN32_NT& = 2 Public Const VER_Processor_WIN32_WINDOWS& = 1 Public Type OSVersionInfo dwOSVersionInfoSize As Long dwMajorVersion As Long dwMinorVersion As Long dwBuildNumber As Long dwProcessorID As Long szCSDVersion As String...
  13. patrician

    See whos running the app?

    this function returns the username of the currently logged in user: Declare Function GetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize as Long) _ As Long lpBuffer is the user name.
  14. patrician

    VB vs. VS

    You could buy Microsoft Visual Basic .NET Deluxe Learning Edition ISBN: 0735616345 for $83 includes book and VB.net standard edition.
  15. patrician

    Error #156: Incorrect syntax near the keyword 'File'.

    Hi Tats I think you'll find that File is a reserved word and therefore shouldn't be used as a column name.
  16. patrician

    How to retrieve Password of logged in user!

    I agree with DarenNM, it would be better to use a generic Username/password, but if you want to know the user who is running the app use the api call(this works under NT4, not sure about other versions): Declare Function GetUserName Lib "advapi32.dll" Alias _ "GetUserNameA&quot...
  17. patrician

    How to retrieve Password of logged in user!

    I would have to ask why you want this type of info? If you are talking about the users password to log onto a PC, then I would suggest you are straying into the realms of hackerdom.
  18. patrician

    Why this code doen't work, any ideas?

    have you tried to hardcode dates into the statement? for example: gRDB_RS.Filter = "RetrainedDate Between #01/12/01# And #02/12/01#" -and- gRDB_RS.Filter = "RetrainedDate Between #01/12/01# And #31/12/01#"
  19. patrician

    Why this code doen't work, any ideas?

    see msdn for answer: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q248076&
  20. patrician

    Why this code doen't work, any ideas?

    where exactly are you getting the run-time error from vb or from the database you are accessing. If its the database ensure dates are being passed properly for your locale.

Part and Inventory Search

Back
Top