|
Salute.
How can I keep the text color of a combo box when I disable it?..As the text gets DIMMED when I do the following :
ComboBox1.Enabled = False
Do i have to inherit the control to make one of my own and override something there?
Thanks In Advance
|
|
|
|
|
In an application I am running I would like to be able to shutdown IIS's FTP
service if a given condition is met. Is there a way to programatically access the FTP to be
able to shut it down without having to shutdown all of IIS (I have a couple
of websites I would like to keep running). I am using VB6 for this, but if anyone knows of a more appropriate language to do this in, then i am willing to try it too.
Thank you,
Paul
|
|
|
|
|
i think if you search microsoft site, you will find some vbscripts with the approriate commands, and if im not mistaken, these vb scripts might be copied to the server when you install IIS - Steve
|
|
|
|
|
Hi
Ok guys The program i am making basically has to perform a simple task but the code is a little bit of a problem.
i have 5 cable modems connected to my computer. And i want to make a program in vb6 to disable or enable. That's all it has to do.
As far as i know in order to get that working i have to get access in the control panel through visual basic and i have been trying that too but that did not work. So please help me.
I really need your help.
thanks
Thanks for your help.
|
|
|
|
|
Hi all
I am working on Activex control that is hosted in IE (ActiveX control as app in the IE). I need to fit this control in the IE whenever the user resizes the IE. how ca I do that????
|
|
|
|
|
You would have to perform that on the client side with some JavaScript. I have done it before (can't seem to locate the code I used right now) but it gets very crude looking and flashes quite a bit.
You also need to handle the controls resize internally to the control if you want to alter the size of any of the embedded controls. It can get to looking really ugly.
Does this HAVE to be an ActiveX control for the GUI or could it be done using an ASP page and the ActiveX control to handle the work.
Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
|
|
|
|
|
Hello,
I want to filter a search of my records in teh database, but am a little perplexed as to how to filter more than one criteria. This is what I am trying to do.
On my Main Menu Form, there is an option to "Look up friends by area code." These area codes are in a drop down menu, so if the user selects '123' for example, then it will open a new form (friend_frm) and every friend in area code '123' will be listed.
My problem is, I have a field in the frm_friend, called active/passive. I do not want friends to show up if they are listed as passive. I don't know how to incorporate this into my filter.
Private Sub Command97_Click()
On Error GoTo Err_Command97_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frm_friend"
stLinkCriteria = "[Area Code]=" & Me![Combo94]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command97_Click:
Exit Sub
Err_Command97_Click:
MsgBox Err.Description
Resume Exit_Command97_Click
End Sub
What do I add to "stLinkCriteria' to make it filter out the subset of the records of friends who are in a particular area code?
If anyone knows how to do this, I'd be very appreciative. Thank you very much.
Nick
|
|
|
|
|
This has nothing to do with link criteria. Make your data source SQL be something like this:
SELECT * FROM Friends WHERE Friends.ActivePassive="Active"
OR
SELECT * FROM Friends WHERE Friends.Active=True
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|
|
Hello
I create a structure (shown below)
Public Structure strucAI
Public IO As strucIO
Public Data As strucData
Public System As strucSystems
Public Memory As strucMemory
Public Learning As strucLearning
Public Operations As strucOperations
Public Programming As strucProgramming
End Structure
And I define a variable AI as the structure
Public AI As strucAI
But the problem is : i want to hide members which are;
AI.GetType()
AI.Equals()
AI.GetHashCode()
AI.ToString()
Is there any way to do that?
Thank you for your time
Regards
Best Regards
Emre YAZICI
|
|
|
|
|
Since all data types in NET derive ultimatelly from the Object data type and the GetType(), Equals(), GetHashCode(), ToString() are members of Object, these methods can not be hidden they can only be overriden.
In your case, it would be interesting to override the ToString() method to display a custom text representation of your struct.
|
|
|
|
|
Hi Everybody,
I am using Web Browser control in my application which acts as Windows Explorer in my aplication. Web Browser control has inbuild side panel to show the functionalities avaliable in Menu. You can exprience the same by browsing special folders like Control Panel, My Documents in Windows XP.
Now, the problem lies here in this inbuild functionality. I want to modify the options of the side panel. Here i don't want to display "Publish this file to the web" and "Email this file" when user selects a file from Web Browser control.
Please do the needful. Thank you everybody. I look forward for your immidiate help.
Best regards,
Vilas Shewale
|
|
|
|
|
hi! does anyone know how to develop RAS (Remote Access Service) application using Visual Basic 6, with sample code please... I really need this for my thesis... Thanks!
may the force be with you!
|
|
|
|
|
I have an Access / VB application that displays images. The Access tables has a link to a picture in jpeg format. I want to outline an object on the displayed image using the mouse, then create and save the outline definition and a link to a another more detailed image of the outlined object. In other words, I would like to be able to drill down into the image to reveal increasing details. I need a method or tool for outlining the objects and creating the new links which would probably be stored in another table. There needs to be some way to specify the area on an image that can be clicked in order to do the drill down. I want to avoid having to use an external application such as ArcView. Neither the image nor the application window would be resized during application usage. Any suggestions would be appreciated.
|
|
|
|
|
hello everyone,
I'm using VB.NET 2002. I tried to make the ToolBar control on my form to use a transparent color as a BackColor:
me.mytoolbar.backcolor = color.transparent
however when it compiles it says that "Control does not support transparent colours."
I also though of this line of code:
SetStyle(ControlStyles.SupportsTransparentBackColor, True)
but, once again, this didn't help either. So, now i guess i need to find a way to override this BackColor property somehow and force Toolbar to accept transparent colour as a BackColor.
Any suggestions regarding this would be greatly appreciated. Thank you.
|
|
|
|
|
Hello,
Does anyone know how to get the index of the first visible row in a datagrid. First visible column property is provided, but I cannot see anything obvious to obtain the value.
Would help a great deal
Thanks
|
|
|
|
|
Hi all,
Does anybody know if it is possible for us mere mortals outside of Redmond to use the nifty grouping functions that the Windows Explorer list view has in Windows XP ? Any pointers to articles or tips on how to do it would be great.
For those who don't know, I mean the grouping it does where it sorts the files under headings labeled "Tiny", "Small", "Medium" and "Large".
What I would like to do is group action records under headings for "Overdue", "Due Today", "Due Tommorow" and "Due Next Week" etc.
Thanks,
Chris Ormerod
|
|
|
|
|
You mean multiple work areas? I personally have never messed around with this, and the comctl32.ocx listview doesn't allow you to use them, and nor does the .NET one. There is an ActiveX listview [^]that does, though, at vbAccelerator. If you're doing .NET, I guess you'll have to use the ActiveX control, or start looking for a .NET control that does multiple work areas.
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|
|
Yes that is exactly what I meant. Thank you very much. Although I haven't ever heard the term "Multiple Work Areas" in relation to a list box.
And thank god it works in Visual FoxPro 7 as well!
Chris.
|
|
|
|
|
How do you use 'MarshalAs' to marshal an array of a user defined data type?
|
|
|
|
|
Please help. How do I show a form for user to enter information in the textbox, query a database, and finally drop the contents from textbox1 and the sql query to textbox2? I know how to drag and drop from one textbox to the next but I wasn't able to show a form and then query a database before the drop is finalized.
Many thanks in advance!
Chong
|
|
|
|
|
Hello,
I have created a remoting server (.exe) in VB .net. Basically, the idea is to create a remoting server in .net and have a VB 6.0 client!
1. Is this an equivalent of activex exe(out-of-process server) in VB 6.0?
2. Can this be accessed from VB 6.0? How can this be done?
3. If the above is not possible, What is the alternative of activex exe in VB .net and how can i access it from VB 6.0 client?
Thanks in advance.
|
|
|
|
|
Hello,
How can I create a server on a web site , which is like a program which always runs? When a client (a program on computer) connects to the server on the web (just like tcp : Server client) I will send data from web to computer?
Thank you for your time
Best Regards
Emre YAZICI
Best Regards
Emre YAZICI
|
|
|
|
|
in VB6 is very easy to make whit the control Winsock, get a book or in the VB6 help are documentations that help you, if want a source code that make that (Server-Client) send me and e-mail
PD// whit this only you can send text like a p2p chat, but you can make modifications NICE DAY!
Para seguir la trayectoria:
mira al maestro,
sigue al maestro,
camina junto con el maestro,
mira a través del maestro,
conviértete en el maestro
(this is a poor traduction)
To make you trayectory:
Look your master
Follow your master
walk whit your master
look across you master
become in your master
|
|
|
|
|
My question is,i Need to create dibsection with GDI+ on VB.NET, or Create a Bitmap from array data
|
|
|
|
|
Hi,
I need a report to print to a file rather then to the printer when a user clicks on the Print option for the report
I am using MS Access 2000. I have tried the dialog box thing but I would like it to happen with out the user knowing it. Is there a way when a report is "Printed" to send it to a file.
The reason for this is so that a PostScript file may be made, then from that PostScript file create a PDF file for Email.
Thanks
William O'Malley
|
|
|
|