How To Controll MTS
Help meI want to control MTS.Wm.. I want to stop transaction service..But I don't know How ..Now I use following code.=================================================Set catalog = CreateObject("MTSAdmin.Catalog.1")Set root = catalog.Connect(strDestIP)Set packages = root.GetCollection("Packages", "")Dim strComp_Name As Stringpackages.PopulateFor Each pack In packagesIf pack.Name = strPackageName thenSet util = packages.GetUtilInterfaceutil.ShutdownPackage (pack.Key)exit functionEnd IfNext==============================================This code is used only one package shutdown..I want totaly stop Microsoft Transaction Service.Help me.. Please
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
WMP Controll?
Anyone know how to make a windows media player controll? for example if windows media player is open i can just click a cmd button and it can go back to the prvoius song or forward pause play ect i already tryed the search button and when to pscode help would be appreciated!
Tips Controll
is there an activex controll that brings up a tips box? the one were you can click next tip last tip and close? if so were is it?
*Thanks*
User Controll
How can I save/retrive an user type item to property bag.
like.
Public Type Items
Text As String
Enabled As Boolean
Icon As StdPicture
IconIndex As Integer
End Type
I also want to save/retrive a picture property from property bag.
Webbrowser Controll
i using webbrowser control to display an html report....
how do i set the text size property?
in ie it can be done by view>text size> medium or watever.....
Mouse Controll
hi is it possible to have my program take controll of the mouse and move it to a position on the screen and make it click on things without the user moveing it out of the way. and can i make it so that my program still recognises when you click with the mouse button.
please help
Text Box Controll
Can I do the following with the text box controll?
Auto Scroll to the bottom with multiline on?
Have Color for certain text not all?
If textbox controll cannot do this can anyone suggest a contol which will?
Need ActiveX Controll Help
As you can see, by the code in the attachment (very small)
When a user says yes to show the splash screen, and the .show part is on the usercontrol_initalize part of the code, it shows up in design time.
Is there a way to fix this? (And if you dont like anything else I've done in the code, tell me how to fix it)
This is my second time at making a user control, (the first time I'm realy going to try though) so the code will be a bit sloppy, and probably in-efficent aswell, so i will take any pointers you might wish to add.
Thanks for your time
Imagelist Controll
how is it that i can extract and save a 32x32 icon from a imagelist control but when i try to extract and save a 16x16 icon the mask colour comes out black ????
I DONT KNOW A LOT BUT WHAT I DO KNOW I AM WILLING TO SHARE
ImageList Controll
Hello
I have extracted a files icon using SHGetFileInfo API or ExtractAssociatedIcon API.
Can I put it to an image list control at Runtime?
So I can use the following code to load the icon in to a listvew.
VB Code:
Form1.lvhkcu.ListItems(n).SmallIcon = 1
Thanks
Listview Controll
How can i define a specific index for a listitem. Using:
For i = 1 To rs.RecordCount
Set itmX = ListView.ListItems.Add
itmX.Index = rs.Fields("iNr")
rs.MoveNext
Next i
will not work.
Anyone know a good way, is it possible?
Timer Controll
hi
i want do display a picture for 10 to 15 seconds only. how can i do this using timer control.
How can i call a funciton after some fixed inteval of time
thanks
Need Some Help With The Webbrowser Controll
Greetings,
I wonder how I can get the following things done with the help of a webbrowser controll.
1. input a username and password in text boxses on a webpage and the click the submit button.
2. when inside, then click a button that is located in a web page frame.
Anyone know how to do this and can help me out ?
Thanks in advance.
-Lumin
Mistic Controll
Hi!
My english is very bad. I try to tell you what is my problem.
I find a controll.
I want to create a document, and preview it. I want programming the
controll (crate tables, table in tables, put text, put pictures).
Can anybody know a controll what can create document. Not report
controll.
Thx.
Leslie
Browser Controll
in a form i have placed a browser controll. but when i resize the window the
controll doesent shrinks automatically.. is there any way to do this .
Thanks and Regards
Version Controll Help!!!!!!!!!
How do I do Version Setup in VB.
e.g.I created a software with 10 forms and then I created a setup and distributed to someone.
Now I have created 3 more forms .
What should I do so that setup for only the new 3 forms is made and when this setup is installed these 3 new forms are plugged into my older application.
User Controll
How to create user controll in vb which can be used in different forms
Inet Controll Problem...
What i want ot do is save all the html and stuff from a website, cept the url is like this: Http://blahblah.com/thing.asp?=123
How would this be done?
Help With Internet Transfer Controll
When I open a certain url with the inet control I always only get a partial html file. Here is the code I'm using.
Inet1.OpenURL (url)
rtbHtml.text = Inet1.OpenURL
I try testing the state of the inet control but nothing seems to load the entire html page into the rtb. If I use this with other websites though, I seem to get the whole entire file... sometimes. This only recently started happening. Is there any way to make sure that the html code isn't loaded into the box until the entire page is loaded?
Whom shall I fear?
Making A Controll Array
Im doing a project at school where i am going to need to run through data adding each bit to a text bow, then moving onto the enxt text box. I was told i would need a controll array of the text boxes to do this effectively. But the only things i can find deal with .NET and wont work on VB6.
can anyone help me? thanks in advance.
Stepper Motor Controll
I am new to Visual Basic, and I am trying to figure out how to interface this stepper motor controller http://www.stepperboard.com/bc2d15po...r_firmware.htm using VB. I have the controller working using Hyperterminal, but my boss wants me to use VB.
I really do not know where to get started on this project. Please help.
Infra Red Remote Controll?
How can i use my infrared remote controll in my application?
my infra red device is not connected to a com-port but to my Medion Tv-Radio card (a MD2819 TV-card equipted with a phillips 7134 chipset (or so))
Active Movie Controll
If I choose the Microsoft ActiveMovie Control is the Components form and Controls tab I get the control in the toolbox.
(The location of the contol is C:WINDOWSSystem32amcompat.tlb)
Then I also can drag it out on a form and I can see the interface of the control.
I can save the the project.
But... When I try to run it I get the message
System Error &H800004005(-214746729). Undefined error (Translated)
The same error when I close the project
And the same error when I open the project +
"cant't load or unload this object" message.
All this errors disappear if I don't user this control and come back if I try to use it.
Is something wrong with the tlb-file, or
I use VB6 SP5 and XP Pro.
How To Controll Relaycard Thru Internet
Plese help me Im just a Beginner to VB
[Type Homeautomation]
i got IIS Server a local Relay_Board Controlling Lights and i want to be able to controll this board thru Internet.
The relay board accepts SerialData.
i hope it exists a sample for this.
TREEVIEW OR LISTVIEW CONTROLL Help
I am sorry if this was said before, but I really need to find EXACT URL of where or info on MSFLEXGRID or what ever controll almost every program uses, and I KNOW its not custom because THEY ARE ALL the same!!!
THE MSDN ONLINE STINKS!!! I searched and searched on the online version of msdn since i lost my cd, and there's no help at all and their search feuture sucks!! it stinks. And it is absolutely IMPOSIBLE to go "back, next, up one level, etc.,..";
PLEASE and PLEASE someone help me with this.
Calendar Controll Question.....
Is there A way I can place text on a certain day, and if so, is there a way i can set every sunday to contain the same text? Like the same thing happens every sunday, and have the day say that? I appreciate any help.
Resizing An Image Controll
Hi everybody.
What I want to is resize an image control at run time.When the user clicks on an image,display middle and corner points of resizing and allow the user to enlarge the image.
Anyone willing to help? Thanks!
VB6 Controll For Serial Comunication
Hi all, its been a while..
I'm not sure if i'm asking on the rigth forum, i hope somebody could redirect me if i'm wromg.
I'm working on a project working with microcontoller device that plan to recieve/transmitt data to PC via serial COM port.
I tried to build the software my self using visual basic6.
does anybody know any links where i could find helpfull info?
anybody know which VB6 control tobe use?
thank you
Edited by - kjoephi on 9/27/2005 8:26:32 PM
Property Of ActiveX Controll
I m creating an ActiveX Controll.I want to create a property which should be able to accept multiple values or array if possible. How can I acheive that.
E.g. List property of List box which can have multiple values.
Urgent Help In - Flash Controll
I need to run a Flash File from a VB application. The flash file is on a CDDRIVE. I am able to dynamically identify the CD drive of any machine through Win API. The flash ocx controll is reading from the hard drive but not from the CD drive..
Please suggest..
Thanks in advance
Nilotpal
Publish Active X User Controll To Web?
Hi there...
I have currently made a ActiveX usercontroll for web. It works great on the computer that I made it. But after I tried to deploy it to a package for web it will not install on some systems.
I use the full version of XFile and FileUp from Softartisans.com and I get requested to add the files:
* BetaTest.ocx (my ocx made file)
* MSSTKPRP.DLL (some m$ file?)
* SAFilemgr.dll (Softartisants file)
* SAXFile.dll (Softartisants file)
* SAAXFile.dll (Softartisants file)
- VB6 Runtime and OLE Automation
- wshom.ocx (Some m$ file, guess shell functions)
The 2 last known files are not published and in the package (marked with a "-")
When the VB6 runtime and wshom.ocx are included the object does not start. (Maybe because of 2 ocx???)
Anyway I published without them, and it works great on some systems.
Others get only a square with a dot in center. Nothing happens, but I can use the id from web and the functions are intact. No GFX in other words.
Are there any way to get a user message when the a cab file is installed correctly or not in the system?
Are there any tips'n'trix that I should know about?
ANY help wanted!!!!
Making A Good Controll Array
ok... so i am working on a little game...
i have made it so my guy can rotate (i even finnaly got it so i fire at the right angle), walk forwards, backwords, strafe, take damage, inflict damage on targets, etc... and i can even make it fire A bullet...
note... i said A bullet... only one...
i have tried making a controll array... but honestly i dont think i know what im doing...
if anyone can help me out that would be great... all i am looking for is a simple example. i know how to copy and paste, and set the index of the images... however i have never used an element like this before so besideds that i dont know what to do..
thanks in advance.
Is Correct This Controll On Duplicate Record?
This script export from Excel sheet into an MDB table.
My problem is:
To controll duplicate from column S of the sheet and filed SRVIZIO of the table TOTALE.
Column S and field servizio are unique ID
During the import into access if alreday existis in the field SERVIZIO a line identified with the same value of column S to be exported go to the next line of the sheet and not import the already line already existis into table of MDB...
http://www.gssitaly.com/sheet_totale.zip
http://www.gssitaly.com/prova.zip
I hope of to have been clear
Sub ADO_TOTALE1()
Dim cn As ADODB.Connection, rs As ADODB.Recordset, r As Long
Dim rsFind As ADODB.Recordset
Set cn = New ADODB.Connection
Set rs = New Recordset
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=E:MACROL0785-AUTPROVA.MDB;"
Set rs = New ADODB.Recordset
rs.Open "TOTALE", cn, adOpenKeyset, adLockOptimistic, adCmdTable
r = 7 ' the start row in the worksheet
Do While Len(Range("A" & r).Formula) > 0
With rs
.AddNew ' create a new record
'add values to each field in the record
Sheets("L0785_TOTALE").Select
.Fields("DATA_CONT") = Range("A" & r).Value
.Fields("DIP") = Range("B" & r).Value
.Fields("COD_BATCH") = Range("C" & r).Value
.Fields("C_C") = Range("D" & r).Value
.Fields("NOMINATIVO") = Range("E" & r).Value
.Fields("CAUS") = Range("F" & r).Value
.Fields("DARE") = Range("G" & r).Value
.Fields("AVERE") = Range("H" & r).Value
.Fields("VAL") = Range("I" & r).Value
.Fields("SPORT_MIT") = Range("J" & r).Value
.Fields("ANOM") = Range("K" & r).Value
.Fields("DESCR") = Range("L" & r).Value
.Fields("CRO") = Range("M" & r).Value
.Fields("ABI") = Range("N" & r).Value
.Fields("CAB") = Range("O" & r).Value
.Fields("PAG_IMP") = Range("P" & r).Value
.Fields("NR_***") = Range("Q" & r).Value
.Fields("MT") = Range("R" & r).Value
.Fields("SERVIZIO") = Range("S" & r).Value
.Fields("NOTE_BOU") = Range("T" & r).Value
.Fields("SPESE") = Range("U" & r).Value
.Fields("DATA_ATT") = Range("V" & r).Value
.Fields("COD") = Range("W" & r).Value
.Fields("NOTA_LIB") = Range("X" & r).Value
.Update ' stores the new record
End With
r = r + 1 ' next row
Loop
rs.Close
Set rs = Nothing
cn.Close
Set cn = Nothing
End Sub
IE7 Vs Internet Transfer Controll Issue
Hai everybody,
if you have IE7 installed with VB, Can you please check the following code produceses results?
Code:
Private Sub Command1_Click()
Text1.Text = Inet1.OpenURL("http://www.somewebsite.com/index.xxx")
End Sub
If the above code works, the text1.text should be filled with the requested url's Source. isn't it? but i did not see the filling. may be i am
Internet Browser Controll && Sendkeys
i want a quick program to log into my e-mail account (school e-mail[http://gci.stvital.org]) and when you normally go there in a BROWSER like IE, the first text box already has focus, in my program it doesnt, i need it to, i cant figure out how. after that i can use the sendkeys to log me in, switch boxes and such, but i highlight that box without clicking on it, please help, (i DO need it to be selected WITHOUT the mouse or user input at all)
Visual Basic 6 ACtive X Controll
Hi,
I want to develop a chat interface in vb 6 active x control which runs in a web page.iam using a chat client component in this active X , the problem is when i load this chat page this chat client needs to initialize automatically and get connected to chat server. which is not happening.
currently that chat application is in html vbscript , but i want that application to be developed in vb 6 active x.
please help me how to do.
IE7 Vs Internet Transfer Controll Issue
Hai everybody,
if you have IE7 installed with VB, Can you please check the following code produceses results?
Code:
Private Sub Command1_Click()
Text1.Text = Inet1.OpenURL("http://www.somewebsite.com/index.xxx")
End Sub
If the above code works, the text1.text should be filled with the requested url's Source. isn't it? but i did not see the filling. may be i am
Controll Date In Entry Textbox...
Why, when insert the date and is wrong the cursor no return in textbox1(i have insert a onfocus)???
... and tell me if the structure of code is correct to controll the correct entry of dates.
Tks.
MSFlexGrid Double Click Controll
Hi,
I have a MSFlexGrid that brings back data from an Access database, i want to be able to double click on one of the records brought back by the query, and have it populate text fields below.
My MsFlexGrid, only shows basic data like customer name, address etc.
but when you double click on them in the grid, it will put there info, + more info stored in the database, like account number, contacts etc.
Any ideas?
Help!!! For Removing Controll Added At Run Time
Dear friends
I have created some controls at run time by using the following code
Private Sub Command1_Click()
Load Text1(Text1.UBound + 1)
Text1(Text1.UBound).Top = Text1(Text1.UBound - 1).Top + 300
Text1(Text1.UBound).Visible = True
End Sub
I also want to remove these controls at run time but I do not know the code for that
Plz!!! help me
Its urgent
Thanks in advance
Convert A Project To An ActiveX Controll?
hi, i have made a progress bar project (http://www.pscode.com/vb/scripts/Sho...60926&lngWId=1) and somebody sujested that i make the project a controll. it would be easier than entering loads of code. how do you convert a project to an ActiveX Controll. Also how do you make it so that you can define some varibles like most controls work like this SomeControll.Value = "NewValue" so like ProgressBar.Value = 100 and so on.
thanks
Open Dir From Internet With Inet Controll
how do you use a file listbox (or any other listbox) to list the directories in a url? like if the url is http://www.microsoft.com, it will show all the directories and say if there was a directory call "vb" in there and you click on in the listbox, the listbox shows all the directories *and files hopefully* that are in "vb"
Controll Date In Entry Textbox...
in the 2 textboxes (1 and 2) is possible to insert a controll if a date inserted is not regualr...
for example appear msgbox if i insert 31/11/2006, 30/02/2006, 31/04/2005 ecc...
Edited by - luca91 on 9/16/2006 10:44:54 AM
Keyboard Extra Keys For Audio Controll
I have extra buttons on my keyboard to controll audio including play/pause, next, stop and previous functions. How can I get my VB app to correspond to those extra buttons?
|