Results for the vbscript GetPrivateProfileStringCalling a VBScript from within a VBScript -I have a VBScript that needs to call another VBScript and I'm not sure how to do it. The called VBScript also has 3 command line parameters. Any ideas on this? Thanks, GetPrivateProfileString - what's wrong w/ this........ GetPrivateProfileString (App.EXEName, strKey, "", strValue, 1024, strINIPath) ? it just returns the Default(""), even when there is definitely a value that should be returned. thnx! Debugging and GetPrivateProfileString - Hi everyone, this is my first time here.. and I hope somebody have encountered this problem before... the thing is that, I have an app that gets values from ini and is using API GetPrivateProfileString it is fine when I run the application as an exe, but then if I debug it.. the p GetPrivateProfileString question [resolved] - Can I do this? GetPrivateProfileString("General", "version", "", strBuffer, 30, "http://www.somewebsite.co.uk/config.txt") I want to have my VB6 app check for updates online - but this doesn't seem to work. Simon VB or VBScript - Hey, posted this over in VBScript also. I am very new to VBScript. I know VB pretty good though, so hopefully this helps. I am trying to use VB or VBScript to open or pass a command line to Monarch Pro to take a report and put it into a template, that is already created, load it to a Dynamically creating a form and control in a VBscript - I need to create a VBscript which has 1 form, and at least one control. I want to prompt the use to change the drive letter. So I need a form, and a Dir List Box. However, I don't know how to add a form or control to a vbscript, since it seems to be limited to variant data types retrieve from ini with getprivateprofilestring - I am having trouble retrieving from an ini. I only get a blank string. Any help would be appreciated! Here's my code: Public Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal Do I need VBScript for this - I am very new to VBScript. I know VB pretty good though, so hopefully this helps. I am trying to use VB or VBScript to open or pass a command line to Monarch Pro to take a report and put it into a template, that is already created, load it to a certain website, login automatically w/ Re: VBScript vs. ASP - Hello. I am starting to learn ASP and VBScript. Could you please tell me how they are different, how they are related, or whatever in terms of HTML? I know that the tag to start any VBScript (ditto to Javascript) is <SCRIPT LANGUAGE="VBScript">, and the code f VBScript Newbie Question (VERY EASY) - Ok, I'm new to VBScript, so don't laugh. How do I take the VBScript source I made in MSE and create a vbscript file? Do I just copy/paste it and change the extension like I would an HTML file? A somewhat difficult question about VBscript - Is there any way I could allow VBScript to run under Mozilla and other alternative browsers? I know VBScript only work under Internet Explorer. I wonder is there's any hidden tweak or special program to allow VBScript to be enable in Mozilla? Thanks, Greg vbscript lost focus routine - what the heck is the proper syntax for writing a lost focus routine in either vbScript or ASP? I know VB but am new to both vbScript and ASP. I noticed that what is Text1_GotFocus in VB is Text1_OnFocus in vbScript. What is the vbScript equivalent of Text1_LostFocus? VBScript-What can I do with it - I've recently learned of VBscript, and I've read a few tutorials, done a little coding... My question is: Where does VBScript become incapable of doing what VB can do? Can it do APIs? Can it use controls? (RTF, Picbox, slider...) Can it make control arrays? Userdefined objects GetPrivateProfileString, not from file, from string - I'm using the GetPrivateProfileString function to read INI's, it does what I need it to do, but I need to make it so instead of running the function on a file, I need it to run the function on a string. Right now, I have my app writing the string to a file (String is from a MySQL), the Pass VB Checkbox value to VBScript - I am writing a VB form that is called from a vb script to display login info for our domain login script. I am able to pass variables to the VB app from my vbscript, but I want to pass the values to my vbscript from the VB. Basically I have a check box on the VB app that I want to read GetPrivateProfileString problem in Win 98 & ME - Hi I have a large Ini file that contain many texts. I use the API function: "GetPrivateProfileString" to get the text i need. All works ok in 2000 & XP but in 98 & Me i get empty some empty strings. I created a small project that get 3 texts from 3 locations: to creating Dll in VB for VBScript Code - My project is coded in vbscript.I would like overcome the interpretive overhead by converting part of my code(a major functionality which mainly has function calls to other VBscript functions) into a Dll using VB. Is it possible to have vbscript function calls in a Dll created in VB?? GetPrivateProfileString in Vista - Hi there. Our VB6 application runs well on XP. Now one of our client has upgraded to Vista. He said that he has managed to install and run our application on Vista. But seems that program can't pick up the old settings by GetPrivateProfileString function (the settings are stored i How to run ocx using VBscript - Dear gurus and members, I am a newbie in VBscript. May I know how can I run .ocx using VBScript? Is there any sample codes or suggestions that I can refer? Will running .ocx using VBscript cause any security pop ups such as save/open dialog, activeX? Any suggestions and reference a VBScript...pasword protection - I'm trying to create a VBScript that will open a database and check to see if a user has registered. I cannot use ASP, cause the server is not ASP enabled, so I figure I have to do it with VBScript. Is there anyway to open an Access database in VBScript? Thanks. |