Solved the problem.
I first had to enabled DCOM, then i added a new account as the only one allowed to execute scripts (except SYSTEM).
Added the new account as Administrator...
Attaching my account information with the script at run time.
Thanks for your help anyway.
//R
...user and added this to Administrator-group, i then try to send this userinformation with the script (strUser & strPassword) but without luck.
* I dont want to put one script on each server which is running local... *
Best regards
Robert
--- script ---
Option Explicit
Dim...
Hi there!
Found a way.
<code>
private void WinForm_Load(object sender, System.EventArgs e)
{
// Make sure window is visible //
this.Show();
this.Select();
// Call function //
genFile();
}
</code>
Thanks for fast responses!
//Robert
Hi,
I need to call a function right after the form is visible.
I dont want the user to click anything, the program should be run automatic.
Well, i dont know where to put my call... Main(), WinForm_Load, WinForm...
Ive tried some but i only get this errors:
An object reference is...
Thanks a lot, this is exactly what i was looking for.
A good tutorial on how to get started with WebServices and VB6.
http://www.fawcette.com/vsm/2002_09_14th/magazine/features/mercuri/
Robert
Hi,
Ive been searching a lot for information about Webservices and discovered that there are none examples for VB6.
Isn´t there a way to create a webservice in VB or is it the same as an ActiveXDll???
Im sorry but i dont get this with webservices and all talk about .NET, there must be a...
Hi,
Ive continued searching and find some usefull(?) information on some russian and japanese sites (im from sweden) ;), after som serious puzzling i managed to get it to work... was about to throw my computer from second floor...
I now can use my Dll´s both dynamic, static, from VB and in...
Hi,
Ive been searching the whole web by this without finding any good information about Borland C++Builder is it me or...
My problem is that ive created dll´s in VB which i would like to call from Borland C++Builder, all snippets or helps ive found take for granted you got the .lib file...
Im about to develop some small utils for SuperOffice in VB.
I dont know where to start, which Reference should i choose, there are some to choose from...
I've seen a lot of complete add-ons already developed but i sense i can create some myself.
Its not imported at this state what it does as...
Hi!
I have a ListView with 14 columns and now i want to sort them!
I can sort it on one column, for example column no 4.
But i want to sort my data in this column order: 0,11,1.
I cant find any usefull information on how this can be done, do i need to replace the ListView with some other...
Im using Winsock and have created a FTP server which working without any major problems, BUT i would like to be able to specify that the server is using "Microsoft NT" as host type, so when the client uses "Automatic Detect" it detects "Microsoft NT"...
Thanx...
... or you can use Windows Scheduled Activities to start your application and perform your update on Form_Activate and close it nicely when done.
-Robert-
Does any one know hoe to solve this small problem?
When i listen to on-line radio´s the music plays to fast, sounds some like Donald Duck singing... quite anoying!
Tried with Windows Media Player, WinAMP & RealPlayer the same problem on everyone.
It seems as if it plays in the same rate it...
Well, the database were constructed like that some years ago and its all to late to change that...
Its a movie-register, and every row matches one copy.
So if one copy got lost i have to change ONE of the rows to say that the copy was lost... for example...
We currently use and Omnidex...
...I only want the column updated in ONE row!
Some like this:
------------------------------------------------------------
sSQL = "SELECT * FROM TABLE WHERE COL1 = 'BAH' AND COL2 = 'BLAH'"
objRS.Open sSQL, objConnection ,0,2
objRS("COL1") = "TEST"
objRS.Update...
Well it wont work...
All columns are the same...
I need somehow to lock one row or in someway get it to understand that i want to update ONE row.
-Robert-
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.