To use Filestream on a DB 3 steps must be done:
1) enable it a server/instance level
2) enable it (sp_configure) at DB level
3) create a varbinary(max) field that supports filestream
(2) and (3) are done easily with T-SQL
(1) is doable manually from SQL Server Configuration Manager, basically what I need is to check all the 3 checkb...
Let's say this is the code:
a="xyz"
g="abcd " & a
So now the value of g is abcd xyz. I want quotes around xyz i.e g should be abcd "xyz"
How do I do that?
...
Where can I find a complete list of the intrinsic constants in VBScript (like vbCrLf and vbTab)?
...
Hi all,
I get the following error message when I run the vbscript named 'GetDiskSize.vbs' in Windows 2008 Server.
Can't find script engine "VBScript" for script 'GetDiskSize.vbs'
The vbscript has been registreed as regsrv32 VBScript.dll but still not work. Please help.
Regards,
Wilson
...
This is the situation, I have configured a dial up server and i want to play a sound or pop up
message when a daipup connection is made to my computer from a specific location.
and it could be done with configuration file or some script to run some exe.please give me some ideas
...
Hi,
I would extremely appreciate if anyone can suggest a solution for this.
I have a simple function that is is expecting for a browser to be opened on a page containing a web list that each value of it represents an account. When an account is selected it's products (if any) are displayed.
The functions goal is to retrieve an index ...
I had asked a question about parsing a file in ruby. I accepted an answer and wrote the following ruby script:
file = File.open('X:myfile.txt', 'r')
file.each_line do |line|
ccyy = line[53...57]
mmdd = line[57...61]
line[53...57] = mmdd
line[57...61] = ccyy
File.open('c:\myfile_MODIFIED.txt', 'a') do |f2|
...
I need a VBS script that can do the following:
User logs in to a XP computer and a PowerPoint presentations or web page starts
They read through the presentation and then click a links that says: “Click here to complete presentation”.
When they click the link it will send their username and time/date stamp to a text file on a server.
T...
I need to replace "." with "", im not sure how to do this in VBS, in ruby its gsub(".","") but i cant find anything to do this in VBS
...
Hello,
I encountered a problem in QTP, all the tests have been passed before, but recently, the FtpGetFile function doesn't work any more (other similar functions like delete, put.. neither).
In fact, I have observed through the log of proftpd that the connection is well created, and the parameters of that function are just like befor...
Ive got a VBS Script that generates an url to download a file from a server on my network. I now need to download the file to "C:\rWallpaper\wallpaper.png", the URL is stored in the variable "url"
Id like it to work something like wget on linux, just download and save the file to a specified location.
...
Hello guys,
I have a WebTable in QTP like:
<TBODY>
<TR></TR>
<TR>
<TD>
<TABLE>
<TR>
<TD>
<DIV class=divRow id=divRow_d_0>
<DIV class=divFirst>1</DIV>
<DIV class=divData>toto</DIV>
<DIV class=divData>fofo</DIV>
</DIV>
<DIV class...
I have a VBScript that checks for the existance of a file in a directory on a remote machine. I am looking to retrieve the "Product Version" for said file (NOT "File Version"), but I can't seem to figure out how to do that in VBScript.
I'm currently using Scripting.FileSystemObject to check for the existence of the file.
Thanks much.
...
I use MRTG to monitor vital stats on my servers like disk space, CPU load, memory usage, temperatures etc.
It all works fine and well for parameters that don't change rapidly.
By running small VB script I can also get any Performance Counter. However these scripts are called by MRTG every 5 minutes while performance counters like physi...
hi
I am try to run the go.bat from VB but when I run the script I get: :cant find specific file
but from the cmd window the file go.bat exsit what the problem?
Dim MyShell
Dim shell_cmd
shell_cmd = "C:\Program Files\dir1\dir2\wizard\go.bat"
set MyShell = CreateObject("WScript.Shell")
MyShell.Run shell_cmd, 1, 1
from cmd window
C:...
Hello,
here is my next question and i hope some one can help me :-)
Is it possible to position a msgbox in wsh/vbs?
I need the msgbox everytime in the foreground. I know that how to position a inputbox, but not a msgbox.
Thanks for help.
Greetings,
matthias
...
I'm looking for a light, free tool to format my Vbscript code.
The only way I've found so far is to auto-format it in VisualStudio. Although, it's too much to launch VisualStudio for this purpose.
Is there any web app or a free light tool for this purpose? Maybe a plugin for Notepad++?
...
I'm trying to expose a fairly simple C# class to COM which should be usable from VBScript (among others).
Some objects need to be created via COM calls and will be used in furter calls later on. The definition of the exposed classes and interfaces looks like this:
namespace Test
{
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch...
I've just discovered VBScript's GetRef function, which gets a reference to the function named by its argument. Is there any way to get a reference to a method in this way? I have a hunch that VBScript doesn't offer the sophistication of binding needed to do so, but it would sure be nice.
...
i'm trying to set up an application capable of running VBScript files from .NET (See here), and have most of it set up fine, but I want to test this out, so I need to be able to return data from my VBScripts. I've found that I can use WScript.Quit([ErrorCode]) to get back an integer value, but what about returning strings? Is it possib...