dcsimg

Search:

Type: Posts; User: su ki

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: How do I set the Forecolor of a commandbutton?

    yes LaVolpe is right :-)
    you cant change the forecolor of command button
    and according with his option 4 I suggest just add "form2 control library" [shortcut - control+T ] and it will show a new...
  2. Replies
    1
    Views
    460

    Replace function in a query

    Is it possible to use Replace function in a query against an
    excel file?

    I am trying this test code and gives me an error:

    Set cnnExcel = Server.CreateObject("ADODB.Connection")
    cnnExcel.Open...
  3. Replies
    2
    Views
    505

    VS 2005 Re: Help with AddressOf operator :-(

    hi all

    pls help with above issue of address of operator conversion from vb6 to vb.net ?
  4. Replies
    11
    Views
    509

    VS 2008 Re: Progress Bar

    as you have mentioned above , it is the task where you can not simply predict time to be taken so just use search bar instead of progress bar

    su ki
  5. Replies
    2
    Views
    505

    VS 2005 Re: Help with AddressOf operator :-(

    hi all

    i found this http://msdn.microsoft.com/en-us/library/74wy9422.aspx

    but cant get how this works for my problem

    any help appreciated...
  6. Replies
    11
    Views
    509

    VS 2008 Re: Progress Bar

    hey weirddemon
    your interpretation of working of progressbar is wrong

    progress bar is for showing progress of task you are performing in your code so just not relate it with line of codes
    for...
  7. Thread: TabControl

    by su ki
    Replies
    2
    Views
    432

    VS 2005 Re: TabControl

    hey mansi

    you may do a trick for it just assign image to tabpage ( this image has x in it ) as you are using image list
    add mouse down event and check for e.x and e.y for closing tabpage or not...
  8. Replies
    2
    Views
    505

    VS 2005 Help with AddressOf operator :-(

    hi following it the code in vb6 and i m trying to convert in vb.net
    In VB6


    Private Type VTable
    Methods(0 To 6) As Long
    End Type
    Private m_VTable As VTable

    Public Function...
  9. Thread: A few question

    by su ki
    Replies
    10
    Views
    992

    VS 2008 Re: A few question

    hey morkie

    always describe your problem in detail, this description is the only clue for us to give you solution...

    what do you mean by auto resize ?
    do you think when form is minimized then...
  10. VS 2008 Re: Pausing an application without sleep thread?

    hey Tommi
    what i understand from you post is when "while" loop starts executing your application stops responding and you want it to work smoothly
    you may choose jim's option as it is better way...
  11. VS 2008 Re: Match words from one string to another string

    hey BassTeQ

    you may use split function of string like following


    string [] sData=string1.Split((char)32)

    foreach (string sTmp in sData)

    'option 1
  12. VS 2005 Re: how many times a string appears in another string

    hey vbsunst
    you may use following


    Dim sText As String = "5b585"
    Dim cMatch as String = "5"
    Dim nCount as Integer
    For Each sT As String In sText.ToCharArray()
    If sT = cMatch Then...
  13. Replies
    6
    Views
    579

    VS 2008 Re: working with sql somebody check it please

    @keystone_paul



    it should be
    INSERT INTO myTable SELECT myFields FROM myOtherTable WHERE condition

    1. values clause can only be used with single row insertion
    2. select must select...
  14. Replies
    8
    Views
    680

    Re: Remove items with no text?

    hey CoBHC

    use following function to check whether the entry should be removed or not



    Public Function IsBlankEntry( sText as String) as Boolean
    sText= sText.Replace(" ","")
    ...
  15. Thread: passing values

    by su ki
    Replies
    18
    Views
    824

    VS 2008 Re: passing values

    hey Tomtom

    jsut check whether you have initialized objPlayer or not, declaring the variable doesnot allocate resources for it

    hint: use new for initializing object
  16. Replies
    6
    Views
    562

    VS 2008 Re: Saving to Text File

    hey dinglu



    dim sText as String

    ' set sText with data you want to save
    sText="this is sample text"

    SaveFileDialog1.Filter = "Text Files (*.txt)|*.txt"
  17. Replies
    8
    Views
    5,024

    VS 2008 Re: StreamReader Read Lines From Bottom to Top

    duplicate post : dont know what's the problem in my net connection my each post is shown twice
  18. Replies
    8
    Views
    5,024

    VS 2008 Re: StreamReader Read Lines From Bottom to Top

    @jmcilhinney ,@ForumAccount



    List<string> sList=new List<string>();
    sList.AddRange(File.ReadAllLines(sFilePathName);

    sList.Reverse()

    foreach( string sText in sList)
  19. Replies
    8
    Views
    5,024

    VS 2008 Re: StreamReader Read Lines From Bottom to Top

    hey rheimon



    List<string> sList=new List<string>();
    sList.AddRange(File.ReadAllLines(sFilePathName);
    foreach( string sText in sList.Reverse())
    {
    ' do required stuff here
    ...
  20. Replies
    8
    Views
    5,024

    VS 2008 Re: StreamReader Read Lines From Bottom to Top

    hey rheimon



    List<string> sList=new List<string>();
    sList.AddRange(File.ReadAllLines(sFilePathName);
    foreach( string sText in sList.Reverse())
    {
    ' do required stuff here
    ...
  21. Replies
    8
    Views
    464

    Re: Cut and paste the matching value

    hey kayatri

    just use following regular expression pattern to find as you have idea to use regular expressions



    \(1 16\.71 33\.3\)
  22. Replies
    8
    Views
    464

    Re: Cut and paste the matching value

    hey kayatri

    just use following regular expression pattern to find as you have idea to use regular expressions



    \(1 16\.71 33\.3\)
  23. Replies
    7
    Views
    2,089

    Re: Oracle ADODB in VB6

    hey ictinc
    this will help you to connect with oracle

    http://www.connectionstrings.com/
  24. VS 2008 Re: Converting date value suitable for use in label

    hey monty77uk
    you are trying to assign datetime picker value directly in label which should be in text property of label as follows



    me.label4.text= dateTimePicker1.Value.ToString();

    ...
  25. VS 2008 Re: Converting date value suitable for use in label

    hey monty77uk
    you are trying to assign datetime picker value directly in label which should be in text property of label as follows



    me.label4.text= dateTimePicker1.Value.ToString();

    ...
  26. Replies
    5
    Views
    412

    Re: Storing object references as text

    hey deathfxu

    no need to save object reference at all just save them as following



    just write this structure in txt file and then later read line by line

    and when found <Collection> tag...
  27. Replies
    7
    Views
    502

    Re: SQL Query not working

    hey vijayvishwanath
    try this



    "SELECT * From MonthlyExpenses where [date] =#" & dateObj & "#"


    if not work then you have to rename the date column as date cannot be a column name
  28. Replies
    5
    Views
    644

    VS 2008 Re: i cant add days

    duplicate post
  29. Replies
    5
    Views
    644

    VS 2008 Re: i cant add days

    hey rheimon

    notice what jim has suggested and try following example


    DateTime d1;
    d1=d1.AddDays(10);
  30. Replies
    23
    Views
    1,711

    Re: Checkbox Checker!

    you are using javascript version or doing this stuff on server ??

    if you are doing this at server side you have to call your function which check or uncheck checkboxes in prerender event of page's...
  31. Replies
    4
    Views
    408

    VS 2008 Re: sql command help needed

    hey MrtforCode
    u may select as many as columns from the table even from multitables too

    just use select * from orders all columns and all records will be returned
  32. Thread: msgbox

    by su ki
    Replies
    10
    Views
    763

    VS 2008 Re: msgbox

    hey Eldrup

    you may use the result of messagebox if you show yes no button for confirm something
    like following


    if MessageBox.Show("Are you sure !!! ", "Remove File",...
  33. Replies
    4
    Views
    14,392

    Re: Convert seconds to minutes and hours

    @GMKK you are too fast !!! :D
  34. Replies
    4
    Views
    14,392

    Re: Convert seconds to minutes and hours

    hey MaxGhost
    whats the type of mSeconds

    although you have to write



    for minutes as mod will give the rest of the seconds not the minutes

    and for hours
  35. Replies
    5
    Views
    409

    VS 2008 Re: stop "for" loop

    hey chief5933

    declare a boolean variable at form level
    and set its value to false on button click
    and check this in loop to stop it




    Dim i As integer
  36. Replies
    2
    Views
    443

    Re: Convert this vb.net code to vb6

    hey EneMy
    as you have resolved the problem you may optionally post the solution for other viewers
  37. Re: copy all tables from a database to another database

    hey batman321
    as you have successfully opened connections from both the databases then the only thing is left is to open recordset rs and rs50 and then loop through all the records in rs50 and then...
  38. Replies
    7
    Views
    690

    Re: Command button forecolor?

    hey iyadd
    you may use tricks what RhinoBull and Edgemeal told

    optionally you may use microsoft forms 2.0 controls in that command button there is a forecolor property

    you may select it from...
  39. Re: Read a specific word from a text file using vb.net

    hey kayatri
    i found what is the problem
    just replace your regex expression with following



    there is a space before and after Top, so just change and you are done
  40. Re: Read a specific word from a text file using vb.net

    hey kayatri
    can you post how you have implemented so far
Results 1 to 40 of 363
Page 1 of 10 1 2 3 4



Featured


Click Here to Expand Forum to Full Width