Create Quick Info And/or Parameter Info For Own Code?
Jul 23, 2009how to create Quick info and/or parameter info for own code?
View 6 Replieshow to create Quick info and/or parameter info for own code?
View 6 RepliesSomething like in the image.I know that <Description("blah blah blah")>_ gives the description, but when the user is in the designer tab, I would like to know how to add that info when intellisense pops up.
View 1 RepliesI am working on a media player, and I would like to setup a local playlist feature. I am using a single ListBox and its "Display-" and "Value-Member" properties. The display is the song's Artist and Name, and the value is the song's file path (i.e 'C:UsersUSERMusicetc.').To write the file path to the .txt file, I believe I can use the following code:[code]
View 18 RepliesI am making a program, obviously, and I require some assistance. I found an explanation on how to read information from a Text file and have modified it for my needs. Here is my (modded) version:
Public Function GetInfo(ByVal playlistname As String) As String
On Error Resume Next
Dim PlaylistInfo As String
[code].....
I'm making a database app. I've finish the search, add new, and add function. What I'm trying to do is to expand the functionality of the add new item function.
View 2 RepliesI am trying to do is fill out a form with certain info, put the info into an array, and write it to a listbox using loops, arrays, and maybe a function if I need one. This is for VB2010 and here is what I have so far... I think there are ways to make it shorter but I cannot figure it out.... maybe just brain dead from all the coffee I have been drinking!
[code]...
under my project I have the following
However when I use this code.
lblABOUT3.Text = "Version : "
lblABOUT3.Text += My.Application.Info.Version.Major.ToString()
lblABOUT3.Text += "." & My.Application.Info.Version.Minor.ToString
[Code]....
how to correlate info from a textbox based on a listbox item selection. For example the user will select an item from the listbox, enter say the length of a song in the textbox say 2:00 for song #1, select say song #2, enter the song time for that song say 3:00, click on song #1 again and have the same textbox display the length of that song and be able to do that until there are no more songs on the list.
View 5 RepliesCan I get info from stored cookie on the local machine. I have a Webbrowser control in a winform, and I would like to output data from a cookie to a label or so.
View 4 RepliesIn other languages (PHP/Python), I am used to creating a class which represents a given HTML page layout. These classes can have an unlimited number of attributes and dynamic features, such as Navigation (multi level), error messages, info messages, footer text, etc... Most of these items have defaults, but may be overridden on a per-page level. For example:
[Code]....
My question is: how do I implement similar functionality into ASP.Net MVC 3 Razor (VB)? So far, I have been able to see how you can use ViewData to pass various bits of data to a view. Also, I have been working with strongly typed views. Frankly, I'm not sure who's job it is to have this logic, the controller or the view (or is there a model that should be in there somewhere). Here is a summary of what I am shooting for:
A single place to initialize the default values for the layout (like the first layer of navigation, etc...) Strongly typed attributes, such as Public Readonly Property Nav1 as List(of NavElement) And a single place to render these layout elements (I assume _Layout.vbhtml) forgive the here-and-there of this post... I'm trying to figure out the "right way" it's done on a platform that is both new (Razor) and new to me (ASP.Net MVC).
I need to extract some info of a HTML source code and put it in a textbox...i treid a lot of things and even the best idea's crasht what i got this far is :
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
WebBrowser1.Document.GetElementById("value_wood").SetAttribute(TextBox3.Text, "class")
End Sub
[code]....
the number that i want in the textbox is : 8,466
Is there a DLL or code for class (documented) that can be added to an app to pull movie and TV info down from the IMDB? I have see a lot of older stuff, but nothing documented or working outside of a semi-functional Python piece and am just not ready to wade my way through Python.
View 7 Replieshave a code for load info to textboxes and save to ini file.like takes info from hello.ini file and when i load rhe program it will take the info to the texteboxes...
View 5 RepliesI want to store additional information about a listview item using a custom class, but I can't seem to get it to work.I'm currently using this code to accomplish something similar using a listbox item.I just want to do the same thing with a listview.
Public Class myListboxItem
Public id As String
Public rootFolder As String[code]....
I forgot to add "Inherits ListViewItem" to my class.I'll update the code listed here to serve as an example for others.
I am developing a VB application using the Visual Studio 2008 IDE. I was making changes to my code using the Quick Replace function when the dialog window stopped displaying. Selection of Quick Find or Quick Replace from the Edit menu, as well as use of shortcut keys (CTL+F and CTL+H) all have the same affect: the IDE loses focus but no dialog windows display. Is this a known issue with an available fix?
View 1 RepliesI created a report by using crystal report. I used ado.net connection for this. I created a dataset and joined report.[code]This is OK in first load time. And when I clicks print button in report view, the report view ask logon information.
View 1 RepliesHow to make thise code to get info from a .txt file named Launcher.txt from line
Get_IP:
here is what is looking like
Dim ConnectServerIP As String = "87.246.27.53"
Dim ConnectServerPORT As String = "44405"
Thise is for getting the right ip adress i want to make it to get the ip from the file Launcher.txt
Launcher.txt :
// Mu Launcher Settings :-)
Get_Name=Mu Online Launcher 0.4
Get_IP=127.0.0.1
[Cod]....
Now you see those (ConnectServerIP, ConnectServerPORT) get info from up "DIM" .
i want get information from [URL] , i enter url of film and program show me rating etc..how to code this ?
View 1 RepliesIs there a way where the server(TcpListener) can get clients(TcpClients) IP address and Stats.BytesSent and Stats.BytesReceived remotely? I have a server/client project and I'm having a hard time distributing message received to designated labels. Clients send information like IP address and other stuff to the server, is it possible that clients won't send anymore the information instead the server extracts it remotely?
View 2 RepliesI use the code below to get driver file sign info, it works well
Imports System.Security.Cryptography.X509Certificates
Dim cert As X509Certificate2 = New X509Certificate2("C:WindowsSystem32drivers cpip.sys")
MessageBox.Show(cert.Subject)
But if want to get EXE file signed info like
Dim cert As X509Certificate2 = New X509Certificate2("C:WindowsSystem32winlogon.exe")
MessageBox.Show(cert.Subject)
the error occured "Cannot find the requested object"
Example table:client_id <= auto incremented valuefirst_nameIf you have a combolist that is generated with a list of data that includes client_id and first_name, but if the combolist is displaying the first_name. How can I pass the client_id of the selected item to a function or something?
View 1 RepliesI have a 3rd party program that has an internal messaging system built into it. The messages are stored in SQL. What I am doing is writing a program that will query this database on a specific interval and if it finds a message for a specific user it will take the text of that message and send it to the users email address(ie. gmail, yahoo, etc.). The issue is when the program quesries I only want it to grab the message that have not been sent. Each message in the system gets an ID assigned to it so what I'm trying is everytime it finds a message to send to the user it will write the ID of that message to a text file so that next time the query comes around it will compare the ID in the text file to the most recent ID in the database and if it is newer message it will get it and send it. I'm not trying to display any data from the query, just take the messsage text and send it.
Public Sub LookForMessage()
'Bind database tables to datagrid view
cmd = New SqlCommand("SELECT * FROM dbo.tblMessageTo", con)
cmd2 = New SqlCommand("SELECT * FROM dbo.tblMessages", con)
[code]....
I'm trying to get info from website, but I don't get my code work.
My code so far:
Dim Focus As HtmlElementCollection = WebBrowser1.document.GetElementsByTagName("input")
For Each curElement As HtmlElement In Focus
[Code].....
How to do the same thing in VB.NET 2005. All I want to do is get some information about an avi file?
VB
Private Const OF_SHARE_DENY_WRITE As Long = &H20
Private Type AVIFILEINFO
dwMaxBytesPerSec As Long
dwFlags As Long
dwCaps As Long
[Code] .....
I'd like to get lan computers info (computer name , IP adress , Mac Adress) and is it connected with wifi or cable. I tryed to search at google , but didn't find any good examples or codes.
View 4 Repliesso my data layer works with functions that return datasets. These datasets are generated by passing a stored procedure name, and a parameter array. Works absolutely great. Now, in my stored procedures i do a couple of print 'something' statements as part of a debug process. Is there any way I can read this information from .Net? Obviously, the select statement is returned to the dataset. what would be great is if I can create a log file, that prints the other info that i return via print.
View 3 RepliesI said im still a bit of a n00b experimenting with visual basic 2008.
here is what i want to so i have a project i am working on for my website
[code]...
as you can see i have a TextBox1.Text and a TextBox2.Text i want it so when the user enters their username and password into the box's it will log them in, the webbrowser you see isnt visible so it does this all in the background the webbroser will navigate to
[code]...
I'd like to get ram, proccessor , motherboard and videocard information in vb. Does any one know what functions to use?
View 1 Repliesi have a inventory software in visual basic and sql server. there i have product info, product receive and product sales option. there i need to add a new feature in product. every pcs of product will have barcode which will be generated by my software at the time of receiving the product. and at the time of selling the product, the user will only scan the barcode by the device.
View 1 RepliesI have a command line app that periodically crashes. When it crashes it does so displaying only 'hit any key to continue' in a command window. My goal if I see that the command window shows 'hit any key to continue', I then restart an associated service and life is good. So I put my google hat on and reveal that I can capture whats going on in a command window. I come up with the following code
Public Function GetAppResults() As String
Dim PSI As New ProcessStartInfo()
Dim P As Process
[code]....
The code works as it should but my application never exits, this apps need to continuously run - so I never can capture whats going on in the command window. Its almost like I need to do a realtime capture of whats going on in that command window. I was thinking that I may want to switch approaches and capture whats going on in the command prompt periodically but that sounds messier and I'm not sure if its possible.