Thursday, October 28, 2010

How to make a program to derive and integrate functions in VB?

I need a program to derive and integrate functions and to solve second order differential equations.How to make a program to derive and integrate functions in VB?
I don't understand what you are asking? You say you need to make a program in VB to do it. But then you say you need a program? Which is it?



If you are asking this question, odds are you are nowhere near skilled enough to parse equations, let alone integrate them. So I'll just assume you need help doing these math functions, so here is some software that can do it for you.



A program called Sage.



http://www.sagemath.org/download-windows鈥?/a>



However, I personally use Derive 5, but I don't think they sell it anymore.
  • ovarian cyst cause
  • Vb.net How do i put data in a sql table that has a foreign key? invoice table has multiple ';start times'; table?

    For each invoice, there is a foreign key to a start times table, each invoice has multiple start times.Vb.net How do i put data in a sql table that has a foreign key? invoice table has multiple ';start times'; table?
    If the foreign key constraint has been defined for your invoice table, it will not allow any insert with a value that does not exist already in the 'start times' table. For multiple start times, this would work the same way, depending on just how you implemented that one-to-many relationship. The most normalized way would be a separate relation table like this:



    Invoice table (invoice_number, ...)

    Start_times table (start_timestamp, ...)

    Invoice_time table (invoice_number, start_timestamp, date, duration, ...)



    Here, the foreign-key relationship is moved down to the Invoice_time table, which allows however many time periods for the invoice as needed.

    How to write a program in VB.NET to convert Integer values Into string?

    please help me


    i want to make a program in VB.NET in which two textbox and a button.


    when we enter any value(currency) in first text box then its string value will show in second textbox.


    for Ex-


    Input


    1200





    Output





    One thousand two hundred.








    this program should work for upto 99 crores.How to write a program in VB.NET to convert Integer values Into string?
    Copy The following codes into your program and then just pass the integer into the first function ConvertToSring() as shown below





    Example :-





    In the click event of button1





    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


    a = Me.TextBox1.Text


    Dim s As String


    s = ConvertToSring(a)


    Textbox2.Text = s


    End Sub





    Public Function ConvertToSring(ByVal num As Integer) As String 'Pass your value in this function


    If num %26lt; 0 Or num %26gt; 999999999 Then


    Return ';Invalid range';


    End If


    Dim numberString As String = ';';


    Dim number As Integer = num


    Dim onestens, hundred, thousandtenthousand, lakhstenlakhs, croretencrores As Integer


    Try


    onestens = number Mod 100


    number = (number - onestens) / 100


    hundred = number Mod 10


    number = (number - hundred) / 10


    thousandtenthousand = number Mod 100


    number = (number - thousandtenthousand) / 100


    lakhstenlakhs = number Mod 100


    number = (number - lakhstenlakhs) / 100


    croretencrores = number Mod 100


    number = (number - croretencrores) / 100


    Catch ex As Exception





    End Try


    If Not croretencrores = 0 Then


    Dim sp As String 'singular or plural


    Dim andstr As String 'and appender


    If num Mod croretencrores = 0 Then


    andstr = ';';


    Else


    andstr = ';And ';


    End If


    If croretencrores = 1 Then


    sp = ';Crore ';


    Else


    sp = ';Crores ';


    End If





    numberString = numberString + TensFinder(croretencrores) + sp + andstr


    End If


    If Not lakhstenlakhs = 0 Then


    Dim sp As String 'singular or plural


    Dim andstr As String 'and appender


    If (num - (croretencrores * 10000000)) Mod lakhstenlakhs = 0 Then


    andstr = ';';


    Else


    andstr = ';And ';


    End If





    If lakhstenlakhs = 1 Then


    sp = ';Lakh ';


    Else


    sp = ';Lakhs ';


    End If


    numberString = numberString + TensFinder(lakhstenlakhs) + sp + andstr


    End If


    If Not thousandtenthousand = 0 Then


    Dim andstr As String 'and appender


    If ((num - (croretencrores * 10000000)) - (lakhstenlakhs * 100000)) Mod thousandtenthousand = 0 Then


    andstr = ';';


    Else


    andstr = ';And ';


    End If


    numberString = numberString + TensFinder(thousandtenthousand) + ';Thousand '; + andstr


    End If


    If Not hundred = 0 Then


    Dim andstr As String 'and appender


    If (((num - (croretencrores * 10000000)) - (lakhstenlakhs * 100000)) - (thousandtenthousand * 1000)) Mod hundred = 0 Then


    andstr = ';';


    Else


    andstr = ';And ';


    End If


    Select Case hundred


    Case 1


    numberString = numberString + ';OneHundred '; + andstr


    Case 2


    numberString = numberString + ';TwoHundred '; + andstr


    Case 3


    numberString = numberString + ';ThreeHundred '; + andstr


    Case 4


    numberString = numberString + ';FourHundred '; + andstr


    Case 5


    numberString = numberString + ';FiveHundred '; + andstr


    Case 6


    numberString = numberString + ';SixHundred '; + andstr


    Case 7


    numberString = numberString + ';SevenHundred '; + andstr


    Case 8


    numberString = numberString + ';EightHundred '; + andstr


    Case 9


    numberString = numberString + ';NineHundred '; + andstr


    End Select


    End If


    If Not onestens = 0 Then


    numberString = numberString + TensFinder(onestens)


    End If


    Return numberString


    End Function


    Public Function TensFinder(ByVal twodigits As Integer)


    If twodigits = 0 Then


    Return ';Zero';


    End If


    Dim tens, ones, twodigits1 As Integer


    twodigits1 = twodigits


    Dim tensstring, twodigitstring As String


    tensstring = ';';


    twodigitstring = ';';


    ones = twodigits1 Mod 10


    twodigits1 = (twodigits1 - ones) / 10


    If twodigits = 0 Then


    GoTo label1


    End If


    tens = twodigits1 Mod 10


    twodigits1 = (twodigits1 - tens) / 10





    Select Case twodigits


    Case 10


    twodigitstring = ';Ten';


    GoTo label2


    Case 11


    twodigitstring = ';Elevan';


    GoTo label2


    Case 12


    twodigitstring = ';Twelve';


    GoTo label2


    Case 13


    twodigitstring = ';Thirteen';


    GoTo label2


    Case 14


    twodigitstring = ';Fourteen';


    GoTo label2


    Case 15


    twodigitstring = ';Fifteen';


    GoTo label2


    Case 16


    twodigitstring = ';Sixteen';


    GoTo label2


    Case 17


    twodigitstring = ';Seventeen';


    GoTo label2


    Case 18


    twodigitstring = ';Eighteen';


    GoTo label2


    Case 19


    twodigitstring = ';Nineteen';


    GoTo label2


    Case Else


    GoTo label3


    End Select





    label3: If Not tens = 0 Then


    Select Case tens


    Case 2


    tensstring = ';Twenty ';


    twodigitstring = ';Twenty';


    Case 3


    tensstring = ';Thirty ';


    twodigitstring = ';Thirty';


    Case 4


    tensstring = ';Fourty ';


    twodigitstring = ';Fourty';


    Case 5


    tensstring = ';Fiftey ';


    twodigitstring = ';Fiftey';


    Case 6


    tensstring = ';Sixtey ';


    twodigitstring = ';Sixtey';


    Case 7


    tensstring = ';Seventy ';


    twodigitstring = ';Seventy';


    Case 8


    tensstring = ';Eighty ';


    twodigitstring = ';Eighty';


    Case 9


    tensstring = ';Ninety ';


    twodigitstring = ';Ninety';


    End Select


    End If





    label1: Select Case ones


    Case 1


    twodigitstring = tensstring + ';One';


    Case 2


    twodigitstring = tensstring + ';Two';


    Case 3


    twodigitstring = tensstring + ';Three';


    Case 4


    twodigitstring = tensstring + ';Four';


    Case 5


    twodigitstring = tensstring + ';Five';


    Case 6


    twodigitstring = tensstring + ';Six';


    Case 7


    twodigitstring = tensstring + ';Seven';


    Case 8


    twodigitstring = tensstring + ';Eight';


    Case 9


    twodigitstring = tensstring + ';Nine';


    End Select





    label2: Return twodigitstring


    End Function








    'This Function Has some bugs in appending And to the String.But It won't affect the program

    How can I incorporate VB scripts into my Access Database?

    I volunteer as a math tutor and would like to automate C.L posting of my services straight from my database.How can I incorporate VB scripts into my Access Database?
    You don't. You'll have to write either VBA Scripts, or AccessBASIC scripts. However, they are similar enough you should have no problem picking it up.How can I incorporate VB scripts into my Access Database?
    Can't you use VBA. I've messed around w/ VBA for Word and Excel but not Acess. I just go to the Visual Basic editor under Macros.

    How do I get VB to change an option on a pulldown menu on a website, then click a link?

    I am writing a macro. i need it to change a drop down menu on a website, then click a button. Can someone help me do this?How do I get VB to change an option on a pulldown menu on a website, then click a link?
    Assuming your browser is IE, you need to look at the IE object to determine what's loaded in it, then find out what the pulldown menu box is named, set that box to the value of whichever option you want from the pulldown, then still in that object, select the submit button and force it to be clicked. Clear as mud eh. :)

    How to revert back to the last successful build in VB?

    I had made the perfect program. Then I was messing with it and ruined it. I need to go back to the last successful build of the program I made, because the last successful build worked perfectally. I have Visual Basic 2008 Express. How to I fix this?How to revert back to the last successful build in VB?
    Go back to the files you backed up before you started to mess with it. (VB doesn't do version control - you need an external program for that.



    Short answer is that - since you probably didn't do that backup - you can't.

    How to learn matlab and vb with no teacher's help with short span of time?

    Hello!!! Suggest me how to learn matlab and vb effectively by self... Thanks in advance...How to learn matlab and vb with no teacher's help with short span of time?
    I suggest you a site.

    Take all the Tutorials and the Examples. They're very short.



    If you're familiar with any other language, you'll achieve it very soon.

    If you're not familiar with programming, it'll take you a little bit longer.



    The site's below.

    Good luck!How to learn matlab and vb with no teacher's help with short span of time?
    or try http://engineeringhq.zzl.org/matlab/learn-matlab.

    i found great engineering stuff there.

    Report Abuse

    How do you make a random number generator in vb that doesn't repeat numbers and shows the number in a textbox?

    All I want to know is how to make a random number generator that generates a unique random number each time i click on the randomize button. Then when a random number is generated i want it to appear in a text box. The random number should not be repeated ever.How do you make a random number generator in vb that doesn't repeat numbers and shows the number in a textbox?
    textbox1.text = RandomNumber(30000)



    Public Function RandomNumber(ByVal MaxNumber As Integer, _

    Optional ByVal MinNumber As Integer = 0) As Integer



    'initialize random number generator

    Dim r As New Random(System.DateTime.Now.Millisecond)



    'if passed incorrect arguments, swap them

    'can also throw exception or return 0



    If MinNumber %26gt; MaxNumber Then

    Dim t As Integer = MinNumber

    MinNumber = MaxNumber

    MaxNumber = t

    End If



    Return r.Next(MinNumber, MaxNumber)



    End FunctionHow do you make a random number generator in vb that doesn't repeat numbers and shows the number in a textbox?
    The last requirement greatly complicates a solution. Unless there is unlimited precision available, eventually a number is going to be repeated. What's the range of numbers? Let's say zero to a thousand. So when a click occurs a new number is generated and displayed. And the next, etc. But what happens after the 1001st click?

    How to make VB 6 modules follow the current theme?

    Ok, so im trying to make my program match my msstyle, like native applications do. The title bar and form automatically do it, but the buttons do not. is there a way to do this?How to make VB 6 modules follow the current theme?
    Buttons in VB6 are beige by default. If you change them to myButton.Style = 1, you can change the background color. If you want to change the foreground color, look on a site like Planet Sourcecode - some people have made some pretty nice-looking buttons. I haven't seen any that automatically take on the color of the theme, but there might be some.

    In VB Coding - how can I get rid of the processes that still are running in the background?

    When I call another program from a VB Code after I close it properly in the VB project (set xx = nothing) the processes are still running in the background. What command line can I write to also kill those processes without having to close the calling program?In VB Coding - how can I get rid of the processes that still are running in the background?
    Private Declare Function FindWindow Lib ';user32'; Alias ';FindWindowA'; (ByVal lpClassName As Long, ByVal lpWindowName As Long) As Long

    Private Declare Function GetParent Lib ';user32'; (ByVal hwnd As Long) As Long

    Private Declare Function SetParent Lib ';user32'; (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long

    Private Declare Function GetWindowThreadProcessId Lib ';user32'; (ByVal hwnd As Long, lpdwProcessId As Long) As Long

    Private Declare Function GetWindow Lib ';user32'; (ByVal hwnd As Long, ByVal wCmd As Long) As Long

    Private Declare Function LockWindowUpdate Lib ';user32'; (ByVal hwndLock As Long) As Long

    Private Declare Function GetDesktopWindow Lib ';user32'; () As Long

    Private Declare Function DestroyWindow Lib ';user32'; (ByVal hwnd As Long) As Long

    Private Declare Function TerminateProcess Lib ';kernel32'; (ByVal hProcess As Long, ByVal uExitCode As Long) As Long

    Private Declare Function GetCurrentProcess Lib ';kernel32'; () As Long

    Private Declare Function Putfocus Lib ';user32'; Alias ';SetFocus'; (ByVal hwnd As Long) As Long

    Const GW_HWNDNEXT = 2

    Dim mWnd As Long

    Function InstanceToWnd(ByVal target_pid As Long) As Long

    Dim test_hwnd As Long, test_pid As Long, test_thread_id As Long

    'Find the first window

    test_hwnd = FindWindow(ByVal 0%26amp;, ByVal 0%26amp;)

    Do While test_hwnd %26lt;%26gt; 0

    'Check if the window isn't a child

    If GetParent(test_hwnd) = 0 Then

    'Get the window's thread

    test_thread_id = GetWindowThreadProcessId(test_hwnd, test_pid)

    If test_pid = target_pid Then

    InstanceToWnd = test_hwnd

    Exit Do

    End If

    End If

    'retrieve the next window

    test_hwnd = GetWindow(test_hwnd, GW_HWNDNEXT)

    Loop

    End Function

    Private Sub Form_Load()

    'KPD-Team 1999

    'URL: http://www.allapi.net/

    'E-Mail: KPDTeam@Allapi.net

    Dim Pid As Long

    'Lock the window update

    LockWindowUpdate GetDesktopWindow

    'Execute notepad.Exe

    Pid = Shell(';c:\windows\notepad.exe';, vbNormalFocus)

    If Pid = 0 Then MsgBox ';Error starting the app';

    'retrieve the handle of the window

    mWnd = InstanceToWnd(Pid)

    'Set the notepad's parent

    SetParent mWnd, Me.hwnd

    'Put the focus on notepad

    Putfocus mWnd

    'Unlock windowupdate

    LockWindowUpdate False

    End Sub

    Private Sub Form_Unload(Cancel As Integer)

    'Unload notepad

    DestroyWindow mWnd

    'End this program

    TerminateProcess GetCurrentProcess, 0

    End Sub

    How to I launch a program with Administrator Privileges from a Button in a VB Form?

    I'm trying to launch Norton Express Cleanup from a Visual Basic form, but I need to launch it with Admin privileges for it to work properly. How can I do this? Thanks in advance.How to I launch a program with Administrator Privileges from a Button in a VB Form?
    I am sure that you need to have a cable or else it won't work do you have a cable
  • break up with a nice guy
  • How to I launch a program with Administrator Privileges from a Button in a VB Form?

    I'm trying to launch Norton Express Cleanup from a Visual Basic form, but I need to launch it with Admin privileges for it to work properly. How can I do this? Thanks in advance.How to I launch a program with Administrator Privileges from a Button in a VB Form?
    I am sure that you need to have a cable or else it won't work do you have a cable

    How to connect the front end of VB with the back end of oracle?

    I m preparing a project of database Management in Oracle.But have no idea of how to connect the front end to the back end. Can somebody please help me....How to connect the front end of VB with the back end of oracle?
    Never used oracel, but my pc has a oracle odbc driver. should just be a matter of filling in the server, usname and password and connecting like any other odbc.



    there is probably an oledb oracle driver too, as odbc is a bit dated.How to connect the front end of VB with the back end of oracle?
    Take a look at this article:

    http://www.orafaq.com/faqmsvb.htm

    How do you issue a left click order in VB?

    I want to know how to issue a left click order in VB.



    I want it to make the mouse click anywhere, even if the forum isn't in focus.How do you issue a left click order in VB?
    You cannot raise client events from the program itself.How do you issue a left click order in VB?
    You should find what you're looking for at http://www.pinvoke.net/default.aspx/user鈥?/a> . Just be aware that you can't click on a window behind another window, you have to bring it to the front.

    How do you play videos from a file on vb 2008? i need help plz.?

    I Know hoe to play youtube vids on vb directly from the site but how do you play a downloaded video you've saved?How do you play videos from a file on vb 2008? i need help plz.?
    Found this website:



    ';This is source code to a complete MP3 Player I made quite along time ago. I don't know how good the code is. Uses the Windows Media Player.';



    Since it uses Windows Media Player, it should also work for videos not just audio, or at least provide an example how to do this.

    How do I create a log file in VB 2008?

    In VB 2008, I know how to make a basic program, but to access it I can create a log in for users but if someone tried to hack the system .e.g. entering the admin account and they got it Wrong how do I make it that logs the pc down and time and date on a text file?How do I create a log file in VB 2008?
    Imports System.IO ''Declare namespace



    in the click event of the validate button you need to add



    if txtPassword.text = ';this is my password'; then

    frmSecretMiracleForm.show()

    me.close()

    else

    Dim iFreeFile As Object, sPath As String

    iFreeFile = FreeFile()

    sPath = ';C:\ProgramLog.txt';

    PrintLine(iFreeFile, ';Incorrect password entered: '; %26amp; now)

    FileClose(iFreeFile)

    End if



    If you wanted to add which username was logged in at the time you could add the following line in too:



    PrintLine(iFreeFile, ';Logged in user: '; %26amp; System.Environment.UserName)

    How do I create a log file in VB 2008?
    Public Sub Debug(ByVal E As String, ByVal DL As DebugLevel)

    If DL %26gt;= DebugLevel Then

    Dim Writer As New IO.StreamWriter(App_Path %26amp; ';\Debug.txt';, True)

    Dim ErrorString As String = ';('; %26amp; Date.Now %26amp; ';) ';

    Select Case DL

    Case Data.DebugLevel.Required



    Case Data.DebugLevel.Critical

    ErrorString = ErrorString %26amp; ';**** CRITICAL Error: ';

    Case Data.DebugLevel.General

    ErrorString = ErrorString %26amp; ';Error: ';

    Case Data.DebugLevel.Informational

    ErrorString = ErrorString %26amp; ';Notice: ';

    Case Data.DebugLevel.Severe

    ErrorString = ErrorString %26amp; ';Severe Error: ';

    End Select

    ErrorString = ErrorString %26amp; E

    Writer.WriteLine(ErrorString)

    Writer.Close()

    End If

    End Sub



    Public Enum DebugLevel As Byte

    Informational

    General

    Severe

    Critical

    Off

    Required

    End Enum

    How long do i leave the U VB light on?

    i just got a milk snake (my first snake). and i was told to buy a U VB light, to help the snake get calcium. how long do i leave it on, like all the time 24/7 7 day a week, or just during the day and off at night. also do i turn off the heat lamp or use another with a smaller night light watt?How long do i leave the U VB light on?
    You don't need UV light at all for milk snakes. Whoever told you that was wrong. They need constant heat, an under tank heater is the best choice. Whatever you choose to use make sure you are keeping the correct temperature gradient.



    Here is a care sheet, you can look up others as well if you need conformation about the UV light: http://www.drsfostersmith.com/pic/articl鈥?/a>How long do i leave the U VB light on?
    FOREVER
    The UVB/UVA light is the imitation of the rays of the sun. It helps reptiles produce vitiman D.



    Leave it on as if it were the sun. Turn it on in the morning and turn it off at night.

    How to Disable a button forever in vb?

    Hey guys..Iam making a vb 2008 application and i want the button to be disabled forever or till application reinstall to be disabled..Its like i click on it once and it is disabled forever...Hope you can help.....How to Disable a button forever in vb?
    Just hide the button. Input the code in the buttons click event.

    btnSave.Visible = FalseHow to Disable a button forever in vb?
    That is a tall order. What I would do is save the button state into the current user software section, under your application name. When the application loads up it can read the registry and set the button enabled state based on the registry value.



    Your installation should setup the registry value and delete it when the application is uninstalled.

    How do you get rid of the border on a command button in VB 6.0?

    My friend is making a game in VB 6 and he wants to get rid of the border on a button. Can you do that?How do you get rid of the border on a command button in VB 6.0?
    I'm not sure you can remove the border, but you can use a label and make it a click-able command. The properties of the command button and label are different, so you would need to add more information here depending on what you are trying to do. The label works if you want to click on text, if you want to click on a picture, then you can place an image on the form and make it click-able as well. Lot's of options, but like I said, depends on the behavior you expect in the properties section.

    How can i detect all clients connected to my server using vb 6.0?

    I wanna programmatically detect connected clients, make a list and built some financial app using VB? Plz Help me and thanks in advance.How can i detect all clients connected to my server using vb 6.0?
    Can you provide some more information - how are your clients connecting? RDP, file share, etc.



    ===========================

    Ok, determining passive connections - that will not be trivial. To be honest, I cannot point you directly to a solution but expect it will lie within the Windows Management Interface (WMI). You'll have to research in here for facilities available to the server level.



    Here are some starting points for you. The first talks about C/C++ but VB can interface to C libraries so you should be able to make the connection.



    http://msdn.microsoft.com/en-us/library/鈥?/a>



    This gives you examples of using WMI in VB.

    http://computerperformance.co.uk/vbscrip鈥?/a>

    How to update a table enteries in MS ACCESS using Vb.net?

    tell me a way to update the existing entries in a table in MS ACCESS using vb.net. i ve to update the ';amount'; field of all customer of a bank every time they withdraw and deposit.kindly help me as soon as possible. How to update a table enteries in MS ACCESS using Vb.net?
    K so follow this steps

    First add oledbcommandbuilder

    means u have to give a varible for it

    as

    dim adpt as new oldebdataadapter

    dim ds as new dataset

    dim cb as new oledbcommandbuilder(adpt)

    adpt.update(ds,';tablename';)

    msgbox(';Record Is Updated';)

    hope u know the way of using oledbdataadapter

    take care

    peace be with u How to update a table enteries in MS ACCESS using Vb.net?
    u can use database connection to insert data into tables



    'Creating connection Object

    set Conn=server.createobject(';ADODB.Connecti鈥?br>
    'Creating Recordset Object

    set rs = Server.CreateObject(';ADODB.Recordset';)

    'Initialising Provider String



    connStr=';DRIVER={Microsoft Access Driver (*.mdb)}; DBQ='; %26amp; Server.MapPath(';Studentrecords.mdb';)



    'Opening Connection to Database

    Conn.open connStr



    strSQL_Insert = ';INSERT INTO tblStudent ( FName, SurName, Email, StudentNo, Password, Keystage, EntryTime)'; %26amp; _

    '; VALUES (''; %26amp; strName %26amp; ';',''; %26amp; strLastName %26amp; ';',''; %26amp; strEmail %26amp; ';',''; %26amp; strUserName %26amp; ';',''; %26amp; strPassword %26amp; ';',''; %26amp; strKS %26amp; ';',''; %26amp; strDate %26amp; ';');';



    On error resume next

    rs.execute(strSQL_Insert)



    Conn.Close

    Set Conn = Nothing

    How can I make a Cheat Engine like program in VB?

    Ok i have a trainer made in cheat engine. But as you would probably know the trainer maker built into Cheat Engine doesn't have much flexibility, and is ugly. So to the point now, Is there any way i can use the addresses I already found from cheat engine and write a code in VB to change their values like cheat engine does.



    If you are confused I'm asking if you could tell me the code then i can input the addresses etc. and make buttons to change the values?How can I make a Cheat Engine like program in VB?
    I don't think so. Managed code (especially VB) has great difficulty reading and writing to memory it's not created or managing itself.



    C++ is probably the best way of writing a piece of software like that. C# might be able to do it too.

    Visual Basic 2008, How can I make vb find and click a certain button on a specific webpage?

    I am farmiliar with the old appactivate and sendkeys, but the cursor might not always be in the same place. Anyone know of an api to use?Visual Basic 2008, How can I make vb find and click a certain button on a specific webpage?
    im not sure if this vb.net code works on vb2008...try change a little if it doesnt work :p

    to click button : (google search as example)



    u will need to add a webbrowser in ur form

    then put this code in a button or something



    WebBrowser1.Document. _

    GetElementById(';btnG';). _

    DomElement.click()



    replace btnG with the name of ur button (can be found in html source)

    How to add image in a VB form from a Browse Button?

    I want to add a browse button in VB form and the button will browse My Computer and i will be able to display the image in the computer on the VB form . Please help meHow to add image in a VB form from a Browse Button?
    All you need is follow the below guide



    http://developerskb.blogspot.com/2008/07鈥?/a>

    How do you clear an Array In VB?

    I have copied records into an array, but want them to be cleared at the press of a button. But VB help is ****. How do i clear all the records in an array?How do you clear an Array In VB?
    DIM variablename(100) as INTEGER

    ERASE variablename

    VB - How do I get a statement to continuously run (or at a frequent interval).?

    I need to keep running an IF statement over and over whilst running through the rest of my code.



    Should I just loop it some how or is there another way to make it run (for example once every 0.5 seconds).



    Visual Basic 2008 if it makes a difference.



    Thanks a lot!VB - How do I get a statement to continuously run (or at a frequent interval).?
    Add a timer to your form. Double click on it to add a handler.



    Set the timer interval to 500 (milliseconds) = 1/2 second and enable it.



    In the handler do what you want in the if statement.



    Does that help?VB - How do I get a statement to continuously run (or at a frequent interval).?
    You mean VB.NET 2008. Use a timer.

    VB.Net How to take letters from a string and put each into an element of an array?

    In order to make a game of hangman I need to be able to take a word (Of any character length -%26gt; I've used the length property to find the length of the word) and put each individual letter into an element of an array.



    Trouble is, I'm hopeless ^^;



    Can someone please help me and explain what the code is actually doing? It's important that I understand what is happening.



    Thanks again!VB.Net How to take letters from a string and put each into an element of an array?
    Via the ToCharArray() method, of course.



    http://msdn2.microsoft.com/en-us/library鈥?/a>VB.Net How to take letters from a string and put each into an element of an array?
    In most languages a string is an array, so there would be no conversion. You could really treat a string as an array in visual basic as well by using the charAt function of the string.



    If you really want to write the code, the basic idea goes like this. First, you need to define an array with the size of the length of the string. Then, you loop through the string and set each character to a position in the array.



    Dim Word as String

    ...

    Dim Chars as Character(Word.length)

    For i as Integer = 0 To Word.length -1

    Chars(i) = Word.charAt(i)

    Next



    I probably have some errors there, but I'm sure you get the idea.
    The .Net framework string type allows read-only character access using the [] indexing operator:



    String word = ';polygon';;



    // user enters p...

    char input = 'p';



    for (int i = 0; i %26lt; word.Length; i++)

    if (word[i] == input)

    // show that correct letter was picked

    else

    // hang that man!



    Whoops, that's C#... oh well, close enough, it's the same framework.

    How do you write VB code that saves itself each time it runs?

    I want to write an exe app that would save the changes every time it runs, without having to have any resource files or saving anything to external files. How would I go about doing that?How do you write VB code that saves itself each time it runs?
    Unfortunately there is no way to save the state of the current application w/o either a) using the registry or b) saving data in the users AppData area.



    You cannot modify the executable (exe) itself.

    How can I make A VERY VERY advanced web browser WITHOUT VB 2005?

    I know it will be complicated so if there is no good way...

    A really advanced description of how to make a web browser in VB will be fine!How can I make A VERY VERY advanced web browser WITHOUT VB 2005?
    Making an actual independent web browser is more work than you can imagine. Start with the ballpark figure of 500 000 lines of code for a browser, and figure that a professional programmer writes no more than 10 lines of code per hour (the actual numbers are probably closer to millions of LOC and 3 lines/hour). Even by our very generous estimates, you'll be spending most of a year writing this browser...continuously. You'll have to learn an insane amount of stuff about security, optimization, memory leaks (no, coding in VB probably isn't good enough, you'll probably be in C, C++, C# or Java), multithreading, drawing APIs, (X)HTML parsing (which is hard - HTML can be malformed), CSS, Javascript....it's essentially a small operating system at this point.



    Your better bet is to just embed an IE control in your form. Yes, IE sucks, but as far as I know, Gecko / Webkit aren't available as web controls.

    How to connect VB 2008 application to Database that is online?

    Hey,

    I need all the users off my application to be able to connect the same database. I was wondering if I could put the database on net and have my program connect to it whenever my users are connected to internet then they could make the desired changes to it. Anyone knows if this is possible? And, if it is, How?How to connect VB 2008 application to Database that is online?
    Much easier to write a little php page that they contact to interact with the database (with proper security precautions, of course). Otherwise you open the database to the world and it's subject to attack.

    Single-instance application in VB 2008, prevent automatic focus on the main form?

    I have a single-instance application in VB 2008. I want it to open a new window each time the executable is run, instead of simply bringing the currently running window to the foreground (the way Microsoft Word operates).



    Currently, my program works as expected, with one big issue -- the first opened window is brought to the foreground, instead of the newly created secondary (or tertiary, etc) window.



    How can I prevent the first window from automatically getting focus?Single-instance application in VB 2008, prevent automatic focus on the main form?
    Back in the day we had to call ShowWindow or SetWindowPos to show a program's window -- both of which offered the option to show without activating. Sadly VB.NET forms do not permit the same flexibility, though you still might be able to do what you want here...



    First assume that any form property that has to do with size or position could possibly affect this behavior. (You may need to experiment.)



    Second, consider the obvious: if the form is not enabled by default (Enabled = False in design-time properties) then it can't possibly take focus when it opens. You can set a short timer to enable it after all the default load, position and show behavior has executed.



    Whether setting Enabled = True after the fact will cause it to take focus, I'm uncertain -- if it does, it's lame! In that case you will have to look deeper into the framework (for an equivalent to the ancient ShowWindow API, of song and story.) :-)



    Good Luck Dude! :-)
  • tvs
  • Hangman in VB, how does it know how many underscores to put in?

    VB express 2008, so far have got it to read the hint and word from file and have buttons for each letter, ATM my word to be guessed just goes into the place where i want the underscores, should the word just be stored? How would i do the underscores?



    Help greatly appreciated.Hangman in VB, how does it know how many underscores to put in?
    Generally, you display a string of underscores the same size as the word to be guessed. As each letter is correctly guessed, replace the respective underscores with the letter.



    Hope that helps.

    In excel vb how would you make an array of images?

    I am making an game in excel vb and need to figure out how to make each car part of an array?In excel vb how would you make an array of images?
    I'm not sure if this is what you are looking for, but for what it is worth here is something I did. (I have simplified this by taking out all of the game except the rolling dice)

    I created a game in Excel with a rolling dice.

    I created a sheet called DieList

    A1 = Die Roll

    B1 = Picture

    A2:A7 = 1 through 6

    B2:B7 = pictures of dice numbered 1 through 6

    I created a sheet called Board

    Name one of the cells Die

    Copy one of the die pictures from the DieList sheet and past it onto the Board sheet.

    Select the picture so that it has the selection circles around it

    Type =Picture in the formula bar and press Enter

    Select ';Insert';, ';Name';, ';Define...';

    Create a new name called ';PictureList'; that refers to

    =OFFSET(DieList!$A$1,1,0, COUNTA(DieList!$A:$A)-1,1)

    Create a new name called ';Picture'; that refers to

    =OFFSET(DieList!$B$2, MATCH(Board!$A$1,PictureList,0)-1,0,1,1)

    Now when you change the value of the cell named ';Die';, the picture of the die will change

    Next I created a macro to randomly change the value of the die.



    Sub Roll()

    Randomize

    Range(';Die';).Select

    ActiveCell.Formula = ';=INT(RAND()*6)+1';

    Rolls = Int(Rnd() * 100 + 10)

    For x = 1 To Rolls

    Calculate

    Next x

    Range(';Die';).Select

    ActiveCell.Value = ActiveCell.Value

    End Sub



    Right click on the picture of the die and assign the macro Roll to the picture. Now when you click on the die, it will roll.



    When you run this macro, the value of Die changes, changing the picture of the die.



    Download my example at http://www.productivecomputer.com/files/鈥?/a>



    I hope this made some sense to you.

    If it does, you might be able to integrate some of these concepts to solve your game problem. I'd love to to have the opportunity to see what you are working on.



    For immediate help go to http://www.crossloop.com/PCS_HelpIn excel vb how would you make an array of images?
    You can use collection type of object.

    It works like an array and you can define names or keys to each part of car.

    To declare a collection object, see below:

    dim ncol as new collection

    dim i as long



    for i = 1 to 10

    ncol.add partname, partvalue

    next i



    To call a part or information, you can use number or name of the part.

    Vb 2008 How can I convert a database column into a list so I can fill a combobox?

    I have a drop down combo that I need to populate with the items from my database. However, I also need to remove any duplicate entries when pulling over from the database, so I can't just use the datasource property of the combobox. Any suggestions as to how I can populate the combobox items with the items in my database?Vb 2008 How can I convert a database column into a list so I can fill a combobox?
    You can use basic idea about it and can use it in your project.

    I made this in vb6.0. I created a function called as fillcombo(). like this-



    Private Sub FillCombo()

    Dim rsFill As New ADODB.Recordset

    Dim strFill As String

    strFill = ';';

    strFill = '; Select distinct sub_name from Subscription';

    If rsFill.State = 1 Then rsFill.Close

    cmbname.Clear

    rsFill.Open strFill, conn, adOpenKeyset, adLockOptimistic

    While rsFill.EOF %26lt;%26gt; True

    cmbname.AddItem rsFill!sub_name %26amp; ';';

    rsFill.MoveNext

    Wend

    End Sub



    You can call this function on page load.

    How do you use output files in vb 2008 express edition?

    im trying to make a login system in a program i am making in vb 2008 express but I cant use code like

    open ';usernames.txt'; for append as #1

    If anyone can help me, it would be much appreciatedHow do you use output files in vb 2008 express edition?
    see if the site bellow helps



    http://www.pdhengineer.com/pages/BS-4011鈥?/a>

    In VB 2008, how would I go about saving the input a user entered?

    I made this program in VB 2008. The program is pretty simple. The user inputs values and clicks the button to output the sum. How do I save those values and the sum so that when the user exits the program and then starts the program, the values are still there?In VB 2008, how would I go about saving the input a user entered?
    Private Sub LoadValues()

    Dim iFileNum As Short



    iFileNum = FreeFile()

    FileOpen(iFileNum, My.Application.Info.DirectoryPath %26amp; ';\SumValues.txt';, OpenMode.Input)



    'Get Value1

    Input(iFileNum, Value1)

    'Get Value2

    Input(iFileNum, Value2)

    'Get Sum

    Input(iFileNum, Sum)



    FileClose(iFileNum)

    End Sub



    Private Sub SaveValues()

    Dim iFileNum As Short



    iFileNum = FreeFile()

    FileOpen(iFileNum, My.Application.Info.DirectoryPath %26amp; ';\SumValues.txt';, OpenMode.Output)



    'Save Value1

    WriteLine(iFileNum, Value1)

    'Save Value2

    WriteLine(iFileNum, Value2)

    'Save Sum

    WriteLine(iFileNum, Sum)



    FileClose(iFileNum)



    End Sub



    This saves values in a text file %26amp; reloads them. You need to:

    Call LoadValues in your Form_Load, then load the variables (Value1, Value2 %26amp; Sum) into your text boxes.

    Load textbox values into the variables and then call SaveValues when you do the calculation or when you close the program.

    You'll need to Dim the variables as global to whatever type you want (Integer, Double, etc.)In VB 2008, how would I go about saving the input a user entered?
    That error means that you are reading past the end of the file. If you write 3 values and then read 3 values only, it should work. I copied this from a working program so should work as listed. If you can't find it, go to my website at www.Cybertrek.info and email me the .vb file for your form.

    Report Abuse


    One more thing. The first time you run this, you need to comment out the call to the LoadValues routine since you have not created the text file yet (created in SaveValue). If you make an installer, be sure to include a copy of SumValues.txt or check if file exists before loading.

    Report Abuse

    How can I draw flow chart items on a form in VB 2005?

    I am using vb 2005. I want to draw flow chart items, like decision branches, but in my toolbox there are no items to make lines, curves, and the like.How can I draw flow chart items on a form in VB 2005?
    I don't think you can actually draw them right on the form, but what about creating an image of the flowchart, and then putting it in a picturebox/image box? I know that would work - but I am not aware of a way to do it directly on a form. Good luck.

    How do I format a number in a textbox in VB?

    I need to format the numbers that appear in a textbox into the format 000.00



    Any ideas on how to do this and a sample would be greatly appreciated.



    Note; I'm using VB 2005.



    Thanks!How do I format a number in a textbox in VB?
    Dim strBox As String = TextBox1.Text.Trim

    Dim douNum As Double = Convert.ToDouble(strBox)

    MsgBox(douNum.ToString(';###.##';))



    There's more but this should get you started

    I am a VB 2005 newbie and am looking to populate a database with information extracted from webpage? How?

    How can I go about extracting data for a MySQL database from information found on webpages using VB 2005?I am a VB 2005 newbie and am looking to populate a database with information extracted from webpage? How?
    You're going to want to do what is called ';Screen Scraping';. To do this, you'll make use of the WebRequest class in the System.Net namespace.



    string PageHtml = ';';;

    string PageURL = ';http://www.yahoo.com';;



    WebRequest objRequest = null;

    StreamReader objStream = null;



    //Create a request

    objRequest = WebRequest.Create(PageURL);



    //Get a stream from that request

    objStream = new StreamReader( objRequest.GetResponse(). GetResponseStream() );



    //Get the HTML for the page into your string

    PageHTML = objStream.ReadToEnd();



    From there, just parse the PageHTML string and insert data into your database as needed. I know this is in C# and you requested VB, but it's pretty simple to convert.

    Does anyone have any good information on how to create a log in system on vb.net?

    The log in system must be connected to my user details table in MS access. I have been able to enter user details to the database via vb.net but need to make a good log in system now. does anyone have any ideas?Does anyone have any good information on how to create a log in system on vb.net?
    I know lots of things in creating a login system at VB

    Here's the simplest tutorial for login system.



    1.) create 2 textboxes, 1 for username, one for password

    2.) create a ';Submit'; button

    3.) double click the submit button, then copy paste these codes:



    If TextBox1.Text = ';admin'; And TextBox2.Text = ';pass'; Then

    Beep()

    MessageBox.Show(';Succesfully logged on!';)

    EndIf

    How to Simulate a Click on a Button by Pressing Enter on the Keyboard In VB.Net 2008?

    Hello,



    I would like to know how to Simulate a Click on a Button by Pressing Enter on the Keyboard In VB.Net 2008. I am working on a web browser, and would like to know how to do this.



    Thank You,

    JS71296How to Simulate a Click on a Button by Pressing Enter on the Keyboard In VB.Net 2008?
    If the button has the Default attribute set to True and the Window (Form) with that button has 'focus' then pressing Enter will 'click' that button.How to Simulate a Click on a Button by Pressing Enter on the Keyboard In VB.Net 2008?
    You select the ';KeyPress event'; and have it check if the key pressed was the Enter key, then call the event of the button you want it to perform.
    Create an event handler for the onKeyPress event of the textbox. Check whether ';Enter key'; was pressed or not. If enter was pressed, call the Button_Click event handler and let it handle. You can also check whether there is an event for enter press.
  • anti frizz straightening shampoo
  • How to Simulate a Click on a Button by Pressing Enter on the Keyboard In VB.Net 2008?

    Hello,



    I would like to know how to Simulate a Click on a Button by Pressing Enter on the Keyboard In VB.Net 2008. I am working on a web browser, and would like to know how to do this.



    Thank You,

    JS71296How to Simulate a Click on a Button by Pressing Enter on the Keyboard In VB.Net 2008?
    If the button has the Default attribute set to True and the Window (Form) with that button has 'focus' then pressing Enter will 'click' that button.How to Simulate a Click on a Button by Pressing Enter on the Keyboard In VB.Net 2008?
    You select the ';KeyPress event'; and have it check if the key pressed was the Enter key, then call the event of the button you want it to perform.
    Create an event handler for the onKeyPress event of the textbox. Check whether ';Enter key'; was pressed or not. If enter was pressed, call the Button_Click event handler and let it handle. You can also check whether there is an event for enter press.

    How to convert my VB program into a software that can be in installed in some other computer?

    i have some RELATED FILES(pics, music, fonts) with my VB program .........so i need these files also to be included in the software .......so my VB program will run with no errorHow to convert my VB program into a software that can be in installed in some other computer?
    You will have to use package and deployment wizard and add your supported files during that wizard. The wizard will create a setup.exe for your VB application. Also remember to use relative path to these files in your application because user can change the deployment location.

    How VB 6.0 code can be written to copy all Excel or Word file in a specific location at a specific time?

    Dear Friend



    I want to design a program in VB 6.0 to copy all Excel or Word file in a specific location at a specific time.



    Please help by providing the code in detail.



    Regards

    AshishHow VB 6.0 code can be written to copy all Excel or Word file in a specific location at a specific time?
    You will need use timer control. Using this control, you can define how much time it will wait till run code again.

    In this control events, you will point to a sub that will copy the files.

    Your code to copy the files will be like this:

    Sub CopyFile()



    FileSystemObject.CopyFile ';c:\*.xls';, ';c:\tempfolder';



    end Sub

    How do I create a VB application that controls other hardware?

    OK, the deal is I want to create an application that will control either my digital remote control or my light switch. Creating the buttons in VB is really easy but when it comes to the underlying functionality, I get stuck! What should I do?How do I create a VB application that controls other hardware?
    The easiest way to do this is to get some specialized device that hooks up to your PCI slots or your serial port to control the things that you want and includes a VB library. PCI cards are fast an expensive (http://www.ni.com or http://www.web-tronics.com)



    Serial port (or USB serial adapater) boards are slower but cheaper (http://www.awce.com/gp3.htm).

    Thursday, October 21, 2010

    How do I password protect this program in vb?

    OK, i have created a web browser in vb, when I logon I want it to say 'hello welcome to the webbrowser, please type in password' and then it will have an input box for user to put password in (lets say the password was happy) what is the exact coding i need to do this?How do I password protect this program in vb?
    using inputbox is easy, if not make a new form and design it how you like.



    Public Function InputBox( _

    ByVal Prompt As String, _

    Optional ByVal Title As String = ';';, _

    Optional ByVal DefaultResponse As String = ';';, _

    Optional ByVal Xpos As Integer = -1, _

    Optional ByVal YPos As Integer = -1 _

    ) As String



    password = ';happy';

    message = ';hello welcome to the webbrowser, please type in password';

    title = ';Password prompt';

    myValue = InputBox(message, title)

    If myValue Is password Then

    'do stuff

    else

    'end program or what ever

    end

    endif

    Will a VB. NET program which i wrote on a computer work on a windows based PDA?

    Is it possible to write mobile applications using VB 6 or VB.NET? If it is how will I deploy it to my PDA?Will a VB. NET program which i wrote on a computer work on a windows based PDA?
    VB6 will not work.



    VB.NET using Compact Framework will work. You need the SDK for Windows Mobile as well.



    Microsoft's MSDN has a bunch of info on how to do this. Link here: http://msdn.microsoft.com/en-us/library/鈥?/a>



    To actually install it, your PDA will need to be in the cradle and you will run the exe from the desktop. It will know what to do using the Compact Framework/SDK.

    How to convert string to integer in microsoft access (vb) also how to use the trim function?

    how to convert string to integer in microsoft access (vb) im planning to make a calculator one more thing how to use the trim function?How to convert string to integer in microsoft access (vb) also how to use the trim function?
    string to integer conversion: cint(expression)

    a% = cint('; 55';)

    results in a% equal to 55.



    a$ = trim(string/string variable)

    a$ = trim('; this is a string ';)

    results in a$ equal to ';this is a string';

    How can I make a save feature with VB 2005?

    How can I make a save feature with VB 2005? I want to make a software which can make a save file and re-load it. Btw what is StreamWriter? I found it while googling about my question. Anyway, thanks in advance!How can I make a save feature with VB 2005?
    c++ tutorial

    http://josutis.com /

    How to send the message to the Customer Display terminal in EPOS using Vb.net?

    As i am developing program in vb.net for EPOS system, i want to know how to send the message to the customer dsiplay terminal.How to send the message to the Customer Display terminal in EPOS using Vb.net?
    More than likely using an API or RS232, you need the protocol the Display Unit supports and then you can determine how you will send the codes to the display.How to send the message to the Customer Display terminal in EPOS using Vb.net?
    What did you just say?? Use in vb.net?! Holler, why would you use in vb.net nowadays?!
  • medium length hair
  • I am writing a program that has several parts. How do I join all those parts together using VB 2008?

    If anyone knows how to join parts of a program together in VB 2008, any help is greatly appreciated.I am writing a program that has several parts. How do I join all those parts together using VB 2008?
    If you have written several different VB programs as seperate projects you can combine the elements into one project.



    Start a new project then on the menu bar click project then select Add Existing Item. Browse to your other project folders and add the forms, classes and modules from these projects.

    How to write a Program that controls the mouses positon in vb 2008 express and or c# 2008 express.?

    How to write a Program that controls the mouses positon in vb 2008 express and or c# 2008 express. Please explain what coding I would needHow to write a Program that controls the mouses positon in vb 2008 express and or c# 2008 express.?
    Cursor.Position = new Point(100, 100);

    How to prevent duplicate id while inserting multi-records at the same time within network, using VB.NET?

    Hi everyone,



    In my problem, my application is going to generate new record id itself, and i want to prevent new id duplication while network users insert records at the same time. Anyways, m using VB.NET and SQL Server. Pls help...



    Thx in advanceHow to prevent duplicate id while inserting multi-records at the same time within network, using VB.NET?
    First question I have to ask is ';Why and how does the app generate it's own ID';???

    However working on the basis you know what you're doing then you could use a combination of the clients IP address (or login if available), date and time (to millisecond) this should ensure that no-one else will be trying to insert the same ID.How to prevent duplicate id while inserting multi-records at the same time within network, using VB.NET?
    That's just bad database design. Set your identity column to auto increment.

    How to make a login system with a database (vb)?

    I want to make a login system using vb 2008 EE, and I want to be able to create an account that inputs the info right into the database and login using info from the database.



    Please someone help!How to make a login system with a database (vb)?
    I am giving below the outline of the login action.



    1. get connection to the back end data base

    2. validate inputs, like non-empty username value and non-empty password values

    3.run the query of the following pattern on the backend database and store the results

    select password from %26lt;table name%26gt; where user name = %26lt; user name obtained form the user%26gt; from %26lt;table name

    4. Since username in the database is unique, you will get either a null or one value

    5. Check the value - if null display the message '; Username not valid'; and exit

    6. If the value is something, then compare it with the value that the user had given.

    7. If they are both the same, display message of ';successful login';. If not display message ';incorrect pssword';

    8. In case of incorrect username or incorrect password, display the login page afresh.

    I think that's all to login form.

    How does VB and other programming languges work?Is there a core/pure computer language?

    Where does VB send it's commands to?How does VB and other programming languges work?Is there a core/pure computer language?
    There is a ';core'; computer language. It consists of the commands that your CPU can accept and execute. Depending upon the Processor Chip that your computer uses there are about 100 commands and they are all in 1's and 0's which most people don't speak. Then you have Assembly language ( a low level language that gets translated into 1's and 0's for the Processor to understand) which gets ';assembled'; to run. The next level up is high level programming language like VB, C++, C#, Cobol, Fortran, Pascal, etc. which get ';compiled'; into something like assembly language and which is then ';linked'; into 1's and 0's for the Processor to run.



    In non-visual languages, to send something like ';Hello World'; to the screen takes a couple lines of programming.



    In Visual Languages, it takes about 10 or 12 lines of code to send ';Hello World'; to the screen.



    In Assembly language it takes about 44 lines of code to send ';Hello World'; to the screen.



    I'm not sure if you can actually do machine language anymore (I used to use it on DEC 100 mainframes a long time ago)



    Assembly language gives you maximum control but minimum support.

    Non-Visual languages give you less control (C++ gives some low level support like Assembly has) but provide easier/faster programming (typically 1/10 to 1/100 the time it takes to write an Assembly program.)



    Visual languages take away a lot of your control but provide a lot of services in an easy to use format such as network access, graphics, display handling, etc. (which require substantial work to do in other languages)How does VB and other programming languges work?Is there a core/pure computer language?
    By core computer language i am guessing you mean what happens when you compile VB or any other code. Basically it goes like this, for most standard languages like c++ the compiler compiles the c++ code into assembly, then assembly is converted into binary by a linker, now your computer when you run the program, understands the binary. Java however uses a Virtual Machine and the VM interrupts the java code then communicates with your computer to tell it what to do.

    Does anybody know how to run a vb script in Editplus?

    I need to run a vb script code in Editplus. Does anybody know how to do it?Does anybody know how to run a vb script in Editplus?
    Hello

    On this page you'll get

    the requested information.



    http://software.informer.com/getfree-how鈥?/a>

    Capture keyboard press in a background running VB form?

    I want to capture keyboard press in a background running VB form (not selected). Actually nothing but hidden keyboard scanner. How is it possible? Bit urgent.Capture keyboard press in a background running VB form?
    You can use an API function called 'GetAsyncKeyState'.



    its declaration:

    Declare Function GetAsyncKeyState Lib ';user32'; Alias ';GetAsyncKeyState'; (ByVal vKey As Long) As Integer



    vKey means the virtual key in VB, some times it's a ASCII code;

    If the first bit of the returned integer is one('1'), the key is pressed once,

    If the 16th bit of the returned integer is one('1'), the key is being pressed down(eg., VK_LSHIFT, VK_LBUTTON, etc),



    MSDN said this function is useful only when the form is focused, but, in fact, according to my experience, it's global.



    you can search more info about this functionCapture keyboard press in a background running VB form?
    There are many programmers that has the similar function in the internet.

    For example, AllSpyMonitor Keylogger

    How to write a program with VB.net that import data form a web page?

    We have an assignment to writhe a program that import data on yahoo finance page (stocks) to an excel data sheet. We have to write the program that can go to yahoo finance page automatically and then import the mentioned data.

    please provide me with hint I don't want the complete solution.

    The other question is which language is more suitable for these kinds of stuff, VB.net or java?How to write a program with VB.net that import data form a web page?
    There is a .NET lib at codeproject.com for downloading quotes and exchanges from yahoo finance webservice.

    http://www.codeproject.com/KB/IP/YahooFinance_Managed.aspx



    BrianHow to write a program with VB.net that import data form a web page?
    RSS

    How can I implement the cahnges I've made to a vb module?

    I wrote a code for a vb project but I decided to alter it a bit. However, once I debugged the code, the programme ran unchanged. In other words, the modifications I made couldn't be implemented. So, how can I make these changes appear on my programme?How can I implement the cahnges I've made to a vb module?
    Did you save the module and compile the project before attempting to run it again?How can I implement the cahnges I've made to a vb module?
    You need to rebuild the exe with the changes you made to the module, then run the new exe.

    How Database connectivity is done VB ,I 'm using MS access? what procedure to follow for developing project?

    I want to develop a project based on School Management S/w in VB.How Database connectivity is done VB ,I 'm using MS access? what procedure to follow for developing project?
    ODBC - open database connectivityHow Database connectivity is done VB ,I 'm using MS access? what procedure to follow for developing project?
    You need to clarify what you are asking.. Feel free to email me %26amp; I'll try to help you.
  • witness in a civil case
  • How do i execute a VB program fro the interface?

    I doing an experiment with my VB project, but i have run out of ideas on how to execute a program. Programmers help.How do i execute a VB program fro the interface?
    set ss = createobject(';Wscript.shell';)

    ss.run ';outlook.exe';How do i execute a VB program fro the interface?
    press the 'stop' button..

    - or u may need to create 1 button with the Caption --%26gt; 'EXIT'..

    - double click the exit button that u just created..it will go to the coding area...type Exit before the 'End Sub'



    here's the link that may help u lot...

    http://www.vbtutor.net/vbtutor.html



    good luck with the project!

    How to open vb project in Visual Basic?

    I have create a web browser in vb and save it as a solution, i would like to open it in word or excels visual basic and debug it. The problem that i don't know which file to import into the vb editor.How to open vb project in Visual Basic?
    First go to you're project files and select the form you want to edit. It will have a ';.vb'; extension (remember not to select the one with designer in its name) then right click it and click on ';open with...'; and click on ';Microsoft Word'; it should open now.

    How to use Resource to change into different language in vb.net program?

    How to use Resource to change into different language in vb.net program?

    I want to used resource which help in changing language in program i had seen somewhere before but i don't know procedure. can anyone help me with?How to use Resource to change into different language in vb.net program?
    Basically, you need to a .resx file for each language you want to support added into your project. These files must be named very specifically. See the attached link for the naming convention. Then, in your code, you need to load the proper string into your control from the .resx file based on the users selected culture.

    How do you disable a button on vb.net after an amount of clicks?

    I need to be able to disable a button after 15 clicks on vb.net. does anyone have a clue?

    also, does anyone know how to create a log in system in vb.net which is connected to MS access. i have a connection so i can enter data into a database but i don't have a clue how to make a log in system for it.



    any info is good!How do you disable a button on vb.net after an amount of clicks?
    Or for something easy you could make a label and then do this for the button click



    Private Sub Command1_Click()

    If Label1.Caption %26gt;= Val(15) Then

    Command1.Enabled = False

    Else

    Label1.Caption = Label1.Caption + Val(1)

    End If

    End Sub



    Private Sub Form_Load()

    Label1.Caption = ';0';

    End SubHow do you disable a button on vb.net after an amount of clicks?
    First of all I'll assume that,'; You're trying to mute a button after every 15th use in an application launch.



    see set up a counter in the coding part of your button click event.

    Now check whether the counter reached the target(ie.,15)

    if so then '; Disable the button or Make it invisible';.

    Otherwise Increment the counter by 1.



    I think it's wise enough if the problem is assumed to be..

    ______________________________________鈥?br>


    Secondly I consider that you need to deactivate the button after 15th use in the whole lifetime of the application.. If this is the case.



    Then you gotta need to count the clicks and store it in a Text file or in your access data base [ You perhaps know that a log file is nothing but a text file ].



    See creating and updating files is a very simple process..

    And also you already have an database in active so It's also a easiest method..



    If your problem is of the first case then don't think of the file or database...

    In the second case I suggest you better to go for a DLL file...
    You need to create an integer variable that will be used as a counter in the buton click event handler.

    Each time this event is fired you increment this value by one. When it reaches your target number of clicks you then set the buttons enabled property to false.



    The trick to making this work is how the counter variable is dimensioned. It must be DIM'ed using the key word STATIC otherwise the value is erased each time that code segment finishes and leave the click event. Using STATIC tells VB to keep the variable and its contents for later use.



    DIM STATIC myCount as Integer
    Incidentally, unequivocally i do

    How to right a roman numeral converter in VB?

    I just want to write a Vb case statement to right a converter to convert hru 10 to thier numeral version to roman numeral say 1 = I 2 = II and so on.How to right a roman numeral converter in VB?
    if numbers are from 1 to 10 the best option is to build two arrays, one string one byte or integer with the respective data, then use the array indexes to access equivalent data for the selected roman entry, depending what version you are using you may use a find() method to lookup the respective index of an array element.

    How do I send collected input from text boxes and radio buttons from a VB form into a word document?

    I am making a checklist in VB with checkboxes, radio buttons and text boxes. After all the information is collected from the user I would like for a ';Report'; button to be clicked and then to send the information into a Word or Excel document. Any help would be greatly appreciated.How do I send collected input from text boxes and radio buttons from a VB form into a word document?
    I would send the data from the VB Form into an Access DB, at least the Data will be stored. Then you can decide which application you want to use to grab the data from Access.

    Below is a link which shows an example to capture the data from Access.

    http://blogs.techrepublic.com.com/howdoi鈥?/a>



    Me personally once it is in Access, I would just create the Reports from Access itself.

    Here is a link for creating Access Reports.

    http://databases.about.com/od/tutorials/鈥?/a>



    For anyone that doesn't have a Access they can use SnapShot Viewer for viewing the reports yoou generate.

    How to write a program in vb.net in order to backup and restore the mysql database?

    I am developing a project in vb.net and i am using MySQL database as a backend. I want to backup and restore the mysql database through vb.net. How to write a program in vb.netHow to write a program in vb.net in order to backup and restore the mysql database?
    Neofact... is correct BUT Beware... IF this is a large database on a large site with lots of traffic, dumping a database will lock tables a few at a time. This means that it is possible that a table will be locked for long enough that your site timesout for a while...



    There are two options you can add that will prevent locking, but locking the tables ensures data integrity, and while without locking you will get all the data, you may miss rows that were updated between when it started dumping the table and it ended...



    These options are --single-transaction, and something else.



    But, if you don't have large tables, (100MB or larger) it probably isn't a big deal.How to write a program in vb.net in order to backup and restore the mysql database?
    you have to use following code in your vb.net program.



    Public Sub backupDB()

    Dim portfolioPath As String = My.Application.Info.DirectoryPath

    FileCopy(portfolioPath %26amp; ';\InformatiSources\portfolioDB.mdb';, ';C:\Program Files\PortfolioGen2.0\DBBACKUP.mdb';)

    MsgBox(';Backup Successful';)

    End Sub









    Public Sub restoreDB()

    Dim portfolioPath As String = My.Application.Info.DirectoryPath

    If MessageBox.Show(';Restoring the database will erase any changes you have made since you last backup. Are you sure you want to do this?';, _

    ';Confirm Delete';, _

    MessageBoxButtons.OKCancel, _

    MessageBoxIcon.Question, _

    MessageBoxDefaultButton.Button2) = Windows.Forms.DialogResult.OK Then

    'Restore the database from a backup copy.



    FileCopy(';C:\Program Files\PortfolioGen2.0\DBBACKUP.mdb';, portfolioPath %26amp; ';\Information Sources\portfolioDB.mdb';)



    MsgBox(';Database Restoration Successful';)

    End If



    End Sub
    the only thing you have to add to your code is



    shell(';C:\Program Files\mysql\mysql server 4.1\bin\mysqldump --opt --password=pass -user=root --database test -r c:\test.sql';)



    the -r let you specify a dir for your backup archive, like this, c:\test.sql



    or..

    mysqldump.exe -u root -ppassword --databases klapper %26gt; c:\temp\DumpKlapper.sql

    How to obtain a keystroke in a variable without Text box in VB?

    I need to press a key and store its value in an int variable in VB. But i do not want the key pressed to enter the character in Text1.Text (or any textbox) but should directly be stored in a variable.



    Eg) If i press numerical key ';1'; then the value ';1'; shud be stored in a variable.



    Pls tell me how



    ThankyouHow to obtain a keystroke in a variable without Text box in VB?
    It's been a looooong time since I last used VB, but if I remember correctly there is a key press event for Forms in VB. You should look into that.

    How do I have a random number between 48 and 90 but exclude the numbers 58 to 64 VB 2008?

    I can create a random number that goes from 48 to 90 but I can't seem to find a way to exclude the numbers 58-64 from this group. Does anyone know how to do this? In case you didn't see; I am using VB 2008.How do I have a random number between 48 and 90 but exclude the numbers 58 to 64 VB 2008?
    I can think of 2 ways to do it:

    Generate random number between 48 and 90 in a do while loop. If the number is 58-64, then repeat the loop. Fall out if not.

    This is simple to implement. Will waste a few CPU cycles generating numbers that get thrown away, but it probably doesn't matter.



    There are 36 possible numbers in your set (I'm assuming 48 and 90 are valid...if not you'll have to adjust things here a bit).

    So you could generate a random number R in the range 0 to 35

    If R is %26lt; 10, then R = R + 48

    else R = R + 55



    R will be a random number that fits your needs, and no looping required.

    How to invoke VB.Net application via Internet without framework?

    We developed an application in VB .Net with third party tools like Infragistics. We are planning to invoke this application via internet. Is there any possible to invoke VB .Net application throw Internet?How to invoke VB.Net application via Internet without framework?
    .NET apps can be downloaded from the internet, but the end user will need to install .NET. No way around that, they aren't stand alone .exe's.



    If you want a Web app, you could do Silverlight. But the end user still needs to install the Silverlight framework (but at least it's smaller). But SL is a very small subset of .NET, so unless you designed your app for it from the start, that's probably not a viable choice.How to invoke VB.Net application via Internet without framework?
    You mean to say WebAccess? you might try to use asp.net either if you want to use it thru internet. or if you like that your Desktop application access data via internet consider to use asmx (WebControl in asp.net).
  • broken external frozen drive
  • How to invoke VB.Net application via Internet without framework?

    We developed an application in VB .Net with third party tools like Infragistics. We are planning to invoke this application via internet. Is there any possible to invoke VB .Net application throw Internet?How to invoke VB.Net application via Internet without framework?
    .NET apps can be downloaded from the internet, but the end user will need to install .NET. No way around that, they aren't stand alone .exe's.



    If you want a Web app, you could do Silverlight. But the end user still needs to install the Silverlight framework (but at least it's smaller). But SL is a very small subset of .NET, so unless you designed your app for it from the start, that's probably not a viable choice.How to invoke VB.Net application via Internet without framework?
    You mean to say WebAccess? you might try to use asp.net either if you want to use it thru internet. or if you like that your Desktop application access data via internet consider to use asmx (WebControl in asp.net).

    How can I take a screenshot image of of a VB application?

    I am selling some VB programs I've written on the internet. I want to add pictures of the programs to my website, but I have no idea how to take a screenshot of them. Can anyone help?



    I'd also like to know what format the images will be in by default. And also where I can retrieve them after they are taken.

    Thanks in advance!How can I take a screenshot image of of a VB application?
    Print-screen will make a screenshot and place it on the clipboard.



    control + print-screen will make a screenshot of the active window only.How can I take a screenshot image of of a VB application?
    ctrl-Print Screen will grab the image of whatever's on the screen. Then you can paste it into Paint or a photo app to work with it.
    yeah all you have to do is hold CTRL and than press Print screen. than go to pain in accessories and than press CTRL+V
    You can make your screen shots with this program

    http://www.jingproject.com/

    How to upload video files to sql server 2005 using vb? Can any one help me?

    How to upload video files to sql server 2005 using vb? Can any one help me?How to upload video files to sql server 2005 using vb? Can any one help me?
    Why bother storing the files in the database? Store the files on the server, and store a fully qualified network path to the file in the database. Serve up the link when your user's request it.How to upload video files to sql server 2005 using vb? Can any one help me?
    There is a method to upload a video file to sql,

    First create a folder under your working folder like VIDEO

    put the video file into that folder

    Store the path of the video fle into SQL server

    that is enough.


    best way is to upload that video in to folder %26amp; then store that folder path in database table . if u want to retrive or show the video u can give that database path as a input to that player.










    How can i get smiler words from database when i type the character in textbox in VB?

    Hello friends my name is Boopathi. I need solution in VB. In textbox we going to enter on character when we enter first letter it need to show related words what is in my database.



    Thank You.



    Regards.

    Boopathi.KHow can i get smiler words from database when i type the character in textbox in VB?
    Do a select statement Where %26lt;yourfieldname%26gt; like '%26lt;entered chartacter string so far%26gt;*'; (or %, depending on the database you're using.)

    How to stop piracy of software developped in vb ?

    I want to stop piracy of my software developed in vb. How to make demo software and how to make it as full version ?. Is there any free software available to do this ?How to stop piracy of software developped in vb ?
    u made it in vb write it in a simple form app that checks for a file use a basic encrptor engine which built in to .net framework check it agains the pc name and serial code so cant be copied or along them lines but be honest with ya u not gonna stop it if microsoft (have room of coders) tryin to stop there stuff being pirated and it does easily u aint got much chance :) and demo project just use a boolean and the basic form that starts of that checks if its not full ver set boolean to false and use it on the actuly program to disable certain functions lets say u made a video converter



    simple

    when click button to convert

    (if fullver = false then

    and set max time to 2 mins so they can only convert files smaller than 2 mins

    else



    end if



    or use a simular thing like a trial hidden file some where or dump in registy as long as value %26lt; 10 u can use it and every time u do anything on it it adds 1 to the value



    in other words they get 10 goes of it after that they no longer can use it if i was u id use a few of um to check of against each other they may find 1 they aint gonna find 5How to stop piracy of software developped in vb ?
    I don't get it?

    Are you asking for a VB complier?
    This sort of thing is often done thru Windows registry entries - during installation, an entry stores install date. Then every time the app starts, it checks whether the 'purchased' registry key is set and, if not, the system date is checked against the install date. When a purchase key is correctly entered, the registry key to indicate a legit purchase is created.

    How to create a VB application to run on other computer without taking all the forms along.?

    i want to create an application in VB to run on other computers but dont want to carry all the forms. is it possible to create a .exe file with VB so that the application can be independently used?

    if yes, how?How to create a VB application to run on other computer without taking all the forms along.?
    You don't need the forms (they become part of the exe) but you do need the ocx and dll files. VB doesn't create standalone exe files. You'll need a different language (or a different variant of a GUI BASIC) for that.



    (Just running the exe file on a computer that doesn't have the other necessary files will only result in an untrappable runtime error.)How to create a VB application to run on other computer without taking all the forms along.?
    There's supposed to be a ';makefile'; way to do it and I couldn't find that, however, I was able to find this out:

    Visual Studio creates an EXE file everytime you test it.

    Add these:

    ';Imports System

    Imports System.IO';

    to the beginning of your file,

    then run this code:

    ';Dim path As String = Directory.GetCurrentDirectory()

    MsgBox(path)';

    And that will show you where to go to grab that Exe file.
    Sure, just create a VB Console applications. No forms required. It is one of the Project types in visual studio.

    How to make a connection once in VB 6 and call in multiple forms?

    In Vb we generally make connection in every page but to avoid this a one time connection is made if thier is modification in server location we can easily change them in one place raher to change in differnent place.How to make a connection once in VB 6 and call in multiple forms?
    In VB 6, why are you using that anyway, put the connection code either in a class or module and make it Public so you can call it from any form in the project.How to make a connection once in VB 6 and call in multiple forms?
    question is not clear!!

    VB: How do I return the number of characters in the string and the location of a period?

    Would anyone know how to go about doing this in VB.net?

    Given a string, return the number of characters in the string and the location of a period “.” in the string (-1) if it is not there.VB: How do I return the number of characters in the string and the location of a period?
    dim st as string=';this.that';

    dim intLen as integer=st.Length

    dim intPeriod as integer=st.indexof(';.';)

    How do I load weather data into my VB application?

    I am new to vb, trying to learn it on my own (I have a c++ backgound). I am attempting to build a simple application that logs date, time and weather. What is the best way to extract weather data for one city from the web and put it into my VB app?How do I load weather data into my VB application?
    This will work for temp, just got through and make functions for (local time, humidity dewpoint, high-low, etc)



    Function temperature(ByVal url As String) As String



    temperature = Nothing



    Dim page As String = GetPage(url)



    Dim body As String = ExtractBody(page)



    body = strip_HTML(body)



    Dim temperature_finder() As String = body.Split(';F';)



    For Each temp As String In temperature_finder



    'REPLACE the SYMBOL with ';%26amp; # 176 ;'; with no spaces

    If temp.EndsWith(';SYMBOL';) Then



    temp = temp.Substring(temp.Length - 12, temp.Length - (temp.Length - 6))



    temperature = temp.Trim



    Exit For



    End If



    Next



    End Function



    Function GetPage(ByVal pageUrl As String) As String



    Dim s As String = ';';



    Dim request As Net.HttpWebRequest



    Dim response As Net.HttpWebResponse



    Dim reader As IO.StreamReader



    Try

    request = Net.WebRequest.Create(pageUrl)



    response = request.GetResponse()



    reader = New IO.StreamReader(response.GetResponseStre鈥?br>


    s = reader.ReadToEnd()



    Catch ex As Exception



    MsgBox(';FAIL: '; + ex.Message)



    End Try



    Return s



    End Function



    Function ExtractBody(ByVal page As String) As String



    Return System.Text.RegularExpressions.Regex.Rep鈥?';.*%26lt;body[^%26gt;]*%26gt;(.*)%26lt;/body%26gt;.*';, ';$1';, _

    System.Text.RegularExpressions.RegexOpti鈥?br>


    End Function





    Function strip_HTML(ByVal HTML As String)



    If Len(HTML) = 0 Then



    strip_HTML = HTML



    Exit Function



    End If



    Dim array_split, I, C, string_Output



    array_split = Split(HTML, ';%26lt;';)



    If Len(array_split(0)) %26gt; 0 Then C = 1 Else C = 0



    For I = C To UBound(array_split)



    If InStr(array_split(I), ';%26gt;';) Then



    array_split(I) = Mid(array_split(I), InStr(array_split(I), ';%26gt;';) + 1)



    Else



    array_split(I) = ';%26lt;'; %26amp; array_split(I)



    End If



    Next



    string_Output = Join(array_split, ';';)



    string_Output = Mid(string_Output, 2 - C)



    string_Output = Replace(string_Output, ';%26gt;';, ';%26gt;';)



    string_Output = Replace(string_Output, ';%26lt;';, ';%26lt;';)



    string_Output = Replace(string_Output, ';聽';, ';';)



    strip_HTML = string_Output



    End Function



    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click



    If TextBox1.Text.Length = 5 Then



    Dim zip_code As String = TextBox1.Text



    MsgBox(temperature(';Http://www.wundergro鈥?+ zip_code + ';%26amp;searchType=WEATHER';))



    Else



    MsgBox(';FAIL: Need 5 digit zip code!';)



    End If

    End Sub



    Good Luck.How do I load weather data into my VB application?
    Well... ';best'; way?

    First: Find some place that contains the information you need.

    Second: Let the program load the information.

    Third: Evaluate the data. Do whatever you want with it (convert celsius to fahrenheit, i don't know)

    Fourth: Display the results.



    PS: Basic is a horrible language. I don't know why anyone would want to learn it.
    wunderground contains historical weather data that you can download as a csv file. You could download one copy of the file and get used to its format. Then you need to make a HTTP request like a browser does when you want to grab data for any city for any time. If you're using VB.NET, then you'll find the System.Net.WebClient class helpful. If you're using VB6, then you might want to look at this: http://www.vbforums.com/showthread.php?t鈥?/a> although you can achieve things faster in VB.NET

    How do u gain access to files you create in VB when running win xp?

    I'm writing an application in VB 2005 that deals with automated unzipping of files. I have created folders to store unzipped files and text files to store settings information. When i try to access the text file i get a security error. Any pointers?How do u gain access to files you create in VB when running win xp?
    Files created by an application should be owned by the account that is running the application (ie the current user) and should have ownership rights



    if your using some type of shell execute to uncompress the files, look to msdn for infor on the security contect that the shell execute uses (i'd guess current user).



    Could it be a software error, not xp security?
  • as level psychology podcats
  • How to create a command button in VB 6 that opens an Access database?

    OK so i'm new to VB so i need to create a command button that opens a database table. Then i have to do something to the connect properties of the Data control to let VB move to new records. How do i do this?!How to create a command button in VB 6 that opens an Access database?
    check if you need this

    ================

    Private Sub Command1_Click()

    Dim varCall

    varCall = Shell(';C:\Program Files\Microsoft Office\OFFICE11\msaccess.exe C:\db1.mdb';)



    End Sub

    What is a good website to get adive for VB?

    Visual basic help is, frankly, Sh*t. I want to know a god website that can help me with VB database explorer. Because i have joined it but cannot figure out how to actually use it.What is a good website to get adive for VB?
    Write code to access databases. If you use a ';black box';, you never know what it's doing, so a minor glitch turns into a month of intensive debugging. And you normally throw it away and write your own code in the end.

    How do you handle parentheses in VB if they are part of the text?

    I am extremely new to VB, and am working on a database for access. I want to write an if /then /else statement that examines text in a combo box. This is pretty straightforward in most of the cbo boxes I have done this with, but in this particular combo box the text contains parentheses. For example, if the text says ';AB(CDEF)'; how do I tell VB that these are part of the text??



    Thanks for any help!How do you handle parentheses in VB if they are part of the text?
    The ascii value for ( is 40 and ) is 41.



    TextBox1.Text = ';The party is going to be this Wednesday, '; %26amp; Chr(40) %26amp; ';Sep 9'; %26amp; Chr(41) %26amp; ';, and everybody is looking forward to it.';



    Good luck!How do you handle parentheses in VB if they are part of the text?
    Maybe this will help.





    wscript.echo ';';';hello world';';';
    concatenate the ascII value for the ';(';

    How can I send a VB 2008 project to another developer?

    A friend and I are working on different bits of what will end up as one VB 2008 application. When he sends me his solution to look at, I cannot load it as there are missing files and missing component errors when it starts up in VB2008 Express. It's as though he didn't ';wrap up'; all the files into one zip file and there's stuff missing. How do you send a solution for someone else to work on?How can I send a VB 2008 project to another developer?
    There is really no way to automatically package up all the source files you need you need to do it manually. Be sure your have the solution file (.sln) and the directories for all the projects that are attached to it. There may also be third party libraries that your friend has that are not installed on your computer. When you open the solution file it will tell you what's missing you can use this information to track down what files you still need.How can I send a VB 2008 project to another developer?
    make sure everything in the build directory is being copied, and you might even need to use the same directory structure, I don't use VB2008 that often. The files include more than just the form and .sln files.

    How to access a vb.net application on the server from a browser on the client?

    I am building a vb.net application that accesses a database and would like the client to access this application(which is on the sever) using a browser. How to do that?How to access a vb.net application on the server from a browser on the client?
    Develop the Vb.net -%26gt; webapplication. Its staright forward.



    Create Virtual Directory in IIS and map with vb.net Application.



    if the client %26amp; server are in same system means then url will be similar to the one.

    http://localhost/%26lt;virtual dir name%26gt; --%26gt; give in the browser.



    if the client %26amp; server are different then the url path will be



    http://%26lt;servername%26gt;/%26lt;virtual dir name%26gt;/

    How to set datareport to a specific record in vb?

    I am having problem with calling a ';specific'; record in datareport. Please help me with a code where i can all a specific record from a database and print it using datareport in vb. Please help me to do so.How to set datareport to a specific record in vb?
    Bind your datareport to ADO. Use the correct SQL syntax to retrieve the record.

    How can i set a VB form in Excel to allow only numbered characters to be entered in a text box?

    I have a customer form I have created in VB in Excel. There are height and weight boxes and for validation I only want numbers to be entered, as you can do with validation in a database (subnet mask?). How can I build this into the code for my form in Excel?How can i set a VB form in Excel to allow only numbered characters to be entered in a text box?
    If the text box is on a userform, you could use this event code.



    Private Sub TextBox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)



    If Chr(KeyAscii) Like ';[!0-9]'; Then KeyAscii = 0



    End SubHow can i set a VB form in Excel to allow only numbered characters to be entered in a text box?
    Have you tried validation?

    Vb ..........................?

    how to make with a timer..?

    i really dont know how to make with a timer



    :(Vb ..........................?
    You drag the timer control over from the components tool on the left usually. On the right you can customize the properties like the name, interval, and enabled. Double click the timer to add in the code that you want to happen when the timer reaches one of its intervals.Vb ..........................?
    There should be a 'Timer' object under the Components tab

    How to display system specifications of client system with the help of VB script ?

    You can access and update various hardware settings using Windows Management Instrumentation.





    Use the GetObject method to bind to WMI and then select the appropriate class or classes that represent the hardware. Examples include input devices, hard disks, expansion cards, video devices, networking devices, and system power.







    This VBScript snippet will list each IRQ resource:





    set WMI = GetObject(';WinMgmts:';)set objs = WMI.InstancesOf(';Win32_IRQResource';)for each obj in objs WScript.Echo obj.DescriptionNext



    The link below shows a bunch of different things you can do and capture about a computer.

    How to add carriage return for Datagrid in vb.net?

    I am using barcode scanner to read the value into datagrid in vb.net. After reading the value in to datagrid, carriage does not move to another line. Its remain in same line. How to add the carriage return?How to add carriage return for Datagrid in vb.net?
    print ascii character 13 followed by character 10



    13 = cr carrage return

    10 = lf line feed
  • domain names