|
ya know how when you select a method from the list that Intellisense gives you, and it shows that little tooltip that describes what the method does? and when you start to type in your parameters, it gives desctiptions of what the parameter names represent?
well is there a way to make your own methods that behave the same way?
i've tried <componentmodel.description()>, but that doesn't do anything.
any help is apprectiated,
stephen
|
|
|
|
|
If you mean descriptions for classes and methods you made, you can use
VBcommenter[^].
It makes a xml file with all your descriptions in it.
Pompiedompiedom...
"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.."
-- Mark McCormick
|
|
|
|
|
I have created a custom control and built the assembly. I then placed the dll in a folder in the wwwroot folder and added an html page with the following text:
<object classid="ReviewControlVB.dll#ReviewControlVB.UserControl1 Height=" 272"="" width="336">
where ReviewControlVB.dll is the name of the assembly and ReviewControlVB.UserControl1 is the namespace and control name.
I placed this page in the same folder, but the control does not appear when I launch the page.
Any suggestions would be appreciated.
|
|
|
|
|
Try writing a web custom server control and then drop it on a aspx page and let asp.net do the work.
Dan
|
|
|
|
|
Hi Everyone,
I have limited experience in Microsoft Access and am attempting to link from an excel worksheet to access in order to use the data for reporting. Once the data is in Access, I also need to extract or parse text from within one of the rows and place in several rows (in order for the data to be used for comparisons). The only delimiters in that row appear to be spaces, dates, times (no true delimiter that I can see. Does anyone have a routine to do this type of task?: confused:
-- modified at 10:55 Wednesday 19th October, 2005
|
|
|
|
|
Hi, I'm working on a windows application, in the main form I have a data grid which displays information to the user, the user can select a row from the datagrid and then perform som actions with a few buttons we have designed for them, but they cannot edit the information from the grid, so it was set to read only, and also created a code so when the user clicks on a cell on the grid the whole row is selected. even when the datagrid is set to read only, when the user clicks on a cell the whole row is selected but also the text on the cell. There is a drop down list, acting like a filter of the information shown in the datagrid, so when the user selects an item from the drop down list, the data source of the grid changes, it is cleared and the new information is shown.
the problem is, when a cell was clicked and the text was selected (highlighted) and I click on a new item on the drop down list, the selected text does not dissapear from the grid it stays there like some sort of ghost, just to call it that way. if anyone knows how to clean completely a datagrid or have had this kind of problem before, I'd appreciate a lot some info about fixing this problem.
|
|
|
|
|
Hi all
I need to know how to write code when I press btn copy my application or my programme to spacIfic folder on the hard disk.
THANKS.
AMR-CIS
|
|
|
|
|
plz explian the folderbrowserdialog in vbdotnet and give me the one example
venukumar
|
|
|
|
|
sorry i got no time for a longer help...
anyway it's almost like the openfile dialog....
the normal usage is like
Dim fb as new FolderBrowerDialog()
fb.initial path = "what you want"
fb.title = "what you want"
...
Dim DR As DialogResult = fb.show()
'when we are here the dialog it's already been closed (the form will wait for it)
If DR = DialogResult.OK then
If IO.Folder.Exist(fb.selectedpath)
....
End if
consider this above as a pseudocode, i just wrote it as i remember it.
<- true inside to understand outside ->
|
|
|
|
|
I have to create an Windows App (VB.Net) , The user can drag and drop forms and controls on it and map to existing tables to display values.
Now i need to store all the details of Forms and controls including the database mapping some where(XML or SQLServer) ,
so that i can display the Forms with all the controls in my Windows Application as well as in a PDA Device as well.
Chiczzzzz!!!
|
|
|
|
|
how to recived bits by parallel ports to vb?
|
|
|
|
|
Hello friends,
I am working on 1 application where I want to send some data to WebApplication from VB.NET application. The situation is like this:-
There is one Web App developed in ASP.NET. The desktop application is being developed in VB.NET which will be installed at remote computer. If internet is connected to it, then one class will start communicating with the ASP.NET Application i.e. on Web Server(Say, on click event of some button on some form). I want to send(some login info required to get access to web server) & receive(the records from database) the data within these 2 applications without user to open a IE browser. VB itself shud be able to do this. Since its only retriving some data from Web Server in String format, i don't want user to go and do something by opening new IE window...I want to do it using VB.NET only...
Will you please help me?????
Looking forward to see reply....
Regards,
Rohan
|
|
|
|
|
I have a doubit while I am developing kids software,
Is it any way to bring the animated(already) pictures to the form using picture or image box or anyother way.please If u know send me in this mail address.
maniams@hotmail.com
Murali
|
|
|
|
|
There there are many ways for doing it...
one fast and easy way should be using the AxWebBrowser class wich is almost an internet explorer.
what i mean is:
make a page for the login on the server, wich should be smalla enought to fit
in the small form you want to create, then ambed on of this AxWebBrowser class.. it's very easy to use, and you can also find many cool alrticles here on CP.
of course a more cool waw using the AxWebBrowser can be using the document property of the WebBrowser class, and get the acces to the textbox you want directly from the Document Instance....
what you require is: Interop.SHDocVw.dll, AxInterop.SHDocVw.dll (wich you can create from the first one using the appostie visual studio tool) and for the Document class (only if you'll use it) MSHTML.dll.
<- true inside to understand outside ->
-- modified at 23:14 Wednesday 19th October, 2005
|
|
|
|
|
hi
any one tell me
how to change the background color of a messagebox
in vb.net
please give me codding
Md Shamirul Islam
|
|
|
|
|
You can't change anything in a messagebox. You need to write your own to do this.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
you can make a winform,and use delegate function to make a custom MessageBox Form of yourself..
|
|
|
|
|
What on earth are you suggesting ? A delegate for what purpose ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian is right. The MessageBox class is just a wrapper around the Win32 API function MsgBox. You don't have any control over the appearance of the box because it uses the colors set in the Appearance tab of the Display control panel.
You'd have to write your own MessageBox form class that exposes the functionality your want. You'd typically show this form using .ShowDialog and handle the button click events to properly set the form's DialogRestul property. And you don't have to do anything with delegates to do it. Unless you were adding some goofy event support to your form for some reason...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hai..
I am suffering with small problem. I want to embed MS word application in Visual Baisc (VB6) form. I should be able to work all the features of the ms word from the vb form. Please let me know.
Thanks,
Raghavendra
|
|
|
|
|
I need to create an input form like InputBox, but I want to control what gets entered, such as a validation routine, retrieve the data, text, integers, IP address, etc, and be able tell if they hit ok or cancel all within VB6 or MS Access basic. Is this possible without a lot of custom code? If so, does anyone have example code? I am between novice and internediate level VB programmer.
Appreciate any help!
|
|
|
|
|
mmcsherr wrote: but I want to control what gets entered, such as a validation routine, retrieve the data, text, integers, IP address, etc
This is normally done by individual controls, specific to the input purpose. You really wouldn't want to input text into a box (or control) that's expecting an IP address. An IP entry is usually 4 boxes, each expecting a number between 0 and 255 and hitting the period key moves the focus to the next box, whereas text would be in a single box.
mmcsherr wrote: and be able tell if they hit ok or cancel all within VB6 or MS Access basic.
This is done by setting and getting the form's Dialog Result property in VB. I don't know about Access since it's VBA and works quite a bit differently than VB6 or VB.NET.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
For instance, you create a new form, place a text control on the form, I want to pass to the form, the length of the text field, set the limit on the control. I place an OK and cancel button on the form so I can tell that the user has selected to either take the text entered and clicked OK or has cancelled the operation al together. How do I pass an argument to the form, ie, the text length limit and how do I pass the text entered back to the calling routine?
I can create forms and controls and add code to modify behavior, and get the text entered within the control on the form using code within the form, but not sure how to get that text back to the calling routine.
|
|
|
|
|
There's a couple of ways of doing it.
Change the Textbox from "private" to "public" in its declaration. (Not really a good idea!)
Add a public Property to the form that get's/set's the Text value of the still private TextBox on that form. You can add another Property that get's/set's you TextLength.
The Form doesn't pass anything back. It's not it's responsibility to know anything about the code that called it. The form handles just the input of the Text and obey's the limits set by the Properties to add. It's up to the caller to retrieve the data it needs through the form's Properties.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
How would I go about writing something that would generate all possible character combinations for a given length and properties, such as uppercase/lowercase/both, numbers/letters/both, etc?
For example, if you put in say, 2 digits, it will generate:
aa
aA
ab
aB
ac
aC
...
Aa
AA
Ab
AB
Ac
AC
...
etc...
Has anyone done this, and if not, how is the best way to do this?
|
|
|
|