Search results for query: *

  1. R

    Connect to Web Database

    not sure about asp but in vb.net u do this way Imports System.Data.OleDb Dim Myconn As OleDbConnection Dim cmd As OleDbCommand Dim cmd1 As OleDbCommand Dim rec As OleDbDataReader Myconn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=db1.mdb;") Myconn.Open()...
  2. R

    post xml string from vb.net to php

    Hello all, i was wondering if i can post an xml string from vb.net using xmlhttp or anything else .... Thanks for your time ....
  3. R

    escape '<' in vb

    i have tried it but no help ......
  4. R

    escape '<' in vb

    hello all, i am trying to post a string to an other program(php), the string is actually xml tags, when i send the string as below str = "config=<?xml version='1.0' encoding='UTF-8'?><map>name</map>" but when im recieving an empty string at the other end, when i remove the first "<" then i...
  5. R

    Can Some be kind enogh Input Printing feature in my application

    oh i see, the reason u r getting these errors is because thats a full statement and when i copied it here, it couldnt come in a single line and so became multiple lines. Just go to where you are getting the errors and try to put them in a single line .......... HTH --kris
  6. R

    Change the color of the form

    Hello all, i was wondering how do we change the color of the form from the code, like i am able to just set the color of the form to the colors like lightgray, white etc... but i want to set the color to controllight which is shown in the properties box and this i want to do it in the code ...
  7. R

    Can Some be kind enogh Input Printing feature in my application

    lemme know if u get any errors .....
  8. R

    Can Some be kind enogh Input Printing feature in my application

    ok dude, if you do the way i say u can print your form. Initially add a print button to your application, name it Print(coz thats what i used in the code), then go to the tool box and add a printdialog onto your form and it automatically shows the name as printdialog1. Then just replace the code...
  9. R

    How to print Application

    attached is ur program with the print option ........ --kris
  10. R

    print a form vb.net

    Add a button named print to your application, declare a print document in the form class Friend WithEvents Pd As System.Drawing.Printing.PrintDocument In the formload(u will get the form load event if you double click the form in the design view) add this Pd = New...
  11. R

    print a form vb.net

    i am sorry fas but could you be more specific, you said you downloaded something right and you want to print it from a vb.net application if i am not wrong. Well can you explain your problem again clearly .... i am sorry ...
  12. R

    How to print Application

    See this thread, what it does is takes a snapshot of the form and then prints it, i got the help with this from this forum only ... http://www.vbdotnetforums.com/showthread.php?t=8497
  13. R

    print a form vb.net

    Hi, the printform works perfectly fine now, but i got to give the user an option to select a printer and so i did If PrintDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then PrintForm(Me) End If There are two flaws with this, 1) the printer which the user selects is not selected...
  14. R

    Create a vb.net dll

    Hello all, i was trying to figure out how to create a dll out of a vb.net application. I couldnt find a proper link or a posting where i can do this. Can anyone provide me with one ... Thanks for your time ....
  15. R

    set a time limit on a function

    Hello all, can we set a time limit on a function or a snippet of code. For example a function have to give the output in 5 seconds, if it takes more than 5 seconds to process the control shud exit the function and carry on to the next statement. I am not sure if this can be done ... Any...
  16. R

    print a form vb.net

    I mean taskbar is not the only one getting displayed but the form window too, whats happening is some times the form window with the task bar is displayed and sometimes its not, i guess this gets controlled using SendKeys.SendWait("%{PRTSC}") but i dont knwo why some times it gets displayed...
  17. R

    print a form vb.net

    hey john, i have a small problem with printing the form now, the alt prtscr is not working all the time, some time the taskbar gets displayed and sometime it doesnt, is there a way to avoid it .... --kris
  18. R

    print a form vb.net

    Hi, the code works perfectly but the only problem is its making the application too slow and its taking too much time to run ... Any suggestions to make the application run fast ... --kris
  19. R

    print a form vb.net

    Thanks for your reply john and all the other guys who replied .... --kris
  20. R

    print a form vb.net

    hello guys thanks for your reply, the alt prtscr is not working for me .... by the way i was wondering if there is a way to ocnvert the form to either a document or pdf and print it then .... Thanks again ..
Back
Top