|
There you go:
Option Explicit
Sub CreateHost (HostName, HostType, NTGroupName, AuthTrusted)
On Error Resume Next
Dim objLocator, objService, objHostSetting, objHS, objBTSHost
' Connects to local server WMI Provider BizTalk namespace
Set objLocator = Createobject ("wbemScripting.SWbemLocator")
Set objService = objLocator.ConnectServer(".", "root/MicrosoftBizTalkServer")
if err <> 0 then
wscript.echo "Error Point 1: " & Err.Description
end if
set objBTSHost = objService.ExecQuery("select * from MSBTS_Host where Name = " & HostName)
if err <> 0 then
wscript.echo "Error Point 2: " & Err.Description
end if
wscript.echo objBTSHost.Count
if err <> 0 then
wscript.echo "Error Point 3: " & Err.Description
end if
' More code after this
' ....
end Sub
On Error Resume Next
' Create a host, an instance of it, and associate.
CreateHost "MyHost", 1, "BizTalk Application Users", false
This produces the following output:
Error Point 3: Invalid query.
Thanks.
|
|
|
|
|
HostName seems to be a string, so try to enclose it in single quotes:
"Select * From MSBTS_Host Where Name = '" & HostName & "'"
In January you said "Money in April" -
That was two years ago!
B. Python
|
|
|
|
|
Dear all,
I have Windows Vista Ente. 32 bit running on Intel Core 2 Quad CPU Q6700, 2.66 Ghz cpu, $G ram .
After joining the machine to the domain, it takes about 15 minutes for the O.S. to load, its becomming too slowwww.
Any Ideas about the problem? solutions?
Best regards.
|
|
|
|
|
So what is the machine doing during these 15 minutes? How long does it take if not a member of a domain?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Dear David,
The "Please wait" Msg is displayed the whole loading time (15 min).
If its not a member it takes about ... the usual loading time , may be seconds.
Best regards.
|
|
|
|
|
Sounds like your systems administrator has enabled Roaming Profiles[^] which causes all of your user settings, security policies and some personal files to be stored on the domain server. Each time you login it takes time for them to download. Ask your system administrator if this is the case, I could be wrong.
Best Wishes,
-David Delaune
|
|
|
|
|
Hello to everyobdy,
I just want to know how many DNS entries can be stored inside a Forward Lookup Zone (Primary)...
thanks in advance
Paolo
|
|
|
|
|
Hi,
Im not sure if this is the right place, but i wrote this service app that listen to a tcp connection, but cannot connect to it from a remote computer in the same local network.
I can connect to it locally from the same pc, but not in another.
I was wondering if the is any security settings, or policies in Windows that will prevent the service from receiving a connection?
Do i need special rights for the service and how do i do it?
Can someone point me to the right direction as i cant find any info after days of searching..
fyi
- the app works if not running as a service
- im using administrator account with password
- windows xp sp3
- firewall off, but will work if on if app is not run as service
- sql connection works from remote pc
Thanks
|
|
|
|
|
Dear All,
we develop a notebook.
Some HW design problems,DDC line disconnects; So my os(xp) or graphic driver can't get ddc informations from my display screen. So in Display Properties->setting,it didn't offer 1680*1050 resolution for user to set. By the way, The graphic chipset is intel 945, and the size of my screen is 22 inch;
now ,I want to solve this issue by program.
I use ChangeDisplaysettings to modify this resolution.
unfortunately,it failed,return "the graghics mode is not supported" message; I try to use SetDisplayMode(DirectDraw),but it also failed.
now ,I have no ideas about it . could you give me some professional helps.
thanks in advance.
best regards
Figu
|
|
|
|
|
It won't work unless you have the drivers for the monitor. I've got the very same problem at work and, wow, guess what solved it!
|
|
|
|
|
Hi Dave,
Thanks very much for your reply.
The driver for monitor? we as if haven't any drivers;
Yesterday ,I try to use intel tool(iegd-ced.exe) to make a driver for graphic; yes ,it can solve this issue,but it doesn't pass "digital signer" certification. we are notebook company ,so it is not very good for me.
best regards
Figu
|
|
|
|
|
Dave Kreskowiak wrote: I've got the very same problem at work and, wow, guess what solved it!
Ummm, let me guess it, ..... the appropriate drivers?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Give that man a C-gar!
|
|
|
|
|
[Homer Simpson voice over] Woohoo! [/Homer Simpson voice over]
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
thanks very much for you idea ,yeah ,intel official website told me that they have released a driver for this state. and intel support engineer told me that BIOS has disabled this option a VBIOS or INF level. I will get helps from my BIOS engineer, but what a pity ,we hadn't good processes.I'd better contacting intel again. I wish they can give me more helps. Wow,I look forward to this issue can fix ASAP.it bother me so long.
|
|
|
|
|
i have a problem on opening .rar files on my mac
I also have tried iArchiver but it dosent work properly ... !
some times it dosent open at all!
do you khnow any other way / solution about .rar files ?
tnx
|
|
|
|
|
|
I'm using WinRAR on a PC. It works all the time.
|
|
|
|
|
hi
I'm trying to install win 98 on a new PC, the boot menu loads from the CD inside the DVD Drive but when I choose to install 98 with CD-rom support, it couldn't recognize the drive,is it the problem with DVD? what should I do? (except downloading drivers )
... and I can't open the Box, it's in warranty
|
|
|
|
|
It might have something to do with the fact that the OS is 10 years out of date..?
Regards,
--Perspx
"A refund for defective software might be nice, except it would bankrupt the entire software industry in the first year." -Andrew Tanenbaum
"Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer." -Fred Brooks
|
|
|
|
|
Perspx wrote: It might have something to do with the fact that the OS is 10 years out of date..?
Geeze, wouldn't that be it?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Uhh, without drivers, you can't use the DVD. So guess what....
|
|
|
|
|
subai wrote: I'm trying to install win 98 on a new PC
Why? Windows 98 is soooooo old and out of date.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
one of our clients uses an old ms-dos program, he wanted to replace his Win XP with Win 98
you can consider my problem as installing win 98 on a machine without cd-drive
I'm trying to find something about installing from network
and for the last way I will use my ubunto live cd to copy installation files on hard disk
|
|
|
|
|
I would highly recommend installing Windows XP and using Microsoft Virtual PC[^] for the old MS-DOS applications. It is completely free and very easy to setup.
Windows 98 is no longer supported and will no longer recieve security updates. It reached the end of life back in 2006[^] and is now a retired product. Anyone using Windows 98 will be subject to unpatched vulnerabilities, some of which may occur simply by surfing the internet.
You should inform your boss of this and then show him how easy it is to use Virtual PC 2007[^]
Best Wishes,
-David Delaune
|
|
|
|